pyaz/vm/disk/__init__.py
def attach(name, resource_group, vm_name, caching=None, enable_write_accelerator=None, lun=None, new=None, size_gb=None, sku=None):
    '''
    Attach a managed persistent disk to a VM. Please note that --ids only supports one disk.

    Required Parameters:
    - name -- The name or ID of the managed disk
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vm_name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`

    Optional Parameters:
    - caching -- Disk caching policy
    - enable_write_accelerator -- enable write accelerator
    - lun -- 0-based logical unit number (LUN). Max value depends on the Virtual Machine size.
    - new -- create a new disk
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- Underlying storage SKU
    '''
    return _call_az("az vm disk attach", locals())

    Attach a managed persistent disk to a VM. Please note that --ids only supports one disk.

    Required Parameters:
    - name -- The name or ID of the managed disk
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vm_name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`

    Optional Parameters:
    - caching -- Disk caching policy
    - enable_write_accelerator -- enable write accelerator
    - lun -- 0-based logical unit number (LUN). Max value depends on the Virtual Machine size.
    - new -- create a new disk
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- Underlying storage SKU
    
Attach a managed persistent disk to a VM. Please note that --ids only supports one disk.
Required Parameters:
name -- The name or ID of the managed disk
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
vm_name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=`


Attach a managed persistent disk to a VM . Please note that -- ids only supports one disk . Required Parameters : name -- The name or ID of the managed disk resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` vm_name -- The name of the Virtual Machine . You can configure the default using ` az configure -- defaults vm = `
def attach(name, resource_group, vm_name, caching=None, enable_write_accelerator=None, lun=None, new=None, size_gb=None, sku=None):
    return _call_az("az vm disk attach", locals())
def attach ( name , resource_group , vm_name , caching = None , enable_write_accelerator = None , lun = None , new = None , size_gb = None , sku = None ) : return _call_az ( "az vm disk attach" , locals ( ) )
Attach a managed persistent disk to a VM.
Attach a managed persistent disk to a VM .
'''
    Attach a managed persistent disk to a VM. Please note that --ids only supports one disk.

    Required Parameters:
    - name -- The name or ID of the managed disk
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vm_name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`

    Optional Parameters:
    - caching -- Disk caching policy
    - enable_write_accelerator -- enable write accelerator
    - lun -- 0-based logical unit number (LUN). Max value depends on the Virtual Machine size.
    - new -- create a new disk
    - size_gb -- size in GB. Max size: 4095 GB (certain preview disks can be larger).
    - sku -- Underlying storage SKU
    '''
name
resource_group
vm_name
caching
enable_write_accelerator
lun
new
size_gb
sku