Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.cosmosdb.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class AccountCorsRuleArgs extends com.pulumi.resources.ResourceArgs {
public static final AccountCorsRuleArgs Empty = new AccountCorsRuleArgs();
/**
* A list of headers that are allowed to be a part of the cross-origin request.
*
*/
@Import(name="allowedHeaders", required=true)
private Output> allowedHeaders;
/**
* @return A list of headers that are allowed to be a part of the cross-origin request.
*
*/
public Output> allowedHeaders() {
return this.allowedHeaders;
}
/**
* A list of HTTP headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
*
*/
@Import(name="allowedMethods", required=true)
private Output> allowedMethods;
/**
* @return A list of HTTP headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
*
*/
public Output> allowedMethods() {
return this.allowedMethods;
}
/**
* A list of origin domains that will be allowed by CORS.
*
*/
@Import(name="allowedOrigins", required=true)
private Output> allowedOrigins;
/**
* @return A list of origin domains that will be allowed by CORS.
*
*/
public Output> allowedOrigins() {
return this.allowedOrigins;
}
/**
* A list of response headers that are exposed to CORS clients.
*
*/
@Import(name="exposedHeaders", required=true)
private Output> exposedHeaders;
/**
* @return A list of response headers that are exposed to CORS clients.
*
*/
public Output> exposedHeaders() {
return this.exposedHeaders;
}
/**
* The number of seconds the client should cache a preflight response. Possible values are between `1` and `2147483647`.
*
*/
@Import(name="maxAgeInSeconds")
private @Nullable Output maxAgeInSeconds;
/**
* @return The number of seconds the client should cache a preflight response. Possible values are between `1` and `2147483647`.
*
*/
public Optional