networkconnectivity

package
v8.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 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 Hub

type Hub struct {
	pulumi.CustomResourceState

	// Output only. The time the hub was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// An optional description of the hub.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
	ExportPsc pulumi.BoolOutput `pulumi:"exportPsc"`
	// Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
	//
	// ***
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
	// Structure is documented below.
	RoutingVpcs HubRoutingVpcArrayOutput `pulumi:"routingVpcs"`
	// Output only. The current lifecycle state of this hub.
	State pulumi.StringOutput `pulumi:"state"`
	// Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
	UniqueId pulumi.StringOutput `pulumi:"uniqueId"`
	// Output only. The time the hub was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

The NetworkConnectivity Hub resource

To get more information about Hub, see:

* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.global.hubs) * How-to Guides

## Example Usage

### Network Connectivity Hub Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkconnectivity.NewHub(ctx, "primary", &networkconnectivity.HubArgs{
			Name:        pulumi.String("basic"),
			Description: pulumi.String("A sample hub"),
			Labels: pulumi.StringMap{
				"label-one": pulumi.String("value-one"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Hub With Export Psc

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkconnectivity.NewHub(ctx, "primary", &networkconnectivity.HubArgs{
			Name:        pulumi.String("basic"),
			Description: pulumi.String("A sample hub with Private Service Connect transitivity is enabled"),
			ExportPsc:   pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Hub can be imported using any of these accepted formats:

* `projects/{{project}}/locations/global/hubs/{{name}}`

* `{{project}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, Hub can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:networkconnectivity/hub:Hub default projects/{{project}}/locations/global/hubs/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/hub:Hub default {{project}}/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/hub:Hub default {{name}} ```

func GetHub

func GetHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HubState, opts ...pulumi.ResourceOption) (*Hub, error)

GetHub gets an existing Hub 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 NewHub

func NewHub(ctx *pulumi.Context,
	name string, args *HubArgs, opts ...pulumi.ResourceOption) (*Hub, error)

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

func (*Hub) ElementType

func (*Hub) ElementType() reflect.Type

func (*Hub) ToHubOutput

func (i *Hub) ToHubOutput() HubOutput

func (*Hub) ToHubOutputWithContext

func (i *Hub) ToHubOutputWithContext(ctx context.Context) HubOutput

type HubArgs

type HubArgs struct {
	// An optional description of the hub.
	Description pulumi.StringPtrInput
	// Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
	ExportPsc pulumi.BoolPtrInput
	// Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
	//
	// ***
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Hub resource.

func (HubArgs) ElementType

func (HubArgs) ElementType() reflect.Type

type HubArray

type HubArray []HubInput

func (HubArray) ElementType

func (HubArray) ElementType() reflect.Type

func (HubArray) ToHubArrayOutput

func (i HubArray) ToHubArrayOutput() HubArrayOutput

func (HubArray) ToHubArrayOutputWithContext

func (i HubArray) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput

type HubArrayInput

type HubArrayInput interface {
	pulumi.Input

	ToHubArrayOutput() HubArrayOutput
	ToHubArrayOutputWithContext(context.Context) HubArrayOutput
}

HubArrayInput is an input type that accepts HubArray and HubArrayOutput values. You can construct a concrete instance of `HubArrayInput` via:

HubArray{ HubArgs{...} }

type HubArrayOutput

type HubArrayOutput struct{ *pulumi.OutputState }

func (HubArrayOutput) ElementType

func (HubArrayOutput) ElementType() reflect.Type

func (HubArrayOutput) Index

func (HubArrayOutput) ToHubArrayOutput

func (o HubArrayOutput) ToHubArrayOutput() HubArrayOutput

func (HubArrayOutput) ToHubArrayOutputWithContext

func (o HubArrayOutput) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput

type HubInput

type HubInput interface {
	pulumi.Input

	ToHubOutput() HubOutput
	ToHubOutputWithContext(ctx context.Context) HubOutput
}

type HubMap

type HubMap map[string]HubInput

func (HubMap) ElementType

func (HubMap) ElementType() reflect.Type

func (HubMap) ToHubMapOutput

func (i HubMap) ToHubMapOutput() HubMapOutput

func (HubMap) ToHubMapOutputWithContext

func (i HubMap) ToHubMapOutputWithContext(ctx context.Context) HubMapOutput

type HubMapInput

type HubMapInput interface {
	pulumi.Input

	ToHubMapOutput() HubMapOutput
	ToHubMapOutputWithContext(context.Context) HubMapOutput
}

HubMapInput is an input type that accepts HubMap and HubMapOutput values. You can construct a concrete instance of `HubMapInput` via:

HubMap{ "key": HubArgs{...} }

type HubMapOutput

type HubMapOutput struct{ *pulumi.OutputState }

func (HubMapOutput) ElementType

func (HubMapOutput) ElementType() reflect.Type

func (HubMapOutput) MapIndex

func (o HubMapOutput) MapIndex(k pulumi.StringInput) HubOutput

func (HubMapOutput) ToHubMapOutput

func (o HubMapOutput) ToHubMapOutput() HubMapOutput

func (HubMapOutput) ToHubMapOutputWithContext

func (o HubMapOutput) ToHubMapOutputWithContext(ctx context.Context) HubMapOutput

type HubOutput

type HubOutput struct{ *pulumi.OutputState }

func (HubOutput) CreateTime

func (o HubOutput) CreateTime() pulumi.StringOutput

Output only. The time the hub was created.

func (HubOutput) Description

func (o HubOutput) Description() pulumi.StringPtrOutput

An optional description of the hub.

func (HubOutput) EffectiveLabels

func (o HubOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (HubOutput) ElementType

func (HubOutput) ElementType() reflect.Type

func (HubOutput) ExportPsc

func (o HubOutput) ExportPsc() pulumi.BoolOutput

Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.

func (HubOutput) Labels

func (o HubOutput) Labels() pulumi.StringMapOutput

Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (HubOutput) Name

func (o HubOutput) Name() pulumi.StringOutput

Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`

***

func (HubOutput) Project

func (o HubOutput) Project() pulumi.StringOutput

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

func (HubOutput) PulumiLabels

func (o HubOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (HubOutput) RoutingVpcs

func (o HubOutput) RoutingVpcs() HubRoutingVpcArrayOutput

The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. Structure is documented below.

func (HubOutput) State

func (o HubOutput) State() pulumi.StringOutput

Output only. The current lifecycle state of this hub.

func (HubOutput) ToHubOutput

func (o HubOutput) ToHubOutput() HubOutput

func (HubOutput) ToHubOutputWithContext

func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput

func (HubOutput) UniqueId

func (o HubOutput) UniqueId() pulumi.StringOutput

Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.

func (HubOutput) UpdateTime

func (o HubOutput) UpdateTime() pulumi.StringOutput

Output only. The time the hub was last updated.

type HubRoutingVpc

type HubRoutingVpc struct {
	// The URI of the VPC network.
	Uri *string `pulumi:"uri"`
}

type HubRoutingVpcArgs

type HubRoutingVpcArgs struct {
	// The URI of the VPC network.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (HubRoutingVpcArgs) ElementType

func (HubRoutingVpcArgs) ElementType() reflect.Type

func (HubRoutingVpcArgs) ToHubRoutingVpcOutput

func (i HubRoutingVpcArgs) ToHubRoutingVpcOutput() HubRoutingVpcOutput

func (HubRoutingVpcArgs) ToHubRoutingVpcOutputWithContext

func (i HubRoutingVpcArgs) ToHubRoutingVpcOutputWithContext(ctx context.Context) HubRoutingVpcOutput

type HubRoutingVpcArray

type HubRoutingVpcArray []HubRoutingVpcInput

func (HubRoutingVpcArray) ElementType

func (HubRoutingVpcArray) ElementType() reflect.Type

func (HubRoutingVpcArray) ToHubRoutingVpcArrayOutput

func (i HubRoutingVpcArray) ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput

func (HubRoutingVpcArray) ToHubRoutingVpcArrayOutputWithContext

func (i HubRoutingVpcArray) ToHubRoutingVpcArrayOutputWithContext(ctx context.Context) HubRoutingVpcArrayOutput

type HubRoutingVpcArrayInput

type HubRoutingVpcArrayInput interface {
	pulumi.Input

	ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput
	ToHubRoutingVpcArrayOutputWithContext(context.Context) HubRoutingVpcArrayOutput
}

HubRoutingVpcArrayInput is an input type that accepts HubRoutingVpcArray and HubRoutingVpcArrayOutput values. You can construct a concrete instance of `HubRoutingVpcArrayInput` via:

HubRoutingVpcArray{ HubRoutingVpcArgs{...} }

type HubRoutingVpcArrayOutput

type HubRoutingVpcArrayOutput struct{ *pulumi.OutputState }

func (HubRoutingVpcArrayOutput) ElementType

func (HubRoutingVpcArrayOutput) ElementType() reflect.Type

func (HubRoutingVpcArrayOutput) Index

func (HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutput

func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput

func (HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutputWithContext

func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutputWithContext(ctx context.Context) HubRoutingVpcArrayOutput

type HubRoutingVpcInput

type HubRoutingVpcInput interface {
	pulumi.Input

	ToHubRoutingVpcOutput() HubRoutingVpcOutput
	ToHubRoutingVpcOutputWithContext(context.Context) HubRoutingVpcOutput
}

HubRoutingVpcInput is an input type that accepts HubRoutingVpcArgs and HubRoutingVpcOutput values. You can construct a concrete instance of `HubRoutingVpcInput` via:

HubRoutingVpcArgs{...}

type HubRoutingVpcOutput

type HubRoutingVpcOutput struct{ *pulumi.OutputState }

func (HubRoutingVpcOutput) ElementType

func (HubRoutingVpcOutput) ElementType() reflect.Type

func (HubRoutingVpcOutput) ToHubRoutingVpcOutput

func (o HubRoutingVpcOutput) ToHubRoutingVpcOutput() HubRoutingVpcOutput

func (HubRoutingVpcOutput) ToHubRoutingVpcOutputWithContext

func (o HubRoutingVpcOutput) ToHubRoutingVpcOutputWithContext(ctx context.Context) HubRoutingVpcOutput

func (HubRoutingVpcOutput) Uri

The URI of the VPC network.

type HubState

type HubState struct {
	// Output only. The time the hub was created.
	CreateTime pulumi.StringPtrInput
	// An optional description of the hub.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
	ExportPsc pulumi.BoolPtrInput
	// Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
	//
	// ***
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
	// Structure is documented below.
	RoutingVpcs HubRoutingVpcArrayInput
	// Output only. The current lifecycle state of this hub.
	State pulumi.StringPtrInput
	// Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
	UniqueId pulumi.StringPtrInput
	// Output only. The time the hub was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (HubState) ElementType

func (HubState) ElementType() reflect.Type

type InternalRange

type InternalRange struct {
	pulumi.CustomResourceState

	// An optional description of this resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// The IP range that this internal range defines.
	IpCidrRange pulumi.StringOutput `pulumi:"ipCidrRange"`
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The name of the policy based route.
	Name pulumi.StringOutput `pulumi:"name"`
	// Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
	Network pulumi.StringOutput `pulumi:"network"`
	// Optional. Types of resources that are allowed to overlap with the current internal range.
	// Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`.
	Overlaps pulumi.StringArrayOutput `pulumi:"overlaps"`
	// The type of peering set for this internal range.
	// Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`.
	//
	// ***
	Peering pulumi.StringOutput `pulumi:"peering"`
	// An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size.
	// If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
	PrefixLength pulumi.IntPtrOutput `pulumi:"prefixLength"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Optional. Can be set to narrow down or pick a different address space while searching for a free range.
	// If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
	TargetCidrRanges pulumi.StringArrayOutput `pulumi:"targetCidrRanges"`
	// The type of usage set for this InternalRange.
	// Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
	Usage pulumi.StringOutput `pulumi:"usage"`
	// Output only. The list of resources that refer to this internal range.
	// Resources that use the internal range for their range allocation are referred to as users of the range.
	// Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
	Users pulumi.StringArrayOutput `pulumi:"users"`
}

The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.

To get more information about InternalRange, see:

* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.internalRanges) * How-to Guides

## Example Usage

### Network Connectivity Internal Ranges Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name:                  pulumi.String("internal-ranges"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{
			Name:        pulumi.String("basic"),
			Description: pulumi.String("Test internal range"),
			Network:     defaultNetwork.SelfLink,
			Usage:       pulumi.String("FOR_VPC"),
			Peering:     pulumi.String("FOR_SELF"),
			IpCidrRange: pulumi.String("10.0.0.0/24"),
			Labels: pulumi.StringMap{
				"label-a": pulumi.String("b"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Internal Ranges Automatic Reservation

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name:                  pulumi.String("internal-ranges"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{
			Name:         pulumi.String("automatic-reservation"),
			Network:      defaultNetwork.ID(),
			Usage:        pulumi.String("FOR_VPC"),
			Peering:      pulumi.String("FOR_SELF"),
			PrefixLength: pulumi.Int(24),
			TargetCidrRanges: pulumi.StringArray{
				pulumi.String("192.16.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Internal Ranges External Ranges

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name:                  pulumi.String("internal-ranges"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{
			Name:        pulumi.String("external-ranges"),
			Network:     defaultNetwork.ID(),
			Usage:       pulumi.String("EXTERNAL_TO_VPC"),
			Peering:     pulumi.String("FOR_SELF"),
			IpCidrRange: pulumi.String("172.16.0.0/24"),
			Labels: pulumi.StringMap{
				"external-reserved-range": pulumi.String("on-premises"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Internal Ranges Reserve With Overlap

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name:                  pulumi.String("internal-ranges"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{
			Name:        pulumi.String("overlapping-subnet"),
			IpCidrRange: pulumi.String("10.0.0.0/24"),
			Region:      pulumi.String("us-central1"),
			Network:     defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewInternalRange(ctx, "default", &networkconnectivity.InternalRangeArgs{
			Name:        pulumi.String("overlap-range"),
			Description: pulumi.String("Test internal range"),
			Network:     defaultNetwork.ID(),
			Usage:       pulumi.String("FOR_VPC"),
			Peering:     pulumi.String("FOR_SELF"),
			IpCidrRange: pulumi.String("10.0.0.0/30"),
			Overlaps: pulumi.StringArray{
				pulumi.String("OVERLAP_EXISTING_SUBNET_RANGE"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultSubnetwork,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

InternalRange can be imported using any of these accepted formats:

* `projects/{{project}}/locations/global/internalRanges/{{name}}`

* `{{project}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, InternalRange can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:networkconnectivity/internalRange:InternalRange default projects/{{project}}/locations/global/internalRanges/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/internalRange:InternalRange default {{project}}/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/internalRange:InternalRange default {{name}} ```

func GetInternalRange

func GetInternalRange(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InternalRangeState, opts ...pulumi.ResourceOption) (*InternalRange, error)

GetInternalRange gets an existing InternalRange 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 NewInternalRange

func NewInternalRange(ctx *pulumi.Context,
	name string, args *InternalRangeArgs, opts ...pulumi.ResourceOption) (*InternalRange, error)

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

func (*InternalRange) ElementType

func (*InternalRange) ElementType() reflect.Type

func (*InternalRange) ToInternalRangeOutput

func (i *InternalRange) ToInternalRangeOutput() InternalRangeOutput

func (*InternalRange) ToInternalRangeOutputWithContext

func (i *InternalRange) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput

type InternalRangeArgs

type InternalRangeArgs struct {
	// An optional description of this resource.
	Description pulumi.StringPtrInput
	// The IP range that this internal range defines.
	IpCidrRange pulumi.StringPtrInput
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The name of the policy based route.
	Name pulumi.StringPtrInput
	// Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
	Network pulumi.StringInput
	// Optional. Types of resources that are allowed to overlap with the current internal range.
	// Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`.
	Overlaps pulumi.StringArrayInput
	// The type of peering set for this internal range.
	// Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`.
	//
	// ***
	Peering pulumi.StringInput
	// An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size.
	// If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
	PrefixLength pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Optional. Can be set to narrow down or pick a different address space while searching for a free range.
	// If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
	TargetCidrRanges pulumi.StringArrayInput
	// The type of usage set for this InternalRange.
	// Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
	Usage pulumi.StringInput
}

The set of arguments for constructing a InternalRange resource.

func (InternalRangeArgs) ElementType

func (InternalRangeArgs) ElementType() reflect.Type

type InternalRangeArray

type InternalRangeArray []InternalRangeInput

func (InternalRangeArray) ElementType

func (InternalRangeArray) ElementType() reflect.Type

func (InternalRangeArray) ToInternalRangeArrayOutput

func (i InternalRangeArray) ToInternalRangeArrayOutput() InternalRangeArrayOutput

func (InternalRangeArray) ToInternalRangeArrayOutputWithContext

func (i InternalRangeArray) ToInternalRangeArrayOutputWithContext(ctx context.Context) InternalRangeArrayOutput

type InternalRangeArrayInput

type InternalRangeArrayInput interface {
	pulumi.Input

	ToInternalRangeArrayOutput() InternalRangeArrayOutput
	ToInternalRangeArrayOutputWithContext(context.Context) InternalRangeArrayOutput
}

InternalRangeArrayInput is an input type that accepts InternalRangeArray and InternalRangeArrayOutput values. You can construct a concrete instance of `InternalRangeArrayInput` via:

InternalRangeArray{ InternalRangeArgs{...} }

type InternalRangeArrayOutput

type InternalRangeArrayOutput struct{ *pulumi.OutputState }

func (InternalRangeArrayOutput) ElementType

func (InternalRangeArrayOutput) ElementType() reflect.Type

func (InternalRangeArrayOutput) Index

func (InternalRangeArrayOutput) ToInternalRangeArrayOutput

func (o InternalRangeArrayOutput) ToInternalRangeArrayOutput() InternalRangeArrayOutput

func (InternalRangeArrayOutput) ToInternalRangeArrayOutputWithContext

func (o InternalRangeArrayOutput) ToInternalRangeArrayOutputWithContext(ctx context.Context) InternalRangeArrayOutput

type InternalRangeInput

type InternalRangeInput interface {
	pulumi.Input

	ToInternalRangeOutput() InternalRangeOutput
	ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
}

type InternalRangeMap

type InternalRangeMap map[string]InternalRangeInput

func (InternalRangeMap) ElementType

func (InternalRangeMap) ElementType() reflect.Type

func (InternalRangeMap) ToInternalRangeMapOutput

func (i InternalRangeMap) ToInternalRangeMapOutput() InternalRangeMapOutput

func (InternalRangeMap) ToInternalRangeMapOutputWithContext

func (i InternalRangeMap) ToInternalRangeMapOutputWithContext(ctx context.Context) InternalRangeMapOutput

type InternalRangeMapInput

type InternalRangeMapInput interface {
	pulumi.Input

	ToInternalRangeMapOutput() InternalRangeMapOutput
	ToInternalRangeMapOutputWithContext(context.Context) InternalRangeMapOutput
}

InternalRangeMapInput is an input type that accepts InternalRangeMap and InternalRangeMapOutput values. You can construct a concrete instance of `InternalRangeMapInput` via:

InternalRangeMap{ "key": InternalRangeArgs{...} }

type InternalRangeMapOutput

type InternalRangeMapOutput struct{ *pulumi.OutputState }

func (InternalRangeMapOutput) ElementType

func (InternalRangeMapOutput) ElementType() reflect.Type

func (InternalRangeMapOutput) MapIndex

func (InternalRangeMapOutput) ToInternalRangeMapOutput

func (o InternalRangeMapOutput) ToInternalRangeMapOutput() InternalRangeMapOutput

func (InternalRangeMapOutput) ToInternalRangeMapOutputWithContext

func (o InternalRangeMapOutput) ToInternalRangeMapOutputWithContext(ctx context.Context) InternalRangeMapOutput

type InternalRangeOutput

type InternalRangeOutput struct{ *pulumi.OutputState }

func (InternalRangeOutput) Description

func (o InternalRangeOutput) Description() pulumi.StringPtrOutput

An optional description of this resource.

func (InternalRangeOutput) EffectiveLabels

func (o InternalRangeOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (InternalRangeOutput) ElementType

func (InternalRangeOutput) ElementType() reflect.Type

func (InternalRangeOutput) IpCidrRange

func (o InternalRangeOutput) IpCidrRange() pulumi.StringOutput

The IP range that this internal range defines.

func (InternalRangeOutput) Labels

User-defined labels.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (InternalRangeOutput) Name

The name of the policy based route.

func (InternalRangeOutput) Network

Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.

func (InternalRangeOutput) Overlaps

Optional. Types of resources that are allowed to overlap with the current internal range. Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`.

func (InternalRangeOutput) Peering

The type of peering set for this internal range. Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`.

***

func (InternalRangeOutput) PrefixLength

func (o InternalRangeOutput) PrefixLength() pulumi.IntPtrOutput

An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.

func (InternalRangeOutput) Project

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

func (InternalRangeOutput) PulumiLabels

func (o InternalRangeOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (InternalRangeOutput) TargetCidrRanges

func (o InternalRangeOutput) TargetCidrRanges() pulumi.StringArrayOutput

Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.

func (InternalRangeOutput) ToInternalRangeOutput

func (o InternalRangeOutput) ToInternalRangeOutput() InternalRangeOutput

func (InternalRangeOutput) ToInternalRangeOutputWithContext

func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput

func (InternalRangeOutput) Usage

The type of usage set for this InternalRange. Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.

func (InternalRangeOutput) Users

Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.

type InternalRangeState

type InternalRangeState struct {
	// An optional description of this resource.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// The IP range that this internal range defines.
	IpCidrRange pulumi.StringPtrInput
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The name of the policy based route.
	Name pulumi.StringPtrInput
	// Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
	Network pulumi.StringPtrInput
	// Optional. Types of resources that are allowed to overlap with the current internal range.
	// Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`.
	Overlaps pulumi.StringArrayInput
	// The type of peering set for this internal range.
	// Possible values are: `FOR_SELF`, `FOR_PEER`, `NOT_SHARED`.
	//
	// ***
	Peering pulumi.StringPtrInput
	// An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size.
	// If both ipCidrRange and prefixLength are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
	PrefixLength pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Optional. Can be set to narrow down or pick a different address space while searching for a free range.
	// If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
	TargetCidrRanges pulumi.StringArrayInput
	// The type of usage set for this InternalRange.
	// Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
	Usage pulumi.StringPtrInput
	// Output only. The list of resources that refer to this internal range.
	// Resources that use the internal range for their range allocation are referred to as users of the range.
	// Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
	Users pulumi.StringArrayInput
}

func (InternalRangeState) ElementType

func (InternalRangeState) ElementType() reflect.Type

type PolicyBasedRoute

type PolicyBasedRoute struct {
	pulumi.CustomResourceState

	// Time when the policy-based route was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// An optional description of this resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// The filter to match L4 traffic.
	// Structure is documented below.
	Filter PolicyBasedRouteFilterOutput `pulumi:"filter"`
	// The interconnect attachments that this policy-based route applies to.
	InterconnectAttachment PolicyBasedRouteInterconnectAttachmentPtrOutput `pulumi:"interconnectAttachment"`
	// Type of this resource.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your
	// configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The name of the policy based route.
	Name pulumi.StringOutput `pulumi:"name"`
	// Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
	Network pulumi.StringOutput `pulumi:"network"`
	// The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
	NextHopIlbIp pulumi.StringPtrOutput `pulumi:"nextHopIlbIp"`
	// Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"]
	NextHopOtherRoutes pulumi.StringPtrOutput `pulumi:"nextHopOtherRoutes"`
	// The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching
	// policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered
	// priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	Project  pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Time when the policy-based route was created.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// VM instances to which this policy-based route applies to.
	VirtualMachine PolicyBasedRouteVirtualMachinePtrOutput `pulumi:"virtualMachine"`
	// If potential misconfigurations are detected for this route, this field will be populated with warning messages.
	// Structure is documented below.
	Warnings PolicyBasedRouteWarningArrayOutput `pulumi:"warnings"`
}

Policy-based Routes are more powerful routes that route L4 network traffic based on not just destination IP, but also source IP, protocol and more. A Policy-based Route always take precedence when it conflicts with other types of routes.

To get more information about PolicyBasedRoute, see:

* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.global.policyBasedRoutes) * How-to Guides

## Example Usage

### Network Connectivity Policy Based Route Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewPolicyBasedRoute(ctx, "default", &networkconnectivity.PolicyBasedRouteArgs{
			Name:    pulumi.String("my-pbr"),
			Network: myNetwork.ID(),
			Filter: &networkconnectivity.PolicyBasedRouteFilterArgs{
				ProtocolVersion: pulumi.String("IPV4"),
			},
			NextHopOtherRoutes: pulumi.String("DEFAULT_ROUTING"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Policy Based Route Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		// This example substitutes an arbitrary internal IP for an internal network
		// load balancer for brevity. Consult https://cloud.google.com/load-balancing/docs/internal
		// to set one up.
		ilb, err := compute.NewGlobalAddress(ctx, "ilb", &compute.GlobalAddressArgs{
			Name: pulumi.String("my-ilb"),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewPolicyBasedRoute(ctx, "default", &networkconnectivity.PolicyBasedRouteArgs{
			Name:        pulumi.String("my-pbr"),
			Description: pulumi.String("My routing policy"),
			Network:     myNetwork.ID(),
			Priority:    pulumi.Int(2302),
			Filter: &networkconnectivity.PolicyBasedRouteFilterArgs{
				ProtocolVersion: pulumi.String("IPV4"),
				IpProtocol:      pulumi.String("UDP"),
				SrcRange:        pulumi.String("10.0.0.0/24"),
				DestRange:       pulumi.String("0.0.0.0/0"),
			},
			NextHopIlbIp: ilb.Address,
			VirtualMachine: &networkconnectivity.PolicyBasedRouteVirtualMachineArgs{
				Tags: pulumi.StringArray{
					pulumi.String("restricted"),
				},
			},
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

PolicyBasedRoute can be imported using any of these accepted formats:

* `projects/{{project}}/locations/global/policyBasedRoutes/{{name}}`

* `{{project}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, PolicyBasedRoute can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default projects/{{project}}/locations/global/policyBasedRoutes/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{project}}/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{name}} ```

func GetPolicyBasedRoute

func GetPolicyBasedRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyBasedRouteState, opts ...pulumi.ResourceOption) (*PolicyBasedRoute, error)

GetPolicyBasedRoute gets an existing PolicyBasedRoute 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 NewPolicyBasedRoute

func NewPolicyBasedRoute(ctx *pulumi.Context,
	name string, args *PolicyBasedRouteArgs, opts ...pulumi.ResourceOption) (*PolicyBasedRoute, error)

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

func (*PolicyBasedRoute) ElementType

func (*PolicyBasedRoute) ElementType() reflect.Type

func (*PolicyBasedRoute) ToPolicyBasedRouteOutput

func (i *PolicyBasedRoute) ToPolicyBasedRouteOutput() PolicyBasedRouteOutput

func (*PolicyBasedRoute) ToPolicyBasedRouteOutputWithContext

func (i *PolicyBasedRoute) ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput

type PolicyBasedRouteArgs

type PolicyBasedRouteArgs struct {
	// An optional description of this resource.
	Description pulumi.StringPtrInput
	// The filter to match L4 traffic.
	// Structure is documented below.
	Filter PolicyBasedRouteFilterInput
	// The interconnect attachments that this policy-based route applies to.
	InterconnectAttachment PolicyBasedRouteInterconnectAttachmentPtrInput
	// User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your
	// configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The name of the policy based route.
	Name pulumi.StringPtrInput
	// Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
	Network pulumi.StringInput
	// The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
	NextHopIlbIp pulumi.StringPtrInput
	// Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"]
	NextHopOtherRoutes pulumi.StringPtrInput
	// The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching
	// policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered
	// priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
	Priority pulumi.IntPtrInput
	Project  pulumi.StringPtrInput
	// VM instances to which this policy-based route applies to.
	VirtualMachine PolicyBasedRouteVirtualMachinePtrInput
}

The set of arguments for constructing a PolicyBasedRoute resource.

func (PolicyBasedRouteArgs) ElementType

func (PolicyBasedRouteArgs) ElementType() reflect.Type

type PolicyBasedRouteArray

type PolicyBasedRouteArray []PolicyBasedRouteInput

func (PolicyBasedRouteArray) ElementType

func (PolicyBasedRouteArray) ElementType() reflect.Type

func (PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutput

func (i PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput

func (PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutputWithContext

func (i PolicyBasedRouteArray) ToPolicyBasedRouteArrayOutputWithContext(ctx context.Context) PolicyBasedRouteArrayOutput

type PolicyBasedRouteArrayInput

type PolicyBasedRouteArrayInput interface {
	pulumi.Input

	ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput
	ToPolicyBasedRouteArrayOutputWithContext(context.Context) PolicyBasedRouteArrayOutput
}

PolicyBasedRouteArrayInput is an input type that accepts PolicyBasedRouteArray and PolicyBasedRouteArrayOutput values. You can construct a concrete instance of `PolicyBasedRouteArrayInput` via:

PolicyBasedRouteArray{ PolicyBasedRouteArgs{...} }

type PolicyBasedRouteArrayOutput

type PolicyBasedRouteArrayOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteArrayOutput) ElementType

func (PolicyBasedRouteArrayOutput) Index

func (PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutput

func (o PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutput() PolicyBasedRouteArrayOutput

func (PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutputWithContext

func (o PolicyBasedRouteArrayOutput) ToPolicyBasedRouteArrayOutputWithContext(ctx context.Context) PolicyBasedRouteArrayOutput

type PolicyBasedRouteFilter

type PolicyBasedRouteFilter struct {
	// The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
	//
	// ***
	DestRange *string `pulumi:"destRange"`
	// The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
	IpProtocol *string `pulumi:"ipProtocol"`
	// Internet protocol versions this policy-based route applies to.
	// Possible values are: `IPV4`.
	ProtocolVersion string `pulumi:"protocolVersion"`
	// The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
	SrcRange *string `pulumi:"srcRange"`
}

type PolicyBasedRouteFilterArgs

type PolicyBasedRouteFilterArgs struct {
	// The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
	//
	// ***
	DestRange pulumi.StringPtrInput `pulumi:"destRange"`
	// The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
	IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"`
	// Internet protocol versions this policy-based route applies to.
	// Possible values are: `IPV4`.
	ProtocolVersion pulumi.StringInput `pulumi:"protocolVersion"`
	// The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
	SrcRange pulumi.StringPtrInput `pulumi:"srcRange"`
}

func (PolicyBasedRouteFilterArgs) ElementType

func (PolicyBasedRouteFilterArgs) ElementType() reflect.Type

func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutput

func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput

func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutputWithContext

func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterOutputWithContext(ctx context.Context) PolicyBasedRouteFilterOutput

func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutput

func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput

func (PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutputWithContext

func (i PolicyBasedRouteFilterArgs) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput

type PolicyBasedRouteFilterInput

type PolicyBasedRouteFilterInput interface {
	pulumi.Input

	ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput
	ToPolicyBasedRouteFilterOutputWithContext(context.Context) PolicyBasedRouteFilterOutput
}

PolicyBasedRouteFilterInput is an input type that accepts PolicyBasedRouteFilterArgs and PolicyBasedRouteFilterOutput values. You can construct a concrete instance of `PolicyBasedRouteFilterInput` via:

PolicyBasedRouteFilterArgs{...}

type PolicyBasedRouteFilterOutput

type PolicyBasedRouteFilterOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteFilterOutput) DestRange

The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

***

func (PolicyBasedRouteFilterOutput) ElementType

func (PolicyBasedRouteFilterOutput) IpProtocol

The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.

func (PolicyBasedRouteFilterOutput) ProtocolVersion

func (o PolicyBasedRouteFilterOutput) ProtocolVersion() pulumi.StringOutput

Internet protocol versions this policy-based route applies to. Possible values are: `IPV4`.

func (PolicyBasedRouteFilterOutput) SrcRange

The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutput

func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutput() PolicyBasedRouteFilterOutput

func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutputWithContext

func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterOutputWithContext(ctx context.Context) PolicyBasedRouteFilterOutput

func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutput

func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput

func (PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutputWithContext

func (o PolicyBasedRouteFilterOutput) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput

type PolicyBasedRouteFilterPtrInput

type PolicyBasedRouteFilterPtrInput interface {
	pulumi.Input

	ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput
	ToPolicyBasedRouteFilterPtrOutputWithContext(context.Context) PolicyBasedRouteFilterPtrOutput
}

PolicyBasedRouteFilterPtrInput is an input type that accepts PolicyBasedRouteFilterArgs, PolicyBasedRouteFilterPtr and PolicyBasedRouteFilterPtrOutput values. You can construct a concrete instance of `PolicyBasedRouteFilterPtrInput` via:

        PolicyBasedRouteFilterArgs{...}

or:

        nil

type PolicyBasedRouteFilterPtrOutput

type PolicyBasedRouteFilterPtrOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteFilterPtrOutput) DestRange

The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

***

func (PolicyBasedRouteFilterPtrOutput) Elem

func (PolicyBasedRouteFilterPtrOutput) ElementType

func (PolicyBasedRouteFilterPtrOutput) IpProtocol

The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.

func (PolicyBasedRouteFilterPtrOutput) ProtocolVersion

Internet protocol versions this policy-based route applies to. Possible values are: `IPV4`.

func (PolicyBasedRouteFilterPtrOutput) SrcRange

The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

func (PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutput

func (o PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutput() PolicyBasedRouteFilterPtrOutput

func (PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutputWithContext

func (o PolicyBasedRouteFilterPtrOutput) ToPolicyBasedRouteFilterPtrOutputWithContext(ctx context.Context) PolicyBasedRouteFilterPtrOutput

type PolicyBasedRouteInput

type PolicyBasedRouteInput interface {
	pulumi.Input

	ToPolicyBasedRouteOutput() PolicyBasedRouteOutput
	ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput
}

type PolicyBasedRouteInterconnectAttachment

type PolicyBasedRouteInterconnectAttachment struct {
	// Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments.
	Region string `pulumi:"region"`
}

type PolicyBasedRouteInterconnectAttachmentArgs

type PolicyBasedRouteInterconnectAttachmentArgs struct {
	// Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments.
	Region pulumi.StringInput `pulumi:"region"`
}

func (PolicyBasedRouteInterconnectAttachmentArgs) ElementType

func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutput

func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput

func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext

func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentOutput

func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutput

func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput

func (PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext

func (i PolicyBasedRouteInterconnectAttachmentArgs) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput

type PolicyBasedRouteInterconnectAttachmentInput

type PolicyBasedRouteInterconnectAttachmentInput interface {
	pulumi.Input

	ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput
	ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(context.Context) PolicyBasedRouteInterconnectAttachmentOutput
}

PolicyBasedRouteInterconnectAttachmentInput is an input type that accepts PolicyBasedRouteInterconnectAttachmentArgs and PolicyBasedRouteInterconnectAttachmentOutput values. You can construct a concrete instance of `PolicyBasedRouteInterconnectAttachmentInput` via:

PolicyBasedRouteInterconnectAttachmentArgs{...}

type PolicyBasedRouteInterconnectAttachmentOutput

type PolicyBasedRouteInterconnectAttachmentOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteInterconnectAttachmentOutput) ElementType

func (PolicyBasedRouteInterconnectAttachmentOutput) Region

Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments.

func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutput

func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutput() PolicyBasedRouteInterconnectAttachmentOutput

func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext

func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentOutput

func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput

func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput

func (PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext

func (o PolicyBasedRouteInterconnectAttachmentOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput

type PolicyBasedRouteInterconnectAttachmentPtrInput

type PolicyBasedRouteInterconnectAttachmentPtrInput interface {
	pulumi.Input

	ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput
	ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput
}

PolicyBasedRouteInterconnectAttachmentPtrInput is an input type that accepts PolicyBasedRouteInterconnectAttachmentArgs, PolicyBasedRouteInterconnectAttachmentPtr and PolicyBasedRouteInterconnectAttachmentPtrOutput values. You can construct a concrete instance of `PolicyBasedRouteInterconnectAttachmentPtrInput` via:

        PolicyBasedRouteInterconnectAttachmentArgs{...}

or:

        nil

type PolicyBasedRouteInterconnectAttachmentPtrOutput

type PolicyBasedRouteInterconnectAttachmentPtrOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteInterconnectAttachmentPtrOutput) Elem

func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ElementType

func (PolicyBasedRouteInterconnectAttachmentPtrOutput) Region

Cloud region to install this policy-based route on for Interconnect attachments. Use `all` to install it on all Interconnect attachments.

func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput

func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutput() PolicyBasedRouteInterconnectAttachmentPtrOutput

func (PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext

func (o PolicyBasedRouteInterconnectAttachmentPtrOutput) ToPolicyBasedRouteInterconnectAttachmentPtrOutputWithContext(ctx context.Context) PolicyBasedRouteInterconnectAttachmentPtrOutput

type PolicyBasedRouteMap

type PolicyBasedRouteMap map[string]PolicyBasedRouteInput

func (PolicyBasedRouteMap) ElementType

func (PolicyBasedRouteMap) ElementType() reflect.Type

func (PolicyBasedRouteMap) ToPolicyBasedRouteMapOutput

func (i PolicyBasedRouteMap) ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput

func (PolicyBasedRouteMap) ToPolicyBasedRouteMapOutputWithContext

func (i PolicyBasedRouteMap) ToPolicyBasedRouteMapOutputWithContext(ctx context.Context) PolicyBasedRouteMapOutput

type PolicyBasedRouteMapInput

type PolicyBasedRouteMapInput interface {
	pulumi.Input

	ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput
	ToPolicyBasedRouteMapOutputWithContext(context.Context) PolicyBasedRouteMapOutput
}

PolicyBasedRouteMapInput is an input type that accepts PolicyBasedRouteMap and PolicyBasedRouteMapOutput values. You can construct a concrete instance of `PolicyBasedRouteMapInput` via:

PolicyBasedRouteMap{ "key": PolicyBasedRouteArgs{...} }

type PolicyBasedRouteMapOutput

type PolicyBasedRouteMapOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteMapOutput) ElementType

func (PolicyBasedRouteMapOutput) ElementType() reflect.Type

func (PolicyBasedRouteMapOutput) MapIndex

func (PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutput

func (o PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutput() PolicyBasedRouteMapOutput

func (PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutputWithContext

func (o PolicyBasedRouteMapOutput) ToPolicyBasedRouteMapOutputWithContext(ctx context.Context) PolicyBasedRouteMapOutput

type PolicyBasedRouteOutput

type PolicyBasedRouteOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteOutput) CreateTime

Time when the policy-based route was created.

func (PolicyBasedRouteOutput) Description

An optional description of this resource.

func (PolicyBasedRouteOutput) EffectiveLabels

func (o PolicyBasedRouteOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (PolicyBasedRouteOutput) ElementType

func (PolicyBasedRouteOutput) ElementType() reflect.Type

func (PolicyBasedRouteOutput) Filter

The filter to match L4 traffic. Structure is documented below.

func (PolicyBasedRouteOutput) InterconnectAttachment

The interconnect attachments that this policy-based route applies to.

func (PolicyBasedRouteOutput) Kind

Type of this resource.

func (PolicyBasedRouteOutput) Labels

User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

func (PolicyBasedRouteOutput) Name

The name of the policy based route.

func (PolicyBasedRouteOutput) Network

Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.

func (PolicyBasedRouteOutput) NextHopIlbIp

The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.

func (PolicyBasedRouteOutput) NextHopOtherRoutes

func (o PolicyBasedRouteOutput) NextHopOtherRoutes() pulumi.StringPtrOutput

Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"]

func (PolicyBasedRouteOutput) Priority

The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.

func (PolicyBasedRouteOutput) Project

func (PolicyBasedRouteOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (PolicyBasedRouteOutput) ToPolicyBasedRouteOutput

func (o PolicyBasedRouteOutput) ToPolicyBasedRouteOutput() PolicyBasedRouteOutput

func (PolicyBasedRouteOutput) ToPolicyBasedRouteOutputWithContext

func (o PolicyBasedRouteOutput) ToPolicyBasedRouteOutputWithContext(ctx context.Context) PolicyBasedRouteOutput

func (PolicyBasedRouteOutput) UpdateTime

Time when the policy-based route was created.

func (PolicyBasedRouteOutput) VirtualMachine

VM instances to which this policy-based route applies to.

func (PolicyBasedRouteOutput) Warnings

If potential misconfigurations are detected for this route, this field will be populated with warning messages. Structure is documented below.

type PolicyBasedRouteState

type PolicyBasedRouteState struct {
	// Time when the policy-based route was created.
	CreateTime pulumi.StringPtrInput
	// An optional description of this resource.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// The filter to match L4 traffic.
	// Structure is documented below.
	Filter PolicyBasedRouteFilterPtrInput
	// The interconnect attachments that this policy-based route applies to.
	InterconnectAttachment PolicyBasedRouteInterconnectAttachmentPtrInput
	// Type of this resource.
	Kind pulumi.StringPtrInput
	// User-defined labels. **Note**: This field is non-authoritative, and will only manage the labels present in your
	// configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The name of the policy based route.
	Name pulumi.StringPtrInput
	// Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
	Network pulumi.StringPtrInput
	// The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
	NextHopIlbIp pulumi.StringPtrInput
	// Other routes that will be referenced to determine the next hop of the packet. Possible values: ["DEFAULT_ROUTING"]
	NextHopOtherRoutes pulumi.StringPtrInput
	// The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching
	// policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered
	// priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
	Priority pulumi.IntPtrInput
	Project  pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Time when the policy-based route was created.
	UpdateTime pulumi.StringPtrInput
	// VM instances to which this policy-based route applies to.
	VirtualMachine PolicyBasedRouteVirtualMachinePtrInput
	// If potential misconfigurations are detected for this route, this field will be populated with warning messages.
	// Structure is documented below.
	Warnings PolicyBasedRouteWarningArrayInput
}

func (PolicyBasedRouteState) ElementType

func (PolicyBasedRouteState) ElementType() reflect.Type

type PolicyBasedRouteVirtualMachine

type PolicyBasedRouteVirtualMachine struct {
	// A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
	Tags []string `pulumi:"tags"`
}

type PolicyBasedRouteVirtualMachineArgs

type PolicyBasedRouteVirtualMachineArgs struct {
	// A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (PolicyBasedRouteVirtualMachineArgs) ElementType

func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutput

func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput

func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutputWithContext

func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachineOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachineOutput

func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutput

func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput

func (PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext

func (i PolicyBasedRouteVirtualMachineArgs) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput

type PolicyBasedRouteVirtualMachineInput

type PolicyBasedRouteVirtualMachineInput interface {
	pulumi.Input

	ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput
	ToPolicyBasedRouteVirtualMachineOutputWithContext(context.Context) PolicyBasedRouteVirtualMachineOutput
}

PolicyBasedRouteVirtualMachineInput is an input type that accepts PolicyBasedRouteVirtualMachineArgs and PolicyBasedRouteVirtualMachineOutput values. You can construct a concrete instance of `PolicyBasedRouteVirtualMachineInput` via:

PolicyBasedRouteVirtualMachineArgs{...}

type PolicyBasedRouteVirtualMachineOutput

type PolicyBasedRouteVirtualMachineOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteVirtualMachineOutput) ElementType

func (PolicyBasedRouteVirtualMachineOutput) Tags

A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.

func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutput

func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutput() PolicyBasedRouteVirtualMachineOutput

func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutputWithContext

func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachineOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachineOutput

func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutput

func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput

func (PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext

func (o PolicyBasedRouteVirtualMachineOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput

type PolicyBasedRouteVirtualMachinePtrInput

type PolicyBasedRouteVirtualMachinePtrInput interface {
	pulumi.Input

	ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput
	ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(context.Context) PolicyBasedRouteVirtualMachinePtrOutput
}

PolicyBasedRouteVirtualMachinePtrInput is an input type that accepts PolicyBasedRouteVirtualMachineArgs, PolicyBasedRouteVirtualMachinePtr and PolicyBasedRouteVirtualMachinePtrOutput values. You can construct a concrete instance of `PolicyBasedRouteVirtualMachinePtrInput` via:

        PolicyBasedRouteVirtualMachineArgs{...}

or:

        nil

type PolicyBasedRouteVirtualMachinePtrOutput

type PolicyBasedRouteVirtualMachinePtrOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteVirtualMachinePtrOutput) Elem

func (PolicyBasedRouteVirtualMachinePtrOutput) ElementType

func (PolicyBasedRouteVirtualMachinePtrOutput) Tags

A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.

func (PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutput

func (o PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutput() PolicyBasedRouteVirtualMachinePtrOutput

func (PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext

func (o PolicyBasedRouteVirtualMachinePtrOutput) ToPolicyBasedRouteVirtualMachinePtrOutputWithContext(ctx context.Context) PolicyBasedRouteVirtualMachinePtrOutput

type PolicyBasedRouteWarning

type PolicyBasedRouteWarning struct {
	// (Output)
	// A warning code, if applicable.
	Code *string `pulumi:"code"`
	// (Output)
	// Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
	Data map[string]string `pulumi:"data"`
	// (Output)
	// A human-readable description of the warning code.
	WarningMessage *string `pulumi:"warningMessage"`
}

type PolicyBasedRouteWarningArgs

type PolicyBasedRouteWarningArgs struct {
	// (Output)
	// A warning code, if applicable.
	Code pulumi.StringPtrInput `pulumi:"code"`
	// (Output)
	// Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
	Data pulumi.StringMapInput `pulumi:"data"`
	// (Output)
	// A human-readable description of the warning code.
	WarningMessage pulumi.StringPtrInput `pulumi:"warningMessage"`
}

func (PolicyBasedRouteWarningArgs) ElementType

func (PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutput

func (i PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput

func (PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutputWithContext

func (i PolicyBasedRouteWarningArgs) ToPolicyBasedRouteWarningOutputWithContext(ctx context.Context) PolicyBasedRouteWarningOutput

type PolicyBasedRouteWarningArray

type PolicyBasedRouteWarningArray []PolicyBasedRouteWarningInput

func (PolicyBasedRouteWarningArray) ElementType

func (PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutput

func (i PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput

func (PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutputWithContext

func (i PolicyBasedRouteWarningArray) ToPolicyBasedRouteWarningArrayOutputWithContext(ctx context.Context) PolicyBasedRouteWarningArrayOutput

type PolicyBasedRouteWarningArrayInput

type PolicyBasedRouteWarningArrayInput interface {
	pulumi.Input

	ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput
	ToPolicyBasedRouteWarningArrayOutputWithContext(context.Context) PolicyBasedRouteWarningArrayOutput
}

PolicyBasedRouteWarningArrayInput is an input type that accepts PolicyBasedRouteWarningArray and PolicyBasedRouteWarningArrayOutput values. You can construct a concrete instance of `PolicyBasedRouteWarningArrayInput` via:

PolicyBasedRouteWarningArray{ PolicyBasedRouteWarningArgs{...} }

type PolicyBasedRouteWarningArrayOutput

type PolicyBasedRouteWarningArrayOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteWarningArrayOutput) ElementType

func (PolicyBasedRouteWarningArrayOutput) Index

func (PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutput

func (o PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutput() PolicyBasedRouteWarningArrayOutput

func (PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutputWithContext

func (o PolicyBasedRouteWarningArrayOutput) ToPolicyBasedRouteWarningArrayOutputWithContext(ctx context.Context) PolicyBasedRouteWarningArrayOutput

type PolicyBasedRouteWarningInput

type PolicyBasedRouteWarningInput interface {
	pulumi.Input

	ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput
	ToPolicyBasedRouteWarningOutputWithContext(context.Context) PolicyBasedRouteWarningOutput
}

PolicyBasedRouteWarningInput is an input type that accepts PolicyBasedRouteWarningArgs and PolicyBasedRouteWarningOutput values. You can construct a concrete instance of `PolicyBasedRouteWarningInput` via:

PolicyBasedRouteWarningArgs{...}

type PolicyBasedRouteWarningOutput

type PolicyBasedRouteWarningOutput struct{ *pulumi.OutputState }

func (PolicyBasedRouteWarningOutput) Code

(Output) A warning code, if applicable.

func (PolicyBasedRouteWarningOutput) Data

(Output) Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.

func (PolicyBasedRouteWarningOutput) ElementType

func (PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutput

func (o PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutput() PolicyBasedRouteWarningOutput

func (PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutputWithContext

func (o PolicyBasedRouteWarningOutput) ToPolicyBasedRouteWarningOutputWithContext(ctx context.Context) PolicyBasedRouteWarningOutput

func (PolicyBasedRouteWarningOutput) WarningMessage

(Output) A human-readable description of the warning code.

type RegionalEndpoint

type RegionalEndpoint struct {
	pulumi.CustomResourceState

	// The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access.
	// Possible values are: `GLOBAL`, `REGIONAL`.
	AccessType pulumi.StringOutput `pulumi:"accessType"`
	// The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}`
	// > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork.
	Address pulumi.StringOutput `pulumi:"address"`
	// Time when the RegionalEndpoint was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A description of this resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The location of the RegionalEndpoint.
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the RegionalEndpoint.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`
	Network pulumi.StringOutput `pulumi:"network"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}`
	PscForwardingRule pulumi.StringOutput `pulumi:"pscForwardingRule"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`
	Subnetwork pulumi.StringOutput `pulumi:"subnetwork"`
	// The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\".
	TargetGoogleApi pulumi.StringOutput `pulumi:"targetGoogleApi"`
	// Time when the RegionalEndpoint was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Regional Private Service Connect (PSC) endpoint resource.

To get more information about RegionalEndpoint, see:

* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.regionalEndpoints) * How-to Guides

## Example Usage

### Network Connectivity Regional Endpoint Regional Access

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		mySubnetwork, err := compute.NewSubnetwork(ctx, "my_subnetwork", &compute.SubnetworkArgs{
			Name:        pulumi.String("my-subnetwork"),
			IpCidrRange: pulumi.String("192.168.0.0/24"),
			Region:      pulumi.String("us-central1"),
			Network:     myNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewRegionalEndpoint(ctx, "default", &networkconnectivity.RegionalEndpointArgs{
			Name:            pulumi.String("my-rep"),
			Location:        pulumi.String("us-central1"),
			TargetGoogleApi: pulumi.String("storage.us-central1.p.rep.googleapis.com"),
			AccessType:      pulumi.String("REGIONAL"),
			Address:         pulumi.String("192.168.0.5"),
			Network:         myNetwork.ID(),
			Subnetwork:      mySubnetwork.ID(),
			Description:     pulumi.String("My RegionalEndpoint targeting Google API storage.us-central1.p.rep.googleapis.com"),
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Regional Endpoint Global Access

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		mySubnetwork, err := compute.NewSubnetwork(ctx, "my_subnetwork", &compute.SubnetworkArgs{
			Name:        pulumi.String("my-subnetwork"),
			IpCidrRange: pulumi.String("192.168.0.0/24"),
			Region:      pulumi.String("us-central1"),
			Network:     myNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewRegionalEndpoint(ctx, "default", &networkconnectivity.RegionalEndpointArgs{
			Name:            pulumi.String("my-rep"),
			Location:        pulumi.String("us-central1"),
			TargetGoogleApi: pulumi.String("storage.us-central1.p.rep.googleapis.com"),
			AccessType:      pulumi.String("GLOBAL"),
			Address:         pulumi.String("192.168.0.4"),
			Network:         myNetwork.ID(),
			Subnetwork:      mySubnetwork.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RegionalEndpoint can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/regionalEndpoints/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, RegionalEndpoint can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:networkconnectivity/regionalEndpoint:RegionalEndpoint default projects/{{project}}/locations/{{location}}/regionalEndpoints/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/regionalEndpoint:RegionalEndpoint default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/regionalEndpoint:RegionalEndpoint default {{location}}/{{name}} ```

func GetRegionalEndpoint

func GetRegionalEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegionalEndpointState, opts ...pulumi.ResourceOption) (*RegionalEndpoint, error)

GetRegionalEndpoint gets an existing RegionalEndpoint 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 NewRegionalEndpoint

func NewRegionalEndpoint(ctx *pulumi.Context,
	name string, args *RegionalEndpointArgs, opts ...pulumi.ResourceOption) (*RegionalEndpoint, error)

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

func (*RegionalEndpoint) ElementType

func (*RegionalEndpoint) ElementType() reflect.Type

func (*RegionalEndpoint) ToRegionalEndpointOutput

func (i *RegionalEndpoint) ToRegionalEndpointOutput() RegionalEndpointOutput

func (*RegionalEndpoint) ToRegionalEndpointOutputWithContext

func (i *RegionalEndpoint) ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput

type RegionalEndpointArgs

type RegionalEndpointArgs struct {
	// The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access.
	// Possible values are: `GLOBAL`, `REGIONAL`.
	AccessType pulumi.StringInput
	// The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}`
	// > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork.
	Address pulumi.StringPtrInput
	// A description of this resource.
	Description pulumi.StringPtrInput
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location of the RegionalEndpoint.
	//
	// ***
	Location pulumi.StringInput
	// The name of the RegionalEndpoint.
	Name pulumi.StringPtrInput
	// The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`
	Network pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`
	Subnetwork pulumi.StringPtrInput
	// The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\".
	TargetGoogleApi pulumi.StringInput
}

The set of arguments for constructing a RegionalEndpoint resource.

func (RegionalEndpointArgs) ElementType

func (RegionalEndpointArgs) ElementType() reflect.Type

type RegionalEndpointArray

type RegionalEndpointArray []RegionalEndpointInput

func (RegionalEndpointArray) ElementType

func (RegionalEndpointArray) ElementType() reflect.Type

func (RegionalEndpointArray) ToRegionalEndpointArrayOutput

func (i RegionalEndpointArray) ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput

func (RegionalEndpointArray) ToRegionalEndpointArrayOutputWithContext

func (i RegionalEndpointArray) ToRegionalEndpointArrayOutputWithContext(ctx context.Context) RegionalEndpointArrayOutput

type RegionalEndpointArrayInput

type RegionalEndpointArrayInput interface {
	pulumi.Input

	ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput
	ToRegionalEndpointArrayOutputWithContext(context.Context) RegionalEndpointArrayOutput
}

RegionalEndpointArrayInput is an input type that accepts RegionalEndpointArray and RegionalEndpointArrayOutput values. You can construct a concrete instance of `RegionalEndpointArrayInput` via:

RegionalEndpointArray{ RegionalEndpointArgs{...} }

type RegionalEndpointArrayOutput

type RegionalEndpointArrayOutput struct{ *pulumi.OutputState }

func (RegionalEndpointArrayOutput) ElementType

func (RegionalEndpointArrayOutput) Index

func (RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutput

func (o RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutput() RegionalEndpointArrayOutput

func (RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutputWithContext

func (o RegionalEndpointArrayOutput) ToRegionalEndpointArrayOutputWithContext(ctx context.Context) RegionalEndpointArrayOutput

type RegionalEndpointInput

type RegionalEndpointInput interface {
	pulumi.Input

	ToRegionalEndpointOutput() RegionalEndpointOutput
	ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput
}

type RegionalEndpointMap

type RegionalEndpointMap map[string]RegionalEndpointInput

func (RegionalEndpointMap) ElementType

func (RegionalEndpointMap) ElementType() reflect.Type

func (RegionalEndpointMap) ToRegionalEndpointMapOutput

func (i RegionalEndpointMap) ToRegionalEndpointMapOutput() RegionalEndpointMapOutput

func (RegionalEndpointMap) ToRegionalEndpointMapOutputWithContext

func (i RegionalEndpointMap) ToRegionalEndpointMapOutputWithContext(ctx context.Context) RegionalEndpointMapOutput

type RegionalEndpointMapInput

type RegionalEndpointMapInput interface {
	pulumi.Input

	ToRegionalEndpointMapOutput() RegionalEndpointMapOutput
	ToRegionalEndpointMapOutputWithContext(context.Context) RegionalEndpointMapOutput
}

RegionalEndpointMapInput is an input type that accepts RegionalEndpointMap and RegionalEndpointMapOutput values. You can construct a concrete instance of `RegionalEndpointMapInput` via:

RegionalEndpointMap{ "key": RegionalEndpointArgs{...} }

type RegionalEndpointMapOutput

type RegionalEndpointMapOutput struct{ *pulumi.OutputState }

func (RegionalEndpointMapOutput) ElementType

func (RegionalEndpointMapOutput) ElementType() reflect.Type

func (RegionalEndpointMapOutput) MapIndex

func (RegionalEndpointMapOutput) ToRegionalEndpointMapOutput

func (o RegionalEndpointMapOutput) ToRegionalEndpointMapOutput() RegionalEndpointMapOutput

func (RegionalEndpointMapOutput) ToRegionalEndpointMapOutputWithContext

func (o RegionalEndpointMapOutput) ToRegionalEndpointMapOutputWithContext(ctx context.Context) RegionalEndpointMapOutput

type RegionalEndpointOutput

type RegionalEndpointOutput struct{ *pulumi.OutputState }

func (RegionalEndpointOutput) AccessType

The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. Possible values are: `GLOBAL`, `REGIONAL`.

func (RegionalEndpointOutput) Address

The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork.

func (RegionalEndpointOutput) CreateTime

Time when the RegionalEndpoint was created.

func (RegionalEndpointOutput) Description

A description of this resource.

func (RegionalEndpointOutput) EffectiveLabels

func (o RegionalEndpointOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (RegionalEndpointOutput) ElementType

func (RegionalEndpointOutput) ElementType() reflect.Type

func (RegionalEndpointOutput) Labels

User-defined labels.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (RegionalEndpointOutput) Location

The location of the RegionalEndpoint.

***

func (RegionalEndpointOutput) Name

The name of the RegionalEndpoint.

func (RegionalEndpointOutput) Network

The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`

func (RegionalEndpointOutput) Project

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

func (RegionalEndpointOutput) PscForwardingRule

func (o RegionalEndpointOutput) PscForwardingRule() pulumi.StringOutput

The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}`

func (RegionalEndpointOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (RegionalEndpointOutput) Subnetwork

The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`

func (RegionalEndpointOutput) TargetGoogleApi

func (o RegionalEndpointOutput) TargetGoogleApi() pulumi.StringOutput

The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\".

func (RegionalEndpointOutput) ToRegionalEndpointOutput

func (o RegionalEndpointOutput) ToRegionalEndpointOutput() RegionalEndpointOutput

func (RegionalEndpointOutput) ToRegionalEndpointOutputWithContext

func (o RegionalEndpointOutput) ToRegionalEndpointOutputWithContext(ctx context.Context) RegionalEndpointOutput

func (RegionalEndpointOutput) UpdateTime

Time when the RegionalEndpoint was updated.

type RegionalEndpointState

type RegionalEndpointState struct {
	// The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access.
	// Possible values are: `GLOBAL`, `REGIONAL`.
	AccessType pulumi.StringPtrInput
	// The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}`
	// > **Note:** This field accepts both a reference to a Compute Address resource, which is the resource name of which format is given in the description, and IP literal value. If the user chooses to input a reserved address value; they need to make sure that the reserved address is in IPv4 version, its purpose is GCE_ENDPOINT, its type is INTERNAL and its status is RESERVED. If the user chooses to input an IP literal, they need to make sure that it's a valid IPv4 address (x.x.x.x) within the subnetwork.
	Address pulumi.StringPtrInput
	// Time when the RegionalEndpoint was created.
	CreateTime pulumi.StringPtrInput
	// A description of this resource.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location of the RegionalEndpoint.
	//
	// ***
	Location pulumi.StringPtrInput
	// The name of the RegionalEndpoint.
	Name pulumi.StringPtrInput
	// The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`
	Network pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}`
	PscForwardingRule pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`
	Subnetwork pulumi.StringPtrInput
	// The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\".
	TargetGoogleApi pulumi.StringPtrInput
	// Time when the RegionalEndpoint was updated.
	UpdateTime pulumi.StringPtrInput
}

func (RegionalEndpointState) ElementType

func (RegionalEndpointState) ElementType() reflect.Type

type ServiceConnectionPolicy

type ServiceConnectionPolicy struct {
	pulumi.CustomResourceState

	// The timestamp when the resource was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Free-text description of the resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The type of underlying resources used to create the connection.
	Infrastructure pulumi.StringOutput `pulumi:"infrastructure"`
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The location of the ServiceConnectionPolicy.
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
	Name pulumi.StringOutput `pulumi:"name"`
	// The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
	Network pulumi.StringOutput `pulumi:"network"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
	// Structure is documented below.
	PscConfig ServiceConnectionPolicyPscConfigPtrOutput `pulumi:"pscConfig"`
	// Information about each Private Service Connect connection.
	// Structure is documented below.
	PscConnections ServiceConnectionPolicyPscConnectionArrayOutput `pulumi:"pscConnections"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass.
	// It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
	ServiceClass pulumi.StringOutput `pulumi:"serviceClass"`
	// The timestamp when the resource was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Manage Service Connection Policies.

To get more information about ServiceConnectionPolicy, see:

* [API documentation](https://cloud.google.com/secure-web-proxy/docs/reference/networkconnectivity/rest/v1/projects.locations.networkConnectionPolicies) * How-to Guides

## Example Usage

### Network Connectivity Policy Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		producerNet, err := compute.NewNetwork(ctx, "producer_net", &compute.NetworkArgs{
			Name:                  pulumi.String("producer-net"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		producerSubnet, err := compute.NewSubnetwork(ctx, "producer_subnet", &compute.SubnetworkArgs{
			Name:        pulumi.String("producer-subnet"),
			IpCidrRange: pulumi.String("10.0.0.0/16"),
			Region:      pulumi.String("us-central1"),
			Network:     producerNet.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
			Name:         pulumi.String("my-network-connectivity-policy"),
			Location:     pulumi.String("us-central1"),
			ServiceClass: pulumi.String("my-basic-service-class"),
			Description:  pulumi.String("my basic service connection policy"),
			Network:      producerNet.ID(),
			PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{
				Subnetworks: pulumi.StringArray{
					producerSubnet.ID(),
				},
				Limit: pulumi.String("2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ServiceConnectionPolicy can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/serviceConnectionPolicies/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, ServiceConnectionPolicy can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:networkconnectivity/serviceConnectionPolicy:ServiceConnectionPolicy default projects/{{project}}/locations/{{location}}/serviceConnectionPolicies/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/serviceConnectionPolicy:ServiceConnectionPolicy default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/serviceConnectionPolicy:ServiceConnectionPolicy default {{location}}/{{name}} ```

func GetServiceConnectionPolicy

func GetServiceConnectionPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceConnectionPolicyState, opts ...pulumi.ResourceOption) (*ServiceConnectionPolicy, error)

GetServiceConnectionPolicy gets an existing ServiceConnectionPolicy 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 NewServiceConnectionPolicy

func NewServiceConnectionPolicy(ctx *pulumi.Context,
	name string, args *ServiceConnectionPolicyArgs, opts ...pulumi.ResourceOption) (*ServiceConnectionPolicy, error)

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

func (*ServiceConnectionPolicy) ElementType

func (*ServiceConnectionPolicy) ElementType() reflect.Type

func (*ServiceConnectionPolicy) ToServiceConnectionPolicyOutput

func (i *ServiceConnectionPolicy) ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput

func (*ServiceConnectionPolicy) ToServiceConnectionPolicyOutputWithContext

func (i *ServiceConnectionPolicy) ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput

type ServiceConnectionPolicyArgs

type ServiceConnectionPolicyArgs struct {
	// Free-text description of the resource.
	Description pulumi.StringPtrInput
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location of the ServiceConnectionPolicy.
	//
	// ***
	Location pulumi.StringInput
	// The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
	Name pulumi.StringPtrInput
	// The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
	Network pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
	// Structure is documented below.
	PscConfig ServiceConnectionPolicyPscConfigPtrInput
	// The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass.
	// It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
	ServiceClass pulumi.StringInput
}

The set of arguments for constructing a ServiceConnectionPolicy resource.

func (ServiceConnectionPolicyArgs) ElementType

type ServiceConnectionPolicyArray

type ServiceConnectionPolicyArray []ServiceConnectionPolicyInput

func (ServiceConnectionPolicyArray) ElementType

func (ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutput

func (i ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput

func (ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutputWithContext

func (i ServiceConnectionPolicyArray) ToServiceConnectionPolicyArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyArrayOutput

type ServiceConnectionPolicyArrayInput

type ServiceConnectionPolicyArrayInput interface {
	pulumi.Input

	ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput
	ToServiceConnectionPolicyArrayOutputWithContext(context.Context) ServiceConnectionPolicyArrayOutput
}

ServiceConnectionPolicyArrayInput is an input type that accepts ServiceConnectionPolicyArray and ServiceConnectionPolicyArrayOutput values. You can construct a concrete instance of `ServiceConnectionPolicyArrayInput` via:

ServiceConnectionPolicyArray{ ServiceConnectionPolicyArgs{...} }

type ServiceConnectionPolicyArrayOutput

type ServiceConnectionPolicyArrayOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyArrayOutput) ElementType

func (ServiceConnectionPolicyArrayOutput) Index

func (ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutput

func (o ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutput() ServiceConnectionPolicyArrayOutput

func (ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutputWithContext

func (o ServiceConnectionPolicyArrayOutput) ToServiceConnectionPolicyArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyArrayOutput

type ServiceConnectionPolicyInput

type ServiceConnectionPolicyInput interface {
	pulumi.Input

	ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput
	ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput
}

type ServiceConnectionPolicyMap

type ServiceConnectionPolicyMap map[string]ServiceConnectionPolicyInput

func (ServiceConnectionPolicyMap) ElementType

func (ServiceConnectionPolicyMap) ElementType() reflect.Type

func (ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutput

func (i ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput

func (ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutputWithContext

func (i ServiceConnectionPolicyMap) ToServiceConnectionPolicyMapOutputWithContext(ctx context.Context) ServiceConnectionPolicyMapOutput

type ServiceConnectionPolicyMapInput

type ServiceConnectionPolicyMapInput interface {
	pulumi.Input

	ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput
	ToServiceConnectionPolicyMapOutputWithContext(context.Context) ServiceConnectionPolicyMapOutput
}

ServiceConnectionPolicyMapInput is an input type that accepts ServiceConnectionPolicyMap and ServiceConnectionPolicyMapOutput values. You can construct a concrete instance of `ServiceConnectionPolicyMapInput` via:

ServiceConnectionPolicyMap{ "key": ServiceConnectionPolicyArgs{...} }

type ServiceConnectionPolicyMapOutput

type ServiceConnectionPolicyMapOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyMapOutput) ElementType

func (ServiceConnectionPolicyMapOutput) MapIndex

func (ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutput

func (o ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutput() ServiceConnectionPolicyMapOutput

func (ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutputWithContext

func (o ServiceConnectionPolicyMapOutput) ToServiceConnectionPolicyMapOutputWithContext(ctx context.Context) ServiceConnectionPolicyMapOutput

type ServiceConnectionPolicyOutput

type ServiceConnectionPolicyOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyOutput) CreateTime

The timestamp when the resource was created.

func (ServiceConnectionPolicyOutput) Description

Free-text description of the resource.

func (ServiceConnectionPolicyOutput) EffectiveLabels

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (ServiceConnectionPolicyOutput) ElementType

func (ServiceConnectionPolicyOutput) Etag

The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

func (ServiceConnectionPolicyOutput) Infrastructure

The type of underlying resources used to create the connection.

func (ServiceConnectionPolicyOutput) Labels

User-defined labels.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (ServiceConnectionPolicyOutput) Location

The location of the ServiceConnectionPolicy.

***

func (ServiceConnectionPolicyOutput) Name

The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names

func (ServiceConnectionPolicyOutput) Network

The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.

func (ServiceConnectionPolicyOutput) Project

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

func (ServiceConnectionPolicyOutput) PscConfig

Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. Structure is documented below.

func (ServiceConnectionPolicyOutput) PscConnections

Information about each Private Service Connect connection. Structure is documented below.

func (ServiceConnectionPolicyOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (ServiceConnectionPolicyOutput) ServiceClass

The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.

func (ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutput

func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutput() ServiceConnectionPolicyOutput

func (ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutputWithContext

func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutputWithContext(ctx context.Context) ServiceConnectionPolicyOutput

func (ServiceConnectionPolicyOutput) UpdateTime

The timestamp when the resource was updated.

type ServiceConnectionPolicyPscConfig

type ServiceConnectionPolicyPscConfig struct {
	// Max number of PSC connections for this policy.
	Limit *string `pulumi:"limit"`
	// IDs of the subnetworks or fully qualified identifiers for the subnetworks
	Subnetworks []string `pulumi:"subnetworks"`
}

type ServiceConnectionPolicyPscConfigArgs

type ServiceConnectionPolicyPscConfigArgs struct {
	// Max number of PSC connections for this policy.
	Limit pulumi.StringPtrInput `pulumi:"limit"`
	// IDs of the subnetworks or fully qualified identifiers for the subnetworks
	Subnetworks pulumi.StringArrayInput `pulumi:"subnetworks"`
}

func (ServiceConnectionPolicyPscConfigArgs) ElementType

func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutput

func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput

func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutputWithContext

func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigOutput

func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutput

func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput

func (ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutputWithContext

func (i ServiceConnectionPolicyPscConfigArgs) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput

type ServiceConnectionPolicyPscConfigInput

type ServiceConnectionPolicyPscConfigInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput
	ToServiceConnectionPolicyPscConfigOutputWithContext(context.Context) ServiceConnectionPolicyPscConfigOutput
}

ServiceConnectionPolicyPscConfigInput is an input type that accepts ServiceConnectionPolicyPscConfigArgs and ServiceConnectionPolicyPscConfigOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConfigInput` via:

ServiceConnectionPolicyPscConfigArgs{...}

type ServiceConnectionPolicyPscConfigOutput

type ServiceConnectionPolicyPscConfigOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConfigOutput) ElementType

func (ServiceConnectionPolicyPscConfigOutput) Limit

Max number of PSC connections for this policy.

func (ServiceConnectionPolicyPscConfigOutput) Subnetworks

IDs of the subnetworks or fully qualified identifiers for the subnetworks

func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutput

func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutput() ServiceConnectionPolicyPscConfigOutput

func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutputWithContext

func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigOutput

func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutput

func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput

func (ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext

func (o ServiceConnectionPolicyPscConfigOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput

type ServiceConnectionPolicyPscConfigPtrInput

type ServiceConnectionPolicyPscConfigPtrInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput
	ToServiceConnectionPolicyPscConfigPtrOutputWithContext(context.Context) ServiceConnectionPolicyPscConfigPtrOutput
}

ServiceConnectionPolicyPscConfigPtrInput is an input type that accepts ServiceConnectionPolicyPscConfigArgs, ServiceConnectionPolicyPscConfigPtr and ServiceConnectionPolicyPscConfigPtrOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConfigPtrInput` via:

        ServiceConnectionPolicyPscConfigArgs{...}

or:

        nil

type ServiceConnectionPolicyPscConfigPtrOutput

type ServiceConnectionPolicyPscConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConfigPtrOutput) Elem

func (ServiceConnectionPolicyPscConfigPtrOutput) ElementType

func (ServiceConnectionPolicyPscConfigPtrOutput) Limit

Max number of PSC connections for this policy.

func (ServiceConnectionPolicyPscConfigPtrOutput) Subnetworks

IDs of the subnetworks or fully qualified identifiers for the subnetworks

func (ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutput

func (o ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutput() ServiceConnectionPolicyPscConfigPtrOutput

func (ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext

func (o ServiceConnectionPolicyPscConfigPtrOutput) ToServiceConnectionPolicyPscConfigPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConfigPtrOutput

type ServiceConnectionPolicyPscConnection

type ServiceConnectionPolicyPscConnection struct {
	// The resource reference of the consumer address.
	ConsumerAddress *string `pulumi:"consumerAddress"`
	// The resource reference of the PSC Forwarding Rule within the consumer VPC.
	ConsumerForwardingRule *string `pulumi:"consumerForwardingRule"`
	// The project where the PSC connection is created.
	ConsumerTargetProject *string `pulumi:"consumerTargetProject"`
	// The most recent error during operating this connection.
	// Structure is documented below.
	Error *ServiceConnectionPolicyPscConnectionError `pulumi:"error"`
	// The error info for the latest error during operating this connection.
	// Structure is documented below.
	ErrorInfo *ServiceConnectionPolicyPscConnectionErrorInfo `pulumi:"errorInfo"`
	// The error type indicates whether the error is consumer facing, producer
	// facing or system internal.
	// Possible values are: `CONNECTION_ERROR_TYPE_UNSPECIFIED`, `ERROR_INTERNAL`, `ERROR_CONSUMER_SIDE`, `ERROR_PRODUCER_SIDE`.
	ErrorType *string `pulumi:"errorType"`
	// The last Compute Engine operation to setup PSC connection.
	GceOperation *string `pulumi:"gceOperation"`
	// The PSC connection id of the PSC forwarding rule.
	PscConnectionId *string `pulumi:"pscConnectionId"`
	// The state of the PSC connection.
	// Possible values are: `STATE_UNSPECIFIED`, `ACTIVE`, `CREATING`, `DELETING`, `FAILED`.
	State *string `pulumi:"state"`
}

type ServiceConnectionPolicyPscConnectionArgs

type ServiceConnectionPolicyPscConnectionArgs struct {
	// The resource reference of the consumer address.
	ConsumerAddress pulumi.StringPtrInput `pulumi:"consumerAddress"`
	// The resource reference of the PSC Forwarding Rule within the consumer VPC.
	ConsumerForwardingRule pulumi.StringPtrInput `pulumi:"consumerForwardingRule"`
	// The project where the PSC connection is created.
	ConsumerTargetProject pulumi.StringPtrInput `pulumi:"consumerTargetProject"`
	// The most recent error during operating this connection.
	// Structure is documented below.
	Error ServiceConnectionPolicyPscConnectionErrorPtrInput `pulumi:"error"`
	// The error info for the latest error during operating this connection.
	// Structure is documented below.
	ErrorInfo ServiceConnectionPolicyPscConnectionErrorInfoPtrInput `pulumi:"errorInfo"`
	// The error type indicates whether the error is consumer facing, producer
	// facing or system internal.
	// Possible values are: `CONNECTION_ERROR_TYPE_UNSPECIFIED`, `ERROR_INTERNAL`, `ERROR_CONSUMER_SIDE`, `ERROR_PRODUCER_SIDE`.
	ErrorType pulumi.StringPtrInput `pulumi:"errorType"`
	// The last Compute Engine operation to setup PSC connection.
	GceOperation pulumi.StringPtrInput `pulumi:"gceOperation"`
	// The PSC connection id of the PSC forwarding rule.
	PscConnectionId pulumi.StringPtrInput `pulumi:"pscConnectionId"`
	// The state of the PSC connection.
	// Possible values are: `STATE_UNSPECIFIED`, `ACTIVE`, `CREATING`, `DELETING`, `FAILED`.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (ServiceConnectionPolicyPscConnectionArgs) ElementType

func (ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutput

func (i ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput

func (ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutputWithContext

func (i ServiceConnectionPolicyPscConnectionArgs) ToServiceConnectionPolicyPscConnectionOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionOutput

type ServiceConnectionPolicyPscConnectionArray

type ServiceConnectionPolicyPscConnectionArray []ServiceConnectionPolicyPscConnectionInput

func (ServiceConnectionPolicyPscConnectionArray) ElementType

func (ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutput

func (i ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput

func (ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext

func (i ServiceConnectionPolicyPscConnectionArray) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionArrayOutput

type ServiceConnectionPolicyPscConnectionArrayInput

type ServiceConnectionPolicyPscConnectionArrayInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput
	ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionArrayOutput
}

ServiceConnectionPolicyPscConnectionArrayInput is an input type that accepts ServiceConnectionPolicyPscConnectionArray and ServiceConnectionPolicyPscConnectionArrayOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionArrayInput` via:

ServiceConnectionPolicyPscConnectionArray{ ServiceConnectionPolicyPscConnectionArgs{...} }

type ServiceConnectionPolicyPscConnectionArrayOutput

type ServiceConnectionPolicyPscConnectionArrayOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConnectionArrayOutput) ElementType

func (ServiceConnectionPolicyPscConnectionArrayOutput) Index

func (ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutput

func (o ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutput() ServiceConnectionPolicyPscConnectionArrayOutput

func (ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext

func (o ServiceConnectionPolicyPscConnectionArrayOutput) ToServiceConnectionPolicyPscConnectionArrayOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionArrayOutput

type ServiceConnectionPolicyPscConnectionError

type ServiceConnectionPolicyPscConnectionError struct {
	// The status code, which should be an enum value of [google.rpc.Code][].
	Code *int `pulumi:"code"`
	// (Output)
	// A list of messages that carry the error details.
	Details []map[string]string `pulumi:"details"`
	// A developer-facing error message.
	Message *string `pulumi:"message"`
}

type ServiceConnectionPolicyPscConnectionErrorArgs

type ServiceConnectionPolicyPscConnectionErrorArgs struct {
	// The status code, which should be an enum value of [google.rpc.Code][].
	Code pulumi.IntPtrInput `pulumi:"code"`
	// (Output)
	// A list of messages that carry the error details.
	Details pulumi.StringMapArrayInput `pulumi:"details"`
	// A developer-facing error message.
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (ServiceConnectionPolicyPscConnectionErrorArgs) ElementType

func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutput

func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput

func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext

func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorOutput

func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutput

func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput

func (ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext

func (i ServiceConnectionPolicyPscConnectionErrorArgs) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput

type ServiceConnectionPolicyPscConnectionErrorInfo

type ServiceConnectionPolicyPscConnectionErrorInfo struct {
	// The logical grouping to which the "reason" belongs.
	Domain *string `pulumi:"domain"`
	// Additional structured details about this error.
	Metadata map[string]string `pulumi:"metadata"`
	// The reason of the error.
	Reason *string `pulumi:"reason"`
}

type ServiceConnectionPolicyPscConnectionErrorInfoArgs

type ServiceConnectionPolicyPscConnectionErrorInfoArgs struct {
	// The logical grouping to which the "reason" belongs.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Additional structured details about this error.
	Metadata pulumi.StringMapInput `pulumi:"metadata"`
	// The reason of the error.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
}

func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ElementType

func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutput

func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext

func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext

func (i ServiceConnectionPolicyPscConnectionErrorInfoArgs) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

type ServiceConnectionPolicyPscConnectionErrorInfoInput

type ServiceConnectionPolicyPscConnectionErrorInfoInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput
	ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput
}

ServiceConnectionPolicyPscConnectionErrorInfoInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorInfoArgs and ServiceConnectionPolicyPscConnectionErrorInfoOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorInfoInput` via:

ServiceConnectionPolicyPscConnectionErrorInfoArgs{...}

type ServiceConnectionPolicyPscConnectionErrorInfoOutput

type ServiceConnectionPolicyPscConnectionErrorInfoOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) Domain

The logical grouping to which the "reason" belongs.

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ElementType

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) Metadata

Additional structured details about this error.

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) Reason

The reason of the error.

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutput

func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutput() ServiceConnectionPolicyPscConnectionErrorInfoOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext

func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext

func (o ServiceConnectionPolicyPscConnectionErrorInfoOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

type ServiceConnectionPolicyPscConnectionErrorInfoPtrInput

type ServiceConnectionPolicyPscConnectionErrorInfoPtrInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput() ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
	ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput
}

ServiceConnectionPolicyPscConnectionErrorInfoPtrInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorInfoArgs, ServiceConnectionPolicyPscConnectionErrorInfoPtr and ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorInfoPtrInput` via:

        ServiceConnectionPolicyPscConnectionErrorInfoArgs{...}

or:

        nil

type ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

type ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Domain

The logical grouping to which the "reason" belongs.

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Elem

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ElementType

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Metadata

Additional structured details about this error.

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) Reason

The reason of the error.

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

func (ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext

func (o ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput) ToServiceConnectionPolicyPscConnectionErrorInfoPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorInfoPtrOutput

type ServiceConnectionPolicyPscConnectionErrorInput

type ServiceConnectionPolicyPscConnectionErrorInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput
	ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorOutput
}

ServiceConnectionPolicyPscConnectionErrorInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorArgs and ServiceConnectionPolicyPscConnectionErrorOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorInput` via:

ServiceConnectionPolicyPscConnectionErrorArgs{...}

type ServiceConnectionPolicyPscConnectionErrorOutput

type ServiceConnectionPolicyPscConnectionErrorOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConnectionErrorOutput) Code

The status code, which should be an enum value of [google.rpc.Code][].

func (ServiceConnectionPolicyPscConnectionErrorOutput) Details

(Output) A list of messages that carry the error details.

func (ServiceConnectionPolicyPscConnectionErrorOutput) ElementType

func (ServiceConnectionPolicyPscConnectionErrorOutput) Message

A developer-facing error message.

func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutput

func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutput() ServiceConnectionPolicyPscConnectionErrorOutput

func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext

func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorOutput

func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput

func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput

func (ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext

func (o ServiceConnectionPolicyPscConnectionErrorOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput

type ServiceConnectionPolicyPscConnectionErrorPtrInput

type ServiceConnectionPolicyPscConnectionErrorPtrInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput
	ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput
}

ServiceConnectionPolicyPscConnectionErrorPtrInput is an input type that accepts ServiceConnectionPolicyPscConnectionErrorArgs, ServiceConnectionPolicyPscConnectionErrorPtr and ServiceConnectionPolicyPscConnectionErrorPtrOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionErrorPtrInput` via:

        ServiceConnectionPolicyPscConnectionErrorArgs{...}

or:

        nil

type ServiceConnectionPolicyPscConnectionErrorPtrOutput

type ServiceConnectionPolicyPscConnectionErrorPtrOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Code

The status code, which should be an enum value of [google.rpc.Code][].

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Details

(Output) A list of messages that carry the error details.

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Elem

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ElementType

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) Message

A developer-facing error message.

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput

func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutput() ServiceConnectionPolicyPscConnectionErrorPtrOutput

func (ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext

func (o ServiceConnectionPolicyPscConnectionErrorPtrOutput) ToServiceConnectionPolicyPscConnectionErrorPtrOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionErrorPtrOutput

type ServiceConnectionPolicyPscConnectionInput

type ServiceConnectionPolicyPscConnectionInput interface {
	pulumi.Input

	ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput
	ToServiceConnectionPolicyPscConnectionOutputWithContext(context.Context) ServiceConnectionPolicyPscConnectionOutput
}

ServiceConnectionPolicyPscConnectionInput is an input type that accepts ServiceConnectionPolicyPscConnectionArgs and ServiceConnectionPolicyPscConnectionOutput values. You can construct a concrete instance of `ServiceConnectionPolicyPscConnectionInput` via:

ServiceConnectionPolicyPscConnectionArgs{...}

type ServiceConnectionPolicyPscConnectionOutput

type ServiceConnectionPolicyPscConnectionOutput struct{ *pulumi.OutputState }

func (ServiceConnectionPolicyPscConnectionOutput) ConsumerAddress

The resource reference of the consumer address.

func (ServiceConnectionPolicyPscConnectionOutput) ConsumerForwardingRule

The resource reference of the PSC Forwarding Rule within the consumer VPC.

func (ServiceConnectionPolicyPscConnectionOutput) ConsumerTargetProject

The project where the PSC connection is created.

func (ServiceConnectionPolicyPscConnectionOutput) ElementType

func (ServiceConnectionPolicyPscConnectionOutput) Error

The most recent error during operating this connection. Structure is documented below.

func (ServiceConnectionPolicyPscConnectionOutput) ErrorInfo

The error info for the latest error during operating this connection. Structure is documented below.

func (ServiceConnectionPolicyPscConnectionOutput) ErrorType

The error type indicates whether the error is consumer facing, producer facing or system internal. Possible values are: `CONNECTION_ERROR_TYPE_UNSPECIFIED`, `ERROR_INTERNAL`, `ERROR_CONSUMER_SIDE`, `ERROR_PRODUCER_SIDE`.

func (ServiceConnectionPolicyPscConnectionOutput) GceOperation

The last Compute Engine operation to setup PSC connection.

func (ServiceConnectionPolicyPscConnectionOutput) PscConnectionId

The PSC connection id of the PSC forwarding rule.

func (ServiceConnectionPolicyPscConnectionOutput) State

The state of the PSC connection. Possible values are: `STATE_UNSPECIFIED`, `ACTIVE`, `CREATING`, `DELETING`, `FAILED`.

func (ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutput

func (o ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutput() ServiceConnectionPolicyPscConnectionOutput

func (ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutputWithContext

func (o ServiceConnectionPolicyPscConnectionOutput) ToServiceConnectionPolicyPscConnectionOutputWithContext(ctx context.Context) ServiceConnectionPolicyPscConnectionOutput

type ServiceConnectionPolicyState

type ServiceConnectionPolicyState struct {
	// The timestamp when the resource was created.
	CreateTime pulumi.StringPtrInput
	// Free-text description of the resource.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// The type of underlying resources used to create the connection.
	Infrastructure pulumi.StringPtrInput
	// User-defined labels.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location of the ServiceConnectionPolicy.
	//
	// ***
	Location pulumi.StringPtrInput
	// The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
	Name pulumi.StringPtrInput
	// The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
	Network pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
	// Structure is documented below.
	PscConfig ServiceConnectionPolicyPscConfigPtrInput
	// Information about each Private Service Connect connection.
	// Structure is documented below.
	PscConnections ServiceConnectionPolicyPscConnectionArrayInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass.
	// It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
	ServiceClass pulumi.StringPtrInput
	// The timestamp when the resource was updated.
	UpdateTime pulumi.StringPtrInput
}

func (ServiceConnectionPolicyState) ElementType

type Spoke

type Spoke struct {
	pulumi.CustomResourceState

	// Output only. The time the spoke was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// An optional description of the spoke.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Immutable. The URI of the hub that this spoke is attached to.
	Hub pulumi.StringOutput `pulumi:"hub"`
	// Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
	// Structure is documented below.
	LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrOutput `pulumi:"linkedInterconnectAttachments"`
	// The URIs of linked Router appliance resources
	// Structure is documented below.
	LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrOutput `pulumi:"linkedRouterApplianceInstances"`
	// VPC network that is associated with the spoke.
	// Structure is documented below.
	LinkedVpcNetwork SpokeLinkedVpcNetworkPtrOutput `pulumi:"linkedVpcNetwork"`
	// The URIs of linked VPN tunnel resources
	// Structure is documented below.
	LinkedVpnTunnels SpokeLinkedVpnTunnelsPtrOutput `pulumi:"linkedVpnTunnels"`
	// The location for the resource
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// Immutable. The name of the spoke. Spoke names must be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. The current lifecycle state of this spoke.
	State pulumi.StringOutput `pulumi:"state"`
	// Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
	UniqueId pulumi.StringOutput `pulumi:"uniqueId"`
	// Output only. The time the spoke was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

The NetworkConnectivity Spoke resource

To get more information about Spoke, see:

* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.spokes) * How-to Guides

## Example Usage

### Network Connectivity Spoke Linked Vpc Network Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
			Name:                  pulumi.String("net"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		basicHub, err := networkconnectivity.NewHub(ctx, "basic_hub", &networkconnectivity.HubArgs{
			Name:        pulumi.String("hub1"),
			Description: pulumi.String("A sample hub"),
			Labels: pulumi.StringMap{
				"label-two": pulumi.String("value-one"),
			},
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewSpoke(ctx, "primary", &networkconnectivity.SpokeArgs{
			Name:        pulumi.String("spoke1"),
			Location:    pulumi.String("global"),
			Description: pulumi.String("A sample spoke with a linked router appliance instance"),
			Labels: pulumi.StringMap{
				"label-one": pulumi.String("value-one"),
			},
			Hub: basicHub.ID(),
			LinkedVpcNetwork: &networkconnectivity.SpokeLinkedVpcNetworkArgs{
				ExcludeExportRanges: pulumi.StringArray{
					pulumi.String("198.51.100.0/24"),
					pulumi.String("10.10.0.0/16"),
				},
				Uri: network.SelfLink,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Network Connectivity Spoke Router Appliance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkconnectivity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
			Name:                  pulumi.String("tf-test-network_2067"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		subnetwork, err := compute.NewSubnetwork(ctx, "subnetwork", &compute.SubnetworkArgs{
			Name:        pulumi.String("tf-test-subnet_40785"),
			IpCidrRange: pulumi.String("10.0.0.0/28"),
			Region:      pulumi.String("us-central1"),
			Network:     network.SelfLink,
		})
		if err != nil {
			return err
		}
		instance, err := compute.NewInstance(ctx, "instance", &compute.InstanceArgs{
			Name:         pulumi.String("tf-test-instance_79169"),
			MachineType:  pulumi.String("e2-medium"),
			CanIpForward: pulumi.Bool(true),
			Zone:         pulumi.String("us-central1-a"),
			BootDisk: &compute.InstanceBootDiskArgs{
				InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{
					Image: pulumi.String("projects/debian-cloud/global/images/debian-10-buster-v20210817"),
				},
			},
			NetworkInterfaces: compute.InstanceNetworkInterfaceArray{
				&compute.InstanceNetworkInterfaceArgs{
					Subnetwork: subnetwork.Name,
					NetworkIp:  pulumi.String("10.0.0.2"),
					AccessConfigs: compute.InstanceNetworkInterfaceAccessConfigArray{
						&compute.InstanceNetworkInterfaceAccessConfigArgs{
							NetworkTier: pulumi.String("PREMIUM"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		basicHub, err := networkconnectivity.NewHub(ctx, "basic_hub", &networkconnectivity.HubArgs{
			Name:        pulumi.String("tf-test-hub_56529"),
			Description: pulumi.String("A sample hub"),
			Labels: pulumi.StringMap{
				"label-two": pulumi.String("value-one"),
			},
		})
		if err != nil {
			return err
		}
		_, err = networkconnectivity.NewSpoke(ctx, "primary", &networkconnectivity.SpokeArgs{
			Name:        pulumi.String("tf-test-name_75413"),
			Location:    pulumi.String("us-central1"),
			Description: pulumi.String("A sample spoke with a linked routher appliance instance"),
			Labels: pulumi.StringMap{
				"label-one": pulumi.String("value-one"),
			},
			Hub: basicHub.ID(),
			LinkedRouterApplianceInstances: &networkconnectivity.SpokeLinkedRouterApplianceInstancesArgs{
				Instances: networkconnectivity.SpokeLinkedRouterApplianceInstancesInstanceArray{
					&networkconnectivity.SpokeLinkedRouterApplianceInstancesInstanceArgs{
						VirtualMachine: instance.SelfLink,
						IpAddress:      pulumi.String("10.0.0.2"),
					},
				},
				SiteToSiteDataTransfer: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Spoke can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/spokes/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, Spoke can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:networkconnectivity/spoke:Spoke default projects/{{project}}/locations/{{location}}/spokes/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:networkconnectivity/spoke:Spoke default {{location}}/{{name}} ```

func GetSpoke

func GetSpoke(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpokeState, opts ...pulumi.ResourceOption) (*Spoke, error)

GetSpoke gets an existing Spoke 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 NewSpoke

func NewSpoke(ctx *pulumi.Context,
	name string, args *SpokeArgs, opts ...pulumi.ResourceOption) (*Spoke, error)

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

func (*Spoke) ElementType

func (*Spoke) ElementType() reflect.Type

func (*Spoke) ToSpokeOutput

func (i *Spoke) ToSpokeOutput() SpokeOutput

func (*Spoke) ToSpokeOutputWithContext

func (i *Spoke) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput

type SpokeArgs

type SpokeArgs struct {
	// An optional description of the spoke.
	Description pulumi.StringPtrInput
	// Immutable. The URI of the hub that this spoke is attached to.
	Hub pulumi.StringInput
	// Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
	// Structure is documented below.
	LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrInput
	// The URIs of linked Router appliance resources
	// Structure is documented below.
	LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrInput
	// VPC network that is associated with the spoke.
	// Structure is documented below.
	LinkedVpcNetwork SpokeLinkedVpcNetworkPtrInput
	// The URIs of linked VPN tunnel resources
	// Structure is documented below.
	LinkedVpnTunnels SpokeLinkedVpnTunnelsPtrInput
	// The location for the resource
	//
	// ***
	Location pulumi.StringInput
	// Immutable. The name of the spoke. Spoke names must be unique.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Spoke resource.

func (SpokeArgs) ElementType

func (SpokeArgs) ElementType() reflect.Type

type SpokeArray

type SpokeArray []SpokeInput

func (SpokeArray) ElementType

func (SpokeArray) ElementType() reflect.Type

func (SpokeArray) ToSpokeArrayOutput

func (i SpokeArray) ToSpokeArrayOutput() SpokeArrayOutput

func (SpokeArray) ToSpokeArrayOutputWithContext

func (i SpokeArray) ToSpokeArrayOutputWithContext(ctx context.Context) SpokeArrayOutput

type SpokeArrayInput

type SpokeArrayInput interface {
	pulumi.Input

	ToSpokeArrayOutput() SpokeArrayOutput
	ToSpokeArrayOutputWithContext(context.Context) SpokeArrayOutput
}

SpokeArrayInput is an input type that accepts SpokeArray and SpokeArrayOutput values. You can construct a concrete instance of `SpokeArrayInput` via:

SpokeArray{ SpokeArgs{...} }

type SpokeArrayOutput

type SpokeArrayOutput struct{ *pulumi.OutputState }

func (SpokeArrayOutput) ElementType

func (SpokeArrayOutput) ElementType() reflect.Type

func (SpokeArrayOutput) Index

func (SpokeArrayOutput) ToSpokeArrayOutput

func (o SpokeArrayOutput) ToSpokeArrayOutput() SpokeArrayOutput

func (SpokeArrayOutput) ToSpokeArrayOutputWithContext

func (o SpokeArrayOutput) ToSpokeArrayOutputWithContext(ctx context.Context) SpokeArrayOutput

type SpokeInput

type SpokeInput interface {
	pulumi.Input

	ToSpokeOutput() SpokeOutput
	ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
}

type SpokeLinkedInterconnectAttachments

type SpokeLinkedInterconnectAttachments struct {
	// A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
	SiteToSiteDataTransfer bool `pulumi:"siteToSiteDataTransfer"`
	// The URIs of linked interconnect attachment resources
	Uris []string `pulumi:"uris"`
}

type SpokeLinkedInterconnectAttachmentsArgs

type SpokeLinkedInterconnectAttachmentsArgs struct {
	// A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
	SiteToSiteDataTransfer pulumi.BoolInput `pulumi:"siteToSiteDataTransfer"`
	// The URIs of linked interconnect attachment resources
	Uris pulumi.StringArrayInput `pulumi:"uris"`
}

func (SpokeLinkedInterconnectAttachmentsArgs) ElementType

func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput

func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput

func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext

func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput

func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput

func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput

func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext

func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput

type SpokeLinkedInterconnectAttachmentsInput

type SpokeLinkedInterconnectAttachmentsInput interface {
	pulumi.Input

	ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
	ToSpokeLinkedInterconnectAttachmentsOutputWithContext(context.Context) SpokeLinkedInterconnectAttachmentsOutput
}

SpokeLinkedInterconnectAttachmentsInput is an input type that accepts SpokeLinkedInterconnectAttachmentsArgs and SpokeLinkedInterconnectAttachmentsOutput values. You can construct a concrete instance of `SpokeLinkedInterconnectAttachmentsInput` via:

SpokeLinkedInterconnectAttachmentsArgs{...}

type SpokeLinkedInterconnectAttachmentsOutput

type SpokeLinkedInterconnectAttachmentsOutput struct{ *pulumi.OutputState }

func (SpokeLinkedInterconnectAttachmentsOutput) ElementType

func (SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer

func (o SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput

A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.

func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput

func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput

func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext

func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput

func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput

func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput

func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext

func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput

func (SpokeLinkedInterconnectAttachmentsOutput) Uris

The URIs of linked interconnect attachment resources

type SpokeLinkedInterconnectAttachmentsPtrInput

type SpokeLinkedInterconnectAttachmentsPtrInput interface {
	pulumi.Input

	ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
	ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
}

SpokeLinkedInterconnectAttachmentsPtrInput is an input type that accepts SpokeLinkedInterconnectAttachmentsArgs, SpokeLinkedInterconnectAttachmentsPtr and SpokeLinkedInterconnectAttachmentsPtrOutput values. You can construct a concrete instance of `SpokeLinkedInterconnectAttachmentsPtrInput` via:

        SpokeLinkedInterconnectAttachmentsArgs{...}

or:

        nil

type SpokeLinkedInterconnectAttachmentsPtrOutput

type SpokeLinkedInterconnectAttachmentsPtrOutput struct{ *pulumi.OutputState }

func (SpokeLinkedInterconnectAttachmentsPtrOutput) Elem

func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType

func (SpokeLinkedInterconnectAttachmentsPtrOutput) SiteToSiteDataTransfer

A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.

func (SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput

func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput

func (SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext

func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput

func (SpokeLinkedInterconnectAttachmentsPtrOutput) Uris

The URIs of linked interconnect attachment resources

type SpokeLinkedRouterApplianceInstances

type SpokeLinkedRouterApplianceInstances struct {
	// The list of router appliance instances
	// Structure is documented below.
	Instances []SpokeLinkedRouterApplianceInstancesInstance `pulumi:"instances"`
	// A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
	SiteToSiteDataTransfer bool `pulumi:"siteToSiteDataTransfer"`
}

type SpokeLinkedRouterApplianceInstancesArgs

type SpokeLinkedRouterApplianceInstancesArgs struct {
	// The list of router appliance instances
	// Structure is documented below.
	Instances SpokeLinkedRouterApplianceInstancesInstanceArrayInput `pulumi:"instances"`
	// A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
	SiteToSiteDataTransfer pulumi.BoolInput `pulumi:"siteToSiteDataTransfer"`
}

func (SpokeLinkedRouterApplianceInstancesArgs) ElementType

func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput

func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput

func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext

func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput

func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput

func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput

func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext

func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput

type SpokeLinkedRouterApplianceInstancesInput

type SpokeLinkedRouterApplianceInstancesInput interface {
	pulumi.Input

	ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
	ToSpokeLinkedRouterApplianceInstancesOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesOutput
}

SpokeLinkedRouterApplianceInstancesInput is an input type that accepts SpokeLinkedRouterApplianceInstancesArgs and SpokeLinkedRouterApplianceInstancesOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesInput` via:

SpokeLinkedRouterApplianceInstancesArgs{...}

type SpokeLinkedRouterApplianceInstancesInstance

type SpokeLinkedRouterApplianceInstancesInstance struct {
	// The IP address on the VM to use for peering.
	IpAddress *string `pulumi:"ipAddress"`
	// The URI of the virtual machine resource
	VirtualMachine *string `pulumi:"virtualMachine"`
}

type SpokeLinkedRouterApplianceInstancesInstanceArgs

type SpokeLinkedRouterApplianceInstancesInstanceArgs struct {
	// The IP address on the VM to use for peering.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// The URI of the virtual machine resource
	VirtualMachine pulumi.StringPtrInput `pulumi:"virtualMachine"`
}

func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ElementType

func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput

func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput

func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext

func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput

type SpokeLinkedRouterApplianceInstancesInstanceArray

type SpokeLinkedRouterApplianceInstancesInstanceArray []SpokeLinkedRouterApplianceInstancesInstanceInput

func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType

func (SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput

func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput

func (SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext

func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput

type SpokeLinkedRouterApplianceInstancesInstanceArrayInput

type SpokeLinkedRouterApplianceInstancesInstanceArrayInput interface {
	pulumi.Input

	ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
	ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
}

SpokeLinkedRouterApplianceInstancesInstanceArrayInput is an input type that accepts SpokeLinkedRouterApplianceInstancesInstanceArray and SpokeLinkedRouterApplianceInstancesInstanceArrayOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesInstanceArrayInput` via:

SpokeLinkedRouterApplianceInstancesInstanceArray{ SpokeLinkedRouterApplianceInstancesInstanceArgs{...} }

type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput

type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType

func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) Index

func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput

func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext

func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput

type SpokeLinkedRouterApplianceInstancesInstanceInput

type SpokeLinkedRouterApplianceInstancesInstanceInput interface {
	pulumi.Input

	ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
	ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
}

SpokeLinkedRouterApplianceInstancesInstanceInput is an input type that accepts SpokeLinkedRouterApplianceInstancesInstanceArgs and SpokeLinkedRouterApplianceInstancesInstanceOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesInstanceInput` via:

SpokeLinkedRouterApplianceInstancesInstanceArgs{...}

type SpokeLinkedRouterApplianceInstancesInstanceOutput

type SpokeLinkedRouterApplianceInstancesInstanceOutput struct{ *pulumi.OutputState }

func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType

func (SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress

The IP address on the VM to use for peering.

func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput

func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput

func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext

func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput

func (SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine

The URI of the virtual machine resource

type SpokeLinkedRouterApplianceInstancesOutput

type SpokeLinkedRouterApplianceInstancesOutput struct{ *pulumi.OutputState }

func (SpokeLinkedRouterApplianceInstancesOutput) ElementType

func (SpokeLinkedRouterApplianceInstancesOutput) Instances

The list of router appliance instances Structure is documented below.

func (SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer

func (o SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer() pulumi.BoolOutput

A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.

func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput

func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput

func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext

func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput

func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput

func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput

func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext

func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput

type SpokeLinkedRouterApplianceInstancesPtrInput

type SpokeLinkedRouterApplianceInstancesPtrInput interface {
	pulumi.Input

	ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
	ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
}

SpokeLinkedRouterApplianceInstancesPtrInput is an input type that accepts SpokeLinkedRouterApplianceInstancesArgs, SpokeLinkedRouterApplianceInstancesPtr and SpokeLinkedRouterApplianceInstancesPtrOutput values. You can construct a concrete instance of `SpokeLinkedRouterApplianceInstancesPtrInput` via:

        SpokeLinkedRouterApplianceInstancesArgs{...}

or:

        nil

type SpokeLinkedRouterApplianceInstancesPtrOutput

type SpokeLinkedRouterApplianceInstancesPtrOutput struct{ *pulumi.OutputState }

func (SpokeLinkedRouterApplianceInstancesPtrOutput) Elem

func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType

func (SpokeLinkedRouterApplianceInstancesPtrOutput) Instances

The list of router appliance instances Structure is documented below.

func (SpokeLinkedRouterApplianceInstancesPtrOutput) SiteToSiteDataTransfer

A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.

func (SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput

func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput

func (SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext

func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput

type SpokeLinkedVpcNetwork

type SpokeLinkedVpcNetwork struct {
	// IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []string `pulumi:"excludeExportRanges"`
	// The URI of the VPC network resource.
	Uri string `pulumi:"uri"`
}

type SpokeLinkedVpcNetworkArgs

type SpokeLinkedVpcNetworkArgs struct {
	// IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges pulumi.StringArrayInput `pulumi:"excludeExportRanges"`
	// The URI of the VPC network resource.
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (SpokeLinkedVpcNetworkArgs) ElementType

func (SpokeLinkedVpcNetworkArgs) ElementType() reflect.Type

func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutput

func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput

func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutputWithContext

func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkOutput

func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutput

func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput

func (SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutputWithContext

func (i SpokeLinkedVpcNetworkArgs) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput

type SpokeLinkedVpcNetworkInput

type SpokeLinkedVpcNetworkInput interface {
	pulumi.Input

	ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput
	ToSpokeLinkedVpcNetworkOutputWithContext(context.Context) SpokeLinkedVpcNetworkOutput
}

SpokeLinkedVpcNetworkInput is an input type that accepts SpokeLinkedVpcNetworkArgs and SpokeLinkedVpcNetworkOutput values. You can construct a concrete instance of `SpokeLinkedVpcNetworkInput` via:

SpokeLinkedVpcNetworkArgs{...}

type SpokeLinkedVpcNetworkOutput

type SpokeLinkedVpcNetworkOutput struct{ *pulumi.OutputState }

func (SpokeLinkedVpcNetworkOutput) ElementType

func (SpokeLinkedVpcNetworkOutput) ExcludeExportRanges

func (o SpokeLinkedVpcNetworkOutput) ExcludeExportRanges() pulumi.StringArrayOutput

IP ranges encompassing the subnets to be excluded from peering.

func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutput

func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutput() SpokeLinkedVpcNetworkOutput

func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutputWithContext

func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkOutput

func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutput

func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput

func (SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext

func (o SpokeLinkedVpcNetworkOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput

func (SpokeLinkedVpcNetworkOutput) Uri

The URI of the VPC network resource.

type SpokeLinkedVpcNetworkPtrInput

type SpokeLinkedVpcNetworkPtrInput interface {
	pulumi.Input

	ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput
	ToSpokeLinkedVpcNetworkPtrOutputWithContext(context.Context) SpokeLinkedVpcNetworkPtrOutput
}

SpokeLinkedVpcNetworkPtrInput is an input type that accepts SpokeLinkedVpcNetworkArgs, SpokeLinkedVpcNetworkPtr and SpokeLinkedVpcNetworkPtrOutput values. You can construct a concrete instance of `SpokeLinkedVpcNetworkPtrInput` via:

        SpokeLinkedVpcNetworkArgs{...}

or:

        nil

type SpokeLinkedVpcNetworkPtrOutput

type SpokeLinkedVpcNetworkPtrOutput struct{ *pulumi.OutputState }

func (SpokeLinkedVpcNetworkPtrOutput) Elem

func (SpokeLinkedVpcNetworkPtrOutput) ElementType

func (SpokeLinkedVpcNetworkPtrOutput) ExcludeExportRanges

IP ranges encompassing the subnets to be excluded from peering.

func (SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutput

func (o SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutput() SpokeLinkedVpcNetworkPtrOutput

func (SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext

func (o SpokeLinkedVpcNetworkPtrOutput) ToSpokeLinkedVpcNetworkPtrOutputWithContext(ctx context.Context) SpokeLinkedVpcNetworkPtrOutput

func (SpokeLinkedVpcNetworkPtrOutput) Uri

The URI of the VPC network resource.

type SpokeLinkedVpnTunnels

type SpokeLinkedVpnTunnels struct {
	// A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
	SiteToSiteDataTransfer bool `pulumi:"siteToSiteDataTransfer"`
	// The URIs of linked VPN tunnel resources.
	Uris []string `pulumi:"uris"`
}

type SpokeLinkedVpnTunnelsArgs

type SpokeLinkedVpnTunnelsArgs struct {
	// A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
	SiteToSiteDataTransfer pulumi.BoolInput `pulumi:"siteToSiteDataTransfer"`
	// The URIs of linked VPN tunnel resources.
	Uris pulumi.StringArrayInput `pulumi:"uris"`
}

func (SpokeLinkedVpnTunnelsArgs) ElementType

func (SpokeLinkedVpnTunnelsArgs) ElementType() reflect.Type

func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput

func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput

func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext

func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput

func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput

func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput

func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext

func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput

type SpokeLinkedVpnTunnelsInput

type SpokeLinkedVpnTunnelsInput interface {
	pulumi.Input

	ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
	ToSpokeLinkedVpnTunnelsOutputWithContext(context.Context) SpokeLinkedVpnTunnelsOutput
}

SpokeLinkedVpnTunnelsInput is an input type that accepts SpokeLinkedVpnTunnelsArgs and SpokeLinkedVpnTunnelsOutput values. You can construct a concrete instance of `SpokeLinkedVpnTunnelsInput` via:

SpokeLinkedVpnTunnelsArgs{...}

type SpokeLinkedVpnTunnelsOutput

type SpokeLinkedVpnTunnelsOutput struct{ *pulumi.OutputState }

func (SpokeLinkedVpnTunnelsOutput) ElementType

func (SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer

func (o SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput

A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.

func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput

func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput

func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext

func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput

func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput

func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput

func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext

func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput

func (SpokeLinkedVpnTunnelsOutput) Uris

The URIs of linked VPN tunnel resources.

type SpokeLinkedVpnTunnelsPtrInput

type SpokeLinkedVpnTunnelsPtrInput interface {
	pulumi.Input

	ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
	ToSpokeLinkedVpnTunnelsPtrOutputWithContext(context.Context) SpokeLinkedVpnTunnelsPtrOutput
}

SpokeLinkedVpnTunnelsPtrInput is an input type that accepts SpokeLinkedVpnTunnelsArgs, SpokeLinkedVpnTunnelsPtr and SpokeLinkedVpnTunnelsPtrOutput values. You can construct a concrete instance of `SpokeLinkedVpnTunnelsPtrInput` via:

        SpokeLinkedVpnTunnelsArgs{...}

or:

        nil

type SpokeLinkedVpnTunnelsPtrOutput

type SpokeLinkedVpnTunnelsPtrOutput struct{ *pulumi.OutputState }

func (SpokeLinkedVpnTunnelsPtrOutput) Elem

func (SpokeLinkedVpnTunnelsPtrOutput) ElementType

func (SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer

func (o SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput

A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.

func (SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput

func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput

func (SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext

func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput

func (SpokeLinkedVpnTunnelsPtrOutput) Uris

The URIs of linked VPN tunnel resources.

type SpokeMap

type SpokeMap map[string]SpokeInput

func (SpokeMap) ElementType

func (SpokeMap) ElementType() reflect.Type

func (SpokeMap) ToSpokeMapOutput

func (i SpokeMap) ToSpokeMapOutput() SpokeMapOutput

func (SpokeMap) ToSpokeMapOutputWithContext

func (i SpokeMap) ToSpokeMapOutputWithContext(ctx context.Context) SpokeMapOutput

type SpokeMapInput

type SpokeMapInput interface {
	pulumi.Input

	ToSpokeMapOutput() SpokeMapOutput
	ToSpokeMapOutputWithContext(context.Context) SpokeMapOutput
}

SpokeMapInput is an input type that accepts SpokeMap and SpokeMapOutput values. You can construct a concrete instance of `SpokeMapInput` via:

SpokeMap{ "key": SpokeArgs{...} }

type SpokeMapOutput

type SpokeMapOutput struct{ *pulumi.OutputState }

func (SpokeMapOutput) ElementType

func (SpokeMapOutput) ElementType() reflect.Type

func (SpokeMapOutput) MapIndex

func (SpokeMapOutput) ToSpokeMapOutput

func (o SpokeMapOutput) ToSpokeMapOutput() SpokeMapOutput

func (SpokeMapOutput) ToSpokeMapOutputWithContext

func (o SpokeMapOutput) ToSpokeMapOutputWithContext(ctx context.Context) SpokeMapOutput

type SpokeOutput

type SpokeOutput struct{ *pulumi.OutputState }

func (SpokeOutput) CreateTime

func (o SpokeOutput) CreateTime() pulumi.StringOutput

Output only. The time the spoke was created.

func (SpokeOutput) Description

func (o SpokeOutput) Description() pulumi.StringPtrOutput

An optional description of the spoke.

func (SpokeOutput) EffectiveLabels

func (o SpokeOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (SpokeOutput) ElementType

func (SpokeOutput) ElementType() reflect.Type

func (SpokeOutput) Hub

Immutable. The URI of the hub that this spoke is attached to.

func (SpokeOutput) Labels

func (o SpokeOutput) Labels() pulumi.StringMapOutput

Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (SpokeOutput) LinkedInterconnectAttachments

func (o SpokeOutput) LinkedInterconnectAttachments() SpokeLinkedInterconnectAttachmentsPtrOutput

A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. Structure is documented below.

func (SpokeOutput) LinkedRouterApplianceInstances

func (o SpokeOutput) LinkedRouterApplianceInstances() SpokeLinkedRouterApplianceInstancesPtrOutput

The URIs of linked Router appliance resources Structure is documented below.

func (SpokeOutput) LinkedVpcNetwork

func (o SpokeOutput) LinkedVpcNetwork() SpokeLinkedVpcNetworkPtrOutput

VPC network that is associated with the spoke. Structure is documented below.

func (SpokeOutput) LinkedVpnTunnels

func (o SpokeOutput) LinkedVpnTunnels() SpokeLinkedVpnTunnelsPtrOutput

The URIs of linked VPN tunnel resources Structure is documented below.

func (SpokeOutput) Location

func (o SpokeOutput) Location() pulumi.StringOutput

The location for the resource

***

func (SpokeOutput) Name

func (o SpokeOutput) Name() pulumi.StringOutput

Immutable. The name of the spoke. Spoke names must be unique.

func (SpokeOutput) Project

func (o SpokeOutput) Project() pulumi.StringOutput

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

func (SpokeOutput) PulumiLabels

func (o SpokeOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (SpokeOutput) State

func (o SpokeOutput) State() pulumi.StringOutput

Output only. The current lifecycle state of this spoke.

func (SpokeOutput) ToSpokeOutput

func (o SpokeOutput) ToSpokeOutput() SpokeOutput

func (SpokeOutput) ToSpokeOutputWithContext

func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput

func (SpokeOutput) UniqueId

func (o SpokeOutput) UniqueId() pulumi.StringOutput

Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.

func (SpokeOutput) UpdateTime

func (o SpokeOutput) UpdateTime() pulumi.StringOutput

Output only. The time the spoke was last updated.

type SpokeState

type SpokeState struct {
	// Output only. The time the spoke was created.
	CreateTime pulumi.StringPtrInput
	// An optional description of the spoke.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Immutable. The URI of the hub that this spoke is attached to.
	Hub pulumi.StringPtrInput
	// Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
	// Structure is documented below.
	LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrInput
	// The URIs of linked Router appliance resources
	// Structure is documented below.
	LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrInput
	// VPC network that is associated with the spoke.
	// Structure is documented below.
	LinkedVpcNetwork SpokeLinkedVpcNetworkPtrInput
	// The URIs of linked VPN tunnel resources
	// Structure is documented below.
	LinkedVpnTunnels SpokeLinkedVpnTunnelsPtrInput
	// The location for the resource
	//
	// ***
	Location pulumi.StringPtrInput
	// Immutable. The name of the spoke. Spoke names must be unique.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. The current lifecycle state of this spoke.
	State pulumi.StringPtrInput
	// Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
	UniqueId pulumi.StringPtrInput
	// Output only. The time the spoke was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (SpokeState) ElementType

func (SpokeState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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