v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=dl.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: dl.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Gateway

type Gateway struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GatewaySpec   `json:"spec,omitempty"`
	Status            GatewayStatus `json:"status,omitempty"`
}

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

func (r *Gateway) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Gateway) ValidateCreate

func (r *Gateway) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Gateway) ValidateDelete

func (r *Gateway) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Gateway) ValidateUpdate

func (r *Gateway) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type GatewayList

type GatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Gateway CRD objects
	Items []Gateway `json:"items,omitempty"`
}

GatewayList is 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.

type GatewaySpec

type GatewaySpec struct {
	State *GatewaySpecResource `json:"state,omitempty" tf:"-"`

	Resource GatewaySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 GatewaySpecMacsecConfig

type GatewaySpecMacsecConfig struct {
	// Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
	Active *bool `json:"active" tf:"active"`
	// Active connectivity association key.
	// +optional
	ActiveCak *string `json:"activeCak,omitempty" tf:"active_cak"`
	// SAK cipher suite
	// +optional
	CipherSuite *string `json:"cipherSuite,omitempty" tf:"cipher_suite"`
	// Confidentiality Offset
	// +optional
	ConfidentialityOffset *int64 `json:"confidentialityOffset,omitempty" tf:"confidentiality_offset"`
	// Cryptographic Algorithm
	// +optional
	CryptographicAlgorithm *string `json:"cryptographicAlgorithm,omitempty" tf:"cryptographic_algorithm"`
	// Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
	// +optional
	FallbackCak *string `json:"fallbackCak,omitempty" tf:"fallback_cak"`
	// Key Server Priority
	// +optional
	KeyServerPriority *int64 `json:"keyServerPriority,omitempty" tf:"key_server_priority"`
	// Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
	PrimaryCak *string `json:"primaryCak" tf:"primary_cak"`
	// Secure Association Key (SAK) expiry time in seconds
	// +optional
	SakExpiryTime *int64 `json:"sakExpiryTime,omitempty" tf:"sak_expiry_time"`
	// Packets without MACsec headers are not dropped when security_policy is should_secure.
	// +optional
	SecurityPolicy *string `json:"securityPolicy,omitempty" tf:"security_policy"`
	// The current status of MACsec on the device for this gateway
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// Replay protection window size
	// +optional
	WindowSize *int64 `json:"windowSize,omitempty" tf:"window_size"`
}

func (*GatewaySpecMacsecConfig) DeepCopy

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

func (*GatewaySpecMacsecConfig) DeepCopyInto

func (in *GatewaySpecMacsecConfig) DeepCopyInto(out *GatewaySpecMacsecConfig)

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

type GatewaySpecMacsecConfigCodec

type GatewaySpecMacsecConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (GatewaySpecMacsecConfigCodec) Decode

func (GatewaySpecMacsecConfigCodec) Encode

func (GatewaySpecMacsecConfigCodec) IsEmpty

type GatewaySpecResource

type GatewaySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// BGP MD5 authentication key
	// +optional
	AuthenticationKey *string `json:"authenticationKey,omitempty" tf:"authentication_key"`
	// BGP ASN
	BgpAsn *int64 `json:"bgpAsn" tf:"bgp_asn"`
	// BGP base CIDR
	// +optional
	BgpBaseCIDR *string `json:"bgpBaseCIDR,omitempty" tf:"bgp_base_cidr"`
	// BGP customer edge router CIDR
	// +optional
	BgpCerCIDR *string `json:"bgpCerCIDR,omitempty" tf:"bgp_cer_cidr"`
	// IBM BGP ASN
	// +optional
	BgpIbmAsn *int64 `json:"bgpIbmAsn,omitempty" tf:"bgp_ibm_asn"`
	// BGP IBM CIDR
	// +optional
	BgpIbmCIDR *string `json:"bgpIbmCIDR,omitempty" tf:"bgp_ibm_cidr"`
	// Gateway BGP status
	// +optional
	BgpStatus *string `json:"bgpStatus,omitempty" tf:"bgp_status"`
	// Carrier name
	// +optional
	CarrierName *string `json:"carrierName,omitempty" tf:"carrier_name"`
	// Changes pending approval for provider managed Direct Link Connect gateways
	// +optional
	ChangeRequest *string `json:"changeRequest,omitempty" tf:"change_request"`
	// Reason for completion notice rejection
	// +optional
	CompletionNoticeRejectReason *string `json:"completionNoticeRejectReason,omitempty" tf:"completion_notice_reject_reason"`
	// The date and time resource was created
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The CRN (Cloud Resource Name) of this gateway
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Cross connect router
	// +optional
	CrossConnectRouter *string `json:"crossConnectRouter,omitempty" tf:"cross_connect_router"`
	// Customer name
	// +optional
	CustomerName *string `json:"customerName,omitempty" tf:"customer_name"`
	// Gateways with global routing (true) can connect to networks outside their associated region
	Global *bool `json:"global" tf:"global"`
	// Gateway link status
	// +optional
	LinkStatus *string `json:"linkStatus,omitempty" tf:"link_status"`
	// Loa reject reason
	// +optional
	LoaRejectReason *string `json:"loaRejectReason,omitempty" tf:"loa_reject_reason"`
	// Gateway location long name
	// +optional
	LocationDisplayName *string `json:"locationDisplayName,omitempty" tf:"location_display_name"`
	// Gateway location
	// +optional
	LocationName *string `json:"locationName,omitempty" tf:"location_name"`
	// MACsec configuration information
	// +optional
	MacsecConfig *GatewaySpecMacsecConfig `json:"macsecConfig,omitempty" tf:"macsec_config"`
	// Metered billing option
	Metered *bool `json:"metered" tf:"metered"`
	// The unique user-defined name for this gateway
	Name *string `json:"name" tf:"name"`
	// Gateway operational status
	// +optional
	OperationalStatus *string `json:"operationalStatus,omitempty" tf:"operational_status"`
	// Gateway port
	// +optional
	Port *string `json:"port,omitempty" tf:"port"`
	// Indicates whether gateway was created through a provider portal
	// +optional
	ProviderAPIManaged *bool `json:"providerAPIManaged,omitempty" tf:"provider_api_managed"`
	// The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
	// +optional
	ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"`
	// The crn of the resource
	// +optional
	ResourceCrn *string `json:"resourceCrn,omitempty" tf:"resource_crn"`
	// Gateway resource group
	// +optional
	ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group"`
	// The resource group name in which resource is provisioned
	// +optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"`
	// The name of the resource
	// +optional
	ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"`
	// The status of the resource
	// +optional
	ResourceStatus *string `json:"resourceStatus,omitempty" tf:"resource_status"`
	// Gateway speed in megabits per second
	SpeedMbps *int64 `json:"speedMbps" tf:"speed_mbps"`
	// Tags for the direct link gateway
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Gateway type
	Type *string `json:"type" tf:"type"`
	// VLAN allocated for this gateway
	// +optional
	Vlan *int64 `json:"vlan,omitempty" tf:"vlan"`
}

func (*GatewaySpecResource) DeepCopy

func (in *GatewaySpecResource) DeepCopy() *GatewaySpecResource

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

func (*GatewaySpecResource) DeepCopyInto

func (in *GatewaySpecResource) DeepCopyInto(out *GatewaySpecResource)

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

type GatewayStatus

type GatewayStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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.

type ProviderGateway

type ProviderGateway struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProviderGatewaySpec   `json:"spec,omitempty"`
	Status            ProviderGatewayStatus `json:"status,omitempty"`
}

func (*ProviderGateway) DeepCopy

func (in *ProviderGateway) DeepCopy() *ProviderGateway

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

func (*ProviderGateway) DeepCopyInto

func (in *ProviderGateway) DeepCopyInto(out *ProviderGateway)

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

func (*ProviderGateway) DeepCopyObject

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

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

func (*ProviderGateway) SetupWebhookWithManager

func (r *ProviderGateway) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ProviderGateway) ValidateCreate

func (r *ProviderGateway) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ProviderGateway) ValidateDelete

func (r *ProviderGateway) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ProviderGateway) ValidateUpdate

func (r *ProviderGateway) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ProviderGatewayList

type ProviderGatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ProviderGateway CRD objects
	Items []ProviderGateway `json:"items,omitempty"`
}

ProviderGatewayList is a list of ProviderGateways

func (*ProviderGatewayList) DeepCopy

func (in *ProviderGatewayList) DeepCopy() *ProviderGatewayList

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

func (*ProviderGatewayList) DeepCopyInto

func (in *ProviderGatewayList) DeepCopyInto(out *ProviderGatewayList)

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

func (*ProviderGatewayList) DeepCopyObject

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

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

type ProviderGatewaySpec

type ProviderGatewaySpec struct {
	State *ProviderGatewaySpecResource `json:"state,omitempty" tf:"-"`

	Resource ProviderGatewaySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ProviderGatewaySpec) DeepCopy

func (in *ProviderGatewaySpec) DeepCopy() *ProviderGatewaySpec

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

func (*ProviderGatewaySpec) DeepCopyInto

func (in *ProviderGatewaySpec) DeepCopyInto(out *ProviderGatewaySpec)

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

type ProviderGatewaySpecResource

type ProviderGatewaySpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// BGP ASN
	BgpAsn *int64 `json:"bgpAsn" tf:"bgp_asn"`
	// BGP customer edge router CIDR
	// +optional
	BgpCerCIDR *string `json:"bgpCerCIDR,omitempty" tf:"bgp_cer_cidr"`
	// BGP IBM CIDR
	// +optional
	BgpIbmCIDR *string `json:"bgpIbmCIDR,omitempty" tf:"bgp_ibm_cidr"`
	// The date and time resource was created
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The CRN (Cloud Resource Name) of this gateway
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account.
	CustomerAccountID *string `json:"customerAccountID" tf:"customer_account_id"`
	// The unique user-defined name for this gateway
	Name *string `json:"name" tf:"name"`
	// Gateway operational status
	// +optional
	OperationalStatus *string `json:"operationalStatus,omitempty" tf:"operational_status"`
	// Gateway port
	Port *string `json:"port" tf:"port"`
	// Indicates whether gateway was created through a provider portal
	// +optional
	ProviderAPIManaged *bool `json:"providerAPIManaged,omitempty" tf:"provider_api_managed"`
	// The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
	// +optional
	ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"`
	// The crn of the resource
	// +optional
	ResourceCrn *string `json:"resourceCrn,omitempty" tf:"resource_crn"`
	// The resource group name in which resource is provisioned
	// +optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"`
	// The name of the resource
	// +optional
	ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"`
	// The status of the resource
	// +optional
	ResourceStatus *string `json:"resourceStatus,omitempty" tf:"resource_status"`
	// Gateway speed in megabits per second
	SpeedMbps *int64 `json:"speedMbps" tf:"speed_mbps"`
	// Tags for the direct link gateway
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Gateway type
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// VLAN allocated for this gateway
	// +optional
	Vlan *int64 `json:"vlan,omitempty" tf:"vlan"`
}

func (*ProviderGatewaySpecResource) DeepCopy

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

func (*ProviderGatewaySpecResource) DeepCopyInto

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

type ProviderGatewayStatus

type ProviderGatewayStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ProviderGatewayStatus) DeepCopy

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

func (*ProviderGatewayStatus) DeepCopyInto

func (in *ProviderGatewayStatus) DeepCopyInto(out *ProviderGatewayStatus)

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

type VirtualConnection

type VirtualConnection struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VirtualConnectionSpec   `json:"spec,omitempty"`
	Status            VirtualConnectionStatus `json:"status,omitempty"`
}

func (*VirtualConnection) DeepCopy

func (in *VirtualConnection) DeepCopy() *VirtualConnection

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

func (*VirtualConnection) DeepCopyInto

func (in *VirtualConnection) DeepCopyInto(out *VirtualConnection)

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

func (*VirtualConnection) DeepCopyObject

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

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

func (*VirtualConnection) SetupWebhookWithManager

func (r *VirtualConnection) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VirtualConnection) ValidateCreate

func (r *VirtualConnection) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VirtualConnection) ValidateDelete

func (r *VirtualConnection) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VirtualConnection) ValidateUpdate

func (r *VirtualConnection) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VirtualConnectionList

type VirtualConnectionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of VirtualConnection CRD objects
	Items []VirtualConnection `json:"items,omitempty"`
}

VirtualConnectionList is a list of VirtualConnections

func (*VirtualConnectionList) DeepCopy

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

func (*VirtualConnectionList) DeepCopyInto

func (in *VirtualConnectionList) DeepCopyInto(out *VirtualConnectionList)

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

func (*VirtualConnectionList) DeepCopyObject

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

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

type VirtualConnectionSpec

type VirtualConnectionSpec struct {
	State *VirtualConnectionSpecResource `json:"state,omitempty" tf:"-"`

	Resource VirtualConnectionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*VirtualConnectionSpec) DeepCopy

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

func (*VirtualConnectionSpec) DeepCopyInto

func (in *VirtualConnectionSpec) DeepCopyInto(out *VirtualConnectionSpec)

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

type VirtualConnectionSpecResource

type VirtualConnectionSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The date and time resource was created
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The Direct Link gateway identifier
	Gateway *string `json:"gateway" tf:"gateway"`
	// The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute
	Name *string `json:"name" tf:"name"`
	// For virtual connections across two different IBM Cloud Accounts network_account indicates the account that owns the target network.
	// +optional
	NetworkAccount *string `json:"networkAccount,omitempty" tf:"network_account"`
	// Unique identifier of the target network. For type=vpc virtual connections this is the CRN of the target VPC. This field does not apply to type=classic connections.
	// +optional
	NetworkID *string `json:"networkID,omitempty" tf:"network_id"`
	// The crn of the Direct link gateway
	// +optional
	RelatedCrn *string `json:"relatedCrn,omitempty" tf:"related_crn"`
	// Status of the virtual connection.Possible values: [pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network]
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// The type of virtual connection.Allowable values (classic,vpc)
	Type *string `json:"type" tf:"type"`
	// The Direct Gateway virtual connection identifier
	// +optional
	VirtualConnectionID *string `json:"virtualConnectionID,omitempty" tf:"virtual_connection_id"`
}

func (*VirtualConnectionSpecResource) DeepCopy

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

func (*VirtualConnectionSpecResource) DeepCopyInto

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

type VirtualConnectionStatus

type VirtualConnectionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*VirtualConnectionStatus) DeepCopy

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

func (*VirtualConnectionStatus) DeepCopyInto

func (in *VirtualConnectionStatus) DeepCopyInto(out *VirtualConnectionStatus)

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