다음을 통해 공유


SnapshotsClient Interface

Implements

public interface SnapshotsClient
extends InnerSupportsGet<SnapshotInner>, InnerSupportsListing<SnapshotInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in SnapshotsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<SnapshotInner>,SnapshotInner> beginCreateOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

abstract SyncPoller<PollResult<SnapshotInner>,SnapshotInner> beginCreateOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot, Context context)

Creates or updates a snapshot.

abstract PollerFlux<PollResult<SnapshotInner>,SnapshotInner> beginCreateOrUpdateAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String snapshotName)

Deletes a snapshot.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String snapshotName, Context context)

Deletes a snapshot.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String snapshotName)

Deletes a snapshot.

abstract SyncPoller<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

abstract SyncPoller<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData, Context context)

Grants access to a snapshot.

abstract PollerFlux<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccessAsync(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

abstract SyncPoller<PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

abstract SyncPoller<PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String snapshotName, Context context)

Revokes access to a snapshot.

abstract PollerFlux<PollResult<Void>,Void> beginRevokeAccessAsync(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

abstract SyncPoller<PollResult<SnapshotInner>,SnapshotInner> beginUpdate(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

abstract SyncPoller<PollResult<SnapshotInner>,SnapshotInner> beginUpdate(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot, Context context)

Updates (patches) a snapshot.

abstract PollerFlux<PollResult<SnapshotInner>,SnapshotInner> beginUpdateAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

abstract SnapshotInner createOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

abstract SnapshotInner createOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot, Context context)

Creates or updates a snapshot.

abstract Mono<SnapshotInner> createOrUpdateAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

abstract void delete(String resourceGroupName, String snapshotName)

Deletes a snapshot.

abstract void delete(String resourceGroupName, String snapshotName, Context context)

Deletes a snapshot.

abstract Mono<Void> deleteAsync(String resourceGroupName, String snapshotName)

Deletes a snapshot.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String snapshotName)

Deletes a snapshot.

abstract SnapshotInner getByResourceGroup(String resourceGroupName, String snapshotName)

Gets information about a snapshot.

abstract Mono<SnapshotInner> getByResourceGroupAsync(String resourceGroupName, String snapshotName)

Gets information about a snapshot.

abstract Response<SnapshotInner> getByResourceGroupWithResponse(String resourceGroupName, String snapshotName, Context context)

Gets information about a snapshot.

abstract Mono<Response<SnapshotInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String snapshotName)

Gets information about a snapshot.

abstract AccessUriInner grantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

abstract AccessUriInner grantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData, Context context)

Grants access to a snapshot.

abstract Mono<AccessUriInner> grantAccessAsync(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

abstract Mono<Response<Flux<ByteBuffer>>> grantAccessWithResponseAsync(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

abstract PagedIterable<SnapshotInner> list()

Lists snapshots under a subscription.

abstract PagedIterable<SnapshotInner> list(Context context)

Lists snapshots under a subscription.

abstract PagedFlux<SnapshotInner> listAsync()

Lists snapshots under a subscription.

abstract PagedIterable<SnapshotInner> listByResourceGroup(String resourceGroupName)

Lists snapshots under a resource group.

abstract PagedIterable<SnapshotInner> listByResourceGroup(String resourceGroupName, Context context)

Lists snapshots under a resource group.

abstract PagedFlux<SnapshotInner> listByResourceGroupAsync(String resourceGroupName)

Lists snapshots under a resource group.

abstract void revokeAccess(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

abstract void revokeAccess(String resourceGroupName, String snapshotName, Context context)

Revokes access to a snapshot.

abstract Mono<Void> revokeAccessAsync(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

abstract Mono<Response<Flux<ByteBuffer>>> revokeAccessWithResponseAsync(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

abstract SnapshotInner update(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

abstract SnapshotInner update(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot, Context context)

Updates (patches) a snapshot.

abstract Mono<SnapshotInner> updateAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,SnapshotInner> beginCreateOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.

Returns:

the SyncPoller<T,U> for polling of snapshot resource.

beginCreateOrUpdate

public abstract SyncPoller,SnapshotInner> beginCreateOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot, Context context)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of snapshot resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,SnapshotInner> beginCreateOrUpdateAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.

Returns:

the PollerFlux<T,U> for polling of snapshot resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String snapshotName)

Deletes a snapshot.

Parameters:

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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String snapshotName, Context context)

Deletes a snapshot.

Parameters:

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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String snapshotName)

Deletes a snapshot.

Parameters:

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.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginGrantAccess

public abstract SyncPoller,AccessUriInner> beginGrantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.

Returns:

the SyncPoller<T,U> for polling of a disk access SAS uri.

beginGrantAccess

public abstract SyncPoller,AccessUriInner> beginGrantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData, Context context)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a disk access SAS uri.

beginGrantAccessAsync

public abstract PollerFlux,AccessUriInner> beginGrantAccessAsync(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.

Returns:

the PollerFlux<T,U> for polling of a disk access SAS uri.

beginRevokeAccess

public abstract SyncPoller,Void> beginRevokeAccess(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

Parameters:

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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRevokeAccess

public abstract SyncPoller,Void> beginRevokeAccess(String resourceGroupName, String snapshotName, Context context)

Revokes access to a snapshot.

Parameters:

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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRevokeAccessAsync

public abstract PollerFlux,Void> beginRevokeAccessAsync(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

Parameters:

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.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,SnapshotInner> beginUpdate(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.

Returns:

the SyncPoller<T,U> for polling of snapshot resource.

beginUpdate

public abstract SyncPoller,SnapshotInner> beginUpdate(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot, Context context)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of snapshot resource.

beginUpdateAsync

public abstract PollerFlux,SnapshotInner> beginUpdateAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.

Returns:

the PollerFlux<T,U> for polling of snapshot resource.

createOrUpdate

public abstract SnapshotInner createOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.

Returns:

snapshot resource.

createOrUpdate

public abstract SnapshotInner createOrUpdate(String resourceGroupName, String snapshotName, SnapshotInner snapshot, Context context)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.
context - The context to associate with this operation.

Returns:

snapshot resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.

Returns:

snapshot resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String snapshotName, SnapshotInner snapshot)

Creates or updates a snapshot.

Parameters:

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 object supplied in the body of the Put disk operation.

Returns:

snapshot resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String snapshotName)

Deletes a snapshot.

Parameters:

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.

delete

public abstract void delete(String resourceGroupName, String snapshotName, Context context)

Deletes a snapshot.

Parameters:

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.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String snapshotName)

Deletes a snapshot.

Parameters:

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.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String snapshotName)

Deletes a snapshot.

Parameters:

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.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract SnapshotInner getByResourceGroup(String resourceGroupName, String snapshotName)

Gets information about a snapshot.

Parameters:

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.

Returns:

information about a snapshot.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String snapshotName)

Gets information about a snapshot.

Parameters:

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.

Returns:

information about a snapshot on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String snapshotName, Context context)

Gets information about a snapshot.

Parameters:

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.

Returns:

information about a snapshot along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String snapshotName)

Gets information about a snapshot.

Parameters:

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.

Returns:

information about a snapshot along with Response<T> on successful completion of Mono.

grantAccess

public abstract AccessUriInner grantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.

Returns:

a disk access SAS uri.

grantAccess

public abstract AccessUriInner grantAccess(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData, Context context)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.
context - The context to associate with this operation.

Returns:

a disk access SAS uri.

grantAccessAsync

public abstract Mono grantAccessAsync(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.

Returns:

a disk access SAS uri on successful completion of Mono.

grantAccessWithResponseAsync

public abstract Mono>> grantAccessWithResponseAsync(String resourceGroupName, String snapshotName, GrantAccessData grantAccessData)

Grants access to a snapshot.

Parameters:

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 - Access data object supplied in the body of the get snapshot access operation.

Returns:

a disk access SAS uri along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists snapshots under a subscription.

Returns:

the List Snapshots operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists snapshots under a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the List Snapshots operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists snapshots under a subscription.

Returns:

the List Snapshots operation response as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists snapshots under a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the List Snapshots operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists snapshots under a resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

the List Snapshots operation response as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists snapshots under a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the List Snapshots operation response as paginated response with PagedFlux<T>.

revokeAccess

public abstract void revokeAccess(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

Parameters:

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.

revokeAccess

public abstract void revokeAccess(String resourceGroupName, String snapshotName, Context context)

Revokes access to a snapshot.

Parameters:

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.

revokeAccessAsync

public abstract Mono revokeAccessAsync(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

Parameters:

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.

Returns:

A Mono that completes when a successful response is received.

revokeAccessWithResponseAsync

public abstract Mono>> revokeAccessWithResponseAsync(String resourceGroupName, String snapshotName)

Revokes access to a snapshot.

Parameters:

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.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract SnapshotInner update(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.

Returns:

snapshot resource.

update

public abstract SnapshotInner update(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot, Context context)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.
context - The context to associate with this operation.

Returns:

snapshot resource.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.

Returns:

snapshot resource on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String snapshotName, SnapshotUpdate snapshot)

Updates (patches) a snapshot.

Parameters:

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 object supplied in the body of the Patch snapshot operation.

Returns:

snapshot resource along with Response<T> on successful completion of Mono.

Applies to