| Package | Description |
|---|---|
| com.azure.resourcemanager.storage.models |
Package containing the data models for StorageManagementClient.
|
| Modifier and Type | Method and Description |
|---|---|
CorsRule |
CorsRule.withAllowedHeaders(List<String> allowedHeaders)
Set the allowedHeaders property: Required if CorsRule element is present.
|
CorsRule |
CorsRule.withAllowedMethods(List<CorsRuleAllowedMethodsItem> allowedMethods)
Set the allowedMethods property: Required if CorsRule element is present.
|
CorsRule |
CorsRule.withAllowedOrigins(List<String> allowedOrigins)
Set the allowedOrigins property: Required if CorsRule element is present.
|
CorsRule |
CorsRule.withExposedHeaders(List<String> exposedHeaders)
Set the exposedHeaders property: Required if CorsRule element is present.
|
CorsRule |
CorsRule.withMaxAgeInSeconds(int maxAgeInSeconds)
Set the maxAgeInSeconds property: Required if CorsRule element is present.
|
| Modifier and Type | Method and Description |
|---|---|
BlobServiceProperties.DefinitionStages.WithCreate |
BlobServiceProperties.DefinitionStages.WithCors.withCORSRule(CorsRule corsRule)
Specifies a single CORS rule.
|
BlobServiceProperties.Update |
BlobServiceProperties.UpdateStages.WithCors.withCORSRule(CorsRule corsRule)
Specifies a single CORS rule.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.