次の方法で共有


BlobContainersOperationsExtensions.UpdateAsync メソッド

定義

要求本文で指定されたコンテナー プロパティを更新します。 要求に記載されていないプロパティは変更されません。 指定したコンテナーがまだ存在しない場合、更新は失敗します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Fluent.Models.BlobContainerInner> UpdateAsync (this Microsoft.Azure.Management.Storage.Fluent.IBlobContainersOperations operations, string resourceGroupName, string accountName, string containerName, Microsoft.Azure.Management.Storage.Fluent.Models.PublicAccess? publicAccess = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Storage.Fluent.IBlobContainersOperations * string * string * string * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.PublicAccess> * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Fluent.Models.BlobContainerInner>
<Extension()>
Public Function UpdateAsync (operations As IBlobContainersOperations, resourceGroupName As String, accountName As String, containerName As String, Optional publicAccess As Nullable(Of PublicAccess) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BlobContainerInner)

パラメーター

operations
IBlobContainersOperations

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

resourceGroupName
String

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

accountName
String

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

containerName
String

指定したストレージ アカウント内の BLOB コンテナーの名前。 BLOB コンテナー名の長さは 3 ~ 63 文字で、数字、小文字、ダッシュ (-) のみを使用する必要があります。 すべてのダッシュ (-) 文字は、その直前および直後に文字または数字が使用されている必要があります。

publicAccess
Nullable<PublicAccess>

コンテナー内のデータがパブリックにアクセス可能かどうかと、アクセスのレベルを指定します。 使用できる値は、'Container'、'Blob'、'None' です。

metadata
IDictionary<String,String>

コンテナーにメタデータとして関連付ける名前と値のペアを指定します。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象