Interface DiskEncryptionSetsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<DiskEncryptionSetInner>,InnerSupportsListing<DiskEncryptionSetInner>
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 TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>, DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet) Creates or updates a disk encryption set.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>, DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, com.azure.core.util.Context context) Creates or updates a disk encryption set.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>, DiskEncryptionSetInner> beginCreateOrUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet) Creates or updates a disk encryption set.beginDelete(String resourceGroupName, String diskEncryptionSetName) Deletes a disk encryption set.beginDelete(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.Context context) Deletes a disk encryption set.beginDeleteAsync(String resourceGroupName, String diskEncryptionSetName) Deletes a disk encryption set.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>, DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet) Updates (patches) a disk encryption set.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>, DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, com.azure.core.util.Context context) Updates (patches) a disk encryption set.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>, DiskEncryptionSetInner> beginUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet) Updates (patches) a disk encryption set.createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet) Creates or updates a disk encryption set.createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, com.azure.core.util.Context context) Creates or updates a disk encryption set.createOrUpdateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet) Creates or updates a disk encryption set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet) Creates or updates a disk encryption set.voidDeletes a disk encryption set.voidDeletes a disk encryption set.deleteAsync(String resourceGroupName, String diskEncryptionSetName) Deletes a disk encryption set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String diskEncryptionSetName) Deletes a disk encryption set.getByResourceGroup(String resourceGroupName, String diskEncryptionSetName) Gets information about a disk encryption set.getByResourceGroupAsync(String resourceGroupName, String diskEncryptionSetName) Gets information about a disk encryption set.com.azure.core.http.rest.Response<DiskEncryptionSetInner> getByResourceGroupWithResponse(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.Context context) Gets information about a disk encryption set.Mono<com.azure.core.http.rest.Response<DiskEncryptionSetInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String diskEncryptionSetName) Gets information about a disk encryption set.com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> list()Lists all the disk encryption sets under a subscription.com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> list(com.azure.core.util.Context context) Lists all the disk encryption sets under a subscription.com.azure.core.http.rest.PagedIterable<String> listAssociatedResources(String resourceGroupName, String diskEncryptionSetName) Lists all resources that are encrypted with this disk encryption set.com.azure.core.http.rest.PagedIterable<String> listAssociatedResources(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.Context context) Lists all resources that are encrypted with this disk encryption set.com.azure.core.http.rest.PagedFlux<String> listAssociatedResourcesAsync(String resourceGroupName, String diskEncryptionSetName) Lists all resources that are encrypted with this disk encryption set.com.azure.core.http.rest.PagedFlux<DiskEncryptionSetInner> Lists all the disk encryption sets under a subscription.com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> listByResourceGroup(String resourceGroupName) Lists all the disk encryption sets under a resource group.com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the disk encryption sets under a resource group.com.azure.core.http.rest.PagedFlux<DiskEncryptionSetInner> listByResourceGroupAsync(String resourceGroupName) Lists all the disk encryption sets under a resource group.update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet) Updates (patches) a disk encryption set.update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, com.azure.core.util.Context context) Updates (patches) a disk encryption set.updateAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet) Updates (patches) a disk encryption set.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet) Updates (patches) a disk encryption set.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>,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
PollerFluxfor polling of disk encryption set resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>,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
SyncPollerfor polling of disk encryption set resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginCreateOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, com.azure.core.util.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
SyncPollerfor polling of disk encryption set resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<DiskEncryptionSetInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DiskEncryptionSetInner createOrUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetInner diskEncryptionSet, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>,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
PollerFluxfor polling of disk encryption set resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>,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
SyncPollerfor polling of disk encryption set resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskEncryptionSetInner>,DiskEncryptionSetInner> beginUpdate(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, com.azure.core.util.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
SyncPollerfor polling of disk encryption set resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<DiskEncryptionSetInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
DiskEncryptionSetInner update(String resourceGroupName, String diskEncryptionSetName, DiskEncryptionSetUpdate diskEncryptionSet, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<DiskEncryptionSetInner>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<DiskEncryptionSetInner> getByResourceGroupAsync(String resourceGroupName, String diskEncryptionSetName) Gets information about a disk encryption set.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<DiskEncryptionSetInner>- 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DiskEncryptionSetInner> getByResourceGroupWithResponse(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets information about a disk encryption set.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<DiskEncryptionSetInner>- 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a disk encryption set.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- 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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<DiskEncryptionSetInner> listByResourceGroupAsync(String resourceGroupName) Lists all the disk encryption sets under a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<DiskEncryptionSetInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- the List disk encryption set operation response as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> listByResourceGroup(String resourceGroupName) Lists all the disk encryption sets under a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<DiskEncryptionSetInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- the List disk encryption set operation response as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<DiskEncryptionSetInner> listAsync()Lists all the disk encryption sets under a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<DiskEncryptionSetInner>- Returns:
- the List disk encryption set operation response as paginated response with
PagedFlux. - Throws:
ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> list()Lists all the disk encryption sets under a subscription.- Specified by:
listin interfaceInnerSupportsListing<DiskEncryptionSetInner>- Returns:
- the List disk encryption set operation response as paginated response with
PagedIterable. - Throws:
ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DiskEncryptionSetInner> list(com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAssociatedResourcesAsync
com.azure.core.http.rest.PagedFlux<String> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAssociatedResources
com.azure.core.http.rest.PagedIterable<String> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAssociatedResources
com.azure.core.http.rest.PagedIterable<String> listAssociatedResources(String resourceGroupName, String diskEncryptionSetName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-