Compartilhar via


RecoveryServicesBackupExtensions.GetSecurityPinAsync Método

Definição

Obtenha o PIN de segurança.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupSecurityPIN
  • IdSecurityPINs_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TokenInformation>> GetSecurityPinAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, Azure.ResourceManager.RecoveryServicesBackup.Models.SecurityPinContent content = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityPinAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * Azure.ResourceManager.RecoveryServicesBackup.Models.SecurityPinContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.TokenInformation>>
<Extension()>
Public Function GetSecurityPinAsync (resourceGroupResource As ResourceGroupResource, vaultName As String, Optional content As SecurityPinContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TokenInformation))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

vaultName
String

O nome do cofre dos serviços de recuperação.

content
SecurityPinContent

solicitação de pin de segurança.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

vaultName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

vaultName é nulo.

Aplica-se a