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_uplink_host_switch_profile.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_uplink_host_switch_profile.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 (
	UplinkHostSwitchProfile_Kind             = "UplinkHostSwitchProfile"
	UplinkHostSwitchProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UplinkHostSwitchProfile_Kind}.String()
	UplinkHostSwitchProfile_KindAPIVersion   = UplinkHostSwitchProfile_Kind + "." + CRDGroupVersion.String()
	UplinkHostSwitchProfile_GroupVersionKind = CRDGroupVersion.WithKind(UplinkHostSwitchProfile_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActiveObservation

type ActiveObservation struct {

	// Name of this uplink
	UplinkName *string `json:"uplinkName,omitempty" tf:"uplink_name,omitempty"`

	// Type of the uplink
	UplinkType *string `json:"uplinkType,omitempty" tf:"uplink_type,omitempty"`
}

type ActiveParameters

type ActiveParameters struct {

	// Name of this uplink
	// +kubebuilder:validation:Required
	UplinkName *string `json:"uplinkName" tf:"uplink_name,omitempty"`

	// Type of the uplink
	// +kubebuilder:validation:Required
	UplinkType *string `json:"uplinkType" tf:"uplink_type,omitempty"`
}

type LagObservation

type LagObservation struct {

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

	// LACP load balance Algorithm
	LoadBalanceAlgorithm *string `json:"loadBalanceAlgorithm,omitempty" tf:"load_balance_algorithm,omitempty"`

	// LACP group mode
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Lag name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number of uplinks
	NumberOfUplinks *float64 `json:"numberOfUplinks,omitempty" tf:"number_of_uplinks,omitempty"`

	// LACP timeout type
	TimeoutType *string `json:"timeoutType,omitempty" tf:"timeout_type,omitempty"`

	// uplink names
	Uplink []UplinkObservation `json:"uplink,omitempty" tf:"uplink,omitempty"`
}

type LagParameters

type LagParameters struct {

	// LACP load balance Algorithm
	// +kubebuilder:validation:Required
	LoadBalanceAlgorithm *string `json:"loadBalanceAlgorithm" tf:"load_balance_algorithm,omitempty"`

	// LACP group mode
	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// Lag name
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Number of uplinks
	// +kubebuilder:validation:Required
	NumberOfUplinks *float64 `json:"numberOfUplinks" tf:"number_of_uplinks,omitempty"`

	// LACP timeout type
	// +kubebuilder:validation:Optional
	TimeoutType *string `json:"timeoutType,omitempty" tf:"timeout_type,omitempty"`
}

type NamedTeamingObservation

type NamedTeamingObservation struct {

	// List of Uplinks used in active list
	Active []ActiveObservation `json:"active,omitempty" tf:"active,omitempty"`

	// The name of the uplink teaming policy
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Teaming policy
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// List of Uplinks used in standby list
	Standby []StandbyObservation `json:"standby,omitempty" tf:"standby,omitempty"`
}

type NamedTeamingParameters

type NamedTeamingParameters struct {

	// List of Uplinks used in active list
	// +kubebuilder:validation:Required
	Active []ActiveParameters `json:"active" tf:"active,omitempty"`

	// The name of the uplink teaming policy
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Teaming policy
	// +kubebuilder:validation:Required
	Policy *string `json:"policy" tf:"policy,omitempty"`

	// List of Uplinks used in standby list
	// +kubebuilder:validation:Optional
	Standby []StandbyParameters `json:"standby,omitempty" tf:"standby,omitempty"`
}

type StandbyObservation

type StandbyObservation struct {

	// Name of this uplink
	UplinkName *string `json:"uplinkName,omitempty" tf:"uplink_name,omitempty"`

	// Type of the uplink
	UplinkType *string `json:"uplinkType,omitempty" tf:"uplink_type,omitempty"`
}

type StandbyParameters

type StandbyParameters struct {

	// Name of this uplink
	// +kubebuilder:validation:Required
	UplinkName *string `json:"uplinkName" tf:"uplink_name,omitempty"`

	// Type of the uplink
	// +kubebuilder:validation:Required
	UplinkType *string `json:"uplinkType" tf:"uplink_type,omitempty"`
}

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

type TeamingActiveObservation

type TeamingActiveObservation struct {

	// Name of this uplink
	UplinkName *string `json:"uplinkName,omitempty" tf:"uplink_name,omitempty"`

	// Type of the uplink
	UplinkType *string `json:"uplinkType,omitempty" tf:"uplink_type,omitempty"`
}

type TeamingActiveParameters

type TeamingActiveParameters struct {

	// Name of this uplink
	// +kubebuilder:validation:Required
	UplinkName *string `json:"uplinkName" tf:"uplink_name,omitempty"`

	// Type of the uplink
	// +kubebuilder:validation:Required
	UplinkType *string `json:"uplinkType" tf:"uplink_type,omitempty"`
}

type TeamingObservation

type TeamingObservation struct {

	// List of Uplinks used in active list
	Active []TeamingActiveObservation `json:"active,omitempty" tf:"active,omitempty"`

	// Teaming policy
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// List of Uplinks used in standby list
	Standby []TeamingStandbyObservation `json:"standby,omitempty" tf:"standby,omitempty"`
}

type TeamingParameters

type TeamingParameters struct {

	// List of Uplinks used in active list
	// +kubebuilder:validation:Required
	Active []TeamingActiveParameters `json:"active" tf:"active,omitempty"`

	// Teaming policy
	// +kubebuilder:validation:Required
	Policy *string `json:"policy" tf:"policy,omitempty"`

	// List of Uplinks used in standby list
	// +kubebuilder:validation:Optional
	Standby []TeamingStandbyParameters `json:"standby,omitempty" tf:"standby,omitempty"`
}

type TeamingStandbyObservation

type TeamingStandbyObservation struct {

	// Name of this uplink
	UplinkName *string `json:"uplinkName,omitempty" tf:"uplink_name,omitempty"`

	// Type of the uplink
	UplinkType *string `json:"uplinkType,omitempty" tf:"uplink_type,omitempty"`
}

type TeamingStandbyParameters

type TeamingStandbyParameters struct {

	// Name of this uplink
	// +kubebuilder:validation:Required
	UplinkName *string `json:"uplinkName" tf:"uplink_name,omitempty"`

	// Type of the uplink
	// +kubebuilder:validation:Required
	UplinkType *string `json:"uplinkType" tf:"uplink_type,omitempty"`
}

type UplinkHostSwitchProfile

type UplinkHostSwitchProfile 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.teaming)",message="teaming is a required parameter"
	Spec   UplinkHostSwitchProfileSpec   `json:"spec"`
	Status UplinkHostSwitchProfileStatus `json:"status,omitempty"`
}

UplinkHostSwitchProfile is the Schema for the UplinkHostSwitchProfiles 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 (*UplinkHostSwitchProfile) GetCondition

GetCondition of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) GetDeletionPolicy

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

GetDeletionPolicy of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) GetID

func (tr *UplinkHostSwitchProfile) GetID() string

GetID returns ID of underlying Terraform resource of this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) GetManagementPolicy

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

GetManagementPolicy of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) GetObservation

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

GetObservation of this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) GetParameters

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

GetParameters of this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) GetProviderConfigReference

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

GetProviderConfigReference of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) GetProviderReference

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

GetProviderReference of this UplinkHostSwitchProfile. Deprecated: Use GetProviderConfigReference.

func (*UplinkHostSwitchProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) GetTerraformResourceType

func (mg *UplinkHostSwitchProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) GetTerraformSchemaVersion

func (tr *UplinkHostSwitchProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UplinkHostSwitchProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) LateInitialize

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

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

func (*UplinkHostSwitchProfile) SetConditions

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

SetConditions of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) SetDeletionPolicy

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

SetDeletionPolicy of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) SetManagementPolicy

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

SetManagementPolicy of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) SetObservation

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

SetObservation for this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) SetParameters

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

SetParameters for this UplinkHostSwitchProfile

func (*UplinkHostSwitchProfile) SetProviderConfigReference

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

SetProviderConfigReference of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) SetProviderReference

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

SetProviderReference of this UplinkHostSwitchProfile. Deprecated: Use SetProviderConfigReference.

func (*UplinkHostSwitchProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UplinkHostSwitchProfile.

func (*UplinkHostSwitchProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UplinkHostSwitchProfile.

type UplinkHostSwitchProfileList

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

UplinkHostSwitchProfileList contains a list of UplinkHostSwitchProfiles

func (*UplinkHostSwitchProfileList) GetItems

GetItems of this UplinkHostSwitchProfileList.

type UplinkHostSwitchProfileObservation

type UplinkHostSwitchProfileObservation struct {

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

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

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

	// List of LACP group
	Lag []LagObservation `json:"lag,omitempty" tf:"lag,omitempty"`

	// Maximum Transmission Unit used for uplinks
	Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"`

	// List of named uplink teaming policies that can be used by logical switches
	NamedTeaming []NamedTeamingObservation `json:"namedTeaming,omitempty" tf:"named_teaming,omitempty"`

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

	// The protocol used to encapsulate overlay traffic
	OverlayEncap *string `json:"overlayEncap,omitempty" tf:"overlay_encap,omitempty"`

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

	// Computed ID of the realized object
	RealizedID *string `json:"realizedId,omitempty" tf:"realized_id,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"`

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

	// Default TeamingPolicy associated with this UplinkProfile
	Teaming []TeamingObservation `json:"teaming,omitempty" tf:"teaming,omitempty"`

	// VLAN used for tagging Overlay traffic of associated HostSwitch
	TransportVlan *float64 `json:"transportVlan,omitempty" tf:"transport_vlan,omitempty"`
}

type UplinkHostSwitchProfileParameters

type UplinkHostSwitchProfileParameters struct {

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

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

	// List of LACP group
	// +kubebuilder:validation:Optional
	Lag []LagParameters `json:"lag,omitempty" tf:"lag,omitempty"`

	// Maximum Transmission Unit used for uplinks
	// +kubebuilder:validation:Optional
	Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"`

	// List of named uplink teaming policies that can be used by logical switches
	// +kubebuilder:validation:Optional
	NamedTeaming []NamedTeamingParameters `json:"namedTeaming,omitempty" tf:"named_teaming,omitempty"`

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

	// The protocol used to encapsulate overlay traffic
	// +kubebuilder:validation:Optional
	OverlayEncap *string `json:"overlayEncap,omitempty" tf:"overlay_encap,omitempty"`

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

	// Default TeamingPolicy associated with this UplinkProfile
	// +kubebuilder:validation:Optional
	Teaming []TeamingParameters `json:"teaming,omitempty" tf:"teaming,omitempty"`

	// VLAN used for tagging Overlay traffic of associated HostSwitch
	// +kubebuilder:validation:Optional
	TransportVlan *float64 `json:"transportVlan,omitempty" tf:"transport_vlan,omitempty"`
}

type UplinkHostSwitchProfileSpec

type UplinkHostSwitchProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UplinkHostSwitchProfileParameters `json:"forProvider"`
}

UplinkHostSwitchProfileSpec defines the desired state of UplinkHostSwitchProfile

type UplinkHostSwitchProfileStatus

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

UplinkHostSwitchProfileStatus defines the observed state of UplinkHostSwitchProfile.

type UplinkObservation

type UplinkObservation struct {
	UplinkName *string `json:"uplinkName,omitempty" tf:"uplink_name,omitempty"`

	UplinkType *string `json:"uplinkType,omitempty" tf:"uplink_type,omitempty"`
}

type UplinkParameters

type UplinkParameters struct {
}

Jump to

Keyboard shortcuts

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