v1

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	pulumi.CustomResourceState

	// List of projects using the connector.
	ConnectedProjects pulumi.StringArrayOutput `pulumi:"connectedProjects"`
	// Required. The ID to use for this connector.
	ConnectorId pulumi.StringOutput `pulumi:"connectorId"`
	// The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
	IpCidrRange pulumi.StringOutput `pulumi:"ipCidrRange"`
	Location    pulumi.StringOutput `pulumi:"location"`
	// Machine type of VM Instance underlying connector. Default is e2-micro
	MachineType pulumi.StringOutput `pulumi:"machineType"`
	// Maximum value of instances in autoscaling group underlying the connector.
	MaxInstances pulumi.IntOutput `pulumi:"maxInstances"`
	// 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.
	MaxThroughput pulumi.IntOutput `pulumi:"maxThroughput"`
	// Minimum value of instances in autoscaling group underlying the connector.
	MinInstances pulumi.IntOutput `pulumi:"minInstances"`
	// 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.
	MinThroughput pulumi.IntOutput `pulumi:"minThroughput"`
	// The resource name in the format `projects/*/locations/*/connectors/*`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of a VPC network.
	Network pulumi.StringOutput `pulumi:"network"`
	Project pulumi.StringOutput `pulumi:"project"`
	// State of the VPC access connector.
	State pulumi.StringOutput `pulumi:"state"`
	// The subnet in which to house the VPC Access Connector.
	Subnet SubnetResponseOutput `pulumi:"subnet"`
}

Creates a Serverless VPC Access connector, returns an operation.

func GetConnector

func GetConnector(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectorState, opts ...pulumi.ResourceOption) (*Connector, error)

GetConnector gets an existing Connector resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConnector

func NewConnector(ctx *pulumi.Context,
	name string, args *ConnectorArgs, opts ...pulumi.ResourceOption) (*Connector, error)

NewConnector registers a new resource with the given unique name, arguments, and options.

func (*Connector) ElementType

func (*Connector) ElementType() reflect.Type

func (*Connector) ToConnectorOutput

func (i *Connector) ToConnectorOutput() ConnectorOutput

func (*Connector) ToConnectorOutputWithContext

func (i *Connector) ToConnectorOutputWithContext(ctx context.Context) ConnectorOutput

type ConnectorArgs

type ConnectorArgs struct {
	// Required. The ID to use for this connector.
	ConnectorId pulumi.StringInput
	// The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
	IpCidrRange pulumi.StringPtrInput
	Location    pulumi.StringPtrInput
	// Machine type of VM Instance underlying connector. Default is e2-micro
	MachineType pulumi.StringPtrInput
	// Maximum value of instances in autoscaling group underlying the connector.
	MaxInstances pulumi.IntPtrInput
	// 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.
	MaxThroughput pulumi.IntPtrInput
	// Minimum value of instances in autoscaling group underlying the connector.
	MinInstances pulumi.IntPtrInput
	// 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.
	MinThroughput pulumi.IntPtrInput
	// The resource name in the format `projects/*/locations/*/connectors/*`.
	Name pulumi.StringPtrInput
	// Name of a VPC network.
	Network pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The subnet in which to house the VPC Access Connector.
	Subnet SubnetPtrInput
}

The set of arguments for constructing a Connector resource.

func (ConnectorArgs) ElementType

func (ConnectorArgs) ElementType() reflect.Type

type ConnectorInput

type ConnectorInput interface {
	pulumi.Input

	ToConnectorOutput() ConnectorOutput
	ToConnectorOutputWithContext(ctx context.Context) ConnectorOutput
}

type ConnectorOutput

type ConnectorOutput struct{ *pulumi.OutputState }

func (ConnectorOutput) ConnectedProjects added in v0.19.0

func (o ConnectorOutput) ConnectedProjects() pulumi.StringArrayOutput

List of projects using the connector.

func (ConnectorOutput) ConnectorId added in v0.21.0

func (o ConnectorOutput) ConnectorId() pulumi.StringOutput

Required. The ID to use for this connector.

func (ConnectorOutput) ElementType

func (ConnectorOutput) ElementType() reflect.Type

func (ConnectorOutput) IpCidrRange added in v0.19.0

func (o ConnectorOutput) IpCidrRange() pulumi.StringOutput

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

func (ConnectorOutput) Location added in v0.21.0

func (o ConnectorOutput) Location() pulumi.StringOutput

func (ConnectorOutput) MachineType added in v0.19.0

func (o ConnectorOutput) MachineType() pulumi.StringOutput

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

func (ConnectorOutput) MaxInstances added in v0.19.0

func (o ConnectorOutput) MaxInstances() pulumi.IntOutput

Maximum value of instances in autoscaling group underlying the connector.

func (ConnectorOutput) MaxThroughput added in v0.19.0

func (o ConnectorOutput) MaxThroughput() pulumi.IntOutput

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.

func (ConnectorOutput) MinInstances added in v0.19.0

func (o ConnectorOutput) MinInstances() pulumi.IntOutput

Minimum value of instances in autoscaling group underlying the connector.

func (ConnectorOutput) MinThroughput added in v0.19.0

func (o ConnectorOutput) MinThroughput() pulumi.IntOutput

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.

func (ConnectorOutput) Name added in v0.19.0

The resource name in the format `projects/*/locations/*/connectors/*`.

func (ConnectorOutput) Network added in v0.19.0

func (o ConnectorOutput) Network() pulumi.StringOutput

Name of a VPC network.

func (ConnectorOutput) Project added in v0.21.0

func (o ConnectorOutput) Project() pulumi.StringOutput

func (ConnectorOutput) State added in v0.19.0

State of the VPC access connector.

func (ConnectorOutput) Subnet added in v0.19.0

The subnet in which to house the VPC Access Connector.

func (ConnectorOutput) ToConnectorOutput

func (o ConnectorOutput) ToConnectorOutput() ConnectorOutput

func (ConnectorOutput) ToConnectorOutputWithContext

func (o ConnectorOutput) ToConnectorOutputWithContext(ctx context.Context) ConnectorOutput

type ConnectorState

type ConnectorState struct {
}

func (ConnectorState) ElementType

func (ConnectorState) ElementType() reflect.Type

type LookupConnectorArgs added in v0.4.0

type LookupConnectorArgs struct {
	ConnectorId string  `pulumi:"connectorId"`
	Location    string  `pulumi:"location"`
	Project     *string `pulumi:"project"`
}

type LookupConnectorOutputArgs added in v0.8.0

type LookupConnectorOutputArgs struct {
	ConnectorId pulumi.StringInput    `pulumi:"connectorId"`
	Location    pulumi.StringInput    `pulumi:"location"`
	Project     pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupConnectorOutputArgs) ElementType added in v0.8.0

func (LookupConnectorOutputArgs) ElementType() reflect.Type

type LookupConnectorResult added in v0.4.0

type LookupConnectorResult struct {
	// List of projects using the connector.
	ConnectedProjects []string `pulumi:"connectedProjects"`
	// The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
	IpCidrRange string `pulumi:"ipCidrRange"`
	// Machine type of VM Instance underlying connector. Default is e2-micro
	MachineType string `pulumi:"machineType"`
	// Maximum value of instances in autoscaling group underlying the connector.
	MaxInstances int `pulumi:"maxInstances"`
	// 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.
	MaxThroughput int `pulumi:"maxThroughput"`
	// Minimum value of instances in autoscaling group underlying the connector.
	MinInstances int `pulumi:"minInstances"`
	// 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.
	MinThroughput int `pulumi:"minThroughput"`
	// The resource name in the format `projects/*/locations/*/connectors/*`.
	Name string `pulumi:"name"`
	// Name of a VPC network.
	Network string `pulumi:"network"`
	// State of the VPC access connector.
	State string `pulumi:"state"`
	// The subnet in which to house the VPC Access Connector.
	Subnet SubnetResponse `pulumi:"subnet"`
}

func LookupConnector added in v0.4.0

func LookupConnector(ctx *pulumi.Context, args *LookupConnectorArgs, opts ...pulumi.InvokeOption) (*LookupConnectorResult, error)

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

type LookupConnectorResultOutput added in v0.8.0

type LookupConnectorResultOutput struct{ *pulumi.OutputState }

func LookupConnectorOutput added in v0.8.0

func (LookupConnectorResultOutput) ConnectedProjects added in v0.8.0

List of projects using the connector.

func (LookupConnectorResultOutput) ElementType added in v0.8.0

func (LookupConnectorResultOutput) IpCidrRange added in v0.8.0

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

func (LookupConnectorResultOutput) MachineType added in v0.8.0

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

func (LookupConnectorResultOutput) MaxInstances added in v0.8.0

func (o LookupConnectorResultOutput) MaxInstances() pulumi.IntOutput

Maximum value of instances in autoscaling group underlying the connector.

func (LookupConnectorResultOutput) MaxThroughput added in v0.8.0

func (o LookupConnectorResultOutput) MaxThroughput() pulumi.IntOutput

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.

func (LookupConnectorResultOutput) MinInstances added in v0.8.0

func (o LookupConnectorResultOutput) MinInstances() pulumi.IntOutput

Minimum value of instances in autoscaling group underlying the connector.

func (LookupConnectorResultOutput) MinThroughput added in v0.8.0

func (o LookupConnectorResultOutput) MinThroughput() pulumi.IntOutput

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.

func (LookupConnectorResultOutput) Name added in v0.8.0

The resource name in the format `projects/*/locations/*/connectors/*`.

func (LookupConnectorResultOutput) Network added in v0.8.0

Name of a VPC network.

func (LookupConnectorResultOutput) State added in v0.8.0

State of the VPC access connector.

func (LookupConnectorResultOutput) Subnet added in v0.8.0

The subnet in which to house the VPC Access Connector.

func (LookupConnectorResultOutput) ToLookupConnectorResultOutput added in v0.8.0

func (o LookupConnectorResultOutput) ToLookupConnectorResultOutput() LookupConnectorResultOutput

func (LookupConnectorResultOutput) ToLookupConnectorResultOutputWithContext added in v0.8.0

func (o LookupConnectorResultOutput) ToLookupConnectorResultOutputWithContext(ctx context.Context) LookupConnectorResultOutput

type Subnet

type Subnet struct {
	// 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}
	Name *string `pulumi:"name"`
	// 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.
	Project *string `pulumi:"project"`
}

The subnet in which to house the connector

type SubnetArgs

type SubnetArgs struct {
	// 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}
	Name pulumi.StringPtrInput `pulumi:"name"`
	// 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.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

The subnet in which to house the connector

func (SubnetArgs) ElementType

func (SubnetArgs) ElementType() reflect.Type

func (SubnetArgs) ToSubnetOutput

func (i SubnetArgs) ToSubnetOutput() SubnetOutput

func (SubnetArgs) ToSubnetOutputWithContext

func (i SubnetArgs) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput

func (SubnetArgs) ToSubnetPtrOutput

func (i SubnetArgs) ToSubnetPtrOutput() SubnetPtrOutput

func (SubnetArgs) ToSubnetPtrOutputWithContext

func (i SubnetArgs) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput

type SubnetInput

type SubnetInput interface {
	pulumi.Input

	ToSubnetOutput() SubnetOutput
	ToSubnetOutputWithContext(context.Context) SubnetOutput
}

SubnetInput is an input type that accepts SubnetArgs and SubnetOutput values. You can construct a concrete instance of `SubnetInput` via:

SubnetArgs{...}

type SubnetOutput

type SubnetOutput struct{ *pulumi.OutputState }

The subnet in which to house the connector

func (SubnetOutput) ElementType

func (SubnetOutput) ElementType() reflect.Type

func (SubnetOutput) Name

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}

func (SubnetOutput) Project added in v0.3.0

func (o SubnetOutput) Project() pulumi.StringPtrOutput

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.

func (SubnetOutput) ToSubnetOutput

func (o SubnetOutput) ToSubnetOutput() SubnetOutput

func (SubnetOutput) ToSubnetOutputWithContext

func (o SubnetOutput) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput

func (SubnetOutput) ToSubnetPtrOutput

func (o SubnetOutput) ToSubnetPtrOutput() SubnetPtrOutput

func (SubnetOutput) ToSubnetPtrOutputWithContext

func (o SubnetOutput) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput

type SubnetPtrInput

type SubnetPtrInput interface {
	pulumi.Input

	ToSubnetPtrOutput() SubnetPtrOutput
	ToSubnetPtrOutputWithContext(context.Context) SubnetPtrOutput
}

SubnetPtrInput is an input type that accepts SubnetArgs, SubnetPtr and SubnetPtrOutput values. You can construct a concrete instance of `SubnetPtrInput` via:

        SubnetArgs{...}

or:

        nil

func SubnetPtr

func SubnetPtr(v *SubnetArgs) SubnetPtrInput

type SubnetPtrOutput

type SubnetPtrOutput struct{ *pulumi.OutputState }

func (SubnetPtrOutput) Elem

func (o SubnetPtrOutput) Elem() SubnetOutput

func (SubnetPtrOutput) ElementType

func (SubnetPtrOutput) ElementType() reflect.Type

func (SubnetPtrOutput) Name

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}

func (SubnetPtrOutput) Project added in v0.3.0

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.

func (SubnetPtrOutput) ToSubnetPtrOutput

func (o SubnetPtrOutput) ToSubnetPtrOutput() SubnetPtrOutput

func (SubnetPtrOutput) ToSubnetPtrOutputWithContext

func (o SubnetPtrOutput) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput

type SubnetResponse

type SubnetResponse struct {
	// 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}
	Name string `pulumi:"name"`
	// 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.
	Project string `pulumi:"project"`
}

The subnet in which to house the connector

type SubnetResponseOutput

type SubnetResponseOutput struct{ *pulumi.OutputState }

The subnet in which to house the connector

func (SubnetResponseOutput) ElementType

func (SubnetResponseOutput) ElementType() reflect.Type

func (SubnetResponseOutput) Name

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}

func (SubnetResponseOutput) Project added in v0.3.0

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.

func (SubnetResponseOutput) ToSubnetResponseOutput

func (o SubnetResponseOutput) ToSubnetResponseOutput() SubnetResponseOutput

func (SubnetResponseOutput) ToSubnetResponseOutputWithContext

func (o SubnetResponseOutput) ToSubnetResponseOutputWithContext(ctx context.Context) SubnetResponseOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL