adh_crp.py
def list_dh(access_token, subscription_id, resource_group,dhg_name):
    '''List dedicated hosts in a host group.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.
        resource_group (str): Azure resource group name.
        dhg_name (str): Dedicated host group name.

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

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.
        resource_group (str): Azure resource group name.
        dhg_name (str): Dedicated host group name.

    Returns:
        HTTP response. JSON body of the list of dedicated hosts properties.
    
List dedicated hosts in a host group.
List dedicated hosts in a host group .
def list_dh(access_token, subscription_id, resource_group,dhg_name):
    endpoint = ''.join([get_rm_endpoint(),
                        '/subscriptions/', subscription_id,
                        '/resourceGroups/', resource_group,
                        '/providers/Microsoft.Compute/hostgroups/', dhg_name,
                        '/hosts'
                        '?api-version=', COMP_API])
    return do_get_next(endpoint, access_token)
def list_dh ( access_token , subscription_id , resource_group , dhg_name ) : endpoint = '' . join ( [ get_rm_endpoint ( ) , '/subscriptions/' , subscription_id , '/resourceGroups/' , resource_group , '/providers/Microsoft.Compute/hostgroups/' , dhg_name , '/hosts' '?api-version=' , COMP_API ] ) return do_get_next ( endpoint , access_token )
List dedicated hosts in a host group.
List dedicated hosts in a host group .
'''List dedicated hosts in a host group.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.
        resource_group (str): Azure resource group name.
        dhg_name (str): Dedicated host group name.

    Returns:
        HTTP response. JSON body of the list of dedicated hosts properties.
    '''
HTTP response. JSON body of the list of dedicated hosts properties.
HTTP response . JSON body of the list of dedicated hosts properties .
access_token
A valid Azure authentication token.
A valid Azure authentication token .
subscription_id
Azure subscription id.
Azure subscription id .
resource_group
Azure resource group name.
Azure resource group name .
dhg_name
Dedicated host group name.
Dedicated host group name .