Interface BlobServiceProperties.DefinitionStages.WithCors
-
- All Known Subinterfaces:
BlobServiceProperties.Definition,BlobServiceProperties.DefinitionStages.WithCreate
- Enclosing interface:
- BlobServiceProperties.DefinitionStages
public static interface BlobServiceProperties.DefinitionStages.WithCorsThe stage of the blobserviceproperties definition allowing to specify Cors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobServiceProperties.DefinitionStages.WithCreatewithCORSRule(CorsRule corsRule)Specifies a single CORS rule.BlobServiceProperties.DefinitionStages.WithCreatewithCORSRules(List<CorsRule> corsRules)Specifies all of the CORS rules.
-
-
-
Method Detail
-
withCORSRules
BlobServiceProperties.DefinitionStages.WithCreate withCORSRules(List<CorsRule> corsRules)
Specifies all of the CORS rules.- Parameters:
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 service- Returns:
- the next definition stage
-
withCORSRule
BlobServiceProperties.DefinitionStages.WithCreate withCORSRule(CorsRule corsRule)
Specifies a single CORS rule.- Parameters:
corsRule- a single CORS rule- Returns:
- the next definition stage
-
-