public interface DisksClient extends InnerSupportsGet<DiskInner>, InnerSupportsListing<DiskInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> |
beginCreateOrUpdate(String resourceGroupName,
String diskName,
DiskInner disk)
Creates or updates a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> |
beginCreateOrUpdate(String resourceGroupName,
String diskName,
DiskInner disk,
com.azure.core.util.Context context)
Creates or updates a disk.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String diskName,
DiskInner disk)
Creates or updates a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String diskName)
Deletes a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String diskName,
com.azure.core.util.Context context)
Deletes a disk.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String diskName)
Deletes a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> |
beginGrantAccess(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData)
Grants access to a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> |
beginGrantAccess(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData,
com.azure.core.util.Context context)
Grants access to a disk.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> |
beginGrantAccessAsync(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData)
Grants access to a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRevokeAccess(String resourceGroupName,
String diskName)
Revokes access to a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRevokeAccess(String resourceGroupName,
String diskName,
com.azure.core.util.Context context)
Revokes access to a disk.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRevokeAccessAsync(String resourceGroupName,
String diskName)
Revokes access to a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> |
beginUpdate(String resourceGroupName,
String diskName,
DiskUpdate disk)
Updates (patches) a disk.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> |
beginUpdate(String resourceGroupName,
String diskName,
DiskUpdate disk,
com.azure.core.util.Context context)
Updates (patches) a disk.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> |
beginUpdateAsync(String resourceGroupName,
String diskName,
DiskUpdate disk)
Updates (patches) a disk.
|
DiskInner |
createOrUpdate(String resourceGroupName,
String diskName,
DiskInner disk)
Creates or updates a disk.
|
DiskInner |
createOrUpdate(String resourceGroupName,
String diskName,
DiskInner disk,
com.azure.core.util.Context context)
Creates or updates a disk.
|
Mono<DiskInner> |
createOrUpdateAsync(String resourceGroupName,
String diskName,
DiskInner disk)
Creates or updates a disk.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String diskName,
DiskInner disk)
Creates or updates a disk.
|
void |
delete(String resourceGroupName,
String diskName)
Deletes a disk.
|
void |
delete(String resourceGroupName,
String diskName,
com.azure.core.util.Context context)
Deletes a disk.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String diskName)
Deletes a disk.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String diskName)
Deletes a disk.
|
DiskInner |
getByResourceGroup(String resourceGroupName,
String diskName)
Gets information about a disk.
|
Mono<DiskInner> |
getByResourceGroupAsync(String resourceGroupName,
String diskName)
Gets information about a disk.
|
com.azure.core.http.rest.Response<DiskInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String diskName,
com.azure.core.util.Context context)
Gets information about a disk.
|
Mono<com.azure.core.http.rest.Response<DiskInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String diskName)
Gets information about a disk.
|
AccessUriInner |
grantAccess(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData)
Grants access to a disk.
|
AccessUriInner |
grantAccess(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData,
com.azure.core.util.Context context)
Grants access to a disk.
|
Mono<AccessUriInner> |
grantAccessAsync(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData)
Grants access to a disk.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
grantAccessWithResponseAsync(String resourceGroupName,
String diskName,
GrantAccessData grantAccessData)
Grants access to a disk.
|
com.azure.core.http.rest.PagedIterable<DiskInner> |
list()
Lists all the disks under a subscription.
|
com.azure.core.http.rest.PagedIterable<DiskInner> |
list(com.azure.core.util.Context context)
Lists all the disks under a subscription.
|
com.azure.core.http.rest.PagedFlux<DiskInner> |
listAsync()
Lists all the disks under a subscription.
|
com.azure.core.http.rest.PagedIterable<DiskInner> |
listByResourceGroup(String resourceGroupName)
Lists all the disks under a resource group.
|
com.azure.core.http.rest.PagedIterable<DiskInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all the disks under a resource group.
|
com.azure.core.http.rest.PagedFlux<DiskInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all the disks under a resource group.
|
void |
revokeAccess(String resourceGroupName,
String diskName)
Revokes access to a disk.
|
void |
revokeAccess(String resourceGroupName,
String diskName,
com.azure.core.util.Context context)
Revokes access to a disk.
|
Mono<Void> |
revokeAccessAsync(String resourceGroupName,
String diskName)
Revokes access to a disk.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
revokeAccessWithResponseAsync(String resourceGroupName,
String diskName)
Revokes access to a disk.
|
DiskInner |
update(String resourceGroupName,
String diskName,
DiskUpdate disk)
Updates (patches) a disk.
|
DiskInner |
update(String resourceGroupName,
String diskName,
DiskUpdate disk,
com.azure.core.util.Context context)
Updates (patches) a disk.
|
Mono<DiskInner> |
updateAsync(String resourceGroupName,
String diskName,
DiskUpdate disk)
Updates (patches) a disk.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String diskName,
DiskUpdate disk)
Updates (patches) a disk.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String diskName, DiskInner disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> beginCreateOrUpdateAsync(String resourceGroupName, String diskName, DiskInner disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> beginCreateOrUpdate(String resourceGroupName, String diskName, DiskInner disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> beginCreateOrUpdate(String resourceGroupName, String diskName, DiskInner disk, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.context
- The context to associate with this operation.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.Mono<DiskInner> createOrUpdateAsync(String resourceGroupName, String diskName, DiskInner disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.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.DiskInner createOrUpdate(String resourceGroupName, String diskName, DiskInner disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.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.DiskInner createOrUpdate(String resourceGroupName, String diskName, DiskInner disk, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk resource.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String diskName, DiskUpdate disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> beginUpdateAsync(String resourceGroupName, String diskName, DiskUpdate disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> beginUpdate(String resourceGroupName, String diskName, DiskUpdate disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskInner>,DiskInner> beginUpdate(String resourceGroupName, String diskName, DiskUpdate disk, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.context
- The context to associate with this operation.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.Mono<DiskInner> updateAsync(String resourceGroupName, String diskName, DiskUpdate disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.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.DiskInner update(String resourceGroupName, String diskName, DiskUpdate disk)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.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.DiskInner update(String resourceGroupName, String diskName, DiskUpdate disk, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.disk
- Disk update resource.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<DiskInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.Mono<DiskInner> getByResourceGroupAsync(String resourceGroupName, String diskName)
getByResourceGroupAsync
in interface InnerSupportsGet<DiskInner>
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.DiskInner getByResourceGroup(String resourceGroupName, String diskName)
getByResourceGroup
in interface InnerSupportsGet<DiskInner>
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.http.rest.Response<DiskInner> getByResourceGroupWithResponse(String resourceGroupName, String diskName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk 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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk 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.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.Mono<Void> deleteAsync(String resourceGroupName, String diskName)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.void delete(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.void delete(String resourceGroupName, String diskName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk 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.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.com.azure.core.http.rest.PagedFlux<DiskInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<DiskInner>
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<DiskInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<DiskInner>
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<DiskInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<DiskInner> listAsync()
listAsync
in interface InnerSupportsListing<DiskInner>
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.com.azure.core.http.rest.PagedIterable<DiskInner> list()
list
in interface InnerSupportsListing<DiskInner>
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.com.azure.core.http.rest.PagedIterable<DiskInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> grantAccessWithResponseAsync(String resourceGroupName, String diskName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> beginGrantAccessAsync(String resourceGroupName, String diskName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String diskName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String diskName, GrantAccessData grantAccessData, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.context
- The context to associate with this operation.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.Mono<AccessUriInner> grantAccessAsync(String resourceGroupName, String diskName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.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.AccessUriInner grantAccess(String resourceGroupName, String diskName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.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.AccessUriInner grantAccess(String resourceGroupName, String diskName, GrantAccessData grantAccessData, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.grantAccessData
- Data used for requesting a SAS.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> revokeAccessWithResponseAsync(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRevokeAccessAsync(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String diskName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk 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.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.Mono<Void> revokeAccessAsync(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.void revokeAccess(String resourceGroupName, String diskName)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk is
created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.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.void revokeAccess(String resourceGroupName, String diskName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.diskName
- The name of the managed disk that is being created. The name can't be changed after the disk 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.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.Copyright © 2020 Microsoft Corporation. All rights reserved.