次の方法で共有


ServiceUnitsOperationsExtensions.BeginCreateOrUpdateAsync メソッド

定義

サービス トポロジ内のサービスの下にサービス ユニットを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations operations, string resourceGroupName, string serviceTopologyName, string serviceName, string serviceUnitName, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource serviceUnitInfo, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations * string * string * string * string * Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IServiceUnitsOperations, resourceGroupName As String, serviceTopologyName As String, serviceName As String, serviceUnitName As String, serviceUnitInfo As ServiceUnitResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceUnitResource)

パラメーター

operations
IServiceUnitsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName
String

サービス トポロジの名前。

serviceName
String

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

serviceUnitName
String

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

serviceUnitInfo
ServiceUnitResource

サービス ユニット リソース オブジェクト。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

これは非同期操作であり、この操作によって返される操作リソースを使用して、完了するようにポーリングできます。

適用対象