v1beta1

package
v0.40.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

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

Index

Constants

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

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 (
	Hub_Kind             = "Hub"
	Hub_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Hub_Kind}.String()
	Hub_KindAPIVersion   = Hub_Kind + "." + CRDGroupVersion.String()
	Hub_GroupVersionKind = CRDGroupVersion.WithKind(Hub_Kind)
)

Repository type metadata.

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 Hub

type Hub 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   HubSpec   `json:"spec"`
	Status HubStatus `json:"status,omitempty"`
}

Hub is the Schema for the Hubs API. The NetworkConnectivity Hub resource +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Hub) DeepCopy

func (in *Hub) DeepCopy() *Hub

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

func (*Hub) DeepCopyInto

func (in *Hub) DeepCopyInto(out *Hub)

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

func (*Hub) DeepCopyObject

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

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

func (*Hub) GetCondition

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

GetCondition of this Hub.

func (*Hub) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Hub

func (*Hub) GetDeletionPolicy

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

GetDeletionPolicy of this Hub.

func (*Hub) GetID

func (tr *Hub) GetID() string

GetID returns ID of underlying Terraform resource of this Hub

func (*Hub) GetInitParameters added in v0.35.0

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

GetInitParameters of this Hub

func (*Hub) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Hub.

func (*Hub) GetObservation

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

GetObservation of this Hub

func (*Hub) GetParameters

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

GetParameters of this Hub

func (*Hub) GetProviderConfigReference

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

GetProviderConfigReference of this Hub.

func (*Hub) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Hub.

func (*Hub) GetTerraformResourceType

func (mg *Hub) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Hub

func (*Hub) GetTerraformSchemaVersion

func (tr *Hub) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Hub) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Hub.

func (*Hub) LateInitialize

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

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

func (*Hub) SetConditions

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

SetConditions of this Hub.

func (*Hub) SetDeletionPolicy

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

SetDeletionPolicy of this Hub.

func (*Hub) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Hub.

func (*Hub) SetObservation

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

SetObservation for this Hub

func (*Hub) SetParameters

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

SetParameters for this Hub

func (*Hub) SetProviderConfigReference

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

SetProviderConfigReference of this Hub.

func (*Hub) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Hub.

func (*Hub) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Hub.

type HubInitParameters added in v0.35.0

type HubInitParameters struct {

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

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

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

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

func (*HubInitParameters) DeepCopy added in v0.35.0

func (in *HubInitParameters) DeepCopy() *HubInitParameters

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

func (*HubInitParameters) DeepCopyInto added in v0.35.0

func (in *HubInitParameters) DeepCopyInto(out *HubInitParameters)

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

type HubList

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

HubList contains a list of Hubs

func (*HubList) DeepCopy

func (in *HubList) DeepCopy() *HubList

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

func (*HubList) DeepCopyInto

func (in *HubList) DeepCopyInto(out *HubList)

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

func (*HubList) DeepCopyObject

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

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

func (*HubList) GetItems

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

GetItems of this HubList.

type HubObservation

type HubObservation struct {

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

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

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

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

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

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

	// 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 []RoutingVpcsObservation `json:"routingVpcs,omitempty" tf:"routing_vpcs,omitempty"`

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

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

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

func (*HubObservation) DeepCopy

func (in *HubObservation) DeepCopy() *HubObservation

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

func (*HubObservation) DeepCopyInto

func (in *HubObservation) DeepCopyInto(out *HubObservation)

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

type HubParameters

type HubParameters struct {

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

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

	// Immutable. The name of the hub. Hub names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub_id}
	// +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 (*HubParameters) DeepCopy

func (in *HubParameters) DeepCopy() *HubParameters

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

func (*HubParameters) DeepCopyInto

func (in *HubParameters) DeepCopyInto(out *HubParameters)

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

type HubSpec

type HubSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HubParameters `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 HubInitParameters `json:"initProvider,omitempty"`
}

HubSpec defines the desired state of Hub

func (*HubSpec) DeepCopy

func (in *HubSpec) DeepCopy() *HubSpec

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

func (*HubSpec) DeepCopyInto

func (in *HubSpec) DeepCopyInto(out *HubSpec)

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

type HubStatus

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

HubStatus defines the observed state of Hub.

func (*HubStatus) DeepCopy

func (in *HubStatus) DeepCopy() *HubStatus

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

func (*HubStatus) DeepCopyInto

func (in *HubStatus) DeepCopyInto(out *HubStatus)

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

type InstancesInitParameters added in v0.35.0

type InstancesInitParameters struct {

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

func (*InstancesInitParameters) DeepCopy added in v0.35.0

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

func (*InstancesInitParameters) DeepCopyInto added in v0.35.0

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/v1beta1.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 added in v0.35.0

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 added in v0.35.0

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

func (*LinkedInterconnectAttachmentsInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.35.0

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 added in v0.35.0

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

func (*LinkedRouterApplianceInstancesInitParameters) DeepCopyInto added in v0.35.0

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 LinkedVPNTunnelsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*LinkedVPNTunnelsInitParameters) DeepCopyInto added in v0.35.0

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 RoutingVpcsInitParameters added in v0.35.0

type RoutingVpcsInitParameters struct {
}

func (*RoutingVpcsInitParameters) DeepCopy added in v0.35.0

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

func (*RoutingVpcsInitParameters) DeepCopyInto added in v0.35.0

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

type RoutingVpcsObservation

type RoutingVpcsObservation struct {
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*RoutingVpcsObservation) DeepCopy

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

func (*RoutingVpcsObservation) DeepCopyInto

func (in *RoutingVpcsObservation) DeepCopyInto(out *RoutingVpcsObservation)

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

type RoutingVpcsParameters

type RoutingVpcsParameters struct {
}

func (*RoutingVpcsParameters) DeepCopy

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

func (*RoutingVpcsParameters) DeepCopyInto

func (in *RoutingVpcsParameters) DeepCopyInto(out *RoutingVpcsParameters)

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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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 added in v0.35.0

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

GetInitParameters of this Spoke

func (*Spoke) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies 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) 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

ResolveReferences of this Spoke.

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 added in v0.35.0

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 added in v0.35.0

type SpokeInitParameters struct {

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

	// Optional labels in key:value format. For more information about labels, see Requirements for labels.
	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"`

	// 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 added in v0.35.0

func (in *SpokeInitParameters) DeepCopy() *SpokeInitParameters

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

func (*SpokeInitParameters) DeepCopyInto added in v0.35.0

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"`

	// 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.
	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"`

	// 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"`

	// 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
	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"`

	// 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