Package version:

Interface DiskEncryptionSets

Interface representing a DiskEncryptionSets.

interface DiskEncryptionSets {
    beginCreateOrUpdate(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSet, options?: DiskEncryptionSetsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>;
    beginCreateOrUpdateAndWait(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSet, options?: DiskEncryptionSetsCreateOrUpdateOptionalParams): Promise<DiskEncryptionSet>;
    beginDelete(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSetUpdate, options?: DiskEncryptionSetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>;
    beginUpdateAndWait(resourceGroupName: string, diskEncryptionSetName: string, diskEncryptionSet: DiskEncryptionSetUpdate, options?: DiskEncryptionSetsUpdateOptionalParams): Promise<DiskEncryptionSet>;
    get(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsGetOptionalParams): Promise<DiskEncryptionSet>;
    list(options?: DiskEncryptionSetsListOptionalParams): PagedAsyncIterableIterator<DiskEncryptionSet>;
    listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, options?: DiskEncryptionSetsListAssociatedResourcesOptionalParams): PagedAsyncIterableIterator<string>;
    listByResourceGroup(resourceGroupName: string, options?: DiskEncryptionSetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DiskEncryptionSet>;
}

Methods

  • Creates or updates a disk encryption set

    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.

    • Optionaloptions: DiskEncryptionSetsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>

  • Creates or updates a disk encryption set

    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.

    • Optionaloptions: DiskEncryptionSetsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<DiskEncryptionSet>

  • Deletes a disk encryption set.

    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.

    • Optionaloptions: DiskEncryptionSetsDeleteOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • Deletes a disk encryption set.

    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.

    • Optionaloptions: DiskEncryptionSetsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Updates (patches) a disk encryption set.

    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.

    • Optionaloptions: DiskEncryptionSetsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<DiskEncryptionSet>, DiskEncryptionSet>>

  • Updates (patches) a disk encryption set.

    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.

    • Optionaloptions: DiskEncryptionSetsUpdateOptionalParams

      The options parameters.

    Returns Promise<DiskEncryptionSet>

  • Gets information about a disk encryption set.

    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.

    • Optionaloptions: DiskEncryptionSetsGetOptionalParams

      The options parameters.

    Returns Promise<DiskEncryptionSet>

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

    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.

    • Optionaloptions: DiskEncryptionSetsListAssociatedResourcesOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<string>