DiskEncryptionSetsClient Interface

Implements

public interface DiskEncryptionSetsClient
extends InnerSupportsGet<DiskEncryptionSetInner>, InnerSupportsListing<DiskEncryptionSetInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in DiskEncryptionSetsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

abstract SyncPoller<PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, Context context)

Creates or updates a disk encryption set.

abstract PollerFlux<PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskEncryptionSetName, Context context)

Deletes a disk encryption set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

abstract SyncPoller<PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

abstract SyncPoller<PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, Context context)

Updates (patches) a disk encryption set.

abstract PollerFlux<PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

abstract DiskEncryptionSetInner createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

abstract DiskEncryptionSetInner createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, Context context)

Creates or updates a disk encryption set.

abstract Mono<DiskEncryptionSetInner> createOrUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

abstract void delete(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

abstract void delete(String resourceGroupName, String diskEncryptionSetName, Context context)

Deletes a disk encryption set.

abstract Mono<Void> deleteAsync(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

abstract DiskEncryptionSetInner getByResourceGroup(String resourceGroupName, String diskEncryptionSetName)

Gets information about a disk encryption set.

abstract Mono<DiskEncryptionSetInner> getByResourceGroupAsync(String resourceGroupName, String diskEncryptionSetName)

Gets information about a disk encryption set.

abstract Response<DiskEncryptionSetInner> getByResourceGroupWithResponse(String resourceGroupName, String diskEncryptionSetName, Context context)

Gets information about a disk encryption set.

abstract Mono<Response<DiskEncryptionSetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String diskEncryptionSetName)

Gets information about a disk encryption set.

abstract PagedIterable<DiskEncryptionSetInner> list()

Lists all the disk encryption sets under a subscription.

abstract PagedIterable<DiskEncryptionSetInner> list(Context context)

Lists all the disk encryption sets under a subscription.

abstract PagedIterable<String> listAssociatedResources(String resourceGroupName, String diskEncryptionSetName)

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

abstract PagedIterable<String> listAssociatedResources(String resourceGroupName, String diskEncryptionSetName, Context context)

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

abstract PagedFlux<String> listAssociatedResourcesAsync(String resourceGroupName, String diskEncryptionSetName)

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

abstract PagedFlux<DiskEncryptionSetInner> listAsync()

Lists all the disk encryption sets under a subscription.

abstract PagedIterable<DiskEncryptionSetInner> listByResourceGroup(String resourceGroupName)

Lists all the disk encryption sets under a resource group.

abstract PagedIterable<DiskEncryptionSetInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the disk encryption sets under a resource group.

abstract PagedFlux<DiskEncryptionSetInner> listByResourceGroupAsync(String resourceGroupName)

Lists all the disk encryption sets under a resource group.

abstract DiskEncryptionSetInner update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

abstract DiskEncryptionSetInner update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, Context context)

Updates (patches) a disk encryption set.

abstract Mono<DiskEncryptionSetInner> updateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.

Returns:

the SyncPoller<T,U> for polling of disk encryption set resource.

beginCreateOrUpdate

public abstract SyncPoller,DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, Context context)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of disk encryption set resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,DiskEncryptionSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.

Returns:

the PollerFlux<T,U> for polling of disk encryption set resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String diskEncryptionSetName, Context context)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.

Returns:

the SyncPoller<T,U> for polling of disk encryption set resource.

beginUpdate

public abstract SyncPoller,DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, Context context)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of disk encryption set resource.

beginUpdateAsync

public abstract PollerFlux,DiskEncryptionSetInner> beginUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.

Returns:

the PollerFlux<T,U> for polling of disk encryption set resource.

createOrUpdate

public abstract DiskEncryptionSetInner createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.

Returns:

disk encryption set resource.

createOrUpdate

public abstract DiskEncryptionSetInner createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, Context context)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.
context - The context to associate with this operation.

Returns:

disk encryption set resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.

Returns:

disk encryption set resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet)

Creates or updates a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Put disk encryption set operation.

Returns:

disk encryption set resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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.

delete

public abstract void delete(String resourceGroupName, String diskEncryptionSetName, Context context)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String diskEncryptionSetName)

Deletes a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract DiskEncryptionSetInner getByResourceGroup(String resourceGroupName, String diskEncryptionSetName)

Gets information about a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

information about a disk encryption set.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String diskEncryptionSetName)

Gets information about a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

information about a disk encryption set on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String diskEncryptionSetName, Context context)

Gets information about a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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.
context - The context to associate with this operation.

Returns:

information about a disk encryption set along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String diskEncryptionSetName)

Gets information about a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

information about a disk encryption set along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all the disk encryption sets under a subscription.

Returns:

the List disk encryption set operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the disk encryption sets under a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the List disk encryption set operation response as paginated response with PagedIterable<T>.

listAssociatedResources

public abstract PagedIterable listAssociatedResources(String resourceGroupName, String diskEncryptionSetName)

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

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

the List resources which are encrypted with the disk encryption set as paginated response with PagedIterable<T>.

listAssociatedResources

public abstract PagedIterable listAssociatedResources(String resourceGroupName, String diskEncryptionSetName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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.
context - The context to associate with this operation.

Returns:

the List resources which are encrypted with the disk encryption set as paginated response with PagedIterable<T>.

listAssociatedResourcesAsync

public abstract PagedFlux listAssociatedResourcesAsync(String resourceGroupName, String diskEncryptionSetName)

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

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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:

the List resources which are encrypted with the disk encryption set as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all the disk encryption sets under a subscription.

Returns:

the List disk encryption set operation response as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all the disk encryption sets under a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the List disk encryption set operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all the disk encryption sets under a resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

the List disk encryption set operation response as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all the disk encryption sets under a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the List disk encryption set operation response as paginated response with PagedFlux<T>.

update

public abstract DiskEncryptionSetInner update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.

Returns:

disk encryption set resource.

update

public abstract DiskEncryptionSetInner update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, Context context)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.
context - The context to associate with this operation.

Returns:

disk encryption set resource.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.

Returns:

disk encryption set resource on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet)

Updates (patches) a disk encryption set.

Parameters:

resourceGroupName - The name of the resource group.
diskEncryptionSetName - 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 - disk encryption set object supplied in the body of the Patch disk encryption set operation.

Returns:

disk encryption set resource along with Response<T> on successful completion of Mono.

Applies to