edgenetwork

package
v6.67.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	pulumi.CustomResourceState

	// The time when the subnet was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A free-text description of the resource. Max length 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Labels associated with this resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
	Location pulumi.StringOutput `pulumi:"location"`
	// IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
	Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
	// The canonical name of this resource, with format
	// `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
	Name pulumi.StringOutput `pulumi:"name"`
	// A unique ID that identifies this network.
	//
	// ***
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// 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 time when the subnet was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The name of the target Distributed Cloud Edge zone.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

A Distributed Cloud Edge network, which provides L3 isolation within a zone.

To get more information about Network, see:

* [API documentation](https://cloud.google.com/distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.networks) * How-to Guides

## Example Usage ### Edgenetwork Network

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/edgenetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edgenetwork.NewNetwork(ctx, "exampleNetwork", &edgenetwork.NetworkArgs{
			NetworkId:   pulumi.String("example-network"),
			Location:    pulumi.String("us-west1"),
			Zone:        pulumi.String(""),
			Description: pulumi.String("Example network."),
			Mtu:         pulumi.Int(9000),
			Labels: pulumi.StringMap{
				"environment": pulumi.String("dev"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Network can be imported using any of these accepted formats

```sh

$ pulumi import gcp:edgenetwork/network:Network default projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}

```

```sh

$ pulumi import gcp:edgenetwork/network:Network default {{project}}/{{location}}/{{zone}}/{{network_id}}

```

```sh

$ pulumi import gcp:edgenetwork/network:Network default {{location}}/{{zone}}/{{network_id}}

```

```sh

$ pulumi import gcp:edgenetwork/network:Network default {{location}}/{{network_id}}

```

```sh

$ pulumi import gcp:edgenetwork/network:Network default {{name}}

```

func GetNetwork

func GetNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkState, opts ...pulumi.ResourceOption) (*Network, error)

GetNetwork gets an existing Network 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 NewNetwork

func NewNetwork(ctx *pulumi.Context,
	name string, args *NetworkArgs, opts ...pulumi.ResourceOption) (*Network, error)

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

func (*Network) ElementType

func (*Network) ElementType() reflect.Type

func (*Network) ToNetworkOutput

func (i *Network) ToNetworkOutput() NetworkOutput

func (*Network) ToNetworkOutputWithContext

func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput

func (*Network) ToOutput

func (i *Network) ToOutput(ctx context.Context) pulumix.Output[*Network]

type NetworkArgs

type NetworkArgs struct {
	// A free-text description of the resource. Max length 1024 characters.
	Description pulumi.StringPtrInput
	// Labels associated with this resource.
	Labels pulumi.StringMapInput
	// The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
	Location pulumi.StringInput
	// IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
	Mtu pulumi.IntPtrInput
	// A unique ID that identifies this network.
	//
	// ***
	NetworkId 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
	// The name of the target Distributed Cloud Edge zone.
	Zone pulumi.StringInput
}

The set of arguments for constructing a Network resource.

func (NetworkArgs) ElementType

func (NetworkArgs) ElementType() reflect.Type

type NetworkArray

type NetworkArray []NetworkInput

func (NetworkArray) ElementType

func (NetworkArray) ElementType() reflect.Type

func (NetworkArray) ToNetworkArrayOutput

func (i NetworkArray) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArray) ToNetworkArrayOutputWithContext

func (i NetworkArray) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput

func (NetworkArray) ToOutput

func (i NetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]*Network]

type NetworkArrayInput

type NetworkArrayInput interface {
	pulumi.Input

	ToNetworkArrayOutput() NetworkArrayOutput
	ToNetworkArrayOutputWithContext(context.Context) NetworkArrayOutput
}

NetworkArrayInput is an input type that accepts NetworkArray and NetworkArrayOutput values. You can construct a concrete instance of `NetworkArrayInput` via:

NetworkArray{ NetworkArgs{...} }

type NetworkArrayOutput

type NetworkArrayOutput struct{ *pulumi.OutputState }

func (NetworkArrayOutput) ElementType

func (NetworkArrayOutput) ElementType() reflect.Type

func (NetworkArrayOutput) Index

func (NetworkArrayOutput) ToNetworkArrayOutput

func (o NetworkArrayOutput) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArrayOutput) ToNetworkArrayOutputWithContext

func (o NetworkArrayOutput) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput

func (NetworkArrayOutput) ToOutput

type NetworkInput

type NetworkInput interface {
	pulumi.Input

	ToNetworkOutput() NetworkOutput
	ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
}

type NetworkMap

type NetworkMap map[string]NetworkInput

func (NetworkMap) ElementType

func (NetworkMap) ElementType() reflect.Type

func (NetworkMap) ToNetworkMapOutput

func (i NetworkMap) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMap) ToNetworkMapOutputWithContext

func (i NetworkMap) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput

func (NetworkMap) ToOutput

func (i NetworkMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Network]

type NetworkMapInput

type NetworkMapInput interface {
	pulumi.Input

	ToNetworkMapOutput() NetworkMapOutput
	ToNetworkMapOutputWithContext(context.Context) NetworkMapOutput
}

NetworkMapInput is an input type that accepts NetworkMap and NetworkMapOutput values. You can construct a concrete instance of `NetworkMapInput` via:

NetworkMap{ "key": NetworkArgs{...} }

type NetworkMapOutput

type NetworkMapOutput struct{ *pulumi.OutputState }

func (NetworkMapOutput) ElementType

func (NetworkMapOutput) ElementType() reflect.Type

func (NetworkMapOutput) MapIndex

func (NetworkMapOutput) ToNetworkMapOutput

func (o NetworkMapOutput) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMapOutput) ToNetworkMapOutputWithContext

func (o NetworkMapOutput) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput

func (NetworkMapOutput) ToOutput

type NetworkOutput

type NetworkOutput struct{ *pulumi.OutputState }

func (NetworkOutput) CreateTime

func (o NetworkOutput) CreateTime() pulumi.StringOutput

The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.

func (NetworkOutput) Description

func (o NetworkOutput) Description() pulumi.StringPtrOutput

A free-text description of the resource. Max length 1024 characters.

func (NetworkOutput) ElementType

func (NetworkOutput) ElementType() reflect.Type

func (NetworkOutput) Labels

Labels associated with this resource.

func (NetworkOutput) Location

func (o NetworkOutput) Location() pulumi.StringOutput

The Google Cloud region to which the target Distributed Cloud Edge zone belongs.

func (NetworkOutput) Mtu

IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.

func (NetworkOutput) Name

The canonical name of this resource, with format `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`

func (NetworkOutput) NetworkId

func (o NetworkOutput) NetworkId() pulumi.StringOutput

A unique ID that identifies this network.

***

func (NetworkOutput) Project

func (o NetworkOutput) Project() pulumi.StringOutput

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

func (NetworkOutput) ToNetworkOutput

func (o NetworkOutput) ToNetworkOutput() NetworkOutput

func (NetworkOutput) ToNetworkOutputWithContext

func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput

func (NetworkOutput) ToOutput

func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Network]

func (NetworkOutput) UpdateTime

func (o NetworkOutput) UpdateTime() pulumi.StringOutput

The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.

func (NetworkOutput) Zone

The name of the target Distributed Cloud Edge zone.

type NetworkState

type NetworkState struct {
	// The time when the subnet was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	CreateTime pulumi.StringPtrInput
	// A free-text description of the resource. Max length 1024 characters.
	Description pulumi.StringPtrInput
	// Labels associated with this resource.
	Labels pulumi.StringMapInput
	// The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
	Location pulumi.StringPtrInput
	// IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
	Mtu pulumi.IntPtrInput
	// The canonical name of this resource, with format
	// `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
	Name pulumi.StringPtrInput
	// A unique ID that identifies this network.
	//
	// ***
	NetworkId 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 time when the subnet was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	UpdateTime pulumi.StringPtrInput
	// The name of the target Distributed Cloud Edge zone.
	Zone pulumi.StringPtrInput
}

func (NetworkState) ElementType

func (NetworkState) ElementType() reflect.Type

type Subnet

type Subnet struct {
	pulumi.CustomResourceState

	// The time when the subnet was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A free-text description of the resource. Max length 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
	Ipv4Cidrs pulumi.StringArrayOutput `pulumi:"ipv4Cidrs"`
	// The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
	Ipv6Cidrs pulumi.StringArrayOutput `pulumi:"ipv6Cidrs"`
	// Labels associated with this resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
	Location pulumi.StringOutput `pulumi:"location"`
	// The canonical name of this resource, with format
	// `projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}`
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the network to which this router belongs.
	// Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
	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"`
	// Current stage of the resource to the device by config push.
	State pulumi.StringOutput `pulumi:"state"`
	// A unique ID that identifies this subnet.
	//
	// ***
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The time when the subnet was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// VLAN ID for this subnetwork. If not specified, one is assigned automatically.
	VlanId pulumi.IntOutput `pulumi:"vlanId"`
	// The name of the target Distributed Cloud Edge zone.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

A Distributed Cloud Edge subnet, which provides L2 isolation within a network.

To get more information about Subnet, see:

* [API documentation](https://cloud.google.com/distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.subnets) * How-to Guides

## Example Usage ### Edgenetwork Subnet

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/edgenetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleNetwork, err := edgenetwork.NewNetwork(ctx, "exampleNetwork", &edgenetwork.NetworkArgs{
			NetworkId:   pulumi.String("example-network"),
			Location:    pulumi.String("us-west1"),
			Zone:        pulumi.String(""),
			Description: pulumi.String("Example network."),
			Mtu:         pulumi.Int(9000),
		})
		if err != nil {
			return err
		}
		_, err = edgenetwork.NewSubnet(ctx, "exampleSubnet", &edgenetwork.SubnetArgs{
			SubnetId:    pulumi.String("example-subnet"),
			Location:    pulumi.String("us-west1"),
			Zone:        pulumi.String(""),
			Description: pulumi.String("Example subnet."),
			Network:     exampleNetwork.ID(),
			Ipv4Cidrs: pulumi.StringArray{
				pulumi.String("4.4.4.1/24"),
			},
			Labels: pulumi.StringMap{
				"environment": pulumi.String("dev"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Edgenetwork Subnet With Vlan Id

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/edgenetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleNetwork, err := edgenetwork.NewNetwork(ctx, "exampleNetwork", &edgenetwork.NetworkArgs{
			NetworkId:   pulumi.String("example-network"),
			Location:    pulumi.String("us-west1"),
			Zone:        pulumi.String(""),
			Description: pulumi.String("Example network."),
			Mtu:         pulumi.Int(9000),
		})
		if err != nil {
			return err
		}
		_, err = edgenetwork.NewSubnet(ctx, "exampleSubnetWithVlanId", &edgenetwork.SubnetArgs{
			SubnetId:    pulumi.String("example-subnet-with-vlan-id"),
			Location:    pulumi.String("us-west1"),
			Zone:        pulumi.String(""),
			Description: pulumi.String("Example subnet with VLAN ID."),
			Network:     exampleNetwork.ID(),
			Ipv6Cidrs: pulumi.StringArray{
				pulumi.String("4444:4444:4444:4444::1/64"),
			},
			VlanId: pulumi.Int(44),
			Labels: pulumi.StringMap{
				"environment": pulumi.String("dev"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Subnet can be imported using any of these accepted formats

```sh

$ pulumi import gcp:edgenetwork/subnet:Subnet default projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}

```

```sh

$ pulumi import gcp:edgenetwork/subnet:Subnet default {{project}}/{{location}}/{{zone}}/{{subnet_id}}

```

```sh

$ pulumi import gcp:edgenetwork/subnet:Subnet default {{location}}/{{zone}}/{{subnet_id}}

```

```sh

$ pulumi import gcp:edgenetwork/subnet:Subnet default {{location}}/{{subnet_id}}

```

```sh

$ pulumi import gcp:edgenetwork/subnet:Subnet default {{name}}

```

func GetSubnet

func GetSubnet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubnetState, opts ...pulumi.ResourceOption) (*Subnet, error)

GetSubnet gets an existing Subnet 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 NewSubnet

func NewSubnet(ctx *pulumi.Context,
	name string, args *SubnetArgs, opts ...pulumi.ResourceOption) (*Subnet, error)

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

func (*Subnet) ElementType

func (*Subnet) ElementType() reflect.Type

func (*Subnet) ToOutput

func (i *Subnet) ToOutput(ctx context.Context) pulumix.Output[*Subnet]

func (*Subnet) ToSubnetOutput

func (i *Subnet) ToSubnetOutput() SubnetOutput

func (*Subnet) ToSubnetOutputWithContext

func (i *Subnet) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput

type SubnetArgs

type SubnetArgs struct {
	// A free-text description of the resource. Max length 1024 characters.
	Description pulumi.StringPtrInput
	// The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
	Ipv4Cidrs pulumi.StringArrayInput
	// The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
	Ipv6Cidrs pulumi.StringArrayInput
	// Labels associated with this resource.
	Labels pulumi.StringMapInput
	// The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
	Location pulumi.StringInput
	// The ID of the network to which this router belongs.
	// Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
	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
	// A unique ID that identifies this subnet.
	//
	// ***
	SubnetId pulumi.StringInput
	// VLAN ID for this subnetwork. If not specified, one is assigned automatically.
	VlanId pulumi.IntPtrInput
	// The name of the target Distributed Cloud Edge zone.
	Zone pulumi.StringInput
}

The set of arguments for constructing a Subnet resource.

func (SubnetArgs) ElementType

func (SubnetArgs) ElementType() reflect.Type

type SubnetArray

type SubnetArray []SubnetInput

func (SubnetArray) ElementType

func (SubnetArray) ElementType() reflect.Type

func (SubnetArray) ToOutput

func (i SubnetArray) ToOutput(ctx context.Context) pulumix.Output[[]*Subnet]

func (SubnetArray) ToSubnetArrayOutput

func (i SubnetArray) ToSubnetArrayOutput() SubnetArrayOutput

func (SubnetArray) ToSubnetArrayOutputWithContext

func (i SubnetArray) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput

type SubnetArrayInput

type SubnetArrayInput interface {
	pulumi.Input

	ToSubnetArrayOutput() SubnetArrayOutput
	ToSubnetArrayOutputWithContext(context.Context) SubnetArrayOutput
}

SubnetArrayInput is an input type that accepts SubnetArray and SubnetArrayOutput values. You can construct a concrete instance of `SubnetArrayInput` via:

SubnetArray{ SubnetArgs{...} }

type SubnetArrayOutput

type SubnetArrayOutput struct{ *pulumi.OutputState }

func (SubnetArrayOutput) ElementType

func (SubnetArrayOutput) ElementType() reflect.Type

func (SubnetArrayOutput) Index

func (SubnetArrayOutput) ToOutput

func (o SubnetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Subnet]

func (SubnetArrayOutput) ToSubnetArrayOutput

func (o SubnetArrayOutput) ToSubnetArrayOutput() SubnetArrayOutput

func (SubnetArrayOutput) ToSubnetArrayOutputWithContext

func (o SubnetArrayOutput) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput

type SubnetInput

type SubnetInput interface {
	pulumi.Input

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

type SubnetMap

type SubnetMap map[string]SubnetInput

func (SubnetMap) ElementType

func (SubnetMap) ElementType() reflect.Type

func (SubnetMap) ToOutput

func (i SubnetMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Subnet]

func (SubnetMap) ToSubnetMapOutput

func (i SubnetMap) ToSubnetMapOutput() SubnetMapOutput

func (SubnetMap) ToSubnetMapOutputWithContext

func (i SubnetMap) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput

type SubnetMapInput

type SubnetMapInput interface {
	pulumi.Input

	ToSubnetMapOutput() SubnetMapOutput
	ToSubnetMapOutputWithContext(context.Context) SubnetMapOutput
}

SubnetMapInput is an input type that accepts SubnetMap and SubnetMapOutput values. You can construct a concrete instance of `SubnetMapInput` via:

SubnetMap{ "key": SubnetArgs{...} }

type SubnetMapOutput

type SubnetMapOutput struct{ *pulumi.OutputState }

func (SubnetMapOutput) ElementType

func (SubnetMapOutput) ElementType() reflect.Type

func (SubnetMapOutput) MapIndex

func (SubnetMapOutput) ToOutput

func (o SubnetMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Subnet]

func (SubnetMapOutput) ToSubnetMapOutput

func (o SubnetMapOutput) ToSubnetMapOutput() SubnetMapOutput

func (SubnetMapOutput) ToSubnetMapOutputWithContext

func (o SubnetMapOutput) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput

type SubnetOutput

type SubnetOutput struct{ *pulumi.OutputState }

func (SubnetOutput) CreateTime

func (o SubnetOutput) CreateTime() pulumi.StringOutput

The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.

func (SubnetOutput) Description

func (o SubnetOutput) Description() pulumi.StringPtrOutput

A free-text description of the resource. Max length 1024 characters.

func (SubnetOutput) ElementType

func (SubnetOutput) ElementType() reflect.Type

func (SubnetOutput) Ipv4Cidrs

func (o SubnetOutput) Ipv4Cidrs() pulumi.StringArrayOutput

The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.

func (SubnetOutput) Ipv6Cidrs

func (o SubnetOutput) Ipv6Cidrs() pulumi.StringArrayOutput

The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.

func (SubnetOutput) Labels

func (o SubnetOutput) Labels() pulumi.StringMapOutput

Labels associated with this resource.

func (SubnetOutput) Location

func (o SubnetOutput) Location() pulumi.StringOutput

The Google Cloud region to which the target Distributed Cloud Edge zone belongs.

func (SubnetOutput) Name

func (o SubnetOutput) Name() pulumi.StringOutput

The canonical name of this resource, with format `projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}`

func (SubnetOutput) Network

func (o SubnetOutput) Network() pulumi.StringOutput

The ID of the network to which this router belongs. Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`

func (SubnetOutput) Project

func (o SubnetOutput) Project() pulumi.StringOutput

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

func (SubnetOutput) State

func (o SubnetOutput) State() pulumi.StringOutput

Current stage of the resource to the device by config push.

func (SubnetOutput) SubnetId

func (o SubnetOutput) SubnetId() pulumi.StringOutput

A unique ID that identifies this subnet.

***

func (SubnetOutput) ToOutput

func (o SubnetOutput) ToOutput(ctx context.Context) pulumix.Output[*Subnet]

func (SubnetOutput) ToSubnetOutput

func (o SubnetOutput) ToSubnetOutput() SubnetOutput

func (SubnetOutput) ToSubnetOutputWithContext

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

func (SubnetOutput) UpdateTime

func (o SubnetOutput) UpdateTime() pulumi.StringOutput

The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.

func (SubnetOutput) VlanId

func (o SubnetOutput) VlanId() pulumi.IntOutput

VLAN ID for this subnetwork. If not specified, one is assigned automatically.

func (SubnetOutput) Zone

func (o SubnetOutput) Zone() pulumi.StringOutput

The name of the target Distributed Cloud Edge zone.

type SubnetState

type SubnetState struct {
	// The time when the subnet was created.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	CreateTime pulumi.StringPtrInput
	// A free-text description of the resource. Max length 1024 characters.
	Description pulumi.StringPtrInput
	// The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
	Ipv4Cidrs pulumi.StringArrayInput
	// The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
	Ipv6Cidrs pulumi.StringArrayInput
	// Labels associated with this resource.
	Labels pulumi.StringMapInput
	// The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
	Location pulumi.StringPtrInput
	// The canonical name of this resource, with format
	// `projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}`
	Name pulumi.StringPtrInput
	// The ID of the network to which this router belongs.
	// Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
	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
	// Current stage of the resource to the device by config push.
	State pulumi.StringPtrInput
	// A unique ID that identifies this subnet.
	//
	// ***
	SubnetId pulumi.StringPtrInput
	// The time when the subnet was last updated.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
	UpdateTime pulumi.StringPtrInput
	// VLAN ID for this subnetwork. If not specified, one is assigned automatically.
	VlanId pulumi.IntPtrInput
	// The name of the target Distributed Cloud Edge zone.
	Zone pulumi.StringPtrInput
}

func (SubnetState) ElementType

func (SubnetState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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