pyaz/acr/token/__init__.py
def create(name, registry, expiration=None, expiration_in_days=None, gateway=None, no_passwords=None, repository=None, resource_group=None, scope_map=None, status=None):
    '''
    Create a token associated with a scope map for an Azure Container Registry.

    Required Parameters:
    - name -- The name of the token.
    - registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=<registry name>`

    Optional Parameters:
    - expiration -- UTC time for which the credentials will be valid. In the format of %Y-%m-%dT%H:%M:%SZ, e.g. 2025-12-31T12:59:59Z
    - expiration_in_days -- Number of days for which the credentials will be valid. If not specified, the expiration will default to the max value "9999-12-31T23:59:59.999999+00:00"
    - gateway -- gateway permissions. Use the format "--gateway GATEWAY [ACTION1 ACTION2 ...]" per flag. Valid actions are {'message/write', 'config/read', 'message/read', 'config/write'}
    - no_passwords -- Do not generate passwords, instead use "az acr token credential generate"
    - repository -- repository permissions. Use the format "--repository REPO [ACTION1 ACTION2 ...]" per flag. Valid actions are {'metadata/read', 'metadata/write', 'content/write', 'content/delete', 'content/read'}
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - scope_map -- The name of the scope map with pre-configured repository permissions. Use "--repository" and/or "--gateway" if you would like CLI to configure one for you
    - status -- The status of the token
    '''
    return _call_az("az acr token create", locals())

    Create a token associated with a scope map for an Azure Container Registry.

    Required Parameters:
    - name -- The name of the token.
    - registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=<registry name>`

    Optional Parameters:
    - expiration -- UTC time for which the credentials will be valid. In the format of %Y-%m-%dT%H:%M:%SZ, e.g. 2025-12-31T12:59:59Z
    - expiration_in_days -- Number of days for which the credentials will be valid. If not specified, the expiration will default to the max value "9999-12-31T23:59:59.999999+00:00"
    - gateway -- gateway permissions. Use the format "--gateway GATEWAY [ACTION1 ACTION2 ...]" per flag. Valid actions are {'message/write', 'config/read', 'message/read', 'config/write'}
    - no_passwords -- Do not generate passwords, instead use "az acr token credential generate"
    - repository -- repository permissions. Use the format "--repository REPO [ACTION1 ACTION2 ...]" per flag. Valid actions are {'metadata/read', 'metadata/write', 'content/write', 'content/delete', 'content/read'}
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - scope_map -- The name of the scope map with pre-configured repository permissions. Use "--repository" and/or "--gateway" if you would like CLI to configure one for you
    - status -- The status of the token
    
Create a token associated with a scope map for an Azure Container Registry.
Required Parameters:
name -- The name of the token.
registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=`

Optional Parameters:
expiration -- UTC time for which the credentials will be valid.
Create a token associated with a scope map for an Azure Container Registry . Required Parameters : name -- The name of the token . registry -- The name of the container registry . You can configure the default registry name using ` az configure -- defaults acr = ` Optional Parameters : expiration -- UTC time for which the credentials will be valid .
def create(name, registry, expiration=None, expiration_in_days=None, gateway=None, no_passwords=None, repository=None, resource_group=None, scope_map=None, status=None):
    return _call_az("az acr token create", locals())
def create ( name , registry , expiration = None , expiration_in_days = None , gateway = None , no_passwords = None , repository = None , resource_group = None , scope_map = None , status = None ) : return _call_az ( "az acr token create" , locals ( ) )
Create a token associated with a scope map for an Azure Container Registry.
Create a token associated with a scope map for an Azure Container Registry .
'''
    Create a token associated with a scope map for an Azure Container Registry.

    Required Parameters:
    - name -- The name of the token.
    - registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=<registry name>`

    Optional Parameters:
    - expiration -- UTC time for which the credentials will be valid. In the format of %Y-%m-%dT%H:%M:%SZ, e.g. 2025-12-31T12:59:59Z
    - expiration_in_days -- Number of days for which the credentials will be valid. If not specified, the expiration will default to the max value "9999-12-31T23:59:59.999999+00:00"
    - gateway -- gateway permissions. Use the format "--gateway GATEWAY [ACTION1 ACTION2 ...]" per flag. Valid actions are {'message/write', 'config/read', 'message/read', 'config/write'}
    - no_passwords -- Do not generate passwords, instead use "az acr token credential generate"
    - repository -- repository permissions. Use the format "--repository REPO [ACTION1 ACTION2 ...]" per flag. Valid actions are {'metadata/read', 'metadata/write', 'content/write', 'content/delete', 'content/read'}
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - scope_map -- The name of the scope map with pre-configured repository permissions. Use "--repository" and/or "--gateway" if you would like CLI to configure one for you
    - status -- The status of the token
    '''
name
registry
expiration
expiration_in_days
gateway
no_passwords
repository
resource_group
scope_map
status