Share via


StorageAccountsOperationsExtensions.Update メソッド

定義

更新操作を使用して、ストレージ アカウントの SKU、暗号化、アクセス層、またはタグを更新できます。 また、アカウントをカスタム ドメインにマップするためにも使用できます。 ストレージ アカウントごとにサポートされるカスタム ドメインは 1 つだけです。カスタム ドメインの置換/変更はサポートされていません。 古いカスタム ドメインを置き換えるには、新しい値を設定する前に、古い値をクリアまたは登録解除する必要があります。 複数のプロパティの更新がサポートされています。 この呼び出しでは、アカウントのストレージ キーは変更されません。 ストレージ アカウント キーを変更する場合は、キーの再生成操作を使用します。 ストレージ アカウントの場所と名前は、作成後に変更することはできません。

public static Microsoft.Azure.Management.Storage.Models.StorageAccount Update (this Microsoft.Azure.Management.Storage.IStorageAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Storage.Models.StorageAccountUpdateParameters parameters);
static member Update : Microsoft.Azure.Management.Storage.IStorageAccountsOperations * string * string * Microsoft.Azure.Management.Storage.Models.StorageAccountUpdateParameters -> Microsoft.Azure.Management.Storage.Models.StorageAccount
<Extension()>
Public Function Update (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, parameters As StorageAccountUpdateParameters) As StorageAccount

パラメーター

operations
IStorageAccountsOperations

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

resourceGroupName
String

ユーザーのサブスクリプション内のリソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

指定したリソース グループ内のストレージ アカウントの名前。 ストレージ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。

parameters
StorageAccountUpdateParameters

更新されたアカウントに提供するパラメーター。

戻り値

適用対象