v1alpha1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=tencentcloud.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "tencentcloud.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Dcx_Kind             = "Dcx"
	Dcx_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Dcx_Kind}.String()
	Dcx_KindAPIVersion   = Dcx_Kind + "." + CRDGroupVersion.String()
	Dcx_GroupVersionKind = CRDGroupVersion.WithKind(Dcx_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type Dcx

type Dcx 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.dcId) || (has(self.initProvider) && has(self.initProvider.dcId))",message="spec.forProvider.dcId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dcgId) || (has(self.initProvider) && has(self.initProvider.dcgId))",message="spec.forProvider.dcgId 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   DcxSpec   `json:"spec"`
	Status DcxStatus `json:"status,omitempty"`
}

Dcx is the Schema for the Dcxs API. Provides a resource to creating dedicated tunnels instances. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

func (*Dcx) DeepCopy

func (in *Dcx) DeepCopy() *Dcx

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

func (*Dcx) DeepCopyInto

func (in *Dcx) DeepCopyInto(out *Dcx)

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

func (*Dcx) DeepCopyObject

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

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

func (*Dcx) GetCondition

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

GetCondition of this Dcx.

func (*Dcx) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Dcx

func (*Dcx) GetDeletionPolicy

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

GetDeletionPolicy of this Dcx.

func (*Dcx) GetID

func (tr *Dcx) GetID() string

GetID returns ID of underlying Terraform resource of this Dcx

func (*Dcx) GetInitParameters

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

GetInitParameters of this Dcx

func (*Dcx) GetManagementPolicies

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

GetManagementPolicies of this Dcx.

func (*Dcx) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Dcx

func (*Dcx) GetObservation

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

GetObservation of this Dcx

func (*Dcx) GetParameters

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

GetParameters of this Dcx

func (*Dcx) GetProviderConfigReference

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

GetProviderConfigReference of this Dcx.

func (*Dcx) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Dcx.

func (*Dcx) GetTerraformResourceType

func (mg *Dcx) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Dcx

func (*Dcx) GetTerraformSchemaVersion

func (tr *Dcx) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Dcx) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Dcx.

func (*Dcx) Hub added in v0.8.1

func (tr *Dcx) Hub()

Hub marks this type as a conversion hub.

func (*Dcx) LateInitialize

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

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

func (*Dcx) SetConditions

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

SetConditions of this Dcx.

func (*Dcx) SetDeletionPolicy

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

SetDeletionPolicy of this Dcx.

func (*Dcx) SetManagementPolicies

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

SetManagementPolicies of this Dcx.

func (*Dcx) SetObservation

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

SetObservation for this Dcx

func (*Dcx) SetParameters

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

SetParameters for this Dcx

func (*Dcx) SetProviderConfigReference

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

SetProviderConfigReference of this Dcx.

func (*Dcx) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Dcx.

func (*Dcx) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Dcx.

type DcxInitParameters

type DcxInitParameters struct {

	// BGP ASN of the user. A required field within BGP.
	// BGP ASN of the user. A required field within BGP.
	BGPAsn *float64 `json:"bgpAsn,omitempty" tf:"bgp_asn,omitempty"`

	// BGP key of the user.
	// BGP key of the user.
	BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"`

	// Bandwidth of the DC.
	// Bandwidth of the DC.
	Bandwidth *float64 `json:"bandwidth,omitempty" tf:"bandwidth,omitempty"`

	// Interconnect IP of the DC within client.
	// Interconnect IP of the DC within client.
	CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"`

	// ID of the DC to be queried, application deployment offline.
	// ID of the DC to be queried, application deployment offline.
	DcID *string `json:"dcId,omitempty" tf:"dc_id,omitempty"`

	// Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
	// Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
	DcOwnerAccount *string `json:"dcOwnerAccount,omitempty" tf:"dc_owner_account,omitempty"`

	// ID of the DC Gateway. Currently only new in the console.
	// ID of the DC Gateway. Currently only new in the console.
	DcgID *string `json:"dcgId,omitempty" tf:"dcg_id,omitempty"`

	// Name of the dedicated tunnel.
	// Name of the dedicated tunnel.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network region.
	// Network region.
	NetworkRegion *string `json:"networkRegion,omitempty" tf:"network_region,omitempty"`

	// Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
	// Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	// +listType=set
	RouteFilterPrefixes []*string `json:"routeFilterPrefixes,omitempty" tf:"route_filter_prefixes,omitempty"`

	// Type of the route, and available values include BGP and STATIC. The default value is BGP.
	// Type of the route, and available values include BGP and STATIC. The default value is `BGP`.
	RouteType *string `json:"routeType,omitempty" tf:"route_type,omitempty"`

	// Interconnect IP of the DC within Tencent.
	// Interconnect IP of the DC within Tencent.
	TencentAddress *string `json:"tencentAddress,omitempty" tf:"tencent_address,omitempty"`

	// ID of the VPC or BMVPC.
	// ID of the VPC or BMVPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`
}

func (*DcxInitParameters) DeepCopy

func (in *DcxInitParameters) DeepCopy() *DcxInitParameters

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

func (*DcxInitParameters) DeepCopyInto

func (in *DcxInitParameters) DeepCopyInto(out *DcxInitParameters)

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

type DcxList

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

DcxList contains a list of Dcxs

func (*DcxList) DeepCopy

func (in *DcxList) DeepCopy() *DcxList

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

func (*DcxList) DeepCopyInto

func (in *DcxList) DeepCopyInto(out *DcxList)

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

func (*DcxList) DeepCopyObject

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

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

func (*DcxList) GetItems

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

GetItems of this DcxList.

type DcxObservation

type DcxObservation struct {

	// BGP ASN of the user. A required field within BGP.
	// BGP ASN of the user. A required field within BGP.
	BGPAsn *float64 `json:"bgpAsn,omitempty" tf:"bgp_asn,omitempty"`

	// BGP key of the user.
	// BGP key of the user.
	BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"`

	// Bandwidth of the DC.
	// Bandwidth of the DC.
	Bandwidth *float64 `json:"bandwidth,omitempty" tf:"bandwidth,omitempty"`

	// Creation time of resource.
	// Creation time of resource.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Interconnect IP of the DC within client.
	// Interconnect IP of the DC within client.
	CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"`

	// ID of the DC to be queried, application deployment offline.
	// ID of the DC to be queried, application deployment offline.
	DcID *string `json:"dcId,omitempty" tf:"dc_id,omitempty"`

	// Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
	// Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
	DcOwnerAccount *string `json:"dcOwnerAccount,omitempty" tf:"dc_owner_account,omitempty"`

	// ID of the DC Gateway. Currently only new in the console.
	// ID of the DC Gateway. Currently only new in the console.
	DcgID *string `json:"dcgId,omitempty" tf:"dcg_id,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the dedicated tunnel.
	// Name of the dedicated tunnel.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network region.
	// Network region.
	NetworkRegion *string `json:"networkRegion,omitempty" tf:"network_region,omitempty"`

	// Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
	// Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	// +listType=set
	RouteFilterPrefixes []*string `json:"routeFilterPrefixes,omitempty" tf:"route_filter_prefixes,omitempty"`

	// Type of the route, and available values include BGP and STATIC. The default value is BGP.
	// Type of the route, and available values include BGP and STATIC. The default value is `BGP`.
	RouteType *string `json:"routeType,omitempty" tf:"route_type,omitempty"`

	// State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
	// State of the dedicated tunnels. Valid value: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Interconnect IP of the DC within Tencent.
	// Interconnect IP of the DC within Tencent.
	TencentAddress *string `json:"tencentAddress,omitempty" tf:"tencent_address,omitempty"`

	// ID of the VPC or BMVPC.
	// ID of the VPC or BMVPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`
}

func (*DcxObservation) DeepCopy

func (in *DcxObservation) DeepCopy() *DcxObservation

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

func (*DcxObservation) DeepCopyInto

func (in *DcxObservation) DeepCopyInto(out *DcxObservation)

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

type DcxParameters

type DcxParameters struct {

	// BGP ASN of the user. A required field within BGP.
	// BGP ASN of the user. A required field within BGP.
	// +kubebuilder:validation:Optional
	BGPAsn *float64 `json:"bgpAsn,omitempty" tf:"bgp_asn,omitempty"`

	// BGP key of the user.
	// BGP key of the user.
	// +kubebuilder:validation:Optional
	BGPAuthKey *string `json:"bgpAuthKey,omitempty" tf:"bgp_auth_key,omitempty"`

	// Bandwidth of the DC.
	// Bandwidth of the DC.
	// +kubebuilder:validation:Optional
	Bandwidth *float64 `json:"bandwidth,omitempty" tf:"bandwidth,omitempty"`

	// Interconnect IP of the DC within client.
	// Interconnect IP of the DC within client.
	// +kubebuilder:validation:Optional
	CustomerAddress *string `json:"customerAddress,omitempty" tf:"customer_address,omitempty"`

	// ID of the DC to be queried, application deployment offline.
	// ID of the DC to be queried, application deployment offline.
	// +kubebuilder:validation:Optional
	DcID *string `json:"dcId,omitempty" tf:"dc_id,omitempty"`

	// Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
	// Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
	// +kubebuilder:validation:Optional
	DcOwnerAccount *string `json:"dcOwnerAccount,omitempty" tf:"dc_owner_account,omitempty"`

	// ID of the DC Gateway. Currently only new in the console.
	// ID of the DC Gateway. Currently only new in the console.
	// +kubebuilder:validation:Optional
	DcgID *string `json:"dcgId,omitempty" tf:"dcg_id,omitempty"`

	// Name of the dedicated tunnel.
	// Name of the dedicated tunnel.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network region.
	// Network region.
	// +kubebuilder:validation:Optional
	NetworkRegion *string `json:"networkRegion,omitempty" tf:"network_region,omitempty"`

	// Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
	// Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	// +kubebuilder:validation:Optional
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	// +kubebuilder:validation:Optional
	// +listType=set
	RouteFilterPrefixes []*string `json:"routeFilterPrefixes,omitempty" tf:"route_filter_prefixes,omitempty"`

	// Type of the route, and available values include BGP and STATIC. The default value is BGP.
	// Type of the route, and available values include BGP and STATIC. The default value is `BGP`.
	// +kubebuilder:validation:Optional
	RouteType *string `json:"routeType,omitempty" tf:"route_type,omitempty"`

	// Interconnect IP of the DC within Tencent.
	// Interconnect IP of the DC within Tencent.
	// +kubebuilder:validation:Optional
	TencentAddress *string `json:"tencentAddress,omitempty" tf:"tencent_address,omitempty"`

	// ID of the VPC or BMVPC.
	// ID of the VPC or BMVPC.
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.
	// +kubebuilder:validation:Optional
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`
}

func (*DcxParameters) DeepCopy

func (in *DcxParameters) DeepCopy() *DcxParameters

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

func (*DcxParameters) DeepCopyInto

func (in *DcxParameters) DeepCopyInto(out *DcxParameters)

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

type DcxSpec

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

DcxSpec defines the desired state of Dcx

func (*DcxSpec) DeepCopy

func (in *DcxSpec) DeepCopy() *DcxSpec

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

func (*DcxSpec) DeepCopyInto

func (in *DcxSpec) DeepCopyInto(out *DcxSpec)

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

type DcxStatus

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

DcxStatus defines the observed state of Dcx.

func (*DcxStatus) DeepCopy

func (in *DcxStatus) DeepCopy() *DcxStatus

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

func (*DcxStatus) DeepCopyInto

func (in *DcxStatus) DeepCopyInto(out *DcxStatus)

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