pyaz/apim/api/__init__.py
def create(api_id, display_name, path, resource_group, service_name, api_type=None, authorization_scope=None, authorization_server_id=None, bearer_token_sending_methods=None, description=None, no_wait=None, open_id_provider_id=None, protocols=None, service_url=None, subscription_key_header_name=None, subscription_key_query_param_name=None, subscription_key_required=None, subscription_required=None):
    '''
    Create an API Management API.

    Required Parameters:
    - api_id -- API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
    - display_name -- API name. Must be 1 to 300 characters long.
    - path -- Required. Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - service_name -- The name of the API Management service instance.

    Optional Parameters:
    - api_type -- The type of the API.
    - authorization_scope -- Specifies the OAuth operations scope.
    - authorization_server_id -- Specifies the OAuth authorization server ID.
    - bearer_token_sending_methods -- Specifies the sending methods for bearer token.
    - description -- Description of the API. May include HTML formatting tags.
    - no_wait -- Do not wait for the long-running operation to finish.
    - open_id_provider_id -- Specifies the openid in the authentication setting.
    - protocols -- Describes on which protocols the operations in this API can be invoked.
    - service_url -- Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
    - subscription_key_header_name -- Specifies the subscription key header name.
    - subscription_key_query_param_name -- Specifies the subscription key query string parameter name.
    - subscription_key_required -- Specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.
    - subscription_required -- If true, the API requires a subscription key on requests.
    '''
    return _call_az("az apim api create", locals())

    Create an API Management API.

    Required Parameters:
    - api_id -- API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
    - display_name -- API name. Must be 1 to 300 characters long.
    - path -- Required. Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - service_name -- The name of the API Management service instance.

    Optional Parameters:
    - api_type -- The type of the API.
    - authorization_scope -- Specifies the OAuth operations scope.
    - authorization_server_id -- Specifies the OAuth authorization server ID.
    - bearer_token_sending_methods -- Specifies the sending methods for bearer token.
    - description -- Description of the API. May include HTML formatting tags.
    - no_wait -- Do not wait for the long-running operation to finish.
    - open_id_provider_id -- Specifies the openid in the authentication setting.
    - protocols -- Describes on which protocols the operations in this API can be invoked.
    - service_url -- Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
    - subscription_key_header_name -- Specifies the subscription key header name.
    - subscription_key_query_param_name -- Specifies the subscription key query string parameter name.
    - subscription_key_required -- Specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.
    - subscription_required -- If true, the API requires a subscription key on requests.
    
Create an API Management API.
Required Parameters:
api_id -- API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
display_name -- API name. Must be 1 to 300 characters long.
path -- Required. Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance.
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
service_name -- The name of the API Management service instance.

Optional Parameters:
api_type -- The type of the API.
authorization_scope -- Specifies the OAuth operations scope.
authorization_server_id -- Specifies the OAuth authorization server ID.
bearer_token_sending_methods -- Specifies the sending methods for bearer token.
description -- Description of the API. May include HTML formatting tags.
no_wait -- Do not wait for the long-running operation to finish.
open_id_provider_id -- Specifies the openid in the authentication setting.
protocols -- Describes on which protocols the operations in this API can be invoked.
service_url -- Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
subscription_key_header_name -- Specifies the subscription key header name.
subscription_key_query_param_name -- Specifies the subscription key query string parameter name.
Create an API Management API . Required Parameters : api_id -- API revision identifier . Must be unique in the current API Management service instance . Non - current revision has ; rev = n as a suffix where n is the revision number . display_name -- API name . Must be 1 to 300 characters long . path -- Required . Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance . resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` service_name -- The name of the API Management service instance . Optional Parameters : api_type -- The type of the API . authorization_scope -- Specifies the OAuth operations scope . authorization_server_id -- Specifies the OAuth authorization server ID . bearer_token_sending_methods -- Specifies the sending methods for bearer token . description -- Description of the API . May include HTML formatting tags . no_wait -- Do not wait for the long - running operation to finish . open_id_provider_id -- Specifies the openid in the authentication setting . protocols -- Describes on which protocols the operations in this API can be invoked . service_url -- Absolute URL of the backend service implementing this API . Cannot be more than 2000 characters long . subscription_key_header_name -- Specifies the subscription key header name . subscription_key_query_param_name -- Specifies the subscription key query string parameter name .
def create(api_id, display_name, path, resource_group, service_name, api_type=None, authorization_scope=None, authorization_server_id=None, bearer_token_sending_methods=None, description=None, no_wait=None, open_id_provider_id=None, protocols=None, service_url=None, subscription_key_header_name=None, subscription_key_query_param_name=None, subscription_key_required=None, subscription_required=None):
    return _call_az("az apim api create", locals())
def create ( api_id , display_name , path , resource_group , service_name , api_type = None , authorization_scope = None , authorization_server_id = None , bearer_token_sending_methods = None , description = None , no_wait = None , open_id_provider_id = None , protocols = None , service_url = None , subscription_key_header_name = None , subscription_key_query_param_name = None , subscription_key_required = None , subscription_required = None ) : return _call_az ( "az apim api create" , locals ( ) )
Create an API Management API.
Create an API Management API .
'''
    Create an API Management API.

    Required Parameters:
    - api_id -- API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
    - display_name -- API name. Must be 1 to 300 characters long.
    - path -- Required. Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - service_name -- The name of the API Management service instance.

    Optional Parameters:
    - api_type -- The type of the API.
    - authorization_scope -- Specifies the OAuth operations scope.
    - authorization_server_id -- Specifies the OAuth authorization server ID.
    - bearer_token_sending_methods -- Specifies the sending methods for bearer token.
    - description -- Description of the API. May include HTML formatting tags.
    - no_wait -- Do not wait for the long-running operation to finish.
    - open_id_provider_id -- Specifies the openid in the authentication setting.
    - protocols -- Describes on which protocols the operations in this API can be invoked.
    - service_url -- Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
    - subscription_key_header_name -- Specifies the subscription key header name.
    - subscription_key_query_param_name -- Specifies the subscription key query string parameter name.
    - subscription_key_required -- Specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.
    - subscription_required -- If true, the API requires a subscription key on requests.
    '''
api_id
display_name
path
resource_group
service_name
api_type
authorization_scope
authorization_server_id
bearer_token_sending_methods
description
no_wait
open_id_provider_id
protocols
service_url
subscription_key_header_name
subscription_key_query_param_name
subscription_key_required
subscription_required