Share via


SynapseEncryptionProtectorCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

Parameters

encryptionProtectorName
SynapseEncryptionProtectorName

The name of the encryption protector.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to