pyaz/policy/assignment/__init__.py
def create(assign_identity=None, description=None, display_name=None, enforcement_mode=None, identity_scope=None, location=None, mi_system_assigned=None, mi_user_assigned=None, name=None, not_scopes=None, params=None, policy=None, policy_set_definition=None, resource_group=None, role=None, scope=None, sku=None):
    '''
    Create a resource policy assignment.

    Optional Parameters:
    - assign_identity -- Assigns a system assigned identity to the policy assignment. This argument will be deprecated, please use --mi-system-assigned instead
    - description -- Description of the policy assignment.
    - display_name -- Display name of the policy assignment.
    - enforcement_mode -- Enforcement mode of the policy assignment, e.g. Default, DoNotEnforce. Please visit https://aka.ms/azure-policyAssignment-enforcement-mode for more information.
    - identity_scope -- Scope that the system assigned identity can access
    - location -- The location of the policy assignment. Only required when utilizing managed identity.
    - mi_system_assigned -- Provide this flag to use system assigned identity for policy assignment. Check out help for more examples
    - mi_user_assigned -- UserAssigned Identity Id to be used for policy assignment. Check out help for more examples
    - name -- Name of the new policy assignment.
    - not_scopes -- Space-separated scopes where the policy assignment does not apply.
    - params -- JSON formatted string or a path to a file or uri with parameter values of the policy rule.
    - policy -- Name or id of the policy definition.
    - policy_set_definition -- Name or id of the policy set definition.
    - resource_group -- the resource group where the policy will be applied
    - role -- Role name or id that will be assigned to the managed identity
    - scope -- Scope to which this policy assignment applies.
    - sku -- policy sku.
    '''
    return _call_az("az policy assignment create", locals())

    Create a resource policy assignment.

    Optional Parameters:
    - assign_identity -- Assigns a system assigned identity to the policy assignment. This argument will be deprecated, please use --mi-system-assigned instead
    - description -- Description of the policy assignment.
    - display_name -- Display name of the policy assignment.
    - enforcement_mode -- Enforcement mode of the policy assignment, e.g. Default, DoNotEnforce. Please visit https://aka.ms/azure-policyAssignment-enforcement-mode for more information.
    - identity_scope -- Scope that the system assigned identity can access
    - location -- The location of the policy assignment. Only required when utilizing managed identity.
    - mi_system_assigned -- Provide this flag to use system assigned identity for policy assignment. Check out help for more examples
    - mi_user_assigned -- UserAssigned Identity Id to be used for policy assignment. Check out help for more examples
    - name -- Name of the new policy assignment.
    - not_scopes -- Space-separated scopes where the policy assignment does not apply.
    - params -- JSON formatted string or a path to a file or uri with parameter values of the policy rule.
    - policy -- Name or id of the policy definition.
    - policy_set_definition -- Name or id of the policy set definition.
    - resource_group -- the resource group where the policy will be applied
    - role -- Role name or id that will be assigned to the managed identity
    - scope -- Scope to which this policy assignment applies.
    - sku -- policy sku.
    
Create a resource policy assignment.
Optional Parameters:
assign_identity -- Assigns a system assigned identity to the policy assignment.
Create a resource policy assignment . Optional Parameters : assign_identity -- Assigns a system assigned identity to the policy assignment .
def create(assign_identity=None, description=None, display_name=None, enforcement_mode=None, identity_scope=None, location=None, mi_system_assigned=None, mi_user_assigned=None, name=None, not_scopes=None, params=None, policy=None, policy_set_definition=None, resource_group=None, role=None, scope=None, sku=None):
    return _call_az("az policy assignment create", locals())
def create ( assign_identity = None , description = None , display_name = None , enforcement_mode = None , identity_scope = None , location = None , mi_system_assigned = None , mi_user_assigned = None , name = None , not_scopes = None , params = None , policy = None , policy_set_definition = None , resource_group = None , role = None , scope = None , sku = None ) : return _call_az ( "az policy assignment create" , locals ( ) )
Create a resource policy assignment.
Create a resource policy assignment .
'''
    Create a resource policy assignment.

    Optional Parameters:
    - assign_identity -- Assigns a system assigned identity to the policy assignment. This argument will be deprecated, please use --mi-system-assigned instead
    - description -- Description of the policy assignment.
    - display_name -- Display name of the policy assignment.
    - enforcement_mode -- Enforcement mode of the policy assignment, e.g. Default, DoNotEnforce. Please visit https://aka.ms/azure-policyAssignment-enforcement-mode for more information.
    - identity_scope -- Scope that the system assigned identity can access
    - location -- The location of the policy assignment. Only required when utilizing managed identity.
    - mi_system_assigned -- Provide this flag to use system assigned identity for policy assignment. Check out help for more examples
    - mi_user_assigned -- UserAssigned Identity Id to be used for policy assignment. Check out help for more examples
    - name -- Name of the new policy assignment.
    - not_scopes -- Space-separated scopes where the policy assignment does not apply.
    - params -- JSON formatted string or a path to a file or uri with parameter values of the policy rule.
    - policy -- Name or id of the policy definition.
    - policy_set_definition -- Name or id of the policy set definition.
    - resource_group -- the resource group where the policy will be applied
    - role -- Role name or id that will be assigned to the managed identity
    - scope -- Scope to which this policy assignment applies.
    - sku -- policy sku.
    '''
assign_identity
description
display_name
enforcement_mode
identity_scope
location
mi_system_assigned
mi_user_assigned
name
not_scopes
params
policy
policy_set_definition
resource_group
role
scope
sku