DiskEncryptionSets interface
Interface representing a DiskEncryptionSets.
Methods
Method Details
beginCreateOrUpdate(string, string, DiskEncryptionSet, DiskEncryptionSetsCreateOrUpdateOptionalParams)
Creates or updates a disk encryption set
function beginCreateOrUpdate(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSet, options?: DiskEncryptionSetsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
- diskEncryptionSet
- DiskEncryptionSet
disk encryption set object supplied in the body of the Put disk encryption set operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>
beginCreateOrUpdateAndWait(string, string, DiskEncryptionSet, DiskEncryptionSetsCreateOrUpdateOptionalParams)
Creates or updates a disk encryption set
function beginCreateOrUpdateAndWait(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSet, options?: DiskEncryptionSetsCreateOrUpdateOptionalParams): Promise<DiskEncryptionSet>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
- diskEncryptionSet
- DiskEncryptionSet
disk encryption set object supplied in the body of the Put disk encryption set operation.
The options parameters.
Returns
Promise<DiskEncryptionSet>
beginDelete(string, string, DiskEncryptionSetsDeleteOptionalParams)
Deletes a disk encryption set.
function beginDelete(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, DiskEncryptionSetsDeleteOptionalParams)
Deletes a disk encryption set.
function beginDeleteAndWait(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, DiskEncryptionSetUpdate, DiskEncryptionSetsUpdateOptionalParams)
Updates (patches) a disk encryption set.
function beginUpdate(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSetUpdate, options?: DiskEncryptionSetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
- diskEncryptionSet
- DiskEncryptionSetUpdate
disk encryption set object supplied in the body of the Patch disk encryption set operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>
beginUpdateAndWait(string, string, DiskEncryptionSetUpdate, DiskEncryptionSetsUpdateOptionalParams)
Updates (patches) a disk encryption set.
function beginUpdateAndWait(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSetUpdate, options?: DiskEncryptionSetsUpdateOptionalParams): Promise<DiskEncryptionSet>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
- diskEncryptionSet
- DiskEncryptionSetUpdate
disk encryption set object supplied in the body of the Patch disk encryption set operation.
The options parameters.
Returns
Promise<DiskEncryptionSet>
get(string, string, DiskEncryptionSetsGetOptionalParams)
Gets information about a disk encryption set.
function get(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsGetOptionalParams): Promise<DiskEncryptionSet>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
The options parameters.
Returns
Promise<DiskEncryptionSet>
list(DiskEncryptionSetsListOptionalParams)
Lists all the disk encryption sets under a subscription.
function list(options?: DiskEncryptionSetsListOptionalParams): PagedAsyncIterableIterator<DiskEncryptionSet, DiskEncryptionSet[], PageSettings>
Parameters
The options parameters.
Returns
listAssociatedResources(string, string, DiskEncryptionSetsListAssociatedResourcesOptionalParams)
Lists all resources that are encrypted with this disk encryption set.
function listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsListAssociatedResourcesOptionalParams): PagedAsyncIterableIterator<string, string[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- diskEncryptionSetName
-
string
The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
The options parameters.
Returns
PagedAsyncIterableIterator<string, string[], PageSettings>
listByResourceGroup(string, DiskEncryptionSetsListByResourceGroupOptionalParams)
Lists all the disk encryption sets under a resource group.
function listByResourceGroup(resourceGroupName: string, options?: DiskEncryptionSetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DiskEncryptionSet, DiskEncryptionSet[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.