Uses of Class
com.azure.resourcemanager.cosmos.models.CorsPolicy
Packages that use CorsPolicy
Package
Description
Package containing the inner data models for CosmosDBManagementClient.
Package containing the data models for CosmosDBManagementClient.
-
Uses of CorsPolicy in com.azure.resourcemanager.cosmos.fluent.models
Methods in com.azure.resourcemanager.cosmos.fluent.models that return types with arguments of type CorsPolicyModifier and TypeMethodDescriptionDatabaseAccountCreateUpdateProperties.cors()Get the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountGetProperties.cors()Get the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountGetResultsInner.cors()Get the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountUpdateProperties.cors()Get the cors property: The CORS policy for the Cosmos DB database account.Method parameters in com.azure.resourcemanager.cosmos.fluent.models with type arguments of type CorsPolicyModifier and TypeMethodDescriptionDatabaseAccountCreateUpdateProperties.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountGetProperties.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountGetResultsInner.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountUpdateProperties.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account. -
Uses of CorsPolicy in com.azure.resourcemanager.cosmos.models
Methods in com.azure.resourcemanager.cosmos.models that return CorsPolicyModifier and TypeMethodDescriptionstatic CorsPolicyCorsPolicy.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CorsPolicy from the JsonReader.CorsPolicy.withAllowedHeaders(String allowedHeaders) Set the allowedHeaders property: The request headers that the origin domain may specify on the CORS request.CorsPolicy.withAllowedMethods(String allowedMethods) Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request.CorsPolicy.withAllowedOrigins(String allowedOrigins) Set the allowedOrigins property: The origin domains that are permitted to make a request against the service via CORS.CorsPolicy.withExposedHeaders(String exposedHeaders) Set the exposedHeaders property: The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.CorsPolicy.withMaxAgeInSeconds(Long maxAgeInSeconds) Set the maxAgeInSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request.Methods in com.azure.resourcemanager.cosmos.models that return types with arguments of type CorsPolicyModifier and TypeMethodDescriptionDatabaseAccountCreateUpdateParameters.cors()Get the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountUpdateParameters.cors()Get the cors property: The CORS policy for the Cosmos DB database account.Method parameters in com.azure.resourcemanager.cosmos.models with type arguments of type CorsPolicyModifier and TypeMethodDescriptionDatabaseAccountCreateUpdateParameters.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountUpdateParameters.withCors(List<CorsPolicy> cors) Set the cors property: The CORS policy for the Cosmos DB database account.