Share via


BlobServicePropertiesImpl.IWithCors.WithCORSRules Methode

Definition

Gibt alle CORS-Regeln an.

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

Parameter

corsRules
IList<CorsRule>

Gibt CORS-Regeln für den Blobdienst an. Sie können bis zu fünf CorsRule-Elemente in die Anforderung einschließen. Wenn keine CorsRule-Elemente im Anforderungstext enthalten sind, werden alle CORS-Regeln gelöscht, und CORS wird für den Blobdienst deaktiviert.

Gibt zurück

Implementiert

Gilt für: