Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.vpcaccess/v1.getConnector
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.
Using getConnector
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnector(args: GetConnectorArgs, opts?: InvokeOptions): Promise<GetConnectorResult>
function getConnectorOutput(args: GetConnectorOutputArgs, opts?: InvokeOptions): Output<GetConnectorResult>
def get_connector(connector_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectorResult
def get_connector_output(connector_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectorResult]
func LookupConnector(ctx *Context, args *LookupConnectorArgs, opts ...InvokeOption) (*LookupConnectorResult, error)
func LookupConnectorOutput(ctx *Context, args *LookupConnectorOutputArgs, opts ...InvokeOption) LookupConnectorResultOutput
> Note: This function is named LookupConnector
in the Go SDK.
public static class GetConnector
{
public static Task<GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:vpcaccess/v1:getConnector
arguments:
# arguments dictionary
The following arguments are supported:
- Connector
Id string - Location string
- Project string
- Connector
Id string - Location string
- Project string
- connector
Id String - location String
- project String
- connector
Id string - location string
- project string
- connector_
id str - location str
- project str
- connector
Id String - location String
- project String
getConnector Result
The following output properties are available:
- Connected
Projects List<string> - List of projects using the connector.
- Ip
Cidr stringRange - The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
. - 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. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.
- 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. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.
- Name string
- The resource name in the format
projects/*/locations/*/connectors/*
. - Network string
- Name of a VPC network.
- State string
- State of the VPC access connector.
- Subnet
Pulumi.
Google Native. VPCAccess. V1. Outputs. Subnet Response - The subnet in which to house the VPC Access Connector.
- Connected
Projects []string - List of projects using the connector.
- Ip
Cidr stringRange - The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
. - 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. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.
- 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. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.
- Name string
- The resource name in the format
projects/*/locations/*/connectors/*
. - Network string
- Name of a VPC network.
- State string
- State of the VPC access connector.
- Subnet
Subnet
Response - The subnet in which to house the VPC Access Connector.
- connected
Projects List<String> - List of projects using the connector.
- ip
Cidr StringRange - The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
. - 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. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.
- 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. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.
- name String
- The resource name in the format
projects/*/locations/*/connectors/*
. - network String
- Name of a VPC network.
- state String
- State of the VPC access connector.
- subnet
Subnet
Response - The subnet in which to house the VPC Access Connector.
- connected
Projects string[] - List of projects using the connector.
- ip
Cidr stringRange - The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
. - 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. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.
- 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. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.
- name string
- The resource name in the format
projects/*/locations/*/connectors/*
. - network string
- Name of a VPC network.
- state string
- State of the VPC access connector.
- subnet
Subnet
Response - The subnet in which to house the VPC Access Connector.
- connected_
projects Sequence[str] - List of projects using the connector.
- ip_
cidr_ strrange - The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
. - 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. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.
- 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. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.
- name str
- The resource name in the format
projects/*/locations/*/connectors/*
. - network str
- Name of a VPC network.
- state str
- State of the VPC access connector.
- subnet
Subnet
Response - The subnet in which to house the VPC Access Connector.
- connected
Projects List<String> - List of projects using the connector.
- ip
Cidr StringRange - The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
. - 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. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.
- 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. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.
- name String
- The resource name in the format
projects/*/locations/*/connectors/*
. - network String
- Name of a VPC network.
- state String
- State of the VPC access connector.
- subnet Property Map
- The subnet in which to house the VPC Access Connector.
Supporting Types
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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi