public static interface BlobServiceProperties.DefinitionStages.WithCors
| Modifier and Type | Method and Description |
|---|---|
BlobServiceProperties.DefinitionStages.WithCreate |
withCORSRule(CorsRule corsRule)
Specifies a single CORS rule.
|
BlobServiceProperties.DefinitionStages.WithCreate |
withCORSRules(List<CorsRule> corsRules)
Specifies all of the CORS rules.
|
BlobServiceProperties.DefinitionStages.WithCreate withCORSRules(List<CorsRule> corsRules)
corsRules - Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob serviceBlobServiceProperties.DefinitionStages.WithCreate withCORSRule(CorsRule corsRule)
corsRule - a single CORS rule/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/