pyaz/keyvault/__init__.py
def create(resource_group, administrators=None, bypass=None, default_action=None, enable_purge_protection=None, enable_rbac_authorization=None, enable_soft_delete=None, enabled_for_deployment=None, enabled_for_disk_encryption=None, enabled_for_template_deployment=None, hsm_name=None, location=None, name=None, network_acls=None, network_acls_ips=None, network_acls_vnets=None, no_self_perms=None, no_wait=None, public_network_access=None, retention_days=None, sku=None, tags=None):
    '''
    Create a Vault or HSM.

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

    Optional Parameters:
    - administrators -- [HSM Only] Administrator role for data plane operations for Managed HSM. It accepts a space separated list of OIDs that will be assigned.
    - bypass -- Bypass traffic for space-separated uses.
    - default_action -- Default action to apply when no rule matches.
    - enable_purge_protection -- Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.
    - enable_rbac_authorization -- Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be  ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC.
    - enable_soft_delete -- [Vault Only] Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value (true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false.
    - enabled_for_deployment -- [Vault Only] Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
    - enabled_for_disk_encryption -- [Vault Only] Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
    - enabled_for_template_deployment -- [Vault Only] Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
    - hsm_name -- Name of the HSM. (--hsm-name and --name/-n are mutually exclusive, please specify just one of them)
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - name -- Name of the Vault.
    - network_acls -- Network ACLs. It accepts a JSON filename or a JSON string. JSON format: `{\"ip\":[<ip1>, <ip2>...],\"vnet\":[<vnet_name_1>/<subnet_name_1>,<subnet_id2>...]}`
    - network_acls_ips -- Network ACLs IP rules. Space-separated list of IP addresses.
    - network_acls_vnets -- Network ACLS VNet rules. Space-separated list of Vnet/subnet pairs or subnet resource ids.
    - no_self_perms -- [Vault Only] Don't add permissions for the current user/service principal in the new vault.
    - no_wait -- Do not wait for the long-running operation to finish.
    - public_network_access -- Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
    - retention_days -- Soft delete data retention days. It accepts >=7 and <=90.
    - sku -- Required. SKU details. Allowed values for Vault: premium, standard. Default: standard. Allowed values for HSM: Standard_B1, Custom_B32. Default: Standard_B1
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    '''
    return _call_az("az keyvault create", locals())

    Create a Vault or HSM.

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

    Optional Parameters:
    - administrators -- [HSM Only] Administrator role for data plane operations for Managed HSM. It accepts a space separated list of OIDs that will be assigned.
    - bypass -- Bypass traffic for space-separated uses.
    - default_action -- Default action to apply when no rule matches.
    - enable_purge_protection -- Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.
    - enable_rbac_authorization -- Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be  ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC.
    - enable_soft_delete -- [Vault Only] Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value (true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false.
    - enabled_for_deployment -- [Vault Only] Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
    - enabled_for_disk_encryption -- [Vault Only] Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
    - enabled_for_template_deployment -- [Vault Only] Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
    - hsm_name -- Name of the HSM. (--hsm-name and --name/-n are mutually exclusive, please specify just one of them)
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - name -- Name of the Vault.
    - network_acls -- Network ACLs. It accepts a JSON filename or a JSON string. JSON format: `{\"ip\":[<ip1>, <ip2>...],\"vnet\":[<vnet_name_1>/<subnet_name_1>,<subnet_id2>...]}`
    - network_acls_ips -- Network ACLs IP rules. Space-separated list of IP addresses.
    - network_acls_vnets -- Network ACLS VNet rules. Space-separated list of Vnet/subnet pairs or subnet resource ids.
    - no_self_perms -- [Vault Only] Don't add permissions for the current user/service principal in the new vault.
    - no_wait -- Do not wait for the long-running operation to finish.
    - public_network_access -- Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
    - retention_days -- Soft delete data retention days. It accepts >=7 and <=90.
    - sku -- Required. SKU details. Allowed values for Vault: premium, standard. Default: standard. Allowed values for HSM: Standard_B1, Custom_B32. Default: Standard_B1
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    
Create a Vault or HSM.
Required Parameters:
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`

Optional Parameters:
administrators -- [HSM Only] Administrator role for data plane operations for Managed HSM. It accepts a space separated list of OIDs that will be assigned.
bypass -- Bypass traffic for space-separated uses.
default_action -- Default action to apply when no rule matches.
enable_purge_protection -- Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.
enable_rbac_authorization -- Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be  ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC.
enable_soft_delete -- [Vault Only] Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value (true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false.
enabled_for_deployment -- [Vault Only] Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
enabled_for_disk_encryption -- [Vault Only] Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
enabled_for_template_deployment -- [Vault Only] Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
hsm_name -- Name of the HSM.
Create a Vault or HSM . Required Parameters : resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` Optional Parameters : administrators -- [ HSM Only ] Administrator role for data plane operations for Managed HSM . It accepts a space separated list of OIDs that will be assigned . bypass -- Bypass traffic for space - separated uses . default_action -- Default action to apply when no rule matches . enable_purge_protection -- Property specifying whether protection against purge is enabled for this vault . Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard irrecoverable deletion . The setting is effective only if soft delete is also enabled . Enabling this functionality is irreversible - that is the property does not accept false as its value . enable_rbac_authorization -- Property that controls how data actions are authorized . When true the key vault will use Role Based Access Control ( RBAC ) for authorization of data actions and the access policies specified in vault properties will be ignored ( warning : this is a preview feature ) . When false the key vault will use the access policies specified in vault properties and any policy stored on Azure Resource Manager will be ignored . If null or not specified the vault is created with the default value of false . Note that management actions are always authorized with RBAC . enable_soft_delete -- [ Vault Only ] Property to specify whether the ' soft delete ' functionality is enabled for this key vault . If it ' s not set to any value ( true or false ) when creating new key vault it will be set to true by default . Once set to true it cannot be reverted to false . enabled_for_deployment -- [ Vault Only ] Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault . enabled_for_disk_encryption -- [ Vault Only ] Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys . enabled_for_template_deployment -- [ Vault Only ] Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault . hsm_name -- Name of the HSM .
def create(resource_group, administrators=None, bypass=None, default_action=None, enable_purge_protection=None, enable_rbac_authorization=None, enable_soft_delete=None, enabled_for_deployment=None, enabled_for_disk_encryption=None, enabled_for_template_deployment=None, hsm_name=None, location=None, name=None, network_acls=None, network_acls_ips=None, network_acls_vnets=None, no_self_perms=None, no_wait=None, public_network_access=None, retention_days=None, sku=None, tags=None):
    return _call_az("az keyvault create", locals())
def create ( resource_group , administrators = None , bypass = None , default_action = None , enable_purge_protection = None , enable_rbac_authorization = None , enable_soft_delete = None , enabled_for_deployment = None , enabled_for_disk_encryption = None , enabled_for_template_deployment = None , hsm_name = None , location = None , name = None , network_acls = None , network_acls_ips = None , network_acls_vnets = None , no_self_perms = None , no_wait = None , public_network_access = None , retention_days = None , sku = None , tags = None ) : return _call_az ( "az keyvault create" , locals ( ) )
Create a Vault or HSM.
Create a Vault or HSM .
'''
    Create a Vault or HSM.

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

    Optional Parameters:
    - administrators -- [HSM Only] Administrator role for data plane operations for Managed HSM. It accepts a space separated list of OIDs that will be assigned.
    - bypass -- Bypass traffic for space-separated uses.
    - default_action -- Default action to apply when no rule matches.
    - enable_purge_protection -- Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.
    - enable_rbac_authorization -- Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be  ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC.
    - enable_soft_delete -- [Vault Only] Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value (true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false.
    - enabled_for_deployment -- [Vault Only] Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
    - enabled_for_disk_encryption -- [Vault Only] Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
    - enabled_for_template_deployment -- [Vault Only] Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
    - hsm_name -- Name of the HSM. (--hsm-name and --name/-n are mutually exclusive, please specify just one of them)
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - name -- Name of the Vault.
    - network_acls -- Network ACLs. It accepts a JSON filename or a JSON string. JSON format: `{\"ip\":[<ip1>, <ip2>...],\"vnet\":[<vnet_name_1>/<subnet_name_1>,<subnet_id2>...]}`
    - network_acls_ips -- Network ACLs IP rules. Space-separated list of IP addresses.
    - network_acls_vnets -- Network ACLS VNet rules. Space-separated list of Vnet/subnet pairs or subnet resource ids.
    - no_self_perms -- [Vault Only] Don't add permissions for the current user/service principal in the new vault.
    - no_wait -- Do not wait for the long-running operation to finish.
    - public_network_access -- Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
    - retention_days -- Soft delete data retention days. It accepts >=7 and <=90.
    - sku -- Required. SKU details. Allowed values for Vault: premium, standard. Default: standard. Allowed values for HSM: Standard_B1, Custom_B32. Default: Standard_B1
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    '''
resource_group
administrators
bypass
default_action
enable_purge_protection
enable_rbac_authorization
enable_soft_delete
enabled_for_deployment
enabled_for_disk_encryption
enabled_for_template_deployment
hsm_name
location
name
network_acls
network_acls_ips
network_acls_vnets
no_self_perms
no_wait
public_network_access
retention_days
sku
tags