Compartilhar via


CommunicationServiceResourceCollection.GetAsync Método

Definição

Obtenha o CommunicationService e suas propriedades.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • IdCommunicationServices_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>> GetAsync (string communicationServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>>
Public Overridable Function GetAsync (communicationServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationServiceResource))

Parâmetros

communicationServiceName
String

O nome do recurso CommunicationService.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

communicationServiceName é nulo.

Aplica-se a