Documentation ¶
Index ¶
- type Hub
- type HubArgs
- type HubArray
- type HubArrayInput
- type HubArrayOutput
- type HubInput
- type HubMap
- type HubMapInput
- type HubMapOutput
- type HubOutput
- type HubRoutingVpc
- type HubRoutingVpcArgs
- type HubRoutingVpcArray
- type HubRoutingVpcArrayInput
- type HubRoutingVpcArrayOutput
- func (HubRoutingVpcArrayOutput) ElementType() reflect.Type
- func (o HubRoutingVpcArrayOutput) Index(i pulumi.IntInput) HubRoutingVpcOutput
- func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutput() HubRoutingVpcArrayOutput
- func (o HubRoutingVpcArrayOutput) ToHubRoutingVpcArrayOutputWithContext(ctx context.Context) HubRoutingVpcArrayOutput
- type HubRoutingVpcInput
- type HubRoutingVpcOutput
- type HubState
- type Spoke
- type SpokeArgs
- type SpokeArray
- type SpokeArrayInput
- type SpokeArrayOutput
- type SpokeInput
- type SpokeLinkedInterconnectAttachments
- type SpokeLinkedInterconnectAttachmentsArgs
- func (SpokeLinkedInterconnectAttachmentsArgs) ElementType() reflect.Type
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
- type SpokeLinkedInterconnectAttachmentsInput
- type SpokeLinkedInterconnectAttachmentsOutput
- func (SpokeLinkedInterconnectAttachmentsOutput) ElementType() reflect.Type
- func (o SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsOutput) Uris() pulumi.StringArrayOutput
- type SpokeLinkedInterconnectAttachmentsPtrInput
- type SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) Elem() SpokeLinkedInterconnectAttachmentsOutput
- func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
- func (o SpokeLinkedInterconnectAttachmentsPtrOutput) Uris() pulumi.StringArrayOutput
- type SpokeLinkedRouterApplianceInstances
- type SpokeLinkedRouterApplianceInstancesArgs
- func (SpokeLinkedRouterApplianceInstancesArgs) ElementType() reflect.Type
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
- type SpokeLinkedRouterApplianceInstancesInput
- type SpokeLinkedRouterApplianceInstancesInstance
- type SpokeLinkedRouterApplianceInstancesInstanceArgs
- func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ElementType() reflect.Type
- func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
- type SpokeLinkedRouterApplianceInstancesInstanceArray
- func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType() reflect.Type
- func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- type SpokeLinkedRouterApplianceInstancesInstanceArrayInput
- type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) Index(i pulumi.IntInput) SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- type SpokeLinkedRouterApplianceInstancesInstanceInput
- type SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress() pulumi.StringPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
- func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine() pulumi.StringPtrOutput
- type SpokeLinkedRouterApplianceInstancesOutput
- func (SpokeLinkedRouterApplianceInstancesOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
- type SpokeLinkedRouterApplianceInstancesPtrInput
- type SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) Elem() SpokeLinkedRouterApplianceInstancesOutput
- func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
- func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
- type SpokeLinkedVpnTunnels
- type SpokeLinkedVpnTunnelsArgs
- func (SpokeLinkedVpnTunnelsArgs) ElementType() reflect.Type
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
- func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
- type SpokeLinkedVpnTunnelsInput
- type SpokeLinkedVpnTunnelsOutput
- func (SpokeLinkedVpnTunnelsOutput) ElementType() reflect.Type
- func (o SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer() pulumi.BoolOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsOutput) Uris() pulumi.StringArrayOutput
- type SpokeLinkedVpnTunnelsPtrInput
- type SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) Elem() SpokeLinkedVpnTunnelsOutput
- func (SpokeLinkedVpnTunnelsPtrOutput) ElementType() reflect.Type
- func (o SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
- func (o SpokeLinkedVpnTunnelsPtrOutput) Uris() pulumi.StringArrayOutput
- type SpokeMap
- type SpokeMapInput
- type SpokeMapOutput
- type SpokeOutput
- type SpokeState
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"` // 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). 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 project for the resource Project pulumi.StringOutput `pulumi:"project"` // 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. RoutingVpcs HubRoutingVpcArrayOutput `pulumi:"routingVpcs"` // Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING 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
## Example Usage ### Basic_hub A basic test of a networkconnectivity hub ```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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{ Description: pulumi.String("A sample hub"), Labels: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, Project: pulumi.String("my-project-name"), }) if err != nil { return err } return nil }) }
```
## Import
Hub can be imported using any of these accepted formats ¶
```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) ToHubOutput ¶
type HubArgs ¶
type HubArgs struct { // An optional description of the hub. Description 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). 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 project for the resource Project pulumi.StringPtrInput }
The set of arguments for constructing a Hub resource.
func (HubArgs) ElementType ¶
type HubArray ¶
type HubArray []HubInput
func (HubArray) ElementType ¶
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) ToHubArrayOutput ¶
func (o HubArrayOutput) ToHubArrayOutput() HubArrayOutput
func (HubArrayOutput) ToHubArrayOutputWithContext ¶
func (o HubArrayOutput) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput
type HubMap ¶
func (HubMap) ElementType ¶
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) ElementType ¶
func (HubOutput) ToHubOutput ¶
type HubRoutingVpc ¶
type HubRoutingVpc struct {
Uri *string `pulumi:"uri"`
}
type HubRoutingVpcArgs ¶
type HubRoutingVpcArgs struct {
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 (o HubRoutingVpcArrayOutput) Index(i pulumi.IntInput) HubRoutingVpcOutput
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 ¶
func (o HubRoutingVpcOutput) Uri() pulumi.StringPtrOutput
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 // 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). 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 project for the resource Project pulumi.StringPtrInput // 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. RoutingVpcs HubRoutingVpcArrayInput // Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING 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 ¶
type Spoke ¶ added in v6.9.0
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"` // 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). 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. LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrOutput `pulumi:"linkedInterconnectAttachments"` // The URIs of linked Router appliance resources LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrOutput `pulumi:"linkedRouterApplianceInstances"` // The URIs of linked VPN tunnel resources 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 project for the resource Project pulumi.StringOutput `pulumi:"project"` // Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING 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
## Example Usage ### Router_appliance ```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } subnetwork, err := compute.NewSubnetwork(ctx, "subnetwork", &compute.SubnetworkArgs{ IpCidrRange: pulumi.String("10.0.0.0/28"), Region: pulumi.String("us-west1"), Network: network.SelfLink, }) if err != nil { return err } instance, err := compute.NewInstance(ctx, "instance", &compute.InstanceArgs{ MachineType: pulumi.String("e2-medium"), CanIpForward: pulumi.Bool(true), Zone: pulumi.String("us-west1-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, "basicHub", &networkconnectivity.HubArgs{ 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{ Location: pulumi.String("us-west1"), 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 ¶
```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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (*Spoke) ToSpokeOutput ¶ added in v6.9.0
func (i *Spoke) ToSpokeOutput() SpokeOutput
func (*Spoke) ToSpokeOutputWithContext ¶ added in v6.9.0
func (i *Spoke) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
type SpokeArgs ¶ added in v6.9.0
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). 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. LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrInput // The URIs of linked Router appliance resources LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrInput // The URIs of linked VPN tunnel resources 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 project for the resource Project pulumi.StringPtrInput }
The set of arguments for constructing a Spoke resource.
func (SpokeArgs) ElementType ¶ added in v6.9.0
type SpokeArray ¶ added in v6.9.0
type SpokeArray []SpokeInput
func (SpokeArray) ElementType ¶ added in v6.9.0
func (SpokeArray) ElementType() reflect.Type
func (SpokeArray) ToSpokeArrayOutput ¶ added in v6.9.0
func (i SpokeArray) ToSpokeArrayOutput() SpokeArrayOutput
func (SpokeArray) ToSpokeArrayOutputWithContext ¶ added in v6.9.0
func (i SpokeArray) ToSpokeArrayOutputWithContext(ctx context.Context) SpokeArrayOutput
type SpokeArrayInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeArrayOutput struct{ *pulumi.OutputState }
func (SpokeArrayOutput) ElementType ¶ added in v6.9.0
func (SpokeArrayOutput) ElementType() reflect.Type
func (SpokeArrayOutput) Index ¶ added in v6.9.0
func (o SpokeArrayOutput) Index(i pulumi.IntInput) SpokeOutput
func (SpokeArrayOutput) ToSpokeArrayOutput ¶ added in v6.9.0
func (o SpokeArrayOutput) ToSpokeArrayOutput() SpokeArrayOutput
func (SpokeArrayOutput) ToSpokeArrayOutputWithContext ¶ added in v6.9.0
func (o SpokeArrayOutput) ToSpokeArrayOutputWithContext(ctx context.Context) SpokeArrayOutput
type SpokeInput ¶ added in v6.9.0
type SpokeInput interface { pulumi.Input ToSpokeOutput() SpokeOutput ToSpokeOutputWithContext(ctx context.Context) SpokeOutput }
type SpokeLinkedInterconnectAttachments ¶ added in v6.9.0
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 VPN tunnel resources. Uris []string `pulumi:"uris"` }
type SpokeLinkedInterconnectAttachmentsArgs ¶ added in v6.9.0
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 VPN tunnel resources. Uris pulumi.StringArrayInput `pulumi:"uris"` }
func (SpokeLinkedInterconnectAttachmentsArgs) ElementType ¶ added in v6.9.0
func (SpokeLinkedInterconnectAttachmentsArgs) ElementType() reflect.Type
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput ¶ added in v6.9.0
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput ¶ added in v6.9.0
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedInterconnectAttachmentsArgs) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
type SpokeLinkedInterconnectAttachmentsInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeLinkedInterconnectAttachmentsOutput struct{ *pulumi.OutputState }
func (SpokeLinkedInterconnectAttachmentsOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedInterconnectAttachmentsOutput) ElementType() reflect.Type
func (SpokeLinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutput() SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsOutput
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsOutput) Uris ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsOutput) Uris() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources.
type SpokeLinkedInterconnectAttachmentsPtrInput ¶ added in v6.9.0
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
func SpokeLinkedInterconnectAttachmentsPtr ¶ added in v6.9.0
func SpokeLinkedInterconnectAttachmentsPtr(v *SpokeLinkedInterconnectAttachmentsArgs) SpokeLinkedInterconnectAttachmentsPtrInput
type SpokeLinkedInterconnectAttachmentsPtrOutput ¶ added in v6.9.0
type SpokeLinkedInterconnectAttachmentsPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ElementType() reflect.Type
func (SpokeLinkedInterconnectAttachmentsPtrOutput) SiteToSiteDataTransfer ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) 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 (SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutput() SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) ToSpokeLinkedInterconnectAttachmentsPtrOutputWithContext(ctx context.Context) SpokeLinkedInterconnectAttachmentsPtrOutput
func (SpokeLinkedInterconnectAttachmentsPtrOutput) Uris ¶ added in v6.9.0
func (o SpokeLinkedInterconnectAttachmentsPtrOutput) Uris() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources.
type SpokeLinkedRouterApplianceInstances ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstances struct { // The list of router appliance instances 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 ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesArgs struct { // The list of router appliance instances 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 ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesArgs) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
func (SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesArgs) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
type SpokeLinkedRouterApplianceInstancesInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesInstanceArgs ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
func (SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesInstanceArgs) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
type SpokeLinkedRouterApplianceInstancesInstanceArray ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesInstanceArray []SpokeLinkedRouterApplianceInstancesInstanceInput
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
func (SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedRouterApplianceInstancesInstanceArray) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
type SpokeLinkedRouterApplianceInstancesInstanceArrayInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutput() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
func (SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesInstanceArrayOutput) ToSpokeLinkedRouterApplianceInstancesInstanceArrayOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
type SpokeLinkedRouterApplianceInstancesInstanceInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesInstanceOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) IpAddress() pulumi.StringPtrOutput
The IP address on the VM to use for peering.
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutput() SpokeLinkedRouterApplianceInstancesInstanceOutput
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) ToSpokeLinkedRouterApplianceInstancesInstanceOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesInstanceOutput
func (SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesInstanceOutput) VirtualMachine() pulumi.StringPtrOutput
The URI of the virtual machine resource
type SpokeLinkedRouterApplianceInstancesOutput ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesOutput) Instances ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
The list of router appliance instances
func (SpokeLinkedRouterApplianceInstancesOutput) SiteToSiteDataTransfer ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutput() SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesOutput
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
func (SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
type SpokeLinkedRouterApplianceInstancesPtrInput ¶ added in v6.9.0
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
func SpokeLinkedRouterApplianceInstancesPtr ¶ added in v6.9.0
func SpokeLinkedRouterApplianceInstancesPtr(v *SpokeLinkedRouterApplianceInstancesArgs) SpokeLinkedRouterApplianceInstancesPtrInput
type SpokeLinkedRouterApplianceInstancesPtrOutput ¶ added in v6.9.0
type SpokeLinkedRouterApplianceInstancesPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ElementType() reflect.Type
func (SpokeLinkedRouterApplianceInstancesPtrOutput) Instances ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) Instances() SpokeLinkedRouterApplianceInstancesInstanceArrayOutput
The list of router appliance instances
func (SpokeLinkedRouterApplianceInstancesPtrOutput) SiteToSiteDataTransfer ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) 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 (SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutput() SpokeLinkedRouterApplianceInstancesPtrOutput
func (SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedRouterApplianceInstancesPtrOutput) ToSpokeLinkedRouterApplianceInstancesPtrOutputWithContext(ctx context.Context) SpokeLinkedRouterApplianceInstancesPtrOutput
type SpokeLinkedVpnTunnels ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (SpokeLinkedVpnTunnelsArgs) ElementType() reflect.Type
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput ¶ added in v6.9.0
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput ¶ added in v6.9.0
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext ¶ added in v6.9.0
func (i SpokeLinkedVpnTunnelsArgs) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
type SpokeLinkedVpnTunnelsInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeLinkedVpnTunnelsOutput struct{ *pulumi.OutputState }
func (SpokeLinkedVpnTunnelsOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedVpnTunnelsOutput) ElementType() reflect.Type
func (SpokeLinkedVpnTunnelsOutput) SiteToSiteDataTransfer ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutput() SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsOutput) Uris ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsOutput) Uris() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources.
type SpokeLinkedVpnTunnelsPtrInput ¶ added in v6.9.0
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
func SpokeLinkedVpnTunnelsPtr ¶ added in v6.9.0
func SpokeLinkedVpnTunnelsPtr(v *SpokeLinkedVpnTunnelsArgs) SpokeLinkedVpnTunnelsPtrInput
type SpokeLinkedVpnTunnelsPtrOutput ¶ added in v6.9.0
type SpokeLinkedVpnTunnelsPtrOutput struct{ *pulumi.OutputState }
func (SpokeLinkedVpnTunnelsPtrOutput) Elem ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsPtrOutput) Elem() SpokeLinkedVpnTunnelsOutput
func (SpokeLinkedVpnTunnelsPtrOutput) ElementType ¶ added in v6.9.0
func (SpokeLinkedVpnTunnelsPtrOutput) ElementType() reflect.Type
func (SpokeLinkedVpnTunnelsPtrOutput) SiteToSiteDataTransfer ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutput() SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsPtrOutput) ToSpokeLinkedVpnTunnelsPtrOutputWithContext(ctx context.Context) SpokeLinkedVpnTunnelsPtrOutput
func (SpokeLinkedVpnTunnelsPtrOutput) Uris ¶ added in v6.9.0
func (o SpokeLinkedVpnTunnelsPtrOutput) Uris() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources.
type SpokeMap ¶ added in v6.9.0
type SpokeMap map[string]SpokeInput
func (SpokeMap) ElementType ¶ added in v6.9.0
func (SpokeMap) ToSpokeMapOutput ¶ added in v6.9.0
func (i SpokeMap) ToSpokeMapOutput() SpokeMapOutput
func (SpokeMap) ToSpokeMapOutputWithContext ¶ added in v6.9.0
func (i SpokeMap) ToSpokeMapOutputWithContext(ctx context.Context) SpokeMapOutput
type SpokeMapInput ¶ added in v6.9.0
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 ¶ added in v6.9.0
type SpokeMapOutput struct{ *pulumi.OutputState }
func (SpokeMapOutput) ElementType ¶ added in v6.9.0
func (SpokeMapOutput) ElementType() reflect.Type
func (SpokeMapOutput) MapIndex ¶ added in v6.9.0
func (o SpokeMapOutput) MapIndex(k pulumi.StringInput) SpokeOutput
func (SpokeMapOutput) ToSpokeMapOutput ¶ added in v6.9.0
func (o SpokeMapOutput) ToSpokeMapOutput() SpokeMapOutput
func (SpokeMapOutput) ToSpokeMapOutputWithContext ¶ added in v6.9.0
func (o SpokeMapOutput) ToSpokeMapOutputWithContext(ctx context.Context) SpokeMapOutput
type SpokeOutput ¶ added in v6.9.0
type SpokeOutput struct{ *pulumi.OutputState }
func (SpokeOutput) ElementType ¶ added in v6.9.0
func (SpokeOutput) ElementType() reflect.Type
func (SpokeOutput) ToSpokeOutput ¶ added in v6.9.0
func (o SpokeOutput) ToSpokeOutput() SpokeOutput
func (SpokeOutput) ToSpokeOutputWithContext ¶ added in v6.9.0
func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
type SpokeState ¶ added in v6.9.0
type SpokeState struct { // Output only. The time the spoke was created. CreateTime pulumi.StringPtrInput // An optional description of the spoke. Description pulumi.StringPtrInput // 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). 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. LinkedInterconnectAttachments SpokeLinkedInterconnectAttachmentsPtrInput // The URIs of linked Router appliance resources LinkedRouterApplianceInstances SpokeLinkedRouterApplianceInstancesPtrInput // The URIs of linked VPN tunnel resources 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 project for the resource Project pulumi.StringPtrInput // Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING 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 ¶ added in v6.9.0
func (SpokeState) ElementType() reflect.Type