Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.beyondcorp/v1.AppGateway
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new AppGateway in a given project and location.
Create AppGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppGateway(name: string, args: AppGatewayArgs, opts?: CustomResourceOptions);
@overload
def AppGateway(resource_name: str,
args: AppGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
host_type: Optional[AppGatewayHostType] = None,
type: Optional[AppGatewayType] = None,
app_gateway_id: Optional[str] = None,
display_name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewAppGateway(ctx *Context, name string, args AppGatewayArgs, opts ...ResourceOption) (*AppGateway, error)
public AppGateway(string name, AppGatewayArgs args, CustomResourceOptions? opts = null)
public AppGateway(String name, AppGatewayArgs args)
public AppGateway(String name, AppGatewayArgs args, CustomResourceOptions options)
type: google-native:beyondcorp/v1:AppGateway
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 AppGatewayArgs
- 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 AppGatewayArgs
- 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 AppGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppGatewayArgs
- 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 appGatewayResource = new GoogleNative.BeyondCorp.V1.AppGateway("appGatewayResource", new()
{
HostType = GoogleNative.BeyondCorp.V1.AppGatewayHostType.HostTypeUnspecified,
Type = GoogleNative.BeyondCorp.V1.AppGatewayType.TypeUnspecified,
AppGatewayId = "string",
DisplayName = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Name = "string",
Project = "string",
RequestId = "string",
});
example, err := beyondcorp.NewAppGateway(ctx, "appGatewayResource", &beyondcorp.AppGatewayArgs{
HostType: beyondcorp.AppGatewayHostTypeHostTypeUnspecified,
Type: beyondcorp.AppGatewayTypeTypeUnspecified,
AppGatewayId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var appGatewayResource = new AppGateway("appGatewayResource", AppGatewayArgs.builder()
.hostType("HOST_TYPE_UNSPECIFIED")
.type("TYPE_UNSPECIFIED")
.appGatewayId("string")
.displayName("string")
.labels(Map.of("string", "string"))
.location("string")
.name("string")
.project("string")
.requestId("string")
.build());
app_gateway_resource = google_native.beyondcorp.v1.AppGateway("appGatewayResource",
host_type=google_native.beyondcorp.v1.AppGatewayHostType.HOST_TYPE_UNSPECIFIED,
type=google_native.beyondcorp.v1.AppGatewayType.TYPE_UNSPECIFIED,
app_gateway_id="string",
display_name="string",
labels={
"string": "string",
},
location="string",
name="string",
project="string",
request_id="string")
const appGatewayResource = new google_native.beyondcorp.v1.AppGateway("appGatewayResource", {
hostType: google_native.beyondcorp.v1.AppGatewayHostType.HostTypeUnspecified,
type: google_native.beyondcorp.v1.AppGatewayType.TypeUnspecified,
appGatewayId: "string",
displayName: "string",
labels: {
string: "string",
},
location: "string",
name: "string",
project: "string",
requestId: "string",
});
type: google-native:beyondcorp/v1:AppGateway
properties:
appGatewayId: string
displayName: string
hostType: HOST_TYPE_UNSPECIFIED
labels:
string: string
location: string
name: string
project: string
requestId: string
type: TYPE_UNSPECIFIED
AppGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AppGateway resource accepts the following input properties:
- Host
Type Pulumi.Google Native. Beyond Corp. V1. App Gateway Host Type - The type of hosting used by the AppGateway.
- Type
Pulumi.
Google Native. Beyond Corp. V1. App Gateway Type - The type of network connectivity used by the AppGateway.
- App
Gateway stringId - Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter. - Display
Name string - Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
- Labels Dictionary<string, string>
- Optional. Resource labels to represent user provided metadata.
- Location string
- Name string
- Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
- Project string
- Request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Host
Type AppGateway Host Type - The type of hosting used by the AppGateway.
- Type
App
Gateway Type - The type of network connectivity used by the AppGateway.
- App
Gateway stringId - Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter. - Display
Name string - Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
- Labels map[string]string
- Optional. Resource labels to represent user provided metadata.
- Location string
- Name string
- Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
- Project string
- Request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- host
Type AppGateway Host Type - The type of hosting used by the AppGateway.
- type
App
Gateway Type - The type of network connectivity used by the AppGateway.
- app
Gateway StringId - Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter. - display
Name String - Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
- labels Map<String,String>
- Optional. Resource labels to represent user provided metadata.
- location String
- name String
- Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
- project String
- request
Id String - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- host
Type AppGateway Host Type - The type of hosting used by the AppGateway.
- type
App
Gateway Type - The type of network connectivity used by the AppGateway.
- app
Gateway stringId - Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter. - display
Name string - Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
- labels {[key: string]: string}
- Optional. Resource labels to represent user provided metadata.
- location string
- name string
- Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
- project string
- request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- host_
type AppGateway Host Type - The type of hosting used by the AppGateway.
- type
App
Gateway Type - The type of network connectivity used by the AppGateway.
- app_
gateway_ strid - Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter. - display_
name str - Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
- labels Mapping[str, str]
- Optional. Resource labels to represent user provided metadata.
- location str
- name str
- Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
- project str
- request_
id str - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- host
Type "HOST_TYPE_UNSPECIFIED" | "GCP_REGIONAL_MIG" - The type of hosting used by the AppGateway.
- type "TYPE_UNSPECIFIED" | "TCP_PROXY"
- The type of network connectivity used by the AppGateway.
- app
Gateway StringId - Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter. - display
Name String - Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
- labels Map<String>
- Optional. Resource labels to represent user provided metadata.
- location String
- name String
- Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
- project String
- request
Id String - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the AppGateway resource produces the following output properties:
- Allocated
Connections List<Pulumi.Google Native. Beyond Corp. V1. Outputs. Allocated Connection Response> - A list of connections allocated for the Gateway
- Create
Time string - Timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the AppGateway.
- Uid string
- A unique identifier for the instance generated by the system.
- Update
Time string - Timestamp when the resource was last modified.
- Uri string
- Server-defined URI for this resource.
- Allocated
Connections []AllocatedConnection Response - A list of connections allocated for the Gateway
- Create
Time string - Timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the AppGateway.
- Uid string
- A unique identifier for the instance generated by the system.
- Update
Time string - Timestamp when the resource was last modified.
- Uri string
- Server-defined URI for this resource.
- allocated
Connections List<AllocatedConnection Response> - A list of connections allocated for the Gateway
- create
Time String - Timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the AppGateway.
- uid String
- A unique identifier for the instance generated by the system.
- update
Time String - Timestamp when the resource was last modified.
- uri String
- Server-defined URI for this resource.
- allocated
Connections AllocatedConnection Response[] - A list of connections allocated for the Gateway
- create
Time string - Timestamp when the resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the AppGateway.
- uid string
- A unique identifier for the instance generated by the system.
- update
Time string - Timestamp when the resource was last modified.
- uri string
- Server-defined URI for this resource.
- allocated_
connections Sequence[AllocatedConnection Response] - A list of connections allocated for the Gateway
- create_
time str - Timestamp when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the AppGateway.
- uid str
- A unique identifier for the instance generated by the system.
- update_
time str - Timestamp when the resource was last modified.
- uri str
- Server-defined URI for this resource.
- allocated
Connections List<Property Map> - A list of connections allocated for the Gateway
- create
Time String - Timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the AppGateway.
- uid String
- A unique identifier for the instance generated by the system.
- update
Time String - Timestamp when the resource was last modified.
- uri String
- Server-defined URI for this resource.
Supporting Types
AllocatedConnectionResponse, AllocatedConnectionResponseArgs
- Ingress
Port int - The ingress port of an allocated connection
- Psc
Uri string - The PSC uri of an allocated connection
- Ingress
Port int - The ingress port of an allocated connection
- Psc
Uri string - The PSC uri of an allocated connection
- ingress
Port Integer - The ingress port of an allocated connection
- psc
Uri String - The PSC uri of an allocated connection
- ingress
Port number - The ingress port of an allocated connection
- psc
Uri string - The PSC uri of an allocated connection
- ingress_
port int - The ingress port of an allocated connection
- psc_
uri str - The PSC uri of an allocated connection
- ingress
Port Number - The ingress port of an allocated connection
- psc
Uri String - The PSC uri of an allocated connection
AppGatewayHostType, AppGatewayHostTypeArgs
- Host
Type Unspecified - HOST_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Gcp
Regional Mig - GCP_REGIONAL_MIGAppGateway hosted in a GCP regional managed instance group.
- App
Gateway Host Type Host Type Unspecified - HOST_TYPE_UNSPECIFIEDDefault value. This value is unused.
- App
Gateway Host Type Gcp Regional Mig - GCP_REGIONAL_MIGAppGateway hosted in a GCP regional managed instance group.
- Host
Type Unspecified - HOST_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Gcp
Regional Mig - GCP_REGIONAL_MIGAppGateway hosted in a GCP regional managed instance group.
- Host
Type Unspecified - HOST_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Gcp
Regional Mig - GCP_REGIONAL_MIGAppGateway hosted in a GCP regional managed instance group.
- HOST_TYPE_UNSPECIFIED
- HOST_TYPE_UNSPECIFIEDDefault value. This value is unused.
- GCP_REGIONAL_MIG
- GCP_REGIONAL_MIGAppGateway hosted in a GCP regional managed instance group.
- "HOST_TYPE_UNSPECIFIED"
- HOST_TYPE_UNSPECIFIEDDefault value. This value is unused.
- "GCP_REGIONAL_MIG"
- GCP_REGIONAL_MIGAppGateway hosted in a GCP regional managed instance group.
AppGatewayType, AppGatewayTypeArgs
- Type
Unspecified - TYPE_UNSPECIFIEDDefault value. This value is unused.
- Tcp
Proxy - TCP_PROXYTCP Proxy based BeyondCorp Connection. API will default to this if unset.
- App
Gateway Type Type Unspecified - TYPE_UNSPECIFIEDDefault value. This value is unused.
- App
Gateway Type Tcp Proxy - TCP_PROXYTCP Proxy based BeyondCorp Connection. API will default to this if unset.
- Type
Unspecified - TYPE_UNSPECIFIEDDefault value. This value is unused.
- Tcp
Proxy - TCP_PROXYTCP Proxy based BeyondCorp Connection. API will default to this if unset.
- Type
Unspecified - TYPE_UNSPECIFIEDDefault value. This value is unused.
- Tcp
Proxy - TCP_PROXYTCP Proxy based BeyondCorp Connection. API will default to this if unset.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDDefault value. This value is unused.
- TCP_PROXY
- TCP_PROXYTCP Proxy based BeyondCorp Connection. API will default to this if unset.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDDefault value. This value is unused.
- "TCP_PROXY"
- TCP_PROXYTCP Proxy based BeyondCorp Connection. API will default to this if unset.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.