ServiceResource.GetServiceUnitResource(String, CancellationToken) メソッド

定義

サービス ユニットを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_Get
public virtual Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceUnitResource> GetServiceUnitResource (string serviceUnitName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceUnitResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceUnitResource>
override this.GetServiceUnitResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.ServiceUnitResource>
Public Overridable Function GetServiceUnitResource (serviceUnitName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceUnitResource)

パラメーター

serviceUnitName
String

サービス ユニット リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

serviceUnitName が null です。

適用対象