Show / Hide Table of Contents

Class Connector

Serverless VPC Access connector resource.

To get more information about Connector, see:

  • API documentation
  • How-to Guides
  • Configuring Serverless VPC Access

Example Usage - VPC Access Connector

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var connector = new Gcp.VpcAccess.Connector("connector", new Gcp.VpcAccess.ConnectorArgs
    {
        IpCidrRange = "10.8.0.0/28",
        Network = "default",
        Region = "us-central1",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Connector
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.VpcAccess
Assembly: Pulumi.Gcp.dll
Syntax
public class Connector : CustomResource

Constructors

View Source

Connector(String, ConnectorArgs, CustomResourceOptions)

Create a Connector resource with the given unique name, arguments, and options.

Declaration
public Connector(string name, ConnectorArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ConnectorArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

IpCidrRange

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

Declaration
public Output<string> IpCidrRange { get; }
Property Value
Type Description
Output<System.String>
View Source

MaxThroughput

Maximum throughput of the connector in Mbps, must be greater than min_throughput. Default is 1000.

Declaration
public Output<int?> MaxThroughput { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MinThroughput

Minimum throughput of the connector in Mbps. Default and min is 200.

Declaration
public Output<int?> MinThroughput { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Name

The name of the resource (Max 25 characters).

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Network

Name of a VPC network.

Declaration
public Output<string> Network { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

Region

Region where the VPC Access connector resides

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

SelfLink

The fully qualified name of this VPC connector

Declaration
public Output<string> SelfLink { get; }
Property Value
Type Description
Output<System.String>
View Source

State

State of the VPC access connector.

Declaration
public Output<string> State { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ConnectorState, CustomResourceOptions)

Get an existing Connector resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Connector Get(string name, Input<string> id, ConnectorState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ConnectorState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Connector
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.