import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * > **Note:** This resource is applicable only for Spring Cloud Service with enterprise tier.
 *
 * Manages a Spring Cloud Gateway.
 *
 * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudGateway` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example",
 *     location: "West Europe",
 * });
 * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
 *     name: "example",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     skuName: "E0",
 * });
 * const exampleSpringCloudGateway = new azure.appplatform.SpringCloudGateway("example", {
 *     name: "default",
 *     springCloudServiceId: exampleSpringCloudService.id,
 *     httpsOnly: false,
 *     publicNetworkAccessEnabled: true,
 *     instanceCount: 2,
 *     apiMetadata: {
 *         description: "example description",
 *         documentationUrl: "https://www.example.com/docs",
 *         serverUrl: "https://wwww.example.com",
 *         title: "example title",
 *         version: "1.0",
 *     },
 *     cors: {
 *         credentialsAllowed: false,
 *         allowedHeaders: ["*"],
 *         allowedMethods: ["PUT"],
 *         allowedOrigins: ["example.com"],
 *         exposedHeaders: ["x-example-header"],
 *         maxAgeSeconds: 86400,
 *     },
 *     quota: {
 *         cpu: "1",
 *         memory: "2Gi",
 *     },
 *     sso: {
 *         clientId: "example id",
 *         clientSecret: "example secret",
 *         issuerUri: "https://www.test.com/issueToken",
 *         scopes: ["read"],
 *     },
 *     localResponseCachePerInstance: {
 *         size: "100MB",
 *         timeToLive: "30s",
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.AppPlatform` - 2024-01-01-preview
 *
 * ## Import
 *
 * Spring Cloud Gateways can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:appplatform/springCloudGateway:SpringCloudGateway example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/spring/service1/gateways/gateway1
 * ```
 */
export declare class SpringCloudGateway extends pulumi.CustomResource {
    /**
     * Get an existing SpringCloudGateway resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpringCloudGatewayState, opts?: pulumi.CustomResourceOptions): SpringCloudGateway;
    /**
     * Returns true if the given object is an instance of SpringCloudGateway.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is SpringCloudGateway;
    /**
     * A `apiMetadata` block as defined below.
     */
    readonly apiMetadata: pulumi.Output<outputs.appplatform.SpringCloudGatewayApiMetadata | undefined>;
    /**
     * Specifies a list of Spring Cloud Application Performance Monitoring IDs.
     */
    readonly applicationPerformanceMonitoringIds: pulumi.Output<string[] | undefined>;
    /**
     * Specifies a list of application performance monitoring types used in the Spring Cloud Gateway. The allowed values are `AppDynamics`, `ApplicationInsights`, `Dynatrace`, `ElasticAPM` and `NewRelic`.
     */
    readonly applicationPerformanceMonitoringTypes: pulumi.Output<string[] | undefined>;
    /**
     * A `clientAuthorization` block as defined below.
     */
    readonly clientAuthorization: pulumi.Output<outputs.appplatform.SpringCloudGatewayClientAuthorization | undefined>;
    /**
     * A `cors` block as defined below.
     */
    readonly cors: pulumi.Output<outputs.appplatform.SpringCloudGatewayCors | undefined>;
    /**
     * Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
     */
    readonly environmentVariables: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * is only https is allowed?
     */
    readonly httpsOnly: pulumi.Output<boolean | undefined>;
    /**
     * Specifies the required instance count of the Spring Cloud Gateway. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     */
    readonly instanceCount: pulumi.Output<number | undefined>;
    /**
     * A `localResponseCachePerInstance` block as defined below. Only one of `localResponseCachePerInstance` or `localResponseCachePerRoute` can be specified.
     */
    readonly localResponseCachePerInstance: pulumi.Output<outputs.appplatform.SpringCloudGatewayLocalResponseCachePerInstance | undefined>;
    /**
     * A `localResponseCachePerRoute` block as defined below. Only one of `localResponseCachePerInstance` or `localResponseCachePerRoute` can be specified.
     */
    readonly localResponseCachePerRoute: pulumi.Output<outputs.appplatform.SpringCloudGatewayLocalResponseCachePerRoute | undefined>;
    /**
     * The name which should be used for this Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway to be created. The only possible value is `default`.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Indicates whether the Spring Cloud Gateway exposes endpoint.
     */
    readonly publicNetworkAccessEnabled: pulumi.Output<boolean | undefined>;
    /**
     * A `quota` block as defined below.
     */
    readonly quota: pulumi.Output<outputs.appplatform.SpringCloudGatewayQuota>;
    /**
     * Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
     */
    readonly sensitiveEnvironmentVariables: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Gateway to be created.
     */
    readonly springCloudServiceId: pulumi.Output<string>;
    /**
     * A `sso` block as defined below.
     */
    readonly sso: pulumi.Output<outputs.appplatform.SpringCloudGatewaySso | undefined>;
    /**
     * URL of the Spring Cloud Gateway, exposed when 'public_network_access_enabled' is true.
     */
    readonly url: pulumi.Output<string>;
    /**
     * Create a SpringCloudGateway resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: SpringCloudGatewayArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SpringCloudGateway resources.
 */
export interface SpringCloudGatewayState {
    /**
     * A `apiMetadata` block as defined below.
     */
    apiMetadata?: pulumi.Input<inputs.appplatform.SpringCloudGatewayApiMetadata | undefined>;
    /**
     * Specifies a list of Spring Cloud Application Performance Monitoring IDs.
     */
    applicationPerformanceMonitoringIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies a list of application performance monitoring types used in the Spring Cloud Gateway. The allowed values are `AppDynamics`, `ApplicationInsights`, `Dynatrace`, `ElasticAPM` and `NewRelic`.
     */
    applicationPerformanceMonitoringTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `clientAuthorization` block as defined below.
     */
    clientAuthorization?: pulumi.Input<inputs.appplatform.SpringCloudGatewayClientAuthorization | undefined>;
    /**
     * A `cors` block as defined below.
     */
    cors?: pulumi.Input<inputs.appplatform.SpringCloudGatewayCors | undefined>;
    /**
     * Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
     */
    environmentVariables?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * is only https is allowed?
     */
    httpsOnly?: pulumi.Input<boolean | undefined>;
    /**
     * Specifies the required instance count of the Spring Cloud Gateway. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     */
    instanceCount?: pulumi.Input<number | undefined>;
    /**
     * A `localResponseCachePerInstance` block as defined below. Only one of `localResponseCachePerInstance` or `localResponseCachePerRoute` can be specified.
     */
    localResponseCachePerInstance?: pulumi.Input<inputs.appplatform.SpringCloudGatewayLocalResponseCachePerInstance | undefined>;
    /**
     * A `localResponseCachePerRoute` block as defined below. Only one of `localResponseCachePerInstance` or `localResponseCachePerRoute` can be specified.
     */
    localResponseCachePerRoute?: pulumi.Input<inputs.appplatform.SpringCloudGatewayLocalResponseCachePerRoute | undefined>;
    /**
     * The name which should be used for this Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway to be created. The only possible value is `default`.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether the Spring Cloud Gateway exposes endpoint.
     */
    publicNetworkAccessEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * A `quota` block as defined below.
     */
    quota?: pulumi.Input<inputs.appplatform.SpringCloudGatewayQuota | undefined>;
    /**
     * Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
     */
    sensitiveEnvironmentVariables?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Gateway to be created.
     */
    springCloudServiceId?: pulumi.Input<string | undefined>;
    /**
     * A `sso` block as defined below.
     */
    sso?: pulumi.Input<inputs.appplatform.SpringCloudGatewaySso | undefined>;
    /**
     * URL of the Spring Cloud Gateway, exposed when 'public_network_access_enabled' is true.
     */
    url?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SpringCloudGateway resource.
 */
export interface SpringCloudGatewayArgs {
    /**
     * A `apiMetadata` block as defined below.
     */
    apiMetadata?: pulumi.Input<inputs.appplatform.SpringCloudGatewayApiMetadata | undefined>;
    /**
     * Specifies a list of Spring Cloud Application Performance Monitoring IDs.
     */
    applicationPerformanceMonitoringIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies a list of application performance monitoring types used in the Spring Cloud Gateway. The allowed values are `AppDynamics`, `ApplicationInsights`, `Dynatrace`, `ElasticAPM` and `NewRelic`.
     */
    applicationPerformanceMonitoringTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `clientAuthorization` block as defined below.
     */
    clientAuthorization?: pulumi.Input<inputs.appplatform.SpringCloudGatewayClientAuthorization | undefined>;
    /**
     * A `cors` block as defined below.
     */
    cors?: pulumi.Input<inputs.appplatform.SpringCloudGatewayCors | undefined>;
    /**
     * Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
     */
    environmentVariables?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * is only https is allowed?
     */
    httpsOnly?: pulumi.Input<boolean | undefined>;
    /**
     * Specifies the required instance count of the Spring Cloud Gateway. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     */
    instanceCount?: pulumi.Input<number | undefined>;
    /**
     * A `localResponseCachePerInstance` block as defined below. Only one of `localResponseCachePerInstance` or `localResponseCachePerRoute` can be specified.
     */
    localResponseCachePerInstance?: pulumi.Input<inputs.appplatform.SpringCloudGatewayLocalResponseCachePerInstance | undefined>;
    /**
     * A `localResponseCachePerRoute` block as defined below. Only one of `localResponseCachePerInstance` or `localResponseCachePerRoute` can be specified.
     */
    localResponseCachePerRoute?: pulumi.Input<inputs.appplatform.SpringCloudGatewayLocalResponseCachePerRoute | undefined>;
    /**
     * The name which should be used for this Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway to be created. The only possible value is `default`.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether the Spring Cloud Gateway exposes endpoint.
     */
    publicNetworkAccessEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * A `quota` block as defined below.
     */
    quota?: pulumi.Input<inputs.appplatform.SpringCloudGatewayQuota | undefined>;
    /**
     * Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
     */
    sensitiveEnvironmentVariables?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Gateway to be created.
     */
    springCloudServiceId: pulumi.Input<string>;
    /**
     * A `sso` block as defined below.
     */
    sso?: pulumi.Input<inputs.appplatform.SpringCloudGatewaySso | undefined>;
}
//# sourceMappingURL=springCloudGateway.d.ts.map