Compartilhar via


SqlDatabaseBlobAuditingPolicyCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operação IdDatabaseBlobAuditingPolicies_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseBlobAuditingPolicyResource> GetIfExists (Azure.ResourceManager.Sql.Models.BlobAuditingPolicyName blobAuditingPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.BlobAuditingPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseBlobAuditingPolicyResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.BlobAuditingPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlDatabaseBlobAuditingPolicyResource>
Public Overridable Function GetIfExists (blobAuditingPolicyName As BlobAuditingPolicyName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlDatabaseBlobAuditingPolicyResource)

Parâmetros

blobAuditingPolicyName
BlobAuditingPolicyName

O nome da política de auditoria de blob.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a