英語で読む

次の方法で共有


IDiskEncryptionSetsOperations.CreateOrUpdateWithHttpMessagesAsync メソッド

定義

ディスク暗号化セットを作成または更新します

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

パラメーター

resourceGroupName
String

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

diskEncryptionSetName
String

作成されるディスク暗号化セットの名前。 ディスク暗号化セットの作成後に名前を変更することはできません。 名前でサポートされている文字は、a-z、A-Z、0-9、_ および -です。 名前の最大長は 80 文字です。

diskEncryptionSet
DiskEncryptionSet

Put disk encryption set 操作の本文で指定されたディスク暗号化セット オブジェクト。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

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

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

適用対象

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