google-native.beyondcorp/v1alpha.Connection
Explore with Pulumi AI
Creates a new Connection in a given project and location.
Create Connection Resource
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_endpoint: Optional[ApplicationEndpointArgs] = None,
connection_id: Optional[str] = None,
connectors: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
gateway: Optional[GatewayArgs] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
type: Optional[ConnectionType] = None,
validate_only: Optional[bool] = None)
@overload
def Connection(resource_name: str,
args: ConnectionArgs,
opts: Optional[ResourceOptions] = None)
func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)
public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: google-native:beyondcorp/v1alpha:Connection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- 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 ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Connection 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 Connection resource accepts the following input properties:
- Application
Endpoint Pulumi.Google Native. Beyond Corp. V1Alpha. Inputs. Application Endpoint Args Address of the remote application endpoint for the BeyondCorp Connection.
- Type
Pulumi.
Google Native. Beyond Corp. V1Alpha. Connection Type The type of network connectivity used by the connection.
- Connection
Id string Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter.- Connectors List<string>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
- Display
Name string Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
- Gateway
Pulumi.
Google Native. Beyond Corp. V1Alpha. Inputs. Gateway Args Optional. Gateway used by the connection.
- Labels Dictionary<string, string>
Optional. Resource labels to represent user provided metadata.
- Location string
- Name string
Unique resource name of the connection. The name is ignored when creating a connection.
- 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).
- Validate
Only bool Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
- Application
Endpoint ApplicationEndpoint Args Address of the remote application endpoint for the BeyondCorp Connection.
- Type
Connection
Type The type of network connectivity used by the connection.
- Connection
Id string Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter.- Connectors []string
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
- Display
Name string Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
- Gateway
Gateway
Args Optional. Gateway used by the connection.
- Labels map[string]string
Optional. Resource labels to represent user provided metadata.
- Location string
- Name string
Unique resource name of the connection. The name is ignored when creating a connection.
- 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).
- Validate
Only bool Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
- application
Endpoint ApplicationEndpoint Args Address of the remote application endpoint for the BeyondCorp Connection.
- type
Connection
Type The type of network connectivity used by the connection.
- connection
Id String Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter.- connectors List<String>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
- display
Name String Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
- gateway
Gateway
Args Optional. Gateway used by the connection.
- labels Map<String,String>
Optional. Resource labels to represent user provided metadata.
- location String
- name String
Unique resource name of the connection. The name is ignored when creating a connection.
- 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).
- validate
Only Boolean Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
- application
Endpoint ApplicationEndpoint Args Address of the remote application endpoint for the BeyondCorp Connection.
- type
Connection
Type The type of network connectivity used by the connection.
- connection
Id string Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter.- connectors string[]
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
- display
Name string Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
- gateway
Gateway
Args Optional. Gateway used by the connection.
- labels {[key: string]: string}
Optional. Resource labels to represent user provided metadata.
- location string
- name string
Unique resource name of the connection. The name is ignored when creating a connection.
- 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).
- validate
Only boolean Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
- application_
endpoint ApplicationEndpoint Args Address of the remote application endpoint for the BeyondCorp Connection.
- type
Connection
Type The type of network connectivity used by the connection.
- connection_
id str Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter.- connectors Sequence[str]
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
- display_
name str Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
- gateway
Gateway
Args Optional. Gateway used by the connection.
- labels Mapping[str, str]
Optional. Resource labels to represent user provided metadata.
- location str
- name str
Unique resource name of the connection. The name is ignored when creating a connection.
- 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).
- validate_
only bool Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
- application
Endpoint Property Map Address of the remote application endpoint for the BeyondCorp Connection.
- type "TYPE_UNSPECIFIED" | "TCP_PROXY"
The type of network connectivity used by the connection.
- connection
Id String Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from
/a-z-/
. * Must end with a number or a letter.- connectors List<String>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
- display
Name String Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
- gateway Property Map
Optional. Gateway used by the connection.
- labels Map<String>
Optional. Resource labels to represent user provided metadata.
- location String
- name String
Unique resource name of the connection. The name is ignored when creating a connection.
- 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).
- validate
Only Boolean Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- 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 connection.
- Uid string
A unique identifier for the instance generated by the system.
- Update
Time string Timestamp when the resource was last modified.
- 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 connection.
- Uid string
A unique identifier for the instance generated by the system.
- Update
Time string Timestamp when the resource was last modified.
- 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 connection.
- uid String
A unique identifier for the instance generated by the system.
- update
Time String Timestamp when the resource was last modified.
- 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 connection.
- uid string
A unique identifier for the instance generated by the system.
- update
Time string Timestamp when the resource was last modified.
- 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 connection.
- uid str
A unique identifier for the instance generated by the system.
- update_
time str Timestamp when the resource was last modified.
- 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 connection.
- uid String
A unique identifier for the instance generated by the system.
- update
Time String Timestamp when the resource was last modified.
Supporting Types
ApplicationEndpoint
ApplicationEndpointResponse
ConnectionType
- Type
Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Tcp
Proxy - TCP_PROXY
TCP Proxy based BeyondCorp Connection. API will default to this if unset.
- Connection
Type Type Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Connection
Type Tcp Proxy - TCP_PROXY
TCP Proxy based BeyondCorp Connection. API will default to this if unset.
- Type
Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Tcp
Proxy - TCP_PROXY
TCP Proxy based BeyondCorp Connection. API will default to this if unset.
- Type
Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Tcp
Proxy - TCP_PROXY
TCP Proxy based BeyondCorp Connection. API will default to this if unset.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIED
Default value. This value is unused.
- TCP_PROXY
- TCP_PROXY
TCP Proxy based BeyondCorp Connection. API will default to this if unset.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIED
Default value. This value is unused.
- "TCP_PROXY"
- TCP_PROXY
TCP Proxy based BeyondCorp Connection. API will default to this if unset.
Gateway
- Type
Pulumi.
Google Native. Beyond Corp. V1Alpha. Gateway Type The type of hosting used by the gateway.
- Type
Gateway
Type The type of hosting used by the gateway.
- type
Gateway
Type The type of hosting used by the gateway.
- type
Gateway
Type The type of hosting used by the gateway.
- type
Gateway
Type The type of hosting used by the gateway.
- type "TYPE_UNSPECIFIED" | "GCP_REGIONAL_MIG"
The type of hosting used by the gateway.
GatewayResponse
GatewayType
- Type
Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Gcp
Regional Mig - GCP_REGIONAL_MIG
Gateway hosted in a GCP regional managed instance group.
- Gateway
Type Type Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Gateway
Type Gcp Regional Mig - GCP_REGIONAL_MIG
Gateway hosted in a GCP regional managed instance group.
- Type
Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Gcp
Regional Mig - GCP_REGIONAL_MIG
Gateway hosted in a GCP regional managed instance group.
- Type
Unspecified - TYPE_UNSPECIFIED
Default value. This value is unused.
- Gcp
Regional Mig - GCP_REGIONAL_MIG
Gateway hosted in a GCP regional managed instance group.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIED
Default value. This value is unused.
- GCP_REGIONAL_MIG
- GCP_REGIONAL_MIG
Gateway hosted in a GCP regional managed instance group.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIED
Default value. This value is unused.
- "GCP_REGIONAL_MIG"
- GCP_REGIONAL_MIG
Gateway hosted in a GCP regional managed instance group.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0