Compartilhar via


ManagedBackupShortTermRetentionPolicyCollection.GetIfExists Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}
  • IdManagedBackupShortTermRetentionPolicies_Get de operação
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyResource> GetIfExists (Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedBackupShortTermRetentionPolicyResource>
Public Overridable Function GetIfExists (policyName As ManagedShortTermRetentionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedBackupShortTermRetentionPolicyResource)

Parâmetros

policyName
ManagedShortTermRetentionPolicyName

O nome da política.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a