Condividi tramite


SynapseSqlPoolConnectionPolicyCollection.Exists Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/connectionPolicies/{connectionPolicyName}
  • Operation Id: SqlPoolConnectionPolicies_Get
public virtual Azure.Response<bool> Exists (Azure.ResourceManager.Synapse.Models.SqlPoolConnectionPolicyName connectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Azure.ResourceManager.Synapse.Models.SqlPoolConnectionPolicyName * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Azure.ResourceManager.Synapse.Models.SqlPoolConnectionPolicyName * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (connectionPolicyName As SqlPoolConnectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

connectionPolicyName
SqlPoolConnectionPolicyName

The name of the connection policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to