다음을 통해 공유


SynapseGeoBackupPolicyCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseGeoBackupPolicyResource> GetIfExists (Azure.ResourceManager.Synapse.Models.SynapseGeoBackupPolicyName geoBackupPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Synapse.Models.SynapseGeoBackupPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseGeoBackupPolicyResource>
override this.GetIfExists : Azure.ResourceManager.Synapse.Models.SynapseGeoBackupPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseGeoBackupPolicyResource>
Public Overridable Function GetIfExists (geoBackupPolicyName As SynapseGeoBackupPolicyName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SynapseGeoBackupPolicyResource)

Parameters

geoBackupPolicyName
SynapseGeoBackupPolicyName

The name of the geo backup policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to