Compartir a través de


ServiceTopologyResource.GetServiceResource(String, CancellationToken) Método

Definición

Obtiene el servicio .

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}
  • IdServices_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceResource> GetServiceResource (string serviceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceResource>
override this.GetServiceResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceResource>
Public Overridable Function GetServiceResource (serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceResource)

Parámetros

serviceName
String

Nombre del recurso de servicio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

serviceName es una cadena vacía y se esperaba que no estuviera vacía.

serviceName es null.

Se aplica a