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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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
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.