v1alpha1

package
v0.0.0-...-4b4ec10 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

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

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 (
	PolicyL2VpnSession_Kind             = "PolicyL2VpnSession"
	PolicyL2VpnSession_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyL2VpnSession_Kind}.String()
	PolicyL2VpnSession_KindAPIVersion   = PolicyL2VpnSession_Kind + "." + CRDGroupVersion.String()
	PolicyL2VpnSession_GroupVersionKind = CRDGroupVersion.WithKind(PolicyL2VpnSession_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type PolicyL2VpnSession

type PolicyL2VpnSession struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.displayName)",message="displayName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.servicePath)",message="servicePath is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.transportTunnels)",message="transportTunnels is a required parameter"
	Spec   PolicyL2VpnSessionSpec   `json:"spec"`
	Status PolicyL2VpnSessionStatus `json:"status,omitempty"`
}

PolicyL2VpnSession is the Schema for the PolicyL2VpnSessions API. <no value> +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,nsxt}

func (*PolicyL2VpnSession) GetCondition

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

GetCondition of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyL2VpnSession

func (*PolicyL2VpnSession) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) GetID

func (tr *PolicyL2VpnSession) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyL2VpnSession

func (*PolicyL2VpnSession) GetManagementPolicy

func (mg *PolicyL2VpnSession) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) GetObservation

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

GetObservation of this PolicyL2VpnSession

func (*PolicyL2VpnSession) GetParameters

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

GetParameters of this PolicyL2VpnSession

func (*PolicyL2VpnSession) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) GetProviderReference

func (mg *PolicyL2VpnSession) GetProviderReference() *xpv1.Reference

GetProviderReference of this PolicyL2VpnSession. Deprecated: Use GetProviderConfigReference.

func (*PolicyL2VpnSession) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) GetTerraformResourceType

func (mg *PolicyL2VpnSession) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyL2VpnSession

func (*PolicyL2VpnSession) GetTerraformSchemaVersion

func (tr *PolicyL2VpnSession) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyL2VpnSession) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) LateInitialize

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

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

func (*PolicyL2VpnSession) SetConditions

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

SetConditions of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) SetManagementPolicy

func (mg *PolicyL2VpnSession) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) SetObservation

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

SetObservation for this PolicyL2VpnSession

func (*PolicyL2VpnSession) SetParameters

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

SetParameters for this PolicyL2VpnSession

func (*PolicyL2VpnSession) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) SetProviderReference

func (mg *PolicyL2VpnSession) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this PolicyL2VpnSession. Deprecated: Use SetProviderConfigReference.

func (*PolicyL2VpnSession) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyL2VpnSession.

func (*PolicyL2VpnSession) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyL2VpnSession.

type PolicyL2VpnSessionList

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

PolicyL2VpnSessionList contains a list of PolicyL2VpnSessions

func (*PolicyL2VpnSessionList) GetItems

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

GetItems of this PolicyL2VpnSessionList.

type PolicyL2VpnSessionObservation

type PolicyL2VpnSessionObservation struct {

	// Description for this resource
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The traffic direction apply to the MSS clamping
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// Display name for this resource
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enable/Disable IPSec VPN session.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// IP Address of the local tunnel port. This property only applies in CLIENT mode
	LocalAddress *string `json:"localAddress,omitempty" tf:"local_address,omitempty"`

	// Maximum amount of data the host will accept in a Tcp segment.
	MaxSegmentSize *float64 `json:"maxSegmentSize,omitempty" tf:"max_segment_size,omitempty"`

	// NSX ID for this resource
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// Policy path for this resource
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// IP Address of the peer tunnel port. This property only applies in CLIENT mode
	PeerAddress *string `json:"peerAddress,omitempty" tf:"peer_address,omitempty"`

	// Encapsulation protocol used by the tunnel.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected
	Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"`

	// Policy path for L2 VPN service
	ServicePath *string `json:"servicePath,omitempty" tf:"service_path,omitempty"`

	// Set of opaque identifiers meaningful to the user
	Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"`

	// List of transport tunnels(vpn sessions path) for redundancy
	TransportTunnels []*string `json:"transportTunnels,omitempty" tf:"transport_tunnels,omitempty"`
}

type PolicyL2VpnSessionParameters

type PolicyL2VpnSessionParameters struct {

	// Description for this resource
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The traffic direction apply to the MSS clamping
	// +kubebuilder:validation:Optional
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// Display name for this resource
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enable/Disable IPSec VPN session.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// IP Address of the local tunnel port. This property only applies in CLIENT mode
	// +kubebuilder:validation:Optional
	LocalAddress *string `json:"localAddress,omitempty" tf:"local_address,omitempty"`

	// Maximum amount of data the host will accept in a Tcp segment.
	// +kubebuilder:validation:Optional
	MaxSegmentSize *float64 `json:"maxSegmentSize,omitempty" tf:"max_segment_size,omitempty"`

	// NSX ID for this resource
	// +kubebuilder:validation:Optional
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// IP Address of the peer tunnel port. This property only applies in CLIENT mode
	// +kubebuilder:validation:Optional
	PeerAddress *string `json:"peerAddress,omitempty" tf:"peer_address,omitempty"`

	// Encapsulation protocol used by the tunnel.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Policy path for L2 VPN service
	// +kubebuilder:validation:Optional
	ServicePath *string `json:"servicePath,omitempty" tf:"service_path,omitempty"`

	// Set of opaque identifiers meaningful to the user
	// +kubebuilder:validation:Optional
	Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`

	// List of transport tunnels(vpn sessions path) for redundancy
	// +kubebuilder:validation:Optional
	TransportTunnels []*string `json:"transportTunnels,omitempty" tf:"transport_tunnels,omitempty"`
}

type PolicyL2VpnSessionSpec

type PolicyL2VpnSessionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyL2VpnSessionParameters `json:"forProvider"`
}

PolicyL2VpnSessionSpec defines the desired state of PolicyL2VpnSession

type PolicyL2VpnSessionStatus

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

PolicyL2VpnSessionStatus defines the observed state of PolicyL2VpnSession.

type TagObservation

type TagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

type TagParameters

type TagParameters struct {

	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

Jump to

Keyboard shortcuts

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