Create a Disks.
Reference to the service client.
Creates or updates a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Disk object supplied in the body of the Put disk operation.
Promise<msRestAzure.LROPoller>
Deletes a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Promise<msRestAzure.LROPoller>
Grants access to a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Access data object supplied in the body of the get disk access operation.
Promise<msRestAzure.LROPoller>
Revokes access to a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Promise<msRestAzure.LROPoller>
Updates (patches) a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Disk object supplied in the body of the Patch disk operation.
Promise<msRestAzure.LROPoller>
Creates or updates a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Disk object supplied in the body of the Put disk operation.
Promise<Models.DisksCreateOrUpdateResponse>
Deletes a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Promise<Models.DisksDeleteMethodResponse>
Gets information about a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Promise<Models.DisksGetResponse>
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
The callback
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
The optional parameters
The callback
Grants access to a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Access data object supplied in the body of the get disk access operation.
Promise<Models.DisksGrantAccessResponse>
Lists all the disks under a subscription.
Promise<Models.DisksListResponse>
The callback
The optional parameters
The callback
Lists all the disks under a resource group.
The name of the resource group.
Promise<Models.DisksListByResourceGroupResponse>
The name of the resource group.
The callback
The name of the resource group.
The optional parameters
The callback
Lists all the disks under a resource group.
The NextLink from the previous successful call to List operation.
Promise<Models.DisksListByResourceGroupNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Lists all the disks under a subscription.
The NextLink from the previous successful call to List operation.
Promise<Models.DisksListNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Revokes access to a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Promise<Models.DisksRevokeAccessResponse>
Updates (patches) a disk.
The name of the resource group.
The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
Disk object supplied in the body of the Patch disk operation.
Promise<Models.DisksUpdateResponse>
Generated using TypeDoc
Class representing a Disks.