Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.vpcaccess/v1beta1.Connector
Explore with Pulumi AI
Creates a Serverless VPC Access connector, returns an operation.
Create Connector Resource
new Connector(name: string, args: ConnectorArgs, opts?: CustomResourceOptions);
@overload
def Connector(resource_name: str,
opts: Optional[ResourceOptions] = None,
connector_id: Optional[str] = None,
ip_cidr_range: Optional[str] = None,
location: Optional[str] = None,
machine_type: Optional[str] = None,
max_instances: Optional[int] = None,
max_throughput: Optional[int] = None,
min_instances: Optional[int] = None,
min_throughput: Optional[int] = None,
name: Optional[str] = None,
network: Optional[str] = None,
project: Optional[str] = None,
subnet: Optional[SubnetArgs] = None)
@overload
def Connector(resource_name: str,
args: ConnectorArgs,
opts: Optional[ResourceOptions] = None)
func NewConnector(ctx *Context, name string, args ConnectorArgs, opts ...ResourceOption) (*Connector, error)
public Connector(string name, ConnectorArgs args, CustomResourceOptions? opts = null)
public Connector(String name, ConnectorArgs args)
public Connector(String name, ConnectorArgs args, CustomResourceOptions options)
type: google-native:vpcaccess/v1beta1:Connector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorArgs
- 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 ConnectorArgs
- 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 ConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Connector 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 Connector resource accepts the following input properties:
- Connector
Id string Required. The ID to use for this connector.
- Ip
Cidr stringRange The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- Location string
- Machine
Type string Machine type of VM Instance underlying connector. Default is e2-micro
- Max
Instances int Maximum value of instances in autoscaling group underlying the connector.
- Max
Throughput int Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
- Min
Instances int Minimum value of instances in autoscaling group underlying the connector.
- Min
Throughput int Minimum throughput of the connector in Mbps. Default and min is 200.
- Name string
The resource name in the format
projects/*/locations/*/connectors/*
.- Network string
Name of a VPC network.
- Project string
- Subnet
Pulumi.
Google Native. VPCAccess. V1Beta1. Inputs. Subnet Args The subnet in which to house the VPC Access Connector.
- Connector
Id string Required. The ID to use for this connector.
- Ip
Cidr stringRange The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- Location string
- Machine
Type string Machine type of VM Instance underlying connector. Default is e2-micro
- Max
Instances int Maximum value of instances in autoscaling group underlying the connector.
- Max
Throughput int Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
- Min
Instances int Minimum value of instances in autoscaling group underlying the connector.
- Min
Throughput int Minimum throughput of the connector in Mbps. Default and min is 200.
- Name string
The resource name in the format
projects/*/locations/*/connectors/*
.- Network string
Name of a VPC network.
- Project string
- Subnet
Subnet
Args The subnet in which to house the VPC Access Connector.
- connector
Id String Required. The ID to use for this connector.
- ip
Cidr StringRange The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- location String
- machine
Type String Machine type of VM Instance underlying connector. Default is e2-micro
- max
Instances Integer Maximum value of instances in autoscaling group underlying the connector.
- max
Throughput Integer Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
- min
Instances Integer Minimum value of instances in autoscaling group underlying the connector.
- min
Throughput Integer Minimum throughput of the connector in Mbps. Default and min is 200.
- name String
The resource name in the format
projects/*/locations/*/connectors/*
.- network String
Name of a VPC network.
- project String
- subnet
Subnet
Args The subnet in which to house the VPC Access Connector.
- connector
Id string Required. The ID to use for this connector.
- ip
Cidr stringRange The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- location string
- machine
Type string Machine type of VM Instance underlying connector. Default is e2-micro
- max
Instances number Maximum value of instances in autoscaling group underlying the connector.
- max
Throughput number Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
- min
Instances number Minimum value of instances in autoscaling group underlying the connector.
- min
Throughput number Minimum throughput of the connector in Mbps. Default and min is 200.
- name string
The resource name in the format
projects/*/locations/*/connectors/*
.- network string
Name of a VPC network.
- project string
- subnet
Subnet
Args The subnet in which to house the VPC Access Connector.
- connector_
id str Required. The ID to use for this connector.
- ip_
cidr_ strrange The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- location str
- machine_
type str Machine type of VM Instance underlying connector. Default is e2-micro
- max_
instances int Maximum value of instances in autoscaling group underlying the connector.
- max_
throughput int Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
- min_
instances int Minimum value of instances in autoscaling group underlying the connector.
- min_
throughput int Minimum throughput of the connector in Mbps. Default and min is 200.
- name str
The resource name in the format
projects/*/locations/*/connectors/*
.- network str
Name of a VPC network.
- project str
- subnet
Subnet
Args The subnet in which to house the VPC Access Connector.
- connector
Id String Required. The ID to use for this connector.
- ip
Cidr StringRange The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- location String
- machine
Type String Machine type of VM Instance underlying connector. Default is e2-micro
- max
Instances Number Maximum value of instances in autoscaling group underlying the connector.
- max
Throughput Number Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
- min
Instances Number Minimum value of instances in autoscaling group underlying the connector.
- min
Throughput Number Minimum throughput of the connector in Mbps. Default and min is 200.
- name String
The resource name in the format
projects/*/locations/*/connectors/*
.- network String
Name of a VPC network.
- project String
- subnet Property Map
The subnet in which to house the VPC Access Connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connector resource produces the following output properties:
- Connected
Projects List<string> List of projects using the connector.
- Id string
The provider-assigned unique ID for this managed resource.
- State string
State of the VPC access connector.
- Connected
Projects []string List of projects using the connector.
- Id string
The provider-assigned unique ID for this managed resource.
- State string
State of the VPC access connector.
- connected
Projects List<String> List of projects using the connector.
- id String
The provider-assigned unique ID for this managed resource.
- state String
State of the VPC access connector.
- connected
Projects string[] List of projects using the connector.
- id string
The provider-assigned unique ID for this managed resource.
- state string
State of the VPC access connector.
- connected_
projects Sequence[str] List of projects using the connector.
- id str
The provider-assigned unique ID for this managed resource.
- state str
State of the VPC access connector.
- connected
Projects List<String> List of projects using the connector.
- id String
The provider-assigned unique ID for this managed resource.
- state String
State of the VPC access connector.
Supporting Types
Subnet
- Name string
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- Project string
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- Name string
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- Project string
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name String
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project String
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name string
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project string
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name str
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project str
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name String
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project String
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
SubnetResponse
- Name string
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- Project string
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- Name string
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- Project string
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name String
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project String
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name string
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project string
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name str
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project str
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
- name String
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- project String
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0