adh_crp.py
def list_dhg_sub(access_token, subscription_id):
    '''List dedicated host groups in a subscription.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.

    Returns:
        HTTP response. JSON body of the list of dedicated hostsproperties.
    '''
    endpoint = ''.join([get_rm_endpoint(),
                        '/subscriptions/', subscription_id,
                        '/providers/Microsoft.Compute/hostgroups',
                        '?api-version=', COMP_API])
    return do_get_next(endpoint, access_token)
List dedicated host groups in a subscription.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.

    Returns:
        HTTP response. JSON body of the list of dedicated hostsproperties.
    
List dedicated host groups in a subscription.
List dedicated host groups in a subscription .
def list_dhg_sub(access_token, subscription_id):
    endpoint = ''.join([get_rm_endpoint(),
                        '/subscriptions/', subscription_id,
                        '/providers/Microsoft.Compute/hostgroups',
                        '?api-version=', COMP_API])
    return do_get_next(endpoint, access_token)
def list_dhg_sub ( access_token , subscription_id ) : endpoint = '' . join ( [ get_rm_endpoint ( ) , '/subscriptions/' , subscription_id , '/providers/Microsoft.Compute/hostgroups' , '?api-version=' , COMP_API ] ) return do_get_next ( endpoint , access_token )
List dedicated host groups in a subscription.
List dedicated host groups in a subscription .
'''List dedicated host groups in a subscription.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.

    Returns:
        HTTP response. JSON body of the list of dedicated hostsproperties.
    '''
HTTP response. JSON body of the list of dedicated hostsproperties.
HTTP response . JSON body of the list of dedicated hostsproperties .
access_token
A valid Azure authentication token.
A valid Azure authentication token .
subscription_id
Azure subscription id.
Azure subscription id .