BlobServiceClient.SetPropertiesAsync メソッド

定義

この操作ではSetPropertiesAsync(BlobServiceProperties, CancellationToken)、ストレージ アカウントの BLOB サービス エンドポイントのプロパティを設定します。これには、Storage Analytics、CORS (クロスオリジン リソース共有) ルール、論理的な削除設定のプロパティが含まれます。 また、この操作を使用して、バージョンが指定されていないすべての受信要求 (BLOB サービスに対する受信要求) 用の既定の要求バージョンも設定できます。

詳細については、「 BLOB サービスのプロパティを設定します

public virtual System.Threading.Tasks.Task<Azure.Response> SetPropertiesAsync (Azure.Storage.Blobs.Models.BlobServiceProperties properties, System.Threading.CancellationToken cancellationToken = default);
abstract member SetPropertiesAsync : Azure.Storage.Blobs.Models.BlobServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SetPropertiesAsync : Azure.Storage.Blobs.Models.BlobServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SetPropertiesAsync (properties As BlobServiceProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

パラメーター

properties
BlobServiceProperties

BLOB サービスのプロパティです。

cancellationToken
CancellationToken

操作を取り消す必要がある通知を伝達する場合は省略可能 CancellationToken です。

戻り値

Responseサービスのプロパティを記述する 。

注釈

RequestFailedExceptionエラーが発生すると、 がスローされます。

適用対象