次の方法で共有


ServiceTopologyResource.GetServiceResource(String, CancellationToken) メソッド

定義

サービスを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}
  • 操作IdServices_Get
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)

パラメーター

serviceName
String

サービス リソースの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

serviceName は空の文字列であり、空でないと予想されていました。

serviceName が null です。

適用対象