v1alpha1

package
v0.8.4 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Gateway_Kind             = "Gateway"
	Gateway_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Gateway_Kind}.String()
	Gateway_KindAPIVersion   = Gateway_Kind + "." + CRDGroupVersion.String()
	Gateway_GroupVersionKind = CRDGroupVersion.WithKind(Gateway_Kind)
)

Repository type metadata.

View Source
var (
	GatewayCcnRoute_Kind             = "GatewayCcnRoute"
	GatewayCcnRoute_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GatewayCcnRoute_Kind}.String()
	GatewayCcnRoute_KindAPIVersion   = GatewayCcnRoute_Kind + "." + CRDGroupVersion.String()
	GatewayCcnRoute_GroupVersionKind = CRDGroupVersion.WithKind(GatewayCcnRoute_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 Gateway

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

Gateway is the Schema for the Gateways API. Provides a resource to creating direct connect gateway instance. +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 (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

func (*Gateway) GetCondition

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

GetCondition of this Gateway.

func (*Gateway) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Gateway

func (*Gateway) GetDeletionPolicy

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

GetDeletionPolicy of this Gateway.

func (*Gateway) GetID

func (tr *Gateway) GetID() string

GetID returns ID of underlying Terraform resource of this Gateway

func (*Gateway) GetInitParameters added in v0.8.0

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

GetInitParameters of this Gateway

func (*Gateway) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this Gateway.

func (*Gateway) GetMergedParameters added in v0.8.1

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

GetInitParameters of this Gateway

func (*Gateway) GetObservation

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

GetObservation of this Gateway

func (*Gateway) GetParameters

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

GetParameters of this Gateway

func (*Gateway) GetProviderConfigReference

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

GetProviderConfigReference of this Gateway.

func (*Gateway) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Gateway.

func (*Gateway) GetTerraformResourceType

func (mg *Gateway) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Gateway

func (*Gateway) GetTerraformSchemaVersion

func (tr *Gateway) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Gateway) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Gateway.

func (*Gateway) Hub added in v0.8.1

func (tr *Gateway) Hub()

Hub marks this type as a conversion hub.

func (*Gateway) LateInitialize

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

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

func (*Gateway) SetConditions

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

SetConditions of this Gateway.

func (*Gateway) SetDeletionPolicy

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

SetDeletionPolicy of this Gateway.

func (*Gateway) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this Gateway.

func (*Gateway) SetObservation

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

SetObservation for this Gateway

func (*Gateway) SetParameters

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

SetParameters for this Gateway

func (*Gateway) SetProviderConfigReference

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

SetProviderConfigReference of this Gateway.

func (*Gateway) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Gateway.

func (*Gateway) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Gateway.

type GatewayCcnRoute

type GatewayCcnRoute 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.cidrBlock) || (has(self.initProvider) && has(self.initProvider.cidrBlock))",message="spec.forProvider.cidrBlock 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"
	Spec   GatewayCcnRouteSpec   `json:"spec"`
	Status GatewayCcnRouteStatus `json:"status,omitempty"`
}

GatewayCcnRoute is the Schema for the GatewayCcnRoutes API. Provides a resource to creating direct connect gateway route entry. +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 (*GatewayCcnRoute) DeepCopy

func (in *GatewayCcnRoute) DeepCopy() *GatewayCcnRoute

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

func (*GatewayCcnRoute) DeepCopyInto

func (in *GatewayCcnRoute) DeepCopyInto(out *GatewayCcnRoute)

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

func (*GatewayCcnRoute) DeepCopyObject

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

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

func (*GatewayCcnRoute) GetCondition

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

GetCondition of this GatewayCcnRoute.

func (*GatewayCcnRoute) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GatewayCcnRoute

func (*GatewayCcnRoute) GetDeletionPolicy

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

GetDeletionPolicy of this GatewayCcnRoute.

func (*GatewayCcnRoute) GetID

func (tr *GatewayCcnRoute) GetID() string

GetID returns ID of underlying Terraform resource of this GatewayCcnRoute

func (*GatewayCcnRoute) GetInitParameters added in v0.8.0

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

GetInitParameters of this GatewayCcnRoute

func (*GatewayCcnRoute) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this GatewayCcnRoute.

func (*GatewayCcnRoute) GetMergedParameters added in v0.8.1

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

GetInitParameters of this GatewayCcnRoute

func (*GatewayCcnRoute) GetObservation

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

GetObservation of this GatewayCcnRoute

func (*GatewayCcnRoute) GetParameters

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

GetParameters of this GatewayCcnRoute

func (*GatewayCcnRoute) GetProviderConfigReference

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

GetProviderConfigReference of this GatewayCcnRoute.

func (*GatewayCcnRoute) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GatewayCcnRoute.

func (*GatewayCcnRoute) GetTerraformResourceType

func (mg *GatewayCcnRoute) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GatewayCcnRoute

func (*GatewayCcnRoute) GetTerraformSchemaVersion

func (tr *GatewayCcnRoute) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GatewayCcnRoute) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GatewayCcnRoute.

func (*GatewayCcnRoute) Hub added in v0.8.1

func (tr *GatewayCcnRoute) Hub()

Hub marks this type as a conversion hub.

func (*GatewayCcnRoute) LateInitialize

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

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

func (*GatewayCcnRoute) SetConditions

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

SetConditions of this GatewayCcnRoute.

func (*GatewayCcnRoute) SetDeletionPolicy

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

SetDeletionPolicy of this GatewayCcnRoute.

func (*GatewayCcnRoute) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this GatewayCcnRoute.

func (*GatewayCcnRoute) SetObservation

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

SetObservation for this GatewayCcnRoute

func (*GatewayCcnRoute) SetParameters

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

SetParameters for this GatewayCcnRoute

func (*GatewayCcnRoute) SetProviderConfigReference

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

SetProviderConfigReference of this GatewayCcnRoute.

func (*GatewayCcnRoute) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GatewayCcnRoute.

func (*GatewayCcnRoute) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GatewayCcnRoute.

type GatewayCcnRouteInitParameters added in v0.8.0

type GatewayCcnRouteInitParameters struct {

	// A network address segment of IDC.
	// A network address segment of IDC.
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// ID of the DCG.
	// ID of the DCG.
	DcgID *string `json:"dcgId,omitempty" tf:"dcg_id,omitempty"`
}

func (*GatewayCcnRouteInitParameters) DeepCopy added in v0.8.0

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

func (*GatewayCcnRouteInitParameters) DeepCopyInto added in v0.8.0

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

type GatewayCcnRouteList

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

GatewayCcnRouteList contains a list of GatewayCcnRoutes

func (*GatewayCcnRouteList) DeepCopy

func (in *GatewayCcnRouteList) DeepCopy() *GatewayCcnRouteList

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

func (*GatewayCcnRouteList) DeepCopyInto

func (in *GatewayCcnRouteList) DeepCopyInto(out *GatewayCcnRouteList)

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

func (*GatewayCcnRouteList) DeepCopyObject

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

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

func (*GatewayCcnRouteList) GetItems

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

GetItems of this GatewayCcnRouteList.

type GatewayCcnRouteObservation

type GatewayCcnRouteObservation struct {

	// As path list of the BGP.
	// As path list of the BGP.
	AsPath []*string `json:"asPath,omitempty" tf:"as_path,omitempty"`

	// A network address segment of IDC.
	// A network address segment of IDC.
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// ID of the DCG.
	// ID of the DCG.
	DcgID *string `json:"dcgId,omitempty" tf:"dcg_id,omitempty"`

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

func (*GatewayCcnRouteObservation) DeepCopy

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

func (*GatewayCcnRouteObservation) DeepCopyInto

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

type GatewayCcnRouteParameters

type GatewayCcnRouteParameters struct {

	// A network address segment of IDC.
	// A network address segment of IDC.
	// +kubebuilder:validation:Optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// ID of the DCG.
	// ID of the DCG.
	// +kubebuilder:validation:Optional
	DcgID *string `json:"dcgId,omitempty" tf:"dcg_id,omitempty"`
}

func (*GatewayCcnRouteParameters) DeepCopy

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

func (*GatewayCcnRouteParameters) DeepCopyInto

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

type GatewayCcnRouteSpec

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

GatewayCcnRouteSpec defines the desired state of GatewayCcnRoute

func (*GatewayCcnRouteSpec) DeepCopy

func (in *GatewayCcnRouteSpec) DeepCopy() *GatewayCcnRouteSpec

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

func (*GatewayCcnRouteSpec) DeepCopyInto

func (in *GatewayCcnRouteSpec) DeepCopyInto(out *GatewayCcnRouteSpec)

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

type GatewayCcnRouteStatus

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

GatewayCcnRouteStatus defines the observed state of GatewayCcnRoute.

func (*GatewayCcnRouteStatus) DeepCopy

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

func (*GatewayCcnRouteStatus) DeepCopyInto

func (in *GatewayCcnRouteStatus) DeepCopyInto(out *GatewayCcnRouteStatus)

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

type GatewayInitParameters added in v0.8.0

type GatewayInitParameters struct {

	// Type of the gateway. Valid value: NORMAL and NAT. Default is NORMAL. NOTES: CCN only supports NORMAL and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	// Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"`

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

	// If the network_type value is VPC, the available value is VPC ID. But when the network_type value is CCN, the available value is CCN instance ID.
	// If the `network_type` value is `VPC`, the available value is VPC ID. But when the `network_type` value is `CCN`, the available value is CCN instance ID.
	NetworkInstanceID *string `json:"networkInstanceId,omitempty" tf:"network_instance_id,omitempty"`

	// Type of associated network. Valid value: VPC and CCN.
	// Type of associated network. Valid value: `VPC` and `CCN`.
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`
}

func (*GatewayInitParameters) DeepCopy added in v0.8.0

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

func (*GatewayInitParameters) DeepCopyInto added in v0.8.0

func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters)

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

type GatewayList

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

GatewayList contains a list of Gateways

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

func (*GatewayList) GetItems

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

GetItems of this GatewayList.

type GatewayObservation

type GatewayObservation struct {

	// Type of CCN route. Valid value: BGP and STATIC. The property is available when the DCG type is CCN gateway and BGP enabled.
	// Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled.
	CnnRouteType *string `json:"cnnRouteType,omitempty" tf:"cnn_route_type,omitempty"`

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

	// Indicates whether the BGP is enabled.
	// Indicates whether the BGP is enabled.
	EnableBGP *bool `json:"enableBgp,omitempty" tf:"enable_bgp,omitempty"`

	// Type of the gateway. Valid value: NORMAL and NAT. Default is NORMAL. NOTES: CCN only supports NORMAL and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	// Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"`

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

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

	// If the network_type value is VPC, the available value is VPC ID. But when the network_type value is CCN, the available value is CCN instance ID.
	// If the `network_type` value is `VPC`, the available value is VPC ID. But when the `network_type` value is `CCN`, the available value is CCN instance ID.
	NetworkInstanceID *string `json:"networkInstanceId,omitempty" tf:"network_instance_id,omitempty"`

	// Type of associated network. Valid value: VPC and CCN.
	// Type of associated network. Valid value: `VPC` and `CCN`.
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`
}

func (*GatewayObservation) DeepCopy

func (in *GatewayObservation) DeepCopy() *GatewayObservation

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

func (*GatewayObservation) DeepCopyInto

func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation)

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

type GatewayParameters

type GatewayParameters struct {

	// Type of the gateway. Valid value: NORMAL and NAT. Default is NORMAL. NOTES: CCN only supports NORMAL and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	// Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	// +kubebuilder:validation:Optional
	GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"`

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

	// If the network_type value is VPC, the available value is VPC ID. But when the network_type value is CCN, the available value is CCN instance ID.
	// If the `network_type` value is `VPC`, the available value is VPC ID. But when the `network_type` value is `CCN`, the available value is CCN instance ID.
	// +kubebuilder:validation:Optional
	NetworkInstanceID *string `json:"networkInstanceId,omitempty" tf:"network_instance_id,omitempty"`

	// Type of associated network. Valid value: VPC and CCN.
	// Type of associated network. Valid value: `VPC` and `CCN`.
	// +kubebuilder:validation:Optional
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`
}

func (*GatewayParameters) DeepCopy

func (in *GatewayParameters) DeepCopy() *GatewayParameters

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

func (*GatewayParameters) DeepCopyInto

func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters)

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

type GatewaySpec

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

GatewaySpec defines the desired state of Gateway

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

type GatewayStatus

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

GatewayStatus defines the observed state of Gateway.

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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