1. Packages
  2. Google Cloud Native
  3. API Docs
  4. vpcaccess
  5. vpcaccess/v1
  6. Connector

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.vpcaccess/v1.Connector

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    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/v1: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:

    ConnectorId string

    Required. The ID to use for this connector.

    IpCidrRange string

    The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

    Location string
    MachineType string

    Machine type of VM Instance underlying connector. Default is e2-micro

    MaxInstances int

    Maximum value of instances in autoscaling group underlying the connector.

    MaxThroughput int

    Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

    MinInstances int

    Minimum value of instances in autoscaling group underlying the connector.

    MinThroughput 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.GoogleNative.VPCAccess.V1.Inputs.Subnet

    The subnet in which to house the VPC Access Connector.

    ConnectorId string

    Required. The ID to use for this connector.

    IpCidrRange string

    The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

    Location string
    MachineType string

    Machine type of VM Instance underlying connector. Default is e2-micro

    MaxInstances int

    Maximum value of instances in autoscaling group underlying the connector.

    MaxThroughput int

    Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

    MinInstances int

    Minimum value of instances in autoscaling group underlying the connector.

    MinThroughput 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 SubnetArgs

    The subnet in which to house the VPC Access Connector.

    connectorId String

    Required. The ID to use for this connector.

    ipCidrRange String

    The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

    location String
    machineType String

    Machine type of VM Instance underlying connector. Default is e2-micro

    maxInstances Integer

    Maximum value of instances in autoscaling group underlying the connector.

    maxThroughput Integer

    Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

    minInstances Integer

    Minimum value of instances in autoscaling group underlying the connector.

    minThroughput 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

    The subnet in which to house the VPC Access Connector.

    connectorId string

    Required. The ID to use for this connector.

    ipCidrRange string

    The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

    location string
    machineType string

    Machine type of VM Instance underlying connector. Default is e2-micro

    maxInstances number

    Maximum value of instances in autoscaling group underlying the connector.

    maxThroughput number

    Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

    minInstances number

    Minimum value of instances in autoscaling group underlying the connector.

    minThroughput 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

    The subnet in which to house the VPC Access Connector.

    connector_id str

    Required. The ID to use for this connector.

    ip_cidr_range str

    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 SubnetArgs

    The subnet in which to house the VPC Access Connector.

    connectorId String

    Required. The ID to use for this connector.

    ipCidrRange String

    The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

    location String
    machineType String

    Machine type of VM Instance underlying connector. Default is e2-micro

    maxInstances Number

    Maximum value of instances in autoscaling group underlying the connector.

    maxThroughput Number

    Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

    minInstances Number

    Minimum value of instances in autoscaling group underlying the connector.

    minThroughput 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:

    ConnectedProjects 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.

    ConnectedProjects []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.

    connectedProjects 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.

    connectedProjects 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.

    connectedProjects 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, SubnetArgs

    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, SubnetResponseArgs

    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
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi