Connection

Manages a private VPC connection with a GCP service provider. For more information see the official documentation and API.

Create a Connection Resource

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.

ReservedPeeringRanges List<string>

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.

ReservedPeeringRanges []string

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.

reservedPeeringRanges string[]

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_ranges List[str]

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:

Id string
The provider-assigned unique ID for this managed resource.
Peering string
Id string
The provider-assigned unique ID for this managed resource.
Peering string
id string
The provider-assigned unique ID for this managed resource.
peering string
id str
The provider-assigned unique ID for this managed resource.
peering str

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): Connection
static 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
ReservedPeeringRanges List<string>

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
ReservedPeeringRanges []string

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
reservedPeeringRanges string[]

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_ranges List[str]

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-beta Terraform Provider.