Interface DiskEncryptionSetsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<DiskEncryptionSetInner>, InnerSupportsListing<DiskEncryptionSetInner>

An instance of this class provides access to all the operations defined in DiskEncryptionSetsClient.
  • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • getByResourceGroupAsync

      Mono<DiskEncryptionSetInner> getByResourceGroupAsync(String resourceGroupName, String diskEncryptionSetName)
      Gets information about a disk encryption set.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      DiskEncryptionSetInner getByResourceGroup(String resourceGroupName, String diskEncryptionSetName)
      Gets information about a disk encryption set.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      Mono<Void> deleteAsync(String resourceGroupName, String diskEncryptionSetName)
      Deletes a disk encryption set.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<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 Mono that 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

      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.
      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:
      listByResourceGroupAsync in interface InnerSupportsListing<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:
      listByResourceGroup in interface InnerSupportsListing<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:
      listAsync in interface InnerSupportsListing<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:
      list in interface InnerSupportsListing<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.