Leer en inglés

Compartir a través de


CommunicationExtensions.GetCommunicationServiceResource Método

Definición

Sobrecargas

GetCommunicationServiceResource(ArmClient, ResourceIdentifier)

Obtiene un objeto que representa junto CommunicationServiceResource con las operaciones de instancia que se pueden realizar en él, pero sin datos. Puede usar CreateResourceIdentifier(String, String, String) para crear un objeto CommunicationServiceResourceResourceIdentifier a partir de sus componentes.

GetCommunicationServiceResource(ResourceGroupResource, String, CancellationToken)

Obtenga CommunicationService y sus propiedades.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • IdCommunicationServices_Get de operación

GetCommunicationServiceResource(ArmClient, ResourceIdentifier)

Obtiene un objeto que representa junto CommunicationServiceResource con las operaciones de instancia que se pueden realizar en él, pero sin datos. Puede usar CreateResourceIdentifier(String, String, String) para crear un objeto CommunicationServiceResourceResourceIdentifier a partir de sus componentes.

public static Azure.ResourceManager.Communication.CommunicationServiceResource GetCommunicationServiceResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);

Parámetros

client
ArmClient

Instancia ArmClient en la que se ejecutará el método.

id
ResourceIdentifier

Identificador de recurso del recurso que se va a obtener.

Devoluciones

Devuelve un objeto CommunicationServiceResource.

Se aplica a

Azure SDK for .NET Preview y Azure SDK for .NET Latest
Producto Versiones
Azure SDK for .NET Latest, Preview

GetCommunicationServiceResource(ResourceGroupResource, String, CancellationToken)

Obtenga CommunicationService y sus propiedades.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • IdCommunicationServices_Get de operación
public static Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource> GetCommunicationServiceResource (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string communicationServiceName, System.Threading.CancellationToken cancellationToken = default);

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

communicationServiceName
String

Nombre del recurso CommunicationService.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

communicationServiceName es una cadena vacía y se espera que no esté vacía.

communicationServiceName es null.

Se aplica a

Azure SDK for .NET Preview y Azure SDK for .NET Latest
Producto Versiones
Azure SDK for .NET Latest, Preview