Share via


DiskRestorePointsClient Interface

public interface DiskRestorePointsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

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

Grants access to a diskRestorePoint.

abstract PollerFlux<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

abstract SyncPoller<PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

abstract SyncPoller<PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, Context context)

Revokes access to a diskRestorePoint.

abstract PollerFlux<PollResult<Void>,Void> beginRevokeAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

abstract DiskRestorePointInner get(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Get disk restorePoint resource.

abstract Mono<DiskRestorePointInner> getAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Get disk restorePoint resource.

abstract Response<DiskRestorePointInner> getWithResponse(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, Context context)

Get disk restorePoint resource.

abstract Mono<Response<DiskRestorePointInner>> getWithResponseAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Get disk restorePoint resource.

abstract AccessUriInner grantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

abstract AccessUriInner grantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData, Context context)

Grants access to a diskRestorePoint.

abstract Mono<AccessUriInner> grantAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

abstract Mono<Response<Flux<ByteBuffer>>> grantAccessWithResponseAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

abstract PagedIterable<DiskRestorePointInner> listByRestorePoint(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName)

Lists diskRestorePoints under a vmRestorePoint.

abstract PagedIterable<DiskRestorePointInner> listByRestorePoint(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, Context context)

Lists diskRestorePoints under a vmRestorePoint.

abstract PagedFlux<DiskRestorePointInner> listByRestorePointAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName)

Lists diskRestorePoints under a vmRestorePoint.

abstract void revokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

abstract void revokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, Context context)

Revokes access to a diskRestorePoint.

abstract Mono<Void> revokeAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

abstract Mono<Response<Flux<ByteBuffer>>> revokeAccessWithResponseAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

Method Details

beginGrantAccess

public abstract SyncPoller<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk access operation.

Returns:

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

beginGrantAccess

public abstract SyncPoller<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData, Context context)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk 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<PollResult<AccessUriInner>,AccessUriInner> beginGrantAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk access operation.

Returns:

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

beginRevokeAccess

public abstract SyncPoller<PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

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

beginRevokeAccess

public abstract SyncPoller<PollResult<Void>,Void> beginRevokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, Context context)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
context - The context to associate with this operation.

Returns:

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

beginRevokeAccessAsync

public abstract PollerFlux<PollResult<Void>,Void> beginRevokeAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

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

get

public abstract DiskRestorePointInner get(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Get disk restorePoint resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

disk restorePoint resource.

getAsync

public abstract Mono<DiskRestorePointInner> getAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Get disk restorePoint resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

disk restorePoint resource on successful completion of Mono.

getWithResponse

public abstract Response<DiskRestorePointInner> getWithResponse(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, Context context)

Get disk restorePoint resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
context - The context to associate with this operation.

Returns:

disk restorePoint resource along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<DiskRestorePointInner>> getWithResponseAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Get disk restorePoint resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

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

grantAccess

public abstract AccessUriInner grantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk access operation.

Returns:

a disk access SAS uri.

grantAccess

public abstract AccessUriInner grantAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData, Context context)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk access operation.
context - The context to associate with this operation.

Returns:

a disk access SAS uri.

grantAccessAsync

public abstract Mono<AccessUriInner> grantAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk access operation.

Returns:

a disk access SAS uri on successful completion of Mono.

grantAccessWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> grantAccessWithResponseAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, GrantAccessData grantAccessData)

Grants access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
grantAccessData - Access data object supplied in the body of the get disk access operation.

Returns:

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

listByRestorePoint

public abstract PagedIterable<DiskRestorePointInner> listByRestorePoint(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName)

Lists diskRestorePoints under a vmRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.

Returns:

the List Disk Restore Points operation response as paginated response with PagedIterable<T>.

listByRestorePoint

public abstract PagedIterable<DiskRestorePointInner> listByRestorePoint(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, Context context)

Lists diskRestorePoints under a vmRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
context - The context to associate with this operation.

Returns:

the List Disk Restore Points operation response as paginated response with PagedIterable<T>.

listByRestorePointAsync

public abstract PagedFlux<DiskRestorePointInner> listByRestorePointAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName)

Lists diskRestorePoints under a vmRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.

Returns:

the List Disk Restore Points operation response as paginated response with PagedFlux<T>.

revokeAccess

public abstract void revokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

revokeAccess

public abstract void revokeAccess(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName, Context context)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.
context - The context to associate with this operation.

revokeAccessAsync

public abstract Mono<Void> revokeAccessAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

A Mono that completes when a successful response is received.

revokeAccessWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> revokeAccessWithResponseAsync(String resourceGroupName, String restorePointCollectionName, String vmRestorePointName, String diskRestorePointName)

Revokes access to a diskRestorePoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
restorePointCollectionName - The name of the restore point collection that the disk restore point belongs.
vmRestorePointName - The name of the vm restore point that the disk disk restore point belongs.
diskRestorePointName - The name of the DiskRestorePoint.

Returns:

the Response<T> on successful completion of Mono.

Applies to