RestorePointResource.GetDiskRestorePoint(String, CancellationToken) Method

Definition

Get disk restorePoint resource.

public virtual Azure.Response<Azure.ResourceManager.Compute.DiskRestorePointResource> GetDiskRestorePoint(string diskRestorePointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDiskRestorePoint : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.DiskRestorePointResource>
override this.GetDiskRestorePoint : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.DiskRestorePointResource>
Public Overridable Function GetDiskRestorePoint (diskRestorePointName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DiskRestorePointResource)

Parameters

diskRestorePointName
String

The name of the DiskRestorePoint.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

diskRestorePointName is null.

diskRestorePointName is an empty string, and was expected to be non-empty.

Applies to