Condividi tramite


SynapseServerBlobAuditingPolicyCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

Parameters

blobAuditingPolicyName
SynapseBlobAuditingPolicyName

The name of the blob auditing policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to