pyaz/disk/__init__.py
def update(name, resource_group, accelerated_network=None, add=None, disk_access=None, disk_encryption_set=None, disk_iops_read_only=None, disk_iops_read_write=None, disk_mbps_read_only=None, disk_mbps_read_write=None, enable_bursting=None, encryption_type=None, force_string=None, max_shares=None, network_access_policy=None, no_wait=None, public_network_access=None, remove=None, set=None, size_gb=None, sku=None):
    '''
    Update a managed disk.

    Required Parameters:
    - name -- The name of the managed disk
    - 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.
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - 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.
    - disk_iops_read_only -- The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes
    - disk_iops_read_write -- The number of IOPS allowed for this disk. Only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes
    - disk_mbps_read_only -- The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10
    - disk_mbps_read_write -- The bandwidth allowed for this disk. Only settable for UltraSSD disks. MBps means millions of bytes per second with ISO notation of powers of 10
    - enable_bursting -- Enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default, and it does not apply to Ultra disks.
    - 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.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - max_shares -- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time
    - 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.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- Underlying storage SKU
    '''
    return _call_az("az disk update", locals())

    Update a managed disk.

    Required Parameters:
    - name -- The name of the managed disk
    - 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.
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - 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.
    - disk_iops_read_only -- The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes
    - disk_iops_read_write -- The number of IOPS allowed for this disk. Only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes
    - disk_mbps_read_only -- The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10
    - disk_mbps_read_write -- The bandwidth allowed for this disk. Only settable for UltraSSD disks. MBps means millions of bytes per second with ISO notation of powers of 10
    - enable_bursting -- Enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default, and it does not apply to Ultra disks.
    - 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.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - max_shares -- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time
    - 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.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- Underlying storage SKU
    
Update a managed disk.
Required Parameters:
name -- The name of the managed disk
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.
add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty 
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.
disk_iops_read_only -- The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes
disk_iops_read_write -- The number of IOPS allowed for this disk. Only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes
disk_mbps_read_only -- The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10
disk_mbps_read_write -- The bandwidth allowed for this disk. Only settable for UltraSSD disks. MBps means millions of bytes per second with ISO notation of powers of 10
enable_bursting -- Enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default, and it does not apply to Ultra disks.
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.
force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
max_shares -- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time
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.
remove -- Remove a property or an element from a list.
Update a managed disk . Required Parameters : name -- The name of the managed disk 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 . add -- Add an object to a list of objects by specifying a path and key value pairs . Example : -- add property . listProperty 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 . disk_iops_read_only -- The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly . One operation can transfer between 4k and 256k bytes disk_iops_read_write -- The number of IOPS allowed for this disk . Only settable for UltraSSD disks . One operation can transfer between 4k and 256k bytes disk_mbps_read_only -- The total throughput ( MBps ) that will be allowed across all VMs mounting the shared disk as ReadOnly . MBps means millions of bytes per second - MB here uses the ISO notation of powers of 10 disk_mbps_read_write -- The bandwidth allowed for this disk . Only settable for UltraSSD disks . MBps means millions of bytes per second with ISO notation of powers of 10 enable_bursting -- Enable bursting beyond the provisioned performance target of the disk . Bursting is disabled by default and it does not apply to Ultra disks . 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 . force_string -- When using ' set ' or ' add ' preserve string literals instead of attempting to convert to JSON . max_shares -- The maximum number of VMs that can attach to the disk at the same time . Value greater than one indicates a disk that can be mounted on multiple VMs at the same time 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 . remove -- Remove a property or an element from a list .
def update(name, resource_group, accelerated_network=None, add=None, disk_access=None, disk_encryption_set=None, disk_iops_read_only=None, disk_iops_read_write=None, disk_mbps_read_only=None, disk_mbps_read_write=None, enable_bursting=None, encryption_type=None, force_string=None, max_shares=None, network_access_policy=None, no_wait=None, public_network_access=None, remove=None, set=None, size_gb=None, sku=None):
    return _call_az("az disk update", locals())
def update ( name , resource_group , accelerated_network = None , add = None , disk_access = None , disk_encryption_set = None , disk_iops_read_only = None , disk_iops_read_write = None , disk_mbps_read_only = None , disk_mbps_read_write = None , enable_bursting = None , encryption_type = None , force_string = None , max_shares = None , network_access_policy = None , no_wait = None , public_network_access = None , remove = None , set = None , size_gb = None , sku = None ) : return _call_az ( "az disk update" , locals ( ) )
Update a managed disk.
Update a managed disk .
'''
    Update a managed disk.

    Required Parameters:
    - name -- The name of the managed disk
    - 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.
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - 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.
    - disk_iops_read_only -- The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes
    - disk_iops_read_write -- The number of IOPS allowed for this disk. Only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes
    - disk_mbps_read_only -- The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10
    - disk_mbps_read_write -- The bandwidth allowed for this disk. Only settable for UltraSSD disks. MBps means millions of bytes per second with ISO notation of powers of 10
    - enable_bursting -- Enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default, and it does not apply to Ultra disks.
    - 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.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - max_shares -- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time
    - 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.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- Underlying storage SKU
    '''
name
resource_group
accelerated_network
add
disk_access
disk_encryption_set
disk_iops_read_only
disk_iops_read_write
disk_mbps_read_only
disk_mbps_read_write
enable_bursting
encryption_type
force_string
max_shares
network_access_policy
no_wait
public_network_access
remove
set
size_gb
sku