Uses of Class
com.azure.resourcemanager.storage.models.CorsRule
Packages that use CorsRule
Package
Description
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 CorsRuleModifier and TypeMethodDescriptionstatic CorsRuleCorsRule.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CorsRule from the JsonReader.CorsRule.withAllowedHeaders(List<String> allowedHeaders) Set the allowedHeaders property: Required if CorsRule element is present.CorsRule.withAllowedMethods(List<CorsRuleAllowedMethodsItem> allowedMethods) Set the allowedMethods property: Required if CorsRule element is present.CorsRule.withAllowedOrigins(List<String> allowedOrigins) Set the allowedOrigins property: Required if CorsRule element is present.CorsRule.withExposedHeaders(List<String> exposedHeaders) Set the exposedHeaders property: Required if CorsRule element is present.CorsRule.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 CorsRuleModifier and TypeMethodDescriptionCorsRules.corsRules()Get the corsRules property: The List of CORS rules.Methods in com.azure.resourcemanager.storage.models with parameters of type CorsRuleModifier and TypeMethodDescriptionBlobServiceProperties.DefinitionStages.WithCors.withCORSRule(CorsRule corsRule) Specifies a single CORS rule.BlobServiceProperties.UpdateStages.WithCors.withCORSRule(CorsRule corsRule) Specifies a single CORS rule.Method parameters in com.azure.resourcemanager.storage.models with type arguments of type CorsRuleModifier and TypeMethodDescriptionCorsRules.withCorsRules(List<CorsRule> corsRules) Set the corsRules property: The List of CORS rules.BlobServiceProperties.DefinitionStages.WithCors.withCORSRules(List<CorsRule> corsRules) Specifies all of the CORS rules.BlobServiceProperties.UpdateStages.WithCors.withCORSRules(List<CorsRule> corsRules) Specifies all of the CORS rules.