Compartilhar via


ConfidentialLedgerExtensions.GetConfidentialLedgerAsync Método

Definição

Recupera as propriedades de um Razão Confidencial.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operação IdLedger_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>> GetConfidentialLedgerAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string ledgerName, System.Threading.CancellationToken cancellationToken = default);
static member GetConfidentialLedgerAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>>
<Extension()>
Public Function GetConfidentialLedgerAsync (resourceGroupResource As ResourceGroupResource, ledgerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConfidentialLedgerResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

ledgerName
String

Nome do Razão Confidencial.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

ledgerName é nulo.

Aplica-se a