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 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",
))
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",
},
});
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:
- Resource
Group 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.
- Service
Name string - The name of the Service resource.
- Gateway
Name 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
- Resource
Group 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.
- Service
Name string - The name of the Service resource.
- Gateway
Name string - The name of Spring Cloud Gateway.
- Properties
Gateway
Properties Args - Spring Cloud Gateway properties payload
- Sku
Sku
Args - Sku of the Spring Cloud Gateway resource
- resource
Group 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.
- service
Name String - The name of the Service resource.
- gateway
Name String - The name of Spring Cloud Gateway.
- properties
Gateway
Properties - Spring Cloud Gateway properties payload
- sku Sku
- Sku of the Spring Cloud Gateway resource
- resource
Group 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.
- service
Name string - The name of the Service resource.
- gateway
Name string - The name of Spring Cloud Gateway.
- properties
Gateway
Properties - 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
Gateway
Properties Args - Spring Cloud Gateway properties payload
- sku
Sku
Args - Sku of the Spring Cloud Gateway resource
- resource
Group 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.
- service
Name String - The name of the Service resource.
- gateway
Name 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.
- System
Data 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.
- System
Data 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.
- system
Data 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.
- system
Data 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.
- system
Data 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
- Server
Url 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
- Server
Url 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
- server
Url 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
- server
Url 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
- server
Url 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
- Server
Url 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
- Server
Url 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
- server
Url 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
- server
Url 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
- server
Url 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
- Allow
Credentials bool - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - Allowed
Headers List<string> - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - Allowed
Methods List<string> - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - Allowed
Origins List<string> - Allowed origins to make cross-site requests. The special value
*
allows all domains. - Exposed
Headers List<string> - 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.
- Allow
Credentials bool - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - Allowed
Headers []string - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - Allowed
Methods []string - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - Allowed
Origins []string - Allowed origins to make cross-site requests. The special value
*
allows all domains. - Exposed
Headers []string - 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.
- allow
Credentials Boolean - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - allowed
Headers List<String> - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - allowed
Methods List<String> - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - allowed
Origins List<String> - Allowed origins to make cross-site requests. The special value
*
allows all domains. - exposed
Headers List<String> - HTTP response headers to expose for cross-site requests.
- max
Age Integer - How long, in seconds, the response from a pre-flight request can be cached by clients.
- allow
Credentials boolean - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - allowed
Headers string[] - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - allowed
Methods string[] - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - allowed
Origins string[] - Allowed origins to make cross-site requests. The special value
*
allows all domains. - exposed
Headers string[] - HTTP response headers to expose for cross-site requests.
- max
Age 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,GET
andHEAD
are 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.
- allow
Credentials Boolean - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - allowed
Headers List<String> - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - allowed
Methods List<String> - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - allowed
Origins List<String> - Allowed origins to make cross-site requests. The special value
*
allows all domains. - exposed
Headers List<String> - HTTP response headers to expose for cross-site requests.
- max
Age Number - How long, in seconds, the response from a pre-flight request can be cached by clients.
GatewayCorsPropertiesResponse, GatewayCorsPropertiesResponseArgs
- Allow
Credentials bool - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - Allowed
Headers List<string> - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - Allowed
Methods List<string> - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - Allowed
Origins List<string> - Allowed origins to make cross-site requests. The special value
*
allows all domains. - Exposed
Headers List<string> - 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.
- Allow
Credentials bool - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - Allowed
Headers []string - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - Allowed
Methods []string - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - Allowed
Origins []string - Allowed origins to make cross-site requests. The special value
*
allows all domains. - Exposed
Headers []string - 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.
- allow
Credentials Boolean - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - allowed
Headers List<String> - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - allowed
Methods List<String> - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - allowed
Origins List<String> - Allowed origins to make cross-site requests. The special value
*
allows all domains. - exposed
Headers List<String> - HTTP response headers to expose for cross-site requests.
- max
Age Integer - How long, in seconds, the response from a pre-flight request can be cached by clients.
- allow
Credentials boolean - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - allowed
Headers string[] - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - allowed
Methods string[] - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - allowed
Origins string[] - Allowed origins to make cross-site requests. The special value
*
allows all domains. - exposed
Headers string[] - HTTP response headers to expose for cross-site requests.
- max
Age 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,GET
andHEAD
are 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.
- allow
Credentials Boolean - Whether user credentials are supported on cross-site requests. Valid values:
true
,false
. - allowed
Headers List<String> - Allowed headers in cross-site requests. The special value
*
allows actual requests to send any header. - allowed
Methods List<String> - Allowed HTTP methods on cross-site requests. The special value
*
allows all methods. If not set,GET
andHEAD
are allowed by default. - allowed
Origins List<String> - Allowed origins to make cross-site requests. The special value
*
allows all domains. - exposed
Headers List<String> - HTTP response headers to expose for cross-site requests.
- max
Age 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.
- Resource
Requests Pulumi.Azure Native. App Platform. Inputs. Gateway Operator Resource Requests Response - The requested resource quantity for required CPU and Memory.
- Instances
[]Gateway
Instance 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<Gateway
Instance 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
Gateway
Instance 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
Sequence[Gateway
Instance 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.
- resource
Requests Property Map - The requested resource quantity for required CPU and Memory.
GatewayOperatorResourceRequestsResponse, GatewayOperatorResourceRequestsResponseArgs
- Cpu string
- Cpu allocated to each Spring Cloud Gateway Operator instance.
- Instance
Count 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.
- Instance
Count 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.
- instance
Count 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.
- instance
Count 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.
- instance
Count Number - Instance count of the Spring Cloud Gateway Operator.
- memory String
- Memory allocated to each Spring Cloud Gateway Operator instance.
GatewayProperties, GatewayPropertiesArgs
- Api
Metadata Pulumi.Properties Azure Native. App Platform. Inputs. Gateway Api Metadata Properties - API metadata property for Spring Cloud Gateway
- Cors
Properties Pulumi.Azure Native. App Platform. Inputs. Gateway Cors 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 Pulumi.Azure Native. App Platform. Inputs. Gateway Resource Requests - The requested resource quantity for required CPU and Memory.
- Sso
Properties Pulumi.Azure Native. App Platform. Inputs. Sso Properties - 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
- api
Metadata GatewayProperties Api Metadata Properties - API metadata property for Spring Cloud Gateway
- cors
Properties GatewayCors Properties - Cross-Origin Resource Sharing property
- https
Only Boolean - Indicate if only https is allowed.
- public_ Boolean
- 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
- api
Metadata GatewayProperties Api Metadata Properties - API metadata property for Spring Cloud Gateway
- cors
Properties GatewayCors Properties - Cross-Origin Resource Sharing property
- https
Only boolean - Indicate if only https is allowed.
- public boolean
- 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
- 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
- api
Metadata Property MapProperties - API metadata property for Spring Cloud Gateway
- cors
Properties Property Map - Cross-Origin Resource Sharing property
- https
Only Boolean - Indicate if only https is allowed.
- public Boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resource
Requests Property Map - The requested resource quantity for required CPU and Memory.
- sso
Properties 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.
- Operator
Properties Pulumi.Azure Native. App Platform. Inputs. Gateway Operator Properties Response - Properties of the Spring Cloud Gateway Operator.
- Provisioning
State string - State of the Spring Cloud Gateway.
- Url string
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- Api
Metadata Pulumi.Properties Azure Native. App Platform. Inputs. Gateway Api Metadata Properties Response - API metadata property for Spring Cloud Gateway
- Cors
Properties Pulumi.Azure Native. App Platform. Inputs. Gateway Cors 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 Pulumi.Azure Native. App Platform. Inputs. Gateway Resource Requests Response - The requested resource quantity for required CPU and Memory.
- Sso
Properties Pulumi.Azure Native. App Platform. Inputs. Sso Properties Response - Single sign-on related configuration
- Instances
[]Gateway
Instance Response - Collection of instances belong to Spring Cloud Gateway.
- Operator
Properties GatewayOperator Properties Response - Properties of the Spring Cloud Gateway Operator.
- Provisioning
State string - State of the Spring Cloud Gateway.
- Url string
- 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<Gateway
Instance Response> - Collection of instances belong to Spring Cloud Gateway.
- operator
Properties GatewayOperator Properties Response - Properties of the Spring Cloud Gateway Operator.
- provisioning
State String - State of the Spring Cloud Gateway.
- url String
- 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 Boolean - Indicate if only https is allowed.
- public_ Boolean
- 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
Gateway
Instance Response[] - Collection of instances belong to Spring Cloud Gateway.
- operator
Properties GatewayOperator Properties Response - Properties of the Spring Cloud Gateway Operator.
- provisioning
State string - State of the Spring Cloud Gateway.
- url string
- 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 boolean - Indicate if only https is allowed.
- public boolean
- 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
Sequence[Gateway
Instance 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.
- operator
Properties Property Map - Properties of the Spring Cloud Gateway Operator.
- provisioning
State String - State of the Spring Cloud Gateway.
- url String
- URL of the Spring Cloud Gateway, exposed when 'public' is true.
- api
Metadata Property MapProperties - API metadata property for Spring Cloud Gateway
- cors
Properties Property Map - Cross-Origin Resource Sharing property
- https
Only Boolean - Indicate if only https is allowed.
- public Boolean
- Indicates whether the Spring Cloud Gateway exposes endpoint.
- resource
Requests Property Map - The requested resource quantity for required CPU and Memory.
- sso
Properties Property Map - Single sign-on related configuration
GatewayResourceRequests, GatewayResourceRequestsArgs
GatewayResourceRequestsResponse, GatewayResourceRequestsResponseArgs
Sku, SkuArgs
SkuResponse, SkuResponseArgs
SsoProperties, SsoPropertiesArgs
- Client
Id string - The public identifier for the application
- Client
Secret string - The secret known only to the application and the authorization server
- Issuer
Uri 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
- Client
Id string - The public identifier for the application
- Client
Secret string - The secret known only to the application and the authorization server
- Issuer
Uri 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 String - The public identifier for the application
- client
Secret String - The secret known only to the application and the authorization server
- issuer
Uri 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
- client
Id string - The public identifier for the application
- client
Secret string - The secret known only to the application and the authorization server
- issuer
Uri 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
- client
Id String - The public identifier for the application
- client
Secret String - The secret known only to the application and the authorization server
- issuer
Uri 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
- Client
Id string - The public identifier for the application
- Client
Secret string - The secret known only to the application and the authorization server
- Issuer
Uri 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
- Client
Id string - The public identifier for the application
- Client
Secret string - The secret known only to the application and the authorization server
- Issuer
Uri 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 String - The public identifier for the application
- client
Secret String - The secret known only to the application and the authorization server
- issuer
Uri 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
- client
Id string - The public identifier for the application
- client
Secret string - The secret known only to the application and the authorization server
- issuer
Uri 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
- client
Id String - The public identifier for the application
- client
Secret String - The secret known only to the application and the authorization server
- issuer
Uri 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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