pyaz/snapshot/__init__.py
def create(name, resource_group, accelerated_network=None, copy_start=None, disk_access=None, disk_encryption_set=None, edge_zone=None, encryption_type=None, for_upload=None, hyper_v_generation=None, incremental=None, location=None, network_access_policy=None, no_wait=None, public_network_access=None, size_gb=None, sku=None, source=None, source_storage_account_id=None, tags=None):
    '''
    Create a snapshot.

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

    Optional Parameters:
    - accelerated_network -- Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support.
    - copy_start -- Create snapshot by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
    - disk_access -- Name or ID of the disk access resource for using private endpoints on disks.
    - disk_encryption_set -- Name or ID of disk encryption set that is used to encrypt the disk.
    - edge_zone -- The name of edge zone.
    - encryption_type -- Encryption type. EncryptionAtRestWithPlatformKey: Disk is encrypted with XStore managed key at rest. It is the default encryption type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed key at rest.
    - for_upload -- Create the snapshot for uploading blobs later on through storage commands. Run "az snapshot grant-access --access-level Write" to retrieve the snapshot's SAS token.
    - hyper_v_generation -- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
    - incremental -- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`. If location is not specified and no default location specified, location will be automatically set as same as the resource group.
    - network_access_policy -- Policy for accessing the disk via network.
    - no_wait -- Do not wait for the long-running operation to finish.
    - public_network_access -- Customers can set on Managed Disks or Snapshots to control the export policy on the disk.
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- None
    - source -- source to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id or name
    - source_storage_account_id -- used when source blob is in a different subscription
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    '''
    return _call_az("az snapshot create", locals())

    Create a snapshot.

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

    Optional Parameters:
    - accelerated_network -- Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support.
    - copy_start -- Create snapshot by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
    - disk_access -- Name or ID of the disk access resource for using private endpoints on disks.
    - disk_encryption_set -- Name or ID of disk encryption set that is used to encrypt the disk.
    - edge_zone -- The name of edge zone.
    - encryption_type -- Encryption type. EncryptionAtRestWithPlatformKey: Disk is encrypted with XStore managed key at rest. It is the default encryption type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed key at rest.
    - for_upload -- Create the snapshot for uploading blobs later on through storage commands. Run "az snapshot grant-access --access-level Write" to retrieve the snapshot's SAS token.
    - hyper_v_generation -- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
    - incremental -- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`. If location is not specified and no default location specified, location will be automatically set as same as the resource group.
    - network_access_policy -- Policy for accessing the disk via network.
    - no_wait -- Do not wait for the long-running operation to finish.
    - public_network_access -- Customers can set on Managed Disks or Snapshots to control the export policy on the disk.
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- None
    - source -- source to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id or name
    - source_storage_account_id -- used when source blob is in a different subscription
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    
Create a snapshot.
Required Parameters:
name -- The name of the snapshot
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`

Optional Parameters:
accelerated_network -- Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support.
copy_start -- Create snapshot by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
disk_access -- Name or ID of the disk access resource for using private endpoints on disks.
disk_encryption_set -- Name or ID of disk encryption set that is used to encrypt the disk.
edge_zone -- The name of edge zone.
encryption_type -- Encryption type. EncryptionAtRestWithPlatformKey: Disk is encrypted with XStore managed key at rest. It is the default encryption type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed key at rest.
for_upload -- Create the snapshot for uploading blobs later on through storage commands. Run "az snapshot grant-access --access-level Write" to retrieve the snapshot's SAS token.
hyper_v_generation -- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
incremental -- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed
location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`. If location is not specified and no default location specified, location will be automatically set as same as the resource group.
network_access_policy -- Policy for accessing the disk via network.
no_wait -- Do not wait for the long-running operation to finish.
public_network_access -- Customers can set on Managed Disks or Snapshots to control the export policy on the disk.
size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
Create a snapshot . Required Parameters : name -- The name of the snapshot resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` Optional Parameters : accelerated_network -- Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support . copy_start -- Create snapshot by using a deep copy process where the resource creation is considered complete only after all data has been copied from the source . disk_access -- Name or ID of the disk access resource for using private endpoints on disks . disk_encryption_set -- Name or ID of disk encryption set that is used to encrypt the disk . edge_zone -- The name of edge zone . encryption_type -- Encryption type . EncryptionAtRestWithPlatformKey : Disk is encrypted with XStore managed key at rest . It is the default encryption type . EncryptionAtRestWithCustomerKey : Disk is encrypted with Customer managed key at rest . for_upload -- Create the snapshot for uploading blobs later on through storage commands . Run " az snapshot grant - access -- access - level Write " to retrieve the snapshot ' s SAS token . hyper_v_generation -- The hypervisor generation of the Virtual Machine . Applicable to OS disks only . incremental -- Whether a snapshot is incremental . Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed location -- Location . Values from : ` az account list - locations ` . You can configure the default location using ` az configure -- defaults location = ` . If location is not specified and no default location specified location will be automatically set as same as the resource group . network_access_policy -- Policy for accessing the disk via network . no_wait -- Do not wait for the long - running operation to finish . public_network_access -- Customers can set on Managed Disks or Snapshots to control the export policy on the disk . size_gb -- size in GB . Max size : 4095 GB ( certain preview disks can be larger ) .
def create(name, resource_group, accelerated_network=None, copy_start=None, disk_access=None, disk_encryption_set=None, edge_zone=None, encryption_type=None, for_upload=None, hyper_v_generation=None, incremental=None, location=None, network_access_policy=None, no_wait=None, public_network_access=None, size_gb=None, sku=None, source=None, source_storage_account_id=None, tags=None):
    return _call_az("az snapshot create", locals())
def create ( name , resource_group , accelerated_network = None , copy_start = None , disk_access = None , disk_encryption_set = None , edge_zone = None , encryption_type = None , for_upload = None , hyper_v_generation = None , incremental = None , location = None , network_access_policy = None , no_wait = None , public_network_access = None , size_gb = None , sku = None , source = None , source_storage_account_id = None , tags = None ) : return _call_az ( "az snapshot create" , locals ( ) )
Create a snapshot.
Create a snapshot .
'''
    Create a snapshot.

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

    Optional Parameters:
    - accelerated_network -- Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support.
    - copy_start -- Create snapshot by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
    - disk_access -- Name or ID of the disk access resource for using private endpoints on disks.
    - disk_encryption_set -- Name or ID of disk encryption set that is used to encrypt the disk.
    - edge_zone -- The name of edge zone.
    - encryption_type -- Encryption type. EncryptionAtRestWithPlatformKey: Disk is encrypted with XStore managed key at rest. It is the default encryption type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed key at rest.
    - for_upload -- Create the snapshot for uploading blobs later on through storage commands. Run "az snapshot grant-access --access-level Write" to retrieve the snapshot's SAS token.
    - hyper_v_generation -- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
    - incremental -- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`. If location is not specified and no default location specified, location will be automatically set as same as the resource group.
    - network_access_policy -- Policy for accessing the disk via network.
    - no_wait -- Do not wait for the long-running operation to finish.
    - public_network_access -- Customers can set on Managed Disks or Snapshots to control the export policy on the disk.
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- None
    - source -- source to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id or name
    - source_storage_account_id -- used when source blob is in a different subscription
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    '''
name
resource_group
accelerated_network
copy_start
disk_access
disk_encryption_set
edge_zone
encryption_type
for_upload
hyper_v_generation
incremental
location
network_access_policy
no_wait
public_network_access
size_gb
sku
source
source_storage_account_id
tags