Uses of Class
com.azure.resourcemanager.cosmos.models.CorsPolicy
-
Packages that use CorsPolicy Package Description com.azure.resourcemanager.cosmos.fluent.models Package containing the inner data models for CosmosDBManagementClient.com.azure.resourcemanager.cosmos.models 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 CorsPolicy Modifier and Type Method Description List<CorsPolicy>DatabaseAccountCreateUpdateProperties. cors()Get the cors property: The CORS policy for the Cosmos DB database account.List<CorsPolicy>DatabaseAccountGetProperties. cors()Get the cors property: The CORS policy for the Cosmos DB database account.List<CorsPolicy>DatabaseAccountGetResultsInner. cors()Get the cors property: The CORS policy for the Cosmos DB database account.List<CorsPolicy>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 CorsPolicy Modifier and Type Method Description DatabaseAccountCreateUpdatePropertiesDatabaseAccountCreateUpdateProperties. withCors(List<CorsPolicy> cors)Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountGetPropertiesDatabaseAccountGetProperties. withCors(List<CorsPolicy> cors)Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountGetResultsInnerDatabaseAccountGetResultsInner. withCors(List<CorsPolicy> cors)Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountUpdatePropertiesDatabaseAccountUpdateProperties. 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 CorsPolicy Modifier and Type Method Description CorsPolicyCorsPolicy. withAllowedHeaders(String allowedHeaders)Set the allowedHeaders property: The request headers that the origin domain may specify on the CORS request.CorsPolicyCorsPolicy. withAllowedMethods(String allowedMethods)Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request.CorsPolicyCorsPolicy. withAllowedOrigins(String allowedOrigins)Set the allowedOrigins property: The origin domains that are permitted to make a request against the service via CORS.CorsPolicyCorsPolicy. 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.CorsPolicyCorsPolicy. 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 CorsPolicy Modifier and Type Method Description List<CorsPolicy>DatabaseAccountCreateUpdateParameters. cors()Get the cors property: The CORS policy for the Cosmos DB database account.List<CorsPolicy>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 CorsPolicy Modifier and Type Method Description DatabaseAccountCreateUpdateParametersDatabaseAccountCreateUpdateParameters. withCors(List<CorsPolicy> cors)Set the cors property: The CORS policy for the Cosmos DB database account.DatabaseAccountUpdateParametersDatabaseAccountUpdateParameters. withCors(List<CorsPolicy> cors)Set the cors property: The CORS policy for the Cosmos DB database account.
-