Interface BlobServiceProperties.DefinitionStages.WithCors

All Known Subinterfaces:
BlobServiceProperties.Definition, BlobServiceProperties.DefinitionStages.WithCreate
Enclosing interface:
BlobServiceProperties.DefinitionStages

public static interface BlobServiceProperties.DefinitionStages.WithCors
The stage of the blobserviceproperties definition allowing to specify Cors.
  • Method Details

    • withCORSRules

      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

      Specifies a single CORS rule.
      Parameters:
      corsRule - a single CORS rule
      Returns:
      the next definition stage