次の方法で共有


BlobServicePropertiesImpl.IWithCors.WithCORSRules メソッド

定義

すべての CORS 規則を指定します。

Microsoft.Azure.Management.Storage.Fluent.BlobServiceProperties.Update.IUpdate IWithCors.WithCORSRules (System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.CorsRule> corsRules);
abstract member Microsoft.Azure.Management.Storage.Fluent.BlobServiceProperties.Update.IWithCors.WithCORSRules : System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.CorsRule> -> Microsoft.Azure.Management.Storage.Fluent.BlobServiceProperties.Update.IUpdate
override this.Microsoft.Azure.Management.Storage.Fluent.BlobServiceProperties.Update.IWithCors.WithCORSRules : System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.CorsRule> -> Microsoft.Azure.Management.Storage.Fluent.BlobServiceProperties.Update.IUpdate
Function WithCORSRules (corsRules As IList(Of CorsRule)) As IUpdate Implements IWithCors.WithCORSRules

パラメーター

corsRules
IList<CorsRule>

BLOB サービスの CORS 規則を指定します。 要求には、最大 5 つの CorsRule 要素を含めることができます。 要求本文に CorsRule 要素が含まれていない場合、すべての CORS ルールが削除され、BLOB サービスに対して CORS が無効になります。

戻り値

実装

適用対象