Partilhar via


DeletedDataProtectionBackupInstanceCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}
  • Operação IdDeletedBackupInstances_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.DataProtectionBackup.DeletedDataProtectionBackupInstanceResource> GetIfExists (string backupInstanceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DataProtectionBackup.DeletedDataProtectionBackupInstanceResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DataProtectionBackup.DeletedDataProtectionBackupInstanceResource>
Public Overridable Function GetIfExists (backupInstanceName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of DeletedDataProtectionBackupInstanceResource)

Parâmetros

backupInstanceName
String

O nome da instância de backup excluída.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

backupInstanceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

backupInstanceName é nulo.

Aplica-se a