azure-native.appplatform.Gateway
Explore with Pulumi AI
Spring Cloud Gateway resource API Version: 2022-01-01-preview.
Example Usage
Gateways_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var gateway = new AzureNative.AppPlatform.Gateway("gateway", new()
    {
        GatewayName = "default",
        Properties = new AzureNative.AppPlatform.Inputs.GatewayPropertiesArgs
        {
            Public = true,
            ResourceRequests = new AzureNative.AppPlatform.Inputs.GatewayResourceRequestsArgs
            {
                Cpu = "1",
                Memory = "1G",
            },
        },
        ResourceGroupName = "myResourceGroup",
        ServiceName = "myservice",
        Sku = new AzureNative.AppPlatform.Inputs.SkuArgs
        {
            Capacity = 2,
            Name = "E0",
            Tier = "Enterprise",
        },
    });
});
package main
import (
	appplatform "github.com/pulumi/pulumi-azure-native-sdk/appplatform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appplatform.NewGateway(ctx, "gateway", &appplatform.GatewayArgs{
			GatewayName: pulumi.String("default"),
			Properties: appplatform.GatewayPropertiesResponse{
				Public: pulumi.Bool(true),
				ResourceRequests: &appplatform.GatewayResourceRequestsArgs{
					Cpu:    pulumi.String("1"),
					Memory: pulumi.String("1G"),
				},
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			ServiceName:       pulumi.String("myservice"),
			Sku: &appplatform.SkuArgs{
				Capacity: pulumi.Int(2),
				Name:     pulumi.String("E0"),
				Tier:     pulumi.String("Enterprise"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.appplatform.Gateway;
import com.pulumi.azurenative.appplatform.GatewayArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var gateway = new Gateway("gateway", GatewayArgs.builder()        
            .gatewayName("default")
            .properties(Map.ofEntries(
                Map.entry("public", true),
                Map.entry("resourceRequests", Map.ofEntries(
                    Map.entry("cpu", "1"),
                    Map.entry("memory", "1G")
                ))
            ))
            .resourceGroupName("myResourceGroup")
            .serviceName("myservice")
            .sku(Map.ofEntries(
                Map.entry("capacity", 2),
                Map.entry("name", "E0"),
                Map.entry("tier", "Enterprise")
            ))
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const gateway = new azure_native.appplatform.Gateway("gateway", {
    gatewayName: "default",
    properties: {
        "public": true,
        resourceRequests: {
            cpu: "1",
            memory: "1G",
        },
    },
    resourceGroupName: "myResourceGroup",
    serviceName: "myservice",
    sku: {
        capacity: 2,
        name: "E0",
        tier: "Enterprise",
    },
});
import pulumi
import pulumi_azure_native as azure_native
gateway = azure_native.appplatform.Gateway("gateway",
    gateway_name="default",
    properties=azure_native.appplatform.GatewayPropertiesResponseArgs(
        public=True,
        resource_requests=azure_native.appplatform.GatewayResourceRequestsArgs(
            cpu="1",
            memory="1G",
        ),
    ),
    resource_group_name="myResourceGroup",
    service_name="myservice",
    sku=azure_native.appplatform.SkuArgs(
        capacity=2,
        name="E0",
        tier="Enterprise",
    ))
resources:
  gateway:
    type: azure-native:appplatform:Gateway
    properties:
      gatewayName: default
      properties:
        public: true
        resourceRequests:
          cpu: '1'
          memory: 1G
      resourceGroupName: myResourceGroup
      serviceName: myservice
      sku:
        capacity: 2
        name: E0
        tier: Enterprise
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);@overload
def Gateway(resource_name: str,
            args: GatewayArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            resource_group_name: Optional[str] = None,
            service_name: Optional[str] = None,
            gateway_name: Optional[str] = None,
            properties: Optional[GatewayPropertiesArgs] = None,
            sku: Optional[SkuArgs] = None)func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: azure-native:appplatform:Gateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeGatewayResource = new AzureNative.Appplatform.Gateway("azure-nativeGatewayResource", new()
{
    ResourceGroupName = "string",
    ServiceName = "string",
    GatewayName = "string",
    Properties = 
    {
        { "apiMetadataProperties", 
        {
            { "description", "string" },
            { "documentation", "string" },
            { "serverUrl", "string" },
            { "title", "string" },
            { "version", "string" },
        } },
        { "corsProperties", 
        {
            { "allowCredentials", false },
            { "allowedHeaders", new[]
            {
                "string",
            } },
            { "allowedMethods", new[]
            {
                "string",
            } },
            { "allowedOrigins", new[]
            {
                "string",
            } },
            { "exposedHeaders", new[]
            {
                "string",
            } },
            { "maxAge", 0 },
        } },
        { "httpsOnly", false },
        { "public", false },
        { "resourceRequests", 
        {
            { "cpu", "string" },
            { "memory", "string" },
        } },
        { "ssoProperties", 
        {
            { "clientId", "string" },
            { "clientSecret", "string" },
            { "issuerUri", "string" },
            { "scope", new[]
            {
                "string",
            } },
        } },
    },
    Sku = 
    {
        { "capacity", 0 },
        { "name", "string" },
        { "tier", "string" },
    },
});
example, err := appplatform.NewGateway(ctx, "azure-nativeGatewayResource", &appplatform.GatewayArgs{
	ResourceGroupName: "string",
	ServiceName:       "string",
	GatewayName:       "string",
	Properties: map[string]interface{}{
		"apiMetadataProperties": map[string]interface{}{
			"description":   "string",
			"documentation": "string",
			"serverUrl":     "string",
			"title":         "string",
			"version":       "string",
		},
		"corsProperties": map[string]interface{}{
			"allowCredentials": false,
			"allowedHeaders": []string{
				"string",
			},
			"allowedMethods": []string{
				"string",
			},
			"allowedOrigins": []string{
				"string",
			},
			"exposedHeaders": []string{
				"string",
			},
			"maxAge": 0,
		},
		"httpsOnly": false,
		"public":    false,
		"resourceRequests": map[string]interface{}{
			"cpu":    "string",
			"memory": "string",
		},
		"ssoProperties": map[string]interface{}{
			"clientId":     "string",
			"clientSecret": "string",
			"issuerUri":    "string",
			"scope": []string{
				"string",
			},
		},
	},
	Sku: map[string]interface{}{
		"capacity": 0,
		"name":     "string",
		"tier":     "string",
	},
})
var azure_nativeGatewayResource = new Gateway("azure-nativeGatewayResource", GatewayArgs.builder()
    .resourceGroupName("string")
    .serviceName("string")
    .gatewayName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
azure_native_gateway_resource = azure_native.appplatform.Gateway("azure-nativeGatewayResource",
    resource_group_name=string,
    service_name=string,
    gateway_name=string,
    properties={
        apiMetadataProperties: {
            description: string,
            documentation: string,
            serverUrl: string,
            title: string,
            version: string,
        },
        corsProperties: {
            allowCredentials: False,
            allowedHeaders: [string],
            allowedMethods: [string],
            allowedOrigins: [string],
            exposedHeaders: [string],
            maxAge: 0,
        },
        httpsOnly: False,
        public: False,
        resourceRequests: {
            cpu: string,
            memory: string,
        },
        ssoProperties: {
            clientId: string,
            clientSecret: string,
            issuerUri: string,
            scope: [string],
        },
    },
    sku={
        capacity: 0,
        name: string,
        tier: string,
    })
const azure_nativeGatewayResource = new azure_native.appplatform.Gateway("azure-nativeGatewayResource", {
    resourceGroupName: "string",
    serviceName: "string",
    gatewayName: "string",
    properties: {
        apiMetadataProperties: {
            description: "string",
            documentation: "string",
            serverUrl: "string",
            title: "string",
            version: "string",
        },
        corsProperties: {
            allowCredentials: false,
            allowedHeaders: ["string"],
            allowedMethods: ["string"],
            allowedOrigins: ["string"],
            exposedHeaders: ["string"],
            maxAge: 0,
        },
        httpsOnly: false,
        "public": false,
        resourceRequests: {
            cpu: "string",
            memory: "string",
        },
        ssoProperties: {
            clientId: "string",
            clientSecret: "string",
            issuerUri: "string",
            scope: ["string"],
        },
    },
    sku: {
        capacity: 0,
        name: "string",
        tier: "string",
    },
});
type: azure-native:appplatform:Gateway
properties:
    gatewayName: string
    properties:
        apiMetadataProperties:
            description: string
            documentation: string
            serverUrl: string
            title: string
            version: string
        corsProperties:
            allowCredentials: false
            allowedHeaders:
                - string
            allowedMethods:
                - string
            allowedOrigins:
                - string
            exposedHeaders:
                - string
            maxAge: 0
        httpsOnly: false
        public: false
        resourceRequests:
            cpu: string
            memory: string
        ssoProperties:
            clientId: string
            clientSecret: string
            issuerUri: string
            scope:
                - string
    resourceGroupName: string
    serviceName: string
    sku:
        capacity: 0
        name: string
        tier: string
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Gateway resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServiceName string
- The name of the Service resource.
- GatewayName string
- The name of Spring Cloud Gateway.
- Properties
Pulumi.Azure Native. App Platform. Inputs. Gateway Properties 
- Spring Cloud Gateway properties payload
- Sku
Pulumi.Azure Native. App Platform. Inputs. Sku 
- Sku of the Spring Cloud Gateway resource
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServiceName string
- The name of the Service resource.
- GatewayName string
- The name of Spring Cloud Gateway.
- Properties
GatewayProperties Args 
- Spring Cloud Gateway properties payload
- Sku
SkuArgs 
- Sku of the Spring Cloud Gateway resource
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName String
- The name of the Service resource.
- gatewayName String
- The name of Spring Cloud Gateway.
- properties
GatewayProperties 
- Spring Cloud Gateway properties payload
- sku Sku
- Sku of the Spring Cloud Gateway resource
- resourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName string
- The name of the Service resource.
- gatewayName string
- The name of Spring Cloud Gateway.
- properties
GatewayProperties 
- Spring Cloud Gateway properties payload
- sku Sku
- Sku of the Spring Cloud Gateway resource
- resource_group_ strname 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service_name str
- The name of the Service resource.
- gateway_name str
- The name of Spring Cloud Gateway.
- properties
GatewayProperties Args 
- Spring Cloud Gateway properties payload
- sku
SkuArgs 
- Sku of the Spring Cloud Gateway resource
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName String
- The name of the Service resource.
- gatewayName String
- The name of Spring Cloud Gateway.
- properties Property Map
- Spring Cloud Gateway properties payload
- sku Property Map
- Sku of the Spring Cloud Gateway resource
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- SystemData Pulumi.Azure Native. App Platform. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource.
Supporting Types
GatewayApiMetadataProperties, GatewayApiMetadataPropertiesArgs        
- Description string
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- Documentation string
- Location of additional documentation for the APIs available on the Gateway instance
- ServerUrl string
- Base URL that API consumers will use to access APIs on the Gateway instance.
- Title string
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- Version string
- Version of APIs available on this Gateway instance (default: unspecified).
- Description string
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- Documentation string
- Location of additional documentation for the APIs available on the Gateway instance
- ServerUrl string
- Base URL that API consumers will use to access APIs on the Gateway instance.
- Title string
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- Version string
- Version of APIs available on this Gateway instance (default: unspecified).
- description String
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation String
- Location of additional documentation for the APIs available on the Gateway instance
- serverUrl String
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title String
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version String
- Version of APIs available on this Gateway instance (default: unspecified).
- description string
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation string
- Location of additional documentation for the APIs available on the Gateway instance
- serverUrl string
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title string
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version string
- Version of APIs available on this Gateway instance (default: unspecified).
- description str
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation str
- Location of additional documentation for the APIs available on the Gateway instance
- server_url str
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title str
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version str
- Version of APIs available on this Gateway instance (default: unspecified).
- description String
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation String
- Location of additional documentation for the APIs available on the Gateway instance
- serverUrl String
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title String
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version String
- Version of APIs available on this Gateway instance (default: unspecified).
GatewayApiMetadataPropertiesResponse, GatewayApiMetadataPropertiesResponseArgs          
- Description string
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- Documentation string
- Location of additional documentation for the APIs available on the Gateway instance
- ServerUrl string
- Base URL that API consumers will use to access APIs on the Gateway instance.
- Title string
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- Version string
- Version of APIs available on this Gateway instance (default: unspecified).
- Description string
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- Documentation string
- Location of additional documentation for the APIs available on the Gateway instance
- ServerUrl string
- Base URL that API consumers will use to access APIs on the Gateway instance.
- Title string
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- Version string
- Version of APIs available on this Gateway instance (default: unspecified).
- description String
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation String
- Location of additional documentation for the APIs available on the Gateway instance
- serverUrl String
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title String
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version String
- Version of APIs available on this Gateway instance (default: unspecified).
- description string
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation string
- Location of additional documentation for the APIs available on the Gateway instance
- serverUrl string
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title string
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version string
- Version of APIs available on this Gateway instance (default: unspecified).
- description str
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation str
- Location of additional documentation for the APIs available on the Gateway instance
- server_url str
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title str
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version str
- Version of APIs available on this Gateway instance (default: unspecified).
- description String
- Detailed description of the APIs available on the Gateway instance (default: Generated OpenAPI 3 document that describes the API routes configured.)
- documentation String
- Location of additional documentation for the APIs available on the Gateway instance
- serverUrl String
- Base URL that API consumers will use to access APIs on the Gateway instance.
- title String
- Title describing the context of the APIs available on the Gateway instance (default: Spring Cloud Gateway for K8S)
- version String
- Version of APIs available on this Gateway instance (default: unspecified).
GatewayCorsProperties, GatewayCorsPropertiesArgs      
- AllowCredentials bool
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- AllowedHeaders List<string>
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- AllowedMethods List<string>
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- AllowedOrigins List<string>
- Allowed origins to make cross-site requests. The special value *allows all domains.
- ExposedHeaders List<string>
- HTTP response headers to expose for cross-site requests.
- MaxAge int
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- AllowCredentials bool
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- AllowedHeaders []string
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- AllowedMethods []string
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- AllowedOrigins []string
- Allowed origins to make cross-site requests. The special value *allows all domains.
- ExposedHeaders []string
- HTTP response headers to expose for cross-site requests.
- MaxAge int
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allowCredentials Boolean
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowedHeaders List<String>
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowedMethods List<String>
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowedOrigins List<String>
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposedHeaders List<String>
- HTTP response headers to expose for cross-site requests.
- maxAge Integer
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allowCredentials boolean
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowedHeaders string[]
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowedMethods string[]
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowedOrigins string[]
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposedHeaders string[]
- HTTP response headers to expose for cross-site requests.
- maxAge number
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allow_credentials bool
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowed_headers Sequence[str]
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowed_methods Sequence[str]
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowed_origins Sequence[str]
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposed_headers Sequence[str]
- HTTP response headers to expose for cross-site requests.
- max_age int
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allowCredentials Boolean
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowedHeaders List<String>
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowedMethods List<String>
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowedOrigins List<String>
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposedHeaders List<String>
- HTTP response headers to expose for cross-site requests.
- maxAge Number
- How long, in seconds, the response from a pre-flight request can be cached by clients.
GatewayCorsPropertiesResponse, GatewayCorsPropertiesResponseArgs        
- AllowCredentials bool
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- AllowedHeaders List<string>
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- AllowedMethods List<string>
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- AllowedOrigins List<string>
- Allowed origins to make cross-site requests. The special value *allows all domains.
- ExposedHeaders List<string>
- HTTP response headers to expose for cross-site requests.
- MaxAge int
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- AllowCredentials bool
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- AllowedHeaders []string
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- AllowedMethods []string
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- AllowedOrigins []string
- Allowed origins to make cross-site requests. The special value *allows all domains.
- ExposedHeaders []string
- HTTP response headers to expose for cross-site requests.
- MaxAge int
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allowCredentials Boolean
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowedHeaders List<String>
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowedMethods List<String>
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowedOrigins List<String>
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposedHeaders List<String>
- HTTP response headers to expose for cross-site requests.
- maxAge Integer
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allowCredentials boolean
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowedHeaders string[]
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowedMethods string[]
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowedOrigins string[]
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposedHeaders string[]
- HTTP response headers to expose for cross-site requests.
- maxAge number
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allow_credentials bool
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowed_headers Sequence[str]
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowed_methods Sequence[str]
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowed_origins Sequence[str]
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposed_headers Sequence[str]
- HTTP response headers to expose for cross-site requests.
- max_age int
- How long, in seconds, the response from a pre-flight request can be cached by clients.
- allowCredentials Boolean
- Whether user credentials are supported on cross-site requests. Valid values: true,false.
- allowedHeaders List<String>
- Allowed headers in cross-site requests. The special value *allows actual requests to send any header.
- allowedMethods List<String>
- Allowed HTTP methods on cross-site requests. The special value *allows all methods. If not set,GETandHEADare allowed by default.
- allowedOrigins List<String>
- Allowed origins to make cross-site requests. The special value *allows all domains.
- exposedHeaders List<String>
- HTTP response headers to expose for cross-site requests.
- maxAge Number
- How long, in seconds, the response from a pre-flight request can be cached by clients.
GatewayInstanceResponse, GatewayInstanceResponseArgs      
GatewayOperatorPropertiesResponse, GatewayOperatorPropertiesResponseArgs        
- Instances
List<Pulumi.Azure Native. App Platform. Inputs. Gateway Instance Response> 
- Collection of instances belong to Spring Cloud Gateway operator.
- ResourceRequests Pulumi.Azure Native. App Platform. Inputs. Gateway Operator Resource Requests Response 
- The requested resource quantity for required CPU and Memory.
- Instances
[]GatewayInstance Response 
- Collection of instances belong to Spring Cloud Gateway operator.
- ResourceRequests GatewayOperator Resource Requests Response 
- The requested resource quantity for required CPU and Memory.
- instances
List<GatewayInstance Response> 
- Collection of instances belong to Spring Cloud Gateway operator.
- resourceRequests GatewayOperator Resource Requests Response 
- The requested resource quantity for required CPU and Memory.
- instances
GatewayInstance Response[] 
- Collection of instances belong to Spring Cloud Gateway operator.
- resourceRequests GatewayOperator Resource Requests Response 
- The requested resource quantity for required CPU and Memory.
- instances
Sequence[GatewayInstance Response] 
- Collection of instances belong to Spring Cloud Gateway operator.
- resource_requests GatewayOperator Resource Requests Response 
- The requested resource quantity for required CPU and Memory.
- instances List<Property Map>
- Collection of instances belong to Spring Cloud Gateway operator.
- resourceRequests Property Map
- The requested resource quantity for required CPU and Memory.
GatewayOperatorResourceRequestsResponse, GatewayOperatorResourceRequestsResponseArgs          
- Cpu string
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- InstanceCount int
- Instance count of the Spring Cloud Gateway Operator.
- Memory string
- Memory allocated to each Spring Cloud Gateway Operator instance.
- Cpu string
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- InstanceCount int
- Instance count of the Spring Cloud Gateway Operator.
- Memory string
- Memory allocated to each Spring Cloud Gateway Operator instance.
- cpu String
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- instanceCount Integer
- Instance count of the Spring Cloud Gateway Operator.
- memory String
- Memory allocated to each Spring Cloud Gateway Operator instance.
- cpu string
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- instanceCount number
- Instance count of the Spring Cloud Gateway Operator.
- memory string
- Memory allocated to each Spring Cloud Gateway Operator instance.
- cpu str
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- instance_count int
- Instance count of the Spring Cloud Gateway Operator.
- memory str
- Memory allocated to each Spring Cloud Gateway Operator instance.
- cpu String
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- instanceCount Number
- Instance count of the Spring Cloud Gateway Operator.
- memory String
- Memory allocated to each Spring Cloud Gateway Operator instance.
GatewayProperties, GatewayPropertiesArgs    
- ApiMetadata Pulumi.Properties Azure Native. App Platform. Inputs. Gateway Api Metadata Properties 
- API metadata property for Spring Cloud Gateway
- CorsProperties Pulumi.Azure Native. App Platform. Inputs. Gateway Cors Properties 
- Cross-Origin Resource Sharing property
- HttpsOnly bool
- Indicate if only https is allowed.
- Public bool
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- ResourceRequests Pulumi.Azure Native. App Platform. Inputs. Gateway Resource Requests 
- The requested resource quantity for required CPU and Memory.
- SsoProperties Pulumi.Azure Native. App Platform. Inputs. Sso Properties 
- Single sign-on related configuration
- ApiMetadata GatewayProperties Api Metadata Properties 
- API metadata property for Spring Cloud Gateway
- CorsProperties GatewayCors Properties 
- Cross-Origin Resource Sharing property
- HttpsOnly bool
- Indicate if only https is allowed.
- Public bool
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- ResourceRequests GatewayResource Requests 
- The requested resource quantity for required CPU and Memory.
- SsoProperties SsoProperties 
- Single sign-on related configuration
- apiMetadata GatewayProperties Api Metadata Properties 
- API metadata property for Spring Cloud Gateway
- corsProperties GatewayCors Properties 
- Cross-Origin Resource Sharing property
- httpsOnly Boolean
- Indicate if only https is allowed.
- public_ Boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resourceRequests GatewayResource Requests 
- The requested resource quantity for required CPU and Memory.
- ssoProperties SsoProperties 
- Single sign-on related configuration
- apiMetadata GatewayProperties Api Metadata Properties 
- API metadata property for Spring Cloud Gateway
- corsProperties GatewayCors Properties 
- Cross-Origin Resource Sharing property
- httpsOnly boolean
- Indicate if only https is allowed.
- public boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resourceRequests GatewayResource Requests 
- The requested resource quantity for required CPU and Memory.
- ssoProperties SsoProperties 
- Single sign-on related configuration
- api_metadata_ Gatewayproperties Api Metadata Properties 
- API metadata property for Spring Cloud Gateway
- cors_properties GatewayCors Properties 
- Cross-Origin Resource Sharing property
- https_only bool
- Indicate if only https is allowed.
- public bool
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resource_requests GatewayResource Requests 
- The requested resource quantity for required CPU and Memory.
- sso_properties SsoProperties 
- Single sign-on related configuration
- apiMetadata Property MapProperties 
- API metadata property for Spring Cloud Gateway
- corsProperties Property Map
- Cross-Origin Resource Sharing property
- httpsOnly Boolean
- Indicate if only https is allowed.
- public Boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resourceRequests Property Map
- The requested resource quantity for required CPU and Memory.
- ssoProperties Property Map
- Single sign-on related configuration
GatewayPropertiesResponse, GatewayPropertiesResponseArgs      
- Instances
List<Pulumi.Azure Native. App Platform. Inputs. Gateway Instance Response> 
- Collection of instances belong to Spring Cloud Gateway.
- OperatorProperties Pulumi.Azure Native. App Platform. Inputs. Gateway Operator Properties Response 
- Properties of the Spring Cloud Gateway Operator.
- ProvisioningState string
- State of the Spring Cloud Gateway.
- Url string
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- ApiMetadata Pulumi.Properties Azure Native. App Platform. Inputs. Gateway Api Metadata Properties Response 
- API metadata property for Spring Cloud Gateway
- CorsProperties Pulumi.Azure Native. App Platform. Inputs. Gateway Cors Properties Response 
- Cross-Origin Resource Sharing property
- HttpsOnly bool
- Indicate if only https is allowed.
- Public bool
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- ResourceRequests Pulumi.Azure Native. App Platform. Inputs. Gateway Resource Requests Response 
- The requested resource quantity for required CPU and Memory.
- SsoProperties Pulumi.Azure Native. App Platform. Inputs. Sso Properties Response 
- Single sign-on related configuration
- Instances
[]GatewayInstance Response 
- Collection of instances belong to Spring Cloud Gateway.
- OperatorProperties GatewayOperator Properties Response 
- Properties of the Spring Cloud Gateway Operator.
- ProvisioningState string
- State of the Spring Cloud Gateway.
- Url string
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- ApiMetadata GatewayProperties Api Metadata Properties Response 
- API metadata property for Spring Cloud Gateway
- CorsProperties GatewayCors Properties Response 
- Cross-Origin Resource Sharing property
- HttpsOnly bool
- Indicate if only https is allowed.
- Public bool
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- ResourceRequests GatewayResource Requests Response 
- The requested resource quantity for required CPU and Memory.
- SsoProperties SsoProperties Response 
- Single sign-on related configuration
- instances
List<GatewayInstance Response> 
- Collection of instances belong to Spring Cloud Gateway.
- operatorProperties GatewayOperator Properties Response 
- Properties of the Spring Cloud Gateway Operator.
- provisioningState String
- State of the Spring Cloud Gateway.
- url String
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- apiMetadata GatewayProperties Api Metadata Properties Response 
- API metadata property for Spring Cloud Gateway
- corsProperties GatewayCors Properties Response 
- Cross-Origin Resource Sharing property
- httpsOnly Boolean
- Indicate if only https is allowed.
- public_ Boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resourceRequests GatewayResource Requests Response 
- The requested resource quantity for required CPU and Memory.
- ssoProperties SsoProperties Response 
- Single sign-on related configuration
- instances
GatewayInstance Response[] 
- Collection of instances belong to Spring Cloud Gateway.
- operatorProperties GatewayOperator Properties Response 
- Properties of the Spring Cloud Gateway Operator.
- provisioningState string
- State of the Spring Cloud Gateway.
- url string
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- apiMetadata GatewayProperties Api Metadata Properties Response 
- API metadata property for Spring Cloud Gateway
- corsProperties GatewayCors Properties Response 
- Cross-Origin Resource Sharing property
- httpsOnly boolean
- Indicate if only https is allowed.
- public boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resourceRequests GatewayResource Requests Response 
- The requested resource quantity for required CPU and Memory.
- ssoProperties SsoProperties Response 
- Single sign-on related configuration
- instances
Sequence[GatewayInstance Response] 
- Collection of instances belong to Spring Cloud Gateway.
- operator_properties GatewayOperator Properties Response 
- Properties of the Spring Cloud Gateway Operator.
- provisioning_state str
- State of the Spring Cloud Gateway.
- url str
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- api_metadata_ Gatewayproperties Api Metadata Properties Response 
- API metadata property for Spring Cloud Gateway
- cors_properties GatewayCors Properties Response 
- Cross-Origin Resource Sharing property
- https_only bool
- Indicate if only https is allowed.
- public bool
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resource_requests GatewayResource Requests Response 
- The requested resource quantity for required CPU and Memory.
- sso_properties SsoProperties Response 
- Single sign-on related configuration
- instances List<Property Map>
- Collection of instances belong to Spring Cloud Gateway.
- operatorProperties Property Map
- Properties of the Spring Cloud Gateway Operator.
- provisioningState String
- State of the Spring Cloud Gateway.
- url String
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- apiMetadata Property MapProperties 
- API metadata property for Spring Cloud Gateway
- corsProperties Property Map
- Cross-Origin Resource Sharing property
- httpsOnly Boolean
- Indicate if only https is allowed.
- public Boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resourceRequests Property Map
- The requested resource quantity for required CPU and Memory.
- ssoProperties Property Map
- Single sign-on related configuration
GatewayResourceRequests, GatewayResourceRequestsArgs      
GatewayResourceRequestsResponse, GatewayResourceRequestsResponseArgs        
Sku, SkuArgs  
SkuResponse, SkuResponseArgs    
SsoProperties, SsoPropertiesArgs    
- ClientId string
- The public identifier for the application
- ClientSecret string
- The secret known only to the application and the authorization server
- IssuerUri string
- The URI of Issuer Identifier
- Scope List<string>
- It defines the specific actions applications can be allowed to do on a user's behalf
- ClientId string
- The public identifier for the application
- ClientSecret string
- The secret known only to the application and the authorization server
- IssuerUri string
- The URI of Issuer Identifier
- Scope []string
- It defines the specific actions applications can be allowed to do on a user's behalf
- clientId String
- The public identifier for the application
- clientSecret String
- The secret known only to the application and the authorization server
- issuerUri String
- The URI of Issuer Identifier
- scope List<String>
- It defines the specific actions applications can be allowed to do on a user's behalf
- clientId string
- The public identifier for the application
- clientSecret string
- The secret known only to the application and the authorization server
- issuerUri string
- The URI of Issuer Identifier
- scope string[]
- It defines the specific actions applications can be allowed to do on a user's behalf
- client_id str
- The public identifier for the application
- client_secret str
- The secret known only to the application and the authorization server
- issuer_uri str
- The URI of Issuer Identifier
- scope Sequence[str]
- It defines the specific actions applications can be allowed to do on a user's behalf
- clientId String
- The public identifier for the application
- clientSecret String
- The secret known only to the application and the authorization server
- issuerUri String
- The URI of Issuer Identifier
- scope List<String>
- It defines the specific actions applications can be allowed to do on a user's behalf
SsoPropertiesResponse, SsoPropertiesResponseArgs      
- ClientId string
- The public identifier for the application
- ClientSecret string
- The secret known only to the application and the authorization server
- IssuerUri string
- The URI of Issuer Identifier
- Scope List<string>
- It defines the specific actions applications can be allowed to do on a user's behalf
- ClientId string
- The public identifier for the application
- ClientSecret string
- The secret known only to the application and the authorization server
- IssuerUri string
- The URI of Issuer Identifier
- Scope []string
- It defines the specific actions applications can be allowed to do on a user's behalf
- clientId String
- The public identifier for the application
- clientSecret String
- The secret known only to the application and the authorization server
- issuerUri String
- The URI of Issuer Identifier
- scope List<String>
- It defines the specific actions applications can be allowed to do on a user's behalf
- clientId string
- The public identifier for the application
- clientSecret string
- The secret known only to the application and the authorization server
- issuerUri string
- The URI of Issuer Identifier
- scope string[]
- It defines the specific actions applications can be allowed to do on a user's behalf
- client_id str
- The public identifier for the application
- client_secret str
- The secret known only to the application and the authorization server
- issuer_uri str
- The URI of Issuer Identifier
- scope Sequence[str]
- It defines the specific actions applications can be allowed to do on a user's behalf
- clientId String
- The public identifier for the application
- clientSecret String
- The secret known only to the application and the authorization server
- issuerUri String
- The URI of Issuer Identifier
- scope List<String>
- It defines the specific actions applications can be allowed to do on a user's behalf
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:appplatform:Gateway default /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0