code: def get_as(access_token, subscription_id, resource_group, as_name):
      '''Get availability set details.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
          as_name (str): Name of the new availability set.
  
      Returns:
          HTTP response. JSON body of the availability set properties.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourceGroups/', resource_group,
                          '/providers/Microsoft.Compute/availabilitySets/', as_name,
                          '?api-version=', COMP_API])
      return do_get(endpoint, access_tokenf get_as(access_token, subscription_id, resource_group, as_name):
      '''Get availability set details.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
          as_name (str): Name of the new availability set.
  
      Returns:
          HTTP response. JSON body of the availability set properties.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourceGroups/', resource_group,
                          '/providers/Microsoft.Compute/availabilitySets/', as_name,
                          '?api-version=', COMP_API])
      return do_get(endpoint, access_token)
docs: Get availability set details.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
          as_name (str): Name of the new availability set.
  
      Returns:
          HTTP response. JSON body of the availability set properties.