This page documents the language specification for the gcp package. If you're looking for help working with the inputs, outputs, or functions of gcp resources in a Pulumi program, please see the resource documentation for examples and API reference.
vpcaccess¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.
- class
pulumi_gcp.vpcaccess.Connector(resource_name, opts=None, ip_cidr_range=None, max_throughput=None, min_throughput=None, name=None, network=None, project=None, region=None, __props__=None, __name__=None, __opts__=None)¶ Serverless VPC Access connector resource.
To get more information about Connector, see:
How-to Guides
import pulumi import pulumi_gcp as gcp connector = gcp.vpcaccess.Connector("connector", ip_cidr_range="10.8.0.0/28", network="default", region="us-central1")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
ip_cidr_range (pulumi.Input[str]) – The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28.max_throughput (pulumi.Input[float]) – Maximum throughput of the connector in Mbps, must be greater than
min_throughput. Default is 1000.min_throughput (pulumi.Input[float]) – Minimum throughput of the connector in Mbps. Default and min is 200.
name (pulumi.Input[str]) – The name of the resource (Max 25 characters).
network (pulumi.Input[str]) – Name of a VPC network.
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
region (pulumi.Input[str]) – Region where the VPC Access connector resides
ip_cidr_range: pulumi.Output[str] = None¶The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28.
max_throughput: pulumi.Output[float] = None¶Maximum throughput of the connector in Mbps, must be greater than
min_throughput. Default is 1000.
min_throughput: pulumi.Output[float] = None¶Minimum throughput of the connector in Mbps. Default and min is 200.
name: pulumi.Output[str] = None¶The name of the resource (Max 25 characters).
network: pulumi.Output[str] = None¶Name of a VPC network.
project: pulumi.Output[str] = None¶The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
region: pulumi.Output[str] = None¶Region where the VPC Access connector resides
self_link: pulumi.Output[str] = None¶The fully qualified name of this VPC connector
state: pulumi.Output[str] = None¶State of the VPC access connector.
- static
get(resource_name, id, opts=None, ip_cidr_range=None, max_throughput=None, min_throughput=None, name=None, network=None, project=None, region=None, self_link=None, state=None)¶ Get an existing Connector resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
ip_cidr_range (pulumi.Input[str]) – The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28.max_throughput (pulumi.Input[float]) – Maximum throughput of the connector in Mbps, must be greater than
min_throughput. Default is 1000.min_throughput (pulumi.Input[float]) – Minimum throughput of the connector in Mbps. Default and min is 200.
name (pulumi.Input[str]) – The name of the resource (Max 25 characters).
network (pulumi.Input[str]) – Name of a VPC network.
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
region (pulumi.Input[str]) – Region where the VPC Access connector resides
self_link (pulumi.Input[str]) – The fully qualified name of this VPC connector
state (pulumi.Input[str]) – State of the VPC access connector.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str