public interface SnapshotsClient extends InnerSupportsGet<SnapshotInner>, InnerSupportsListing<SnapshotInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SnapshotInner>,SnapshotInner> |
beginCreateOrUpdate(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot)
Creates or updates a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SnapshotInner>,SnapshotInner> |
beginCreateOrUpdate(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot,
com.azure.core.util.Context context)
Creates or updates a snapshot.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SnapshotInner>,SnapshotInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot)
Creates or updates a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String snapshotName)
Deletes a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String snapshotName,
com.azure.core.util.Context context)
Deletes a snapshot.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String snapshotName)
Deletes a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> |
beginGrantAccess(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData)
Grants access to a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> |
beginGrantAccess(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData,
com.azure.core.util.Context context)
Grants access to a snapshot.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AccessUriInner>,AccessUriInner> |
beginGrantAccessAsync(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData)
Grants access to a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRevokeAccess(String resourceGroupName,
String snapshotName)
Revokes access to a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRevokeAccess(String resourceGroupName,
String snapshotName,
com.azure.core.util.Context context)
Revokes access to a snapshot.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRevokeAccessAsync(String resourceGroupName,
String snapshotName)
Revokes access to a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SnapshotInner>,SnapshotInner> |
beginUpdate(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot)
Updates (patches) a snapshot.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SnapshotInner>,SnapshotInner> |
beginUpdate(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot,
com.azure.core.util.Context context)
Updates (patches) a snapshot.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SnapshotInner>,SnapshotInner> |
beginUpdateAsync(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot)
Updates (patches) a snapshot.
|
SnapshotInner |
createOrUpdate(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot)
Creates or updates a snapshot.
|
SnapshotInner |
createOrUpdate(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot,
com.azure.core.util.Context context)
Creates or updates a snapshot.
|
Mono<SnapshotInner> |
createOrUpdateAsync(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot)
Creates or updates a snapshot.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String snapshotName,
SnapshotInner snapshot)
Creates or updates a snapshot.
|
void |
delete(String resourceGroupName,
String snapshotName)
Deletes a snapshot.
|
void |
delete(String resourceGroupName,
String snapshotName,
com.azure.core.util.Context context)
Deletes a snapshot.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String snapshotName)
Deletes a snapshot.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String snapshotName)
Deletes a snapshot.
|
SnapshotInner |
getByResourceGroup(String resourceGroupName,
String snapshotName)
Gets information about a snapshot.
|
Mono<SnapshotInner> |
getByResourceGroupAsync(String resourceGroupName,
String snapshotName)
Gets information about a snapshot.
|
com.azure.core.http.rest.Response<SnapshotInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String snapshotName,
com.azure.core.util.Context context)
Gets information about a snapshot.
|
Mono<com.azure.core.http.rest.Response<SnapshotInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String snapshotName)
Gets information about a snapshot.
|
AccessUriInner |
grantAccess(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData)
Grants access to a snapshot.
|
AccessUriInner |
grantAccess(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData,
com.azure.core.util.Context context)
Grants access to a snapshot.
|
Mono<AccessUriInner> |
grantAccessAsync(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData)
Grants access to a snapshot.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
grantAccessWithResponseAsync(String resourceGroupName,
String snapshotName,
GrantAccessData grantAccessData)
Grants access to a snapshot.
|
com.azure.core.http.rest.PagedIterable<SnapshotInner> |
list()
Lists snapshots under a subscription.
|
com.azure.core.http.rest.PagedIterable<SnapshotInner> |
list(com.azure.core.util.Context context)
Lists snapshots under a subscription.
|
com.azure.core.http.rest.PagedFlux<SnapshotInner> |
listAsync()
Lists snapshots under a subscription.
|
com.azure.core.http.rest.PagedIterable<SnapshotInner> |
listByResourceGroup(String resourceGroupName)
Lists snapshots under a resource group.
|
com.azure.core.http.rest.PagedIterable<SnapshotInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists snapshots under a resource group.
|
com.azure.core.http.rest.PagedFlux<SnapshotInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists snapshots under a resource group.
|
void |
revokeAccess(String resourceGroupName,
String snapshotName)
Revokes access to a snapshot.
|
void |
revokeAccess(String resourceGroupName,
String snapshotName,
com.azure.core.util.Context context)
Revokes access to a snapshot.
|
Mono<Void> |
revokeAccessAsync(String resourceGroupName,
String snapshotName)
Revokes access to a snapshot.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
revokeAccessWithResponseAsync(String resourceGroupName,
String snapshotName)
Revokes access to a snapshot.
|
SnapshotInner |
update(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot)
Updates (patches) a snapshot.
|
SnapshotInner |
update(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot,
com.azure.core.util.Context context)
Updates (patches) a snapshot.
|
Mono<SnapshotInner> |
updateAsync(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot)
Updates (patches) a snapshot.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String snapshotName,
SnapshotUpdate snapshot)
Updates (patches) a snapshot.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>,SnapshotInner> beginCreateOrUpdateAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>,SnapshotInner> beginCreateOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>,SnapshotInner> beginCreateOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner> createOrUpdateAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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.SnapshotInner createOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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.SnapshotInner createOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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 snapshotName, SnapshotUpdate snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>,SnapshotInner> beginUpdateAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>,SnapshotInner> beginUpdate(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>,SnapshotInner> beginUpdate(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner> updateAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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.SnapshotInner update(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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.SnapshotInner update(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.snapshot
- Snapshot 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<SnapshotInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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<SnapshotInner> getByResourceGroupAsync(String resourceGroupName, String snapshotName)
getByResourceGroupAsync
in interface InnerSupportsGet<SnapshotInner>
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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.SnapshotInner getByResourceGroup(String resourceGroupName, String snapshotName)
getByResourceGroup
in interface InnerSupportsGet<SnapshotInner>
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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<SnapshotInner> getByResourceGroupWithResponse(String resourceGroupName, String snapshotName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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<SnapshotInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<SnapshotInner>
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<SnapshotInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<SnapshotInner>
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<SnapshotInner> 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<SnapshotInner> listAsync()
listAsync
in interface InnerSupportsListing<SnapshotInner>
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<SnapshotInner> list()
list
in interface InnerSupportsListing<SnapshotInner>
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<SnapshotInner> 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 snapshotName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, GrantAccessData grantAccessData, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, GrantAccessData grantAccessData)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, GrantAccessData grantAccessData, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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 snapshotName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.snapshotName
- The name of the snapshot that is being created. The name can't be changed after the snapshot
is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max 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.