Uses of Class
com.azure.resourcemanager.storage.models.CorsRule
-
Packages that use CorsRule Package Description com.azure.resourcemanager.storage.models Package containing the data models for StorageManagementClient. -
-
Uses of CorsRule in com.azure.resourcemanager.storage.models
Methods in com.azure.resourcemanager.storage.models that return CorsRule Modifier and Type Method Description CorsRuleCorsRule. withAllowedHeaders(List<String> allowedHeaders)Set the allowedHeaders property: Required if CorsRule element is present.CorsRuleCorsRule. withAllowedMethods(List<CorsRuleAllowedMethodsItem> allowedMethods)Set the allowedMethods property: Required if CorsRule element is present.CorsRuleCorsRule. withAllowedOrigins(List<String> allowedOrigins)Set the allowedOrigins property: Required if CorsRule element is present.CorsRuleCorsRule. withExposedHeaders(List<String> exposedHeaders)Set the exposedHeaders property: Required if CorsRule element is present.CorsRuleCorsRule. withMaxAgeInSeconds(int maxAgeInSeconds)Set the maxAgeInSeconds property: Required if CorsRule element is present.Methods in com.azure.resourcemanager.storage.models that return types with arguments of type CorsRule Modifier and Type Method Description List<CorsRule>CorsRules. corsRules()Get the corsRules property: The List of CORS rules.Methods in com.azure.resourcemanager.storage.models with parameters of type CorsRule Modifier and Type Method Description BlobServiceProperties.DefinitionStages.WithCreateBlobServiceProperties.DefinitionStages.WithCors. withCORSRule(CorsRule corsRule)Specifies a single CORS rule.BlobServiceProperties.UpdateBlobServiceProperties.UpdateStages.WithCors. withCORSRule(CorsRule corsRule)Specifies a single CORS rule.Method parameters in com.azure.resourcemanager.storage.models with type arguments of type CorsRule Modifier and Type Method Description CorsRulesCorsRules. withCorsRules(List<CorsRule> corsRules)Set the corsRules property: The List of CORS rules.BlobServiceProperties.DefinitionStages.WithCreateBlobServiceProperties.DefinitionStages.WithCors. withCORSRules(List<CorsRule> corsRules)Specifies all of the CORS rules.BlobServiceProperties.UpdateBlobServiceProperties.UpdateStages.WithCors. withCORSRules(List<CorsRule> corsRules)Specifies all of the CORS rules.
-