pyaz/vm/identity/__init__.py
def assign(name, resource_group, identities=None, role=None, scope=None):
    '''
    Enable managed service identity on a VM.

    Required Parameters:
    - name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - identities -- Space-separated identities to assign. Use '[system]' to refer to the system assigned identity. Default: '[system]'
    - role -- Role name or id the system assigned identity will have
    - scope -- Scope that the system assigned identity can access
    '''
    return _call_az("az vm identity assign", locals())

    Enable managed service identity on a VM.

    Required Parameters:
    - name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - identities -- Space-separated identities to assign. Use '[system]' to refer to the system assigned identity. Default: '[system]'
    - role -- Role name or id the system assigned identity will have
    - scope -- Scope that the system assigned identity can access
    
Enable managed service identity on a VM.
Required Parameters:
name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=`
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`

Optional Parameters:
identities -- Space-separated identities to assign. Use '[system]' to refer to the system assigned identity. Default: '[system]'
role -- Role name or id the system assigned identity will have
scope -- Scope that the system assigned identity can access
Enable managed service identity on a VM . Required Parameters : name -- The name of the Virtual Machine . You can configure the default using ` az configure -- defaults vm = ` resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` Optional Parameters : identities -- Space - separated identities to assign . Use ' [ system ] ' to refer to the system assigned identity . Default : ' [ system ] ' role -- Role name or id the system assigned identity will have scope -- Scope that the system assigned identity can access
def assign(name, resource_group, identities=None, role=None, scope=None):
    return _call_az("az vm identity assign", locals())
def assign ( name , resource_group , identities = None , role = None , scope = None ) : return _call_az ( "az vm identity assign" , locals ( ) )
Enable managed service identity on a VM.
Enable managed service identity on a VM .
'''
    Enable managed service identity on a VM.

    Required Parameters:
    - name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - identities -- Space-separated identities to assign. Use '[system]' to refer to the system assigned identity. Default: '[system]'
    - role -- Role name or id the system assigned identity will have
    - scope -- Scope that the system assigned identity can access
    '''
name
resource_group
identities
role
scope