英語で読む

次の方法で共有


IVirtualMachineScaleSetsOperations.CreateOrUpdateWithHttpMessagesAsync メソッド

定義

VM スケール セットを作成または更新します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string vmScaleSetName, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);

パラメーター

resourceGroupName
String

リソース グループの名前。

vmScaleSetName
String

作成または更新する VM スケール セットの名前。

parameters
VirtualMachineScaleSet

スケール セット オブジェクト。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象

製品 バージョン
Azure SDK for .NET Legacy