Interface DiskAccessesClient

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

An instance of this class provides access to all the operations defined in DiskAccessesClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      Returns:
      disk access 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<DiskAccessInner>,DiskAccessInner> beginCreateOrUpdateAsync(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      Returns:
      the PollerFlux for polling of disk access 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<DiskAccessInner>,DiskAccessInner> beginCreateOrUpdate(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      Returns:
      the SyncPoller for polling of disk access 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<DiskAccessInner>,DiskAccessInner> beginCreateOrUpdate(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess, com.azure.core.util.Context context)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of disk access 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<DiskAccessInner> createOrUpdateAsync(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      Returns:
      disk access 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

      DiskAccessInner createOrUpdate(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      Returns:
      disk access 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

      DiskAccessInner createOrUpdate(String resourceGroupName, String diskAccessName, DiskAccessInner diskAccess, com.azure.core.util.Context context)
      Creates or updates a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Put disk access operation.
      context - The context to associate with this operation.
      Returns:
      disk access 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 diskAccessName, DiskAccessUpdate diskAccess)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      Returns:
      disk access 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<DiskAccessInner>,DiskAccessInner> beginUpdateAsync(String resourceGroupName, String diskAccessName, DiskAccessUpdate diskAccess)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      Returns:
      the PollerFlux for polling of disk access 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<DiskAccessInner>,DiskAccessInner> beginUpdate(String resourceGroupName, String diskAccessName, DiskAccessUpdate diskAccess)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      Returns:
      the SyncPoller for polling of disk access 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<DiskAccessInner>,DiskAccessInner> beginUpdate(String resourceGroupName, String diskAccessName, DiskAccessUpdate diskAccess, com.azure.core.util.Context context)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of disk access 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<DiskAccessInner> updateAsync(String resourceGroupName, String diskAccessName, DiskAccessUpdate diskAccess)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      Returns:
      disk access 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

      DiskAccessInner update(String resourceGroupName, String diskAccessName, DiskAccessUpdate diskAccess)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      Returns:
      disk access 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

      DiskAccessInner update(String resourceGroupName, String diskAccessName, DiskAccessUpdate diskAccess, com.azure.core.util.Context context)
      Updates (patches) a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      diskAccess - disk access object supplied in the body of the Patch disk access operation.
      context - The context to associate with this operation.
      Returns:
      disk access 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<DiskAccessInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String diskAccessName)
      Gets information about a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 access 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.
    • getByResourceGroupAsync

      Mono<DiskAccessInner> getByResourceGroupAsync(String resourceGroupName, String diskAccessName)
      Gets information about a disk access resource.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<DiskAccessInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 access 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<DiskAccessInner> getByResourceGroupWithResponse(String resourceGroupName, String diskAccessName, com.azure.core.util.Context context)
      Gets information about a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 access resource 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

      DiskAccessInner getByResourceGroup(String resourceGroupName, String diskAccessName)
      Gets information about a disk access resource.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<DiskAccessInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 access 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String diskAccessName)
      Deletes a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 diskAccessName)
      Deletes a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 diskAccessName)
      Deletes a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 diskAccessName, com.azure.core.util.Context context)
      Deletes a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 diskAccessName)
      Deletes a disk access resource.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 diskAccessName)
      Deletes a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 diskAccessName, com.azure.core.util.Context context)
      Deletes a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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<DiskAccessInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all the disk access resources under a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<DiskAccessInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      the List disk access 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<DiskAccessInner> listByResourceGroup(String resourceGroupName)
      Lists all the disk access resources under a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<DiskAccessInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      the List disk access 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<DiskAccessInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all the disk access resources under a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      the List disk access 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<DiskAccessInner> listAsync()
      Lists all the disk access resources under a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<DiskAccessInner>
      Returns:
      the List disk access 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<DiskAccessInner> list()
      Lists all the disk access resources under a subscription.
      Specified by:
      list in interface InnerSupportsListing<DiskAccessInner>
      Returns:
      the List disk access 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<DiskAccessInner> list(com.azure.core.util.Context context)
      Lists all the disk access resources under a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the List disk access 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.
    • getPrivateLinkResourcesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PrivateLinkResourceListResultInner>> getPrivateLinkResourcesWithResponseAsync(String resourceGroupName, String diskAccessName)
      Gets the private link resources possible under disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 private link resources possible under disk access resource along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getPrivateLinkResourcesAsync

      Mono<PrivateLinkResourceListResultInner> getPrivateLinkResourcesAsync(String resourceGroupName, String diskAccessName)
      Gets the private link resources possible under disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 private link resources possible under disk access resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getPrivateLinkResourcesWithResponse

      com.azure.core.http.rest.Response<PrivateLinkResourceListResultInner> getPrivateLinkResourcesWithResponse(String resourceGroupName, String diskAccessName, com.azure.core.util.Context context)
      Gets the private link resources possible under disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 private link resources possible under disk access resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getPrivateLinkResources

      PrivateLinkResourceListResultInner getPrivateLinkResources(String resourceGroupName, String diskAccessName)
      Gets the private link resources possible under disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 private link resources possible under disk access resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAPrivateEndpointConnectionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateAPrivateEndpointConnectionWithResponseAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      Returns:
      the Private Endpoint Connection 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.
    • beginUpdateAPrivateEndpointConnectionAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginUpdateAPrivateEndpointConnectionAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      Returns:
      the PollerFlux for polling of the Private Endpoint Connection 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.
    • beginUpdateAPrivateEndpointConnection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginUpdateAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      Returns:
      the SyncPoller for polling of the Private Endpoint Connection 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.
    • beginUpdateAPrivateEndpointConnection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginUpdateAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the Private Endpoint Connection 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.
    • updateAPrivateEndpointConnectionAsync

      Mono<PrivateEndpointConnectionInner> updateAPrivateEndpointConnectionAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      Returns:
      the Private Endpoint Connection 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.
    • updateAPrivateEndpointConnection

      PrivateEndpointConnectionInner updateAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      Returns:
      the Private Endpoint Connection 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.
    • updateAPrivateEndpointConnection

      PrivateEndpointConnectionInner updateAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.
      context - The context to associate with this operation.
      Returns:
      the Private Endpoint Connection 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.
    • getAPrivateEndpointConnectionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>> getAPrivateEndpointConnectionWithResponseAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Gets information about a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      information about a private endpoint connection under a disk access 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.
    • getAPrivateEndpointConnectionAsync

      Mono<PrivateEndpointConnectionInner> getAPrivateEndpointConnectionAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Gets information about a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      information about a private endpoint connection under a disk access 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.
    • getAPrivateEndpointConnectionWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getAPrivateEndpointConnectionWithResponse(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Gets information about a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      information about a private endpoint connection under a disk access resource 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.
    • getAPrivateEndpointConnection

      PrivateEndpointConnectionInner getAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Gets information about a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      information about a private endpoint connection under a disk access 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.
    • deleteAPrivateEndpointConnectionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteAPrivateEndpointConnectionWithResponseAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • beginDeleteAPrivateEndpointConnectionAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAPrivateEndpointConnectionAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • beginDeleteAPrivateEndpointConnection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • beginDeleteAPrivateEndpointConnection

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • deleteAPrivateEndpointConnectionAsync

      Mono<Void> deleteAPrivateEndpointConnectionAsync(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • deleteAPrivateEndpointConnection

      void deleteAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • deleteAPrivateEndpointConnection

      void deleteAPrivateEndpointConnection(String resourceGroupName, String diskAccessName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes a private endpoint connection under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
    • listPrivateEndpointConnectionsAsync

      com.azure.core.http.rest.PagedFlux<PrivateEndpointConnectionInner> listPrivateEndpointConnectionsAsync(String resourceGroupName, String diskAccessName)
      List information about private endpoint connections under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 list of private link resources 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.
    • listPrivateEndpointConnections

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> listPrivateEndpointConnections(String resourceGroupName, String diskAccessName)
      List information about private endpoint connections under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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 list of private link resources 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.
    • listPrivateEndpointConnections

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> listPrivateEndpointConnections(String resourceGroupName, String diskAccessName, com.azure.core.util.Context context)
      List information about private endpoint connections under a disk access resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      diskAccessName - The name of the disk access resource 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:
      a list of private link resources 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.