Interface BlobServiceProperties.UpdateStages.WithCors

All Known Subinterfaces:
BlobServiceProperties.Update
Enclosing interface:
BlobServiceProperties.UpdateStages

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

    • withCORSRules

      BlobServiceProperties.Update 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 update stage
    • withCORSRule

      BlobServiceProperties.Update withCORSRule(CorsRule corsRule)
      Specifies a single CORS rule.
      Parameters:
      corsRule - a single CORS rule
      Returns:
      the next update stage