pyaz/ams/account/__init__.py
def check_name(name, location=None):
    '''
    Checks whether the Media Service resource name is available.

    Required Parameters:
    - name -- The name of the Azure Media Services account.

    Optional Parameters:
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    '''
    return _call_az("az ams account check-name", locals())

    Checks whether the Media Service resource name is available.

    Required Parameters:
    - name -- The name of the Azure Media Services account.

    Optional Parameters:
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    
Checks whether the Media Service resource name is available.
Required Parameters:
name -- The name of the Azure Media Services account.

Optional Parameters:
location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`.
Checks whether the Media Service resource name is available . Required Parameters : name -- The name of the Azure Media Services account . Optional Parameters : location -- Location . Values from : ` az account list - locations ` . You can configure the default location using ` az configure -- defaults location = ` .
def check_name(name, location=None):
    return _call_az("az ams account check-name", locals())
def check_name ( name , location = None ) : return _call_az ( "az ams account check-name" , locals ( ) )
Checks whether the Media Service resource name is available.
Checks whether the Media Service resource name is available .
'''
    Checks whether the Media Service resource name is available.

    Required Parameters:
    - name -- The name of the Azure Media Services account.

    Optional Parameters:
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    '''
name
location