pyaz/backup/policy/__init__.py
def create(backup_management_type, name, policy, resource_group, vault_name, workload_type=None):
    '''
    Create a new policy for the given BackupManagementType and workloadType.

    Required Parameters:
    - backup_management_type -- Specify the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.
    - name -- Name of the Policy.
    - policy -- JSON encoded policy definition. Use the show command with JSON output to obtain a policy object. Modify the values using a file editor and pass the object.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vault_name -- Name of the Recovery services vault.

    Optional Parameters:
    - workload_type -- Specify the type of applications within the Resource which should be discovered and protected by Azure Backup. 
    '''
    return _call_az("az backup policy create", locals())

    Create a new policy for the given BackupManagementType and workloadType.

    Required Parameters:
    - backup_management_type -- Specify the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.
    - name -- Name of the Policy.
    - policy -- JSON encoded policy definition. Use the show command with JSON output to obtain a policy object. Modify the values using a file editor and pass the object.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vault_name -- Name of the Recovery services vault.

    Optional Parameters:
    - workload_type -- Specify the type of applications within the Resource which should be discovered and protected by Azure Backup. 
    
Create a new policy for the given BackupManagementType and workloadType.
Required Parameters:
backup_management_type -- Specify the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.
name -- Name of the Policy.
policy -- JSON encoded policy definition. Use the show command with JSON output to obtain a policy object. Modify the values using a file editor and pass the object.
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
vault_name -- Name of the Recovery services vault.

Optional Parameters:
workload_type -- Specify the type of applications within the Resource which should be discovered and protected by Azure Backup.
Create a new policy for the given BackupManagementType and workloadType . Required Parameters : backup_management_type -- Specify the backup management type . Define how Azure Backup manages the backup of entities within the ARM resource . For eg : AzureWorkloads refers to workloads installed within Azure VMs AzureStorage refers to entities within Storage account . Required only if friendly name is used as Container name . name -- Name of the Policy . policy -- JSON encoded policy definition . Use the show command with JSON output to obtain a policy object . Modify the values using a file editor and pass the object . resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` vault_name -- Name of the Recovery services vault . Optional Parameters : workload_type -- Specify the type of applications within the Resource which should be discovered and protected by Azure Backup .
def create(backup_management_type, name, policy, resource_group, vault_name, workload_type=None):
    return _call_az("az backup policy create", locals())
def create ( backup_management_type , name , policy , resource_group , vault_name , workload_type = None ) : return _call_az ( "az backup policy create" , locals ( ) )
Create a new policy for the given BackupManagementType and workloadType.
Create a new policy for the given BackupManagementType and workloadType .
'''
    Create a new policy for the given BackupManagementType and workloadType.

    Required Parameters:
    - backup_management_type -- Specify the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.
    - name -- Name of the Policy.
    - policy -- JSON encoded policy definition. Use the show command with JSON output to obtain a policy object. Modify the values using a file editor and pass the object.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vault_name -- Name of the Recovery services vault.

    Optional Parameters:
    - workload_type -- Specify the type of applications within the Resource which should be discovered and protected by Azure Backup. 
    '''
backup_management_type
name
policy
resource_group
vault_name
workload_type