v1beta2

package
v1.4.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=networkconnectivity.gcp.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "networkconnectivity.gcp.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Spoke_Kind             = "Spoke"
	Spoke_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Spoke_Kind}.String()
	Spoke_KindAPIVersion   = Spoke_Kind + "." + CRDGroupVersion.String()
	Spoke_GroupVersionKind = CRDGroupVersion.WithKind(Spoke_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type InstancesInitParameters

type InstancesInitParameters struct {

	// The IP address on the VM to use for peering.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// The URI of the virtual machine resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta2.Instance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true)
	VirtualMachine *string `json:"virtualMachine,omitempty" tf:"virtual_machine,omitempty"`

	// Reference to a Instance in compute to populate virtualMachine.
	// +kubebuilder:validation:Optional
	VirtualMachineRef *v1.Reference `json:"virtualMachineRef,omitempty" tf:"-"`

	// Selector for a Instance in compute to populate virtualMachine.
	// +kubebuilder:validation:Optional
	VirtualMachineSelector *v1.Selector `json:"virtualMachineSelector,omitempty" tf:"-"`
}

func (*InstancesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesInitParameters.

func (*InstancesInitParameters) DeepCopyInto

func (in *InstancesInitParameters) DeepCopyInto(out *InstancesInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstancesObservation

type InstancesObservation struct {

	// The IP address on the VM to use for peering.
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// The URI of the virtual machine resource
	VirtualMachine *string `json:"virtualMachine,omitempty" tf:"virtual_machine,omitempty"`
}

func (*InstancesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesObservation.

func (*InstancesObservation) DeepCopyInto

func (in *InstancesObservation) DeepCopyInto(out *InstancesObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstancesParameters

type InstancesParameters struct {

	// The IP address on the VM to use for peering.
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// The URI of the virtual machine resource
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta2.Instance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true)
	// +kubebuilder:validation:Optional
	VirtualMachine *string `json:"virtualMachine,omitempty" tf:"virtual_machine,omitempty"`

	// Reference to a Instance in compute to populate virtualMachine.
	// +kubebuilder:validation:Optional
	VirtualMachineRef *v1.Reference `json:"virtualMachineRef,omitempty" tf:"-"`

	// Selector for a Instance in compute to populate virtualMachine.
	// +kubebuilder:validation:Optional
	VirtualMachineSelector *v1.Selector `json:"virtualMachineSelector,omitempty" tf:"-"`
}

func (*InstancesParameters) DeepCopy

func (in *InstancesParameters) DeepCopy() *InstancesParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesParameters.

func (*InstancesParameters) DeepCopyInto

func (in *InstancesParameters) DeepCopyInto(out *InstancesParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedInterconnectAttachmentsInitParameters

type LinkedInterconnectAttachmentsInitParameters 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 `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked interconnect attachment resources
	Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"`
}

func (*LinkedInterconnectAttachmentsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedInterconnectAttachmentsInitParameters.

func (*LinkedInterconnectAttachmentsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedInterconnectAttachmentsObservation

type LinkedInterconnectAttachmentsObservation 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 `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked interconnect attachment resources
	Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"`
}

func (*LinkedInterconnectAttachmentsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedInterconnectAttachmentsObservation.

func (*LinkedInterconnectAttachmentsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedInterconnectAttachmentsParameters

type LinkedInterconnectAttachmentsParameters 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.
	// +kubebuilder:validation:Optional
	SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked interconnect attachment resources
	// +kubebuilder:validation:Optional
	Uris []*string `json:"uris" tf:"uris,omitempty"`
}

func (*LinkedInterconnectAttachmentsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedInterconnectAttachmentsParameters.

func (*LinkedInterconnectAttachmentsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedRouterApplianceInstancesInitParameters

type LinkedRouterApplianceInstancesInitParameters struct {

	// The list of router appliance instances
	Instances []InstancesInitParameters `json:"instances,omitempty" tf:"instances,omitempty"`

	// 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 `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"`
}

func (*LinkedRouterApplianceInstancesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedRouterApplianceInstancesInitParameters.

func (*LinkedRouterApplianceInstancesInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedRouterApplianceInstancesObservation

type LinkedRouterApplianceInstancesObservation struct {

	// The list of router appliance instances
	Instances []InstancesObservation `json:"instances,omitempty" tf:"instances,omitempty"`

	// 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 `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"`
}

func (*LinkedRouterApplianceInstancesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedRouterApplianceInstancesObservation.

func (*LinkedRouterApplianceInstancesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedRouterApplianceInstancesParameters

type LinkedRouterApplianceInstancesParameters struct {

	// The list of router appliance instances
	// +kubebuilder:validation:Optional
	Instances []InstancesParameters `json:"instances" tf:"instances,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"`
}

func (*LinkedRouterApplianceInstancesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedRouterApplianceInstancesParameters.

func (*LinkedRouterApplianceInstancesParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedVPCNetworkInitParameters

type LinkedVPCNetworkInitParameters struct {

	// IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []*string `json:"excludeExportRanges,omitempty" tf:"exclude_export_ranges,omitempty"`

	// The URI of the VPC network resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true)
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`

	// Reference to a Network in compute to populate uri.
	// +kubebuilder:validation:Optional
	URIRef *v1.Reference `json:"uriRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate uri.
	// +kubebuilder:validation:Optional
	URISelector *v1.Selector `json:"uriSelector,omitempty" tf:"-"`
}

func (*LinkedVPCNetworkInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPCNetworkInitParameters.

func (*LinkedVPCNetworkInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedVPCNetworkObservation

type LinkedVPCNetworkObservation struct {

	// IP ranges encompassing the subnets to be excluded from peering.
	ExcludeExportRanges []*string `json:"excludeExportRanges,omitempty" tf:"exclude_export_ranges,omitempty"`

	// The URI of the VPC network resource.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*LinkedVPCNetworkObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPCNetworkObservation.

func (*LinkedVPCNetworkObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedVPCNetworkParameters

type LinkedVPCNetworkParameters struct {

	// IP ranges encompassing the subnets to be excluded from peering.
	// +kubebuilder:validation:Optional
	ExcludeExportRanges []*string `json:"excludeExportRanges,omitempty" tf:"exclude_export_ranges,omitempty"`

	// The URI of the VPC network resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("self_link",true)
	// +kubebuilder:validation:Optional
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`

	// Reference to a Network in compute to populate uri.
	// +kubebuilder:validation:Optional
	URIRef *v1.Reference `json:"uriRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate uri.
	// +kubebuilder:validation:Optional
	URISelector *v1.Selector `json:"uriSelector,omitempty" tf:"-"`
}

func (*LinkedVPCNetworkParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPCNetworkParameters.

func (*LinkedVPCNetworkParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedVPNTunnelsInitParameters

type LinkedVPNTunnelsInitParameters 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 `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked VPN tunnel resources.
	Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"`
}

func (*LinkedVPNTunnelsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPNTunnelsInitParameters.

func (*LinkedVPNTunnelsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedVPNTunnelsObservation

type LinkedVPNTunnelsObservation 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 `json:"siteToSiteDataTransfer,omitempty" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked VPN tunnel resources.
	Uris []*string `json:"uris,omitempty" tf:"uris,omitempty"`
}

func (*LinkedVPNTunnelsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPNTunnelsObservation.

func (*LinkedVPNTunnelsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedVPNTunnelsParameters

type LinkedVPNTunnelsParameters 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.
	// +kubebuilder:validation:Optional
	SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer" tf:"site_to_site_data_transfer,omitempty"`

	// The URIs of linked VPN tunnel resources.
	// +kubebuilder:validation:Optional
	Uris []*string `json:"uris" tf:"uris,omitempty"`
}

func (*LinkedVPNTunnelsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedVPNTunnelsParameters.

func (*LinkedVPNTunnelsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Spoke

type Spoke struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   SpokeSpec   `json:"spec"`
	Status SpokeStatus `json:"status,omitempty"`
}

Spoke is the Schema for the Spokes API. The NetworkConnectivity Spoke resource +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Spoke) DeepCopy

func (in *Spoke) DeepCopy() *Spoke

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spoke.

func (*Spoke) DeepCopyInto

func (in *Spoke) DeepCopyInto(out *Spoke)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Spoke) DeepCopyObject

func (in *Spoke) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Spoke) GetCondition

func (mg *Spoke) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Spoke.

func (*Spoke) GetConnectionDetailsMapping

func (tr *Spoke) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Spoke

func (*Spoke) GetDeletionPolicy

func (mg *Spoke) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Spoke.

func (*Spoke) GetID

func (tr *Spoke) GetID() string

GetID returns ID of underlying Terraform resource of this Spoke

func (*Spoke) GetInitParameters

func (tr *Spoke) GetInitParameters() (map[string]any, error)

GetInitParameters of this Spoke

func (*Spoke) GetManagementPolicies

func (mg *Spoke) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Spoke.

func (*Spoke) GetMergedParameters

func (tr *Spoke) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Spoke

func (*Spoke) GetObservation

func (tr *Spoke) GetObservation() (map[string]any, error)

GetObservation of this Spoke

func (*Spoke) GetParameters

func (tr *Spoke) GetParameters() (map[string]any, error)

GetParameters of this Spoke

func (*Spoke) GetProviderConfigReference

func (mg *Spoke) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Spoke.

func (*Spoke) GetPublishConnectionDetailsTo

func (mg *Spoke) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Spoke.

func (*Spoke) GetTerraformResourceType

func (mg *Spoke) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Spoke

func (*Spoke) GetTerraformSchemaVersion

func (tr *Spoke) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Spoke) GetWriteConnectionSecretToReference

func (mg *Spoke) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Spoke.

func (*Spoke) Hub

func (tr *Spoke) Hub()

Hub marks this type as a conversion hub.

func (*Spoke) LateInitialize

func (tr *Spoke) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Spoke using its observed tfState. returns True if there are any spec changes for the resource.

func (*Spoke) ResolveReferences

func (mg *Spoke) ResolveReferences(ctx context.Context, c client.Reader) error

func (*Spoke) SetConditions

func (mg *Spoke) SetConditions(c ...xpv1.Condition)

SetConditions of this Spoke.

func (*Spoke) SetDeletionPolicy

func (mg *Spoke) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Spoke.

func (*Spoke) SetManagementPolicies

func (mg *Spoke) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Spoke.

func (*Spoke) SetObservation

func (tr *Spoke) SetObservation(obs map[string]any) error

SetObservation for this Spoke

func (*Spoke) SetParameters

func (tr *Spoke) SetParameters(params map[string]any) error

SetParameters for this Spoke

func (*Spoke) SetProviderConfigReference

func (mg *Spoke) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Spoke.

func (*Spoke) SetPublishConnectionDetailsTo

func (mg *Spoke) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Spoke.

func (*Spoke) SetWriteConnectionSecretToReference

func (mg *Spoke) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Spoke.

type SpokeInitParameters

type SpokeInitParameters struct {

	// An optional description of the spoke.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Immutable. The URI of the hub that this spoke is attached to.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/networkconnectivity/v1beta1.Hub
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	Hub *string `json:"hub,omitempty" tf:"hub,omitempty"`

	// Reference to a Hub in networkconnectivity to populate hub.
	// +kubebuilder:validation:Optional
	HubRef *v1.Reference `json:"hubRef,omitempty" tf:"-"`

	// Selector for a Hub in networkconnectivity to populate hub.
	// +kubebuilder:validation:Optional
	HubSelector *v1.Selector `json:"hubSelector,omitempty" tf:"-"`

	// Optional labels in key:value format. For more information about labels, see Requirements for labels.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// 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 *LinkedInterconnectAttachmentsInitParameters `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"`

	// The URIs of linked Router appliance resources
	LinkedRouterApplianceInstances *LinkedRouterApplianceInstancesInitParameters `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"`

	// VPC network that is associated with the spoke.
	LinkedVPCNetwork *LinkedVPCNetworkInitParameters `json:"linkedVpcNetwork,omitempty" tf:"linked_vpc_network,omitempty"`

	// The URIs of linked VPN tunnel resources
	LinkedVPNTunnels *LinkedVPNTunnelsInitParameters `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Immutable. The name of the spoke. Spoke names must be unique.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*SpokeInitParameters) DeepCopy

func (in *SpokeInitParameters) DeepCopy() *SpokeInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeInitParameters.

func (*SpokeInitParameters) DeepCopyInto

func (in *SpokeInitParameters) DeepCopyInto(out *SpokeInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SpokeList

type SpokeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Spoke `json:"items"`
}

SpokeList contains a list of Spokes

func (*SpokeList) DeepCopy

func (in *SpokeList) DeepCopy() *SpokeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeList.

func (*SpokeList) DeepCopyInto

func (in *SpokeList) DeepCopyInto(out *SpokeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SpokeList) DeepCopyObject

func (in *SpokeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SpokeList) GetItems

func (l *SpokeList) GetItems() []resource.Managed

GetItems of this SpokeList.

type SpokeObservation

type SpokeObservation struct {

	// Output only. The time the spoke was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// An optional description of the spoke.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`

	// Immutable. The URI of the hub that this spoke is attached to.
	Hub *string `json:"hub,omitempty" tf:"hub,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/spokes/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Optional labels in key:value format. For more information about labels, see Requirements for labels.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// 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 *LinkedInterconnectAttachmentsObservation `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"`

	// The URIs of linked Router appliance resources
	LinkedRouterApplianceInstances *LinkedRouterApplianceInstancesObservation `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"`

	// VPC network that is associated with the spoke.
	LinkedVPCNetwork *LinkedVPCNetworkObservation `json:"linkedVpcNetwork,omitempty" tf:"linked_vpc_network,omitempty"`

	// The URIs of linked VPN tunnel resources
	LinkedVPNTunnels *LinkedVPNTunnelsObservation `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Immutable. The name of the spoke. Spoke names must be unique.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The combination of labels configured directly on the resource and default labels configured on the provider.
	// +mapType=granular
	TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"`

	// 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 *string `json:"uniqueId,omitempty" tf:"unique_id,omitempty"`

	// Output only. The time the spoke was last updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*SpokeObservation) DeepCopy

func (in *SpokeObservation) DeepCopy() *SpokeObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeObservation.

func (*SpokeObservation) DeepCopyInto

func (in *SpokeObservation) DeepCopyInto(out *SpokeObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SpokeParameters

type SpokeParameters struct {

	// An optional description of the spoke.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Immutable. The URI of the hub that this spoke is attached to.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/networkconnectivity/v1beta1.Hub
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Hub *string `json:"hub,omitempty" tf:"hub,omitempty"`

	// Reference to a Hub in networkconnectivity to populate hub.
	// +kubebuilder:validation:Optional
	HubRef *v1.Reference `json:"hubRef,omitempty" tf:"-"`

	// Selector for a Hub in networkconnectivity to populate hub.
	// +kubebuilder:validation:Optional
	HubSelector *v1.Selector `json:"hubSelector,omitempty" tf:"-"`

	// Optional labels in key:value format. For more information about labels, see Requirements for labels.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	LinkedInterconnectAttachments *LinkedInterconnectAttachmentsParameters `json:"linkedInterconnectAttachments,omitempty" tf:"linked_interconnect_attachments,omitempty"`

	// The URIs of linked Router appliance resources
	// +kubebuilder:validation:Optional
	LinkedRouterApplianceInstances *LinkedRouterApplianceInstancesParameters `json:"linkedRouterApplianceInstances,omitempty" tf:"linked_router_appliance_instances,omitempty"`

	// VPC network that is associated with the spoke.
	// +kubebuilder:validation:Optional
	LinkedVPCNetwork *LinkedVPCNetworkParameters `json:"linkedVpcNetwork,omitempty" tf:"linked_vpc_network,omitempty"`

	// The URIs of linked VPN tunnel resources
	// +kubebuilder:validation:Optional
	LinkedVPNTunnels *LinkedVPNTunnelsParameters `json:"linkedVpnTunnels,omitempty" tf:"linked_vpn_tunnels,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Immutable. The name of the spoke. Spoke names must be unique.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*SpokeParameters) DeepCopy

func (in *SpokeParameters) DeepCopy() *SpokeParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeParameters.

func (*SpokeParameters) DeepCopyInto

func (in *SpokeParameters) DeepCopyInto(out *SpokeParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SpokeSpec

type SpokeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SpokeParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SpokeInitParameters `json:"initProvider,omitempty"`
}

SpokeSpec defines the desired state of Spoke

func (*SpokeSpec) DeepCopy

func (in *SpokeSpec) DeepCopy() *SpokeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeSpec.

func (*SpokeSpec) DeepCopyInto

func (in *SpokeSpec) DeepCopyInto(out *SpokeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SpokeStatus

type SpokeStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SpokeObservation `json:"atProvider,omitempty"`
}

SpokeStatus defines the observed state of Spoke.

func (*SpokeStatus) DeepCopy

func (in *SpokeStatus) DeepCopy() *SpokeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpokeStatus.

func (*SpokeStatus) DeepCopyInto

func (in *SpokeStatus) DeepCopyInto(out *SpokeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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