Compartir a través de


DiskEncryptionSets interface

Interface representing a DiskEncryptionSets.

Methods

beginCreateOrUpdate(string, string, DiskEncryptionSet, DiskEncryptionSetsCreateOrUpdateOptionalParams)

Creates or updates a disk encryption set

beginCreateOrUpdateAndWait(string, string, DiskEncryptionSet, DiskEncryptionSetsCreateOrUpdateOptionalParams)

Creates or updates a disk encryption set

beginDelete(string, string, DiskEncryptionSetsDeleteOptionalParams)

Deletes a disk encryption set.

beginDeleteAndWait(string, string, DiskEncryptionSetsDeleteOptionalParams)

Deletes a disk encryption set.

beginUpdate(string, string, DiskEncryptionSetUpdate, DiskEncryptionSetsUpdateOptionalParams)

Updates (patches) a disk encryption set.

beginUpdateAndWait(string, string, DiskEncryptionSetUpdate, DiskEncryptionSetsUpdateOptionalParams)

Updates (patches) a disk encryption set.

get(string, string, DiskEncryptionSetsGetOptionalParams)

Gets information about a disk encryption set.

list(DiskEncryptionSetsListOptionalParams)

Lists all the disk encryption sets under a subscription.

listAssociatedResources(string, string, DiskEncryptionSetsListAssociatedResourcesOptionalParams)

Lists all resources that are encrypted with this disk encryption set.

listByResourceGroup(string, DiskEncryptionSetsListByResourceGroupOptionalParams)

Lists all the disk encryption sets under a resource group.

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.

options
DiskEncryptionSetsCreateOrUpdateOptionalParams

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.

options
DiskEncryptionSetsCreateOrUpdateOptionalParams

The options parameters.

Returns

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.

options
DiskEncryptionSetsDeleteOptionalParams

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.

options
DiskEncryptionSetsDeleteOptionalParams

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.

options
DiskEncryptionSetsUpdateOptionalParams

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.

options
DiskEncryptionSetsUpdateOptionalParams

The options parameters.

Returns

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.

options
DiskEncryptionSetsGetOptionalParams

The options parameters.

Returns

list(DiskEncryptionSetsListOptionalParams)

Lists all the disk encryption sets under a subscription.

function list(options?: DiskEncryptionSetsListOptionalParams): PagedAsyncIterableIterator<DiskEncryptionSet, DiskEncryptionSet[], PageSettings>

Parameters

options
DiskEncryptionSetsListOptionalParams

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.

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.

options
DiskEncryptionSetsListByResourceGroupOptionalParams

The options parameters.

Returns