Connection
Manages a private VPC connection with a GCP service provider. For more information see the official documentation and API.
Create a Connection Resource
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);def Connection(resource_name, opts=None, network=None, reserved_peering_ranges=None, service=None, __props__=None);func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
Connection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Connection resource accepts the following input properties:
- Network string
Name of VPC network connected with service producers using VPC peering.
- Reserved
Peering List<string>Ranges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- Service string
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
- Network string
Name of VPC network connected with service producers using VPC peering.
- Reserved
Peering []stringRanges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- Service string
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
- network string
Name of VPC network connected with service producers using VPC peering.
- reserved
Peering string[]Ranges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- service string
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
- network str
Name of VPC network connected with service producers using VPC peering.
- reserved_
peering_ List[str]ranges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- service str
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
Look up an Existing Connection Resource
Get an existing Connection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectionState, opts?: CustomResourceOptions): Connectionstatic get(resource_name, id, opts=None, network=None, peering=None, reserved_peering_ranges=None, service=None, __props__=None);func GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Network string
Name of VPC network connected with service producers using VPC peering.
- Peering string
- Reserved
Peering List<string>Ranges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- Service string
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
- Network string
Name of VPC network connected with service producers using VPC peering.
- Peering string
- Reserved
Peering []stringRanges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- Service string
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
- network string
Name of VPC network connected with service producers using VPC peering.
- peering string
- reserved
Peering string[]Ranges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- service string
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
- network str
Name of VPC network connected with service producers using VPC peering.
- peering str
- reserved_
peering_ List[str]ranges Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.
- service str
Provider peering service that is managing peering connectivity for a service provider organization. For Google services that support this functionality it is ‘servicenetworking.googleapis.com’.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.