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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_logical_switch.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 (
	LogicalSwitch_Kind             = "LogicalSwitch"
	LogicalSwitch_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogicalSwitch_Kind}.String()
	LogicalSwitch_KindAPIVersion   = LogicalSwitch_Kind + "." + CRDGroupVersion.String()
	LogicalSwitch_GroupVersionKind = CRDGroupVersion.WithKind(LogicalSwitch_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AddressBindingObservation

type AddressBindingObservation struct {

	// A single IP address or a subnet cidr
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// A single MAC address
	MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`

	// A single vlan tag value
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`
}

type AddressBindingParameters

type AddressBindingParameters struct {

	// A single IP address or a subnet cidr
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// A single MAC address
	// +kubebuilder:validation:Optional
	MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`

	// A single vlan tag value
	// +kubebuilder:validation:Optional
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`
}

type LogicalSwitch

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

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

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

GetCondition of this LogicalSwitch.

func (*LogicalSwitch) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LogicalSwitch

func (*LogicalSwitch) GetDeletionPolicy

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

GetDeletionPolicy of this LogicalSwitch.

func (*LogicalSwitch) GetID

func (tr *LogicalSwitch) GetID() string

GetID returns ID of underlying Terraform resource of this LogicalSwitch

func (*LogicalSwitch) GetManagementPolicy

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

GetManagementPolicy of this LogicalSwitch.

func (*LogicalSwitch) GetObservation

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

GetObservation of this LogicalSwitch

func (*LogicalSwitch) GetParameters

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

GetParameters of this LogicalSwitch

func (*LogicalSwitch) GetProviderConfigReference

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

GetProviderConfigReference of this LogicalSwitch.

func (*LogicalSwitch) GetProviderReference

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

GetProviderReference of this LogicalSwitch. Deprecated: Use GetProviderConfigReference.

func (*LogicalSwitch) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LogicalSwitch.

func (*LogicalSwitch) GetTerraformResourceType

func (mg *LogicalSwitch) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogicalSwitch

func (*LogicalSwitch) GetTerraformSchemaVersion

func (tr *LogicalSwitch) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogicalSwitch) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LogicalSwitch.

func (*LogicalSwitch) LateInitialize

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

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

func (*LogicalSwitch) SetConditions

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

SetConditions of this LogicalSwitch.

func (*LogicalSwitch) SetDeletionPolicy

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

SetDeletionPolicy of this LogicalSwitch.

func (*LogicalSwitch) SetManagementPolicy

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

SetManagementPolicy of this LogicalSwitch.

func (*LogicalSwitch) SetObservation

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

SetObservation for this LogicalSwitch

func (*LogicalSwitch) SetParameters

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

SetParameters for this LogicalSwitch

func (*LogicalSwitch) SetProviderConfigReference

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

SetProviderConfigReference of this LogicalSwitch.

func (*LogicalSwitch) SetProviderReference

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

SetProviderReference of this LogicalSwitch. Deprecated: Use SetProviderConfigReference.

func (*LogicalSwitch) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LogicalSwitch.

func (*LogicalSwitch) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LogicalSwitch.

type LogicalSwitchList

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

LogicalSwitchList contains a list of LogicalSwitchs

func (*LogicalSwitchList) GetItems

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

GetItems of this LogicalSwitchList.

type LogicalSwitchObservation

type LogicalSwitchObservation struct {

	// Address bindings for the Logical switch
	AddressBinding []AddressBindingObservation `json:"addressBinding,omitempty" tf:"address_binding,omitempty"`

	// Represents Desired state of the object
	AdminState *string `json:"adminState,omitempty" tf:"admin_state,omitempty"`

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

	// The display name of this resource. Defaults to ID if not set
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// IP pool id that associated with a LogicalSwitch
	IPPoolID *string `json:"ipPoolId,omitempty" tf:"ip_pool_id,omitempty"`

	// Mac pool id that associated with a LogicalSwitch
	MacPoolID *string `json:"macPoolId,omitempty" tf:"mac_pool_id,omitempty"`

	// Replication mode of the Logical Switch
	ReplicationMode *string `json:"replicationMode,omitempty" tf:"replication_mode,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"`

	// List of IDs of switching profiles (of various types) to be associated with this object. Default switching profiles will be used if not specified
	SwitchingProfileID []SwitchingProfileIDObservation `json:"switchingProfileId,omitempty" tf:"switching_profile_id,omitempty"`

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

	// Id of the TransportZone to which this LogicalSwitch is associated
	TransportZoneID *string `json:"transportZoneId,omitempty" tf:"transport_zone_id,omitempty"`

	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`

	// VNI for this LogicalSwitch
	Vni *float64 `json:"vni,omitempty" tf:"vni,omitempty"`
}

type LogicalSwitchParameters

type LogicalSwitchParameters struct {

	// Address bindings for the Logical switch
	// +kubebuilder:validation:Optional
	AddressBinding []AddressBindingParameters `json:"addressBinding,omitempty" tf:"address_binding,omitempty"`

	// Represents Desired state of the object
	// +kubebuilder:validation:Optional
	AdminState *string `json:"adminState,omitempty" tf:"admin_state,omitempty"`

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

	// The display name of this resource. Defaults to ID if not set
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// IP pool id that associated with a LogicalSwitch
	// +kubebuilder:validation:Optional
	IPPoolID *string `json:"ipPoolId,omitempty" tf:"ip_pool_id,omitempty"`

	// Mac pool id that associated with a LogicalSwitch
	// +kubebuilder:validation:Optional
	MacPoolID *string `json:"macPoolId,omitempty" tf:"mac_pool_id,omitempty"`

	// Replication mode of the Logical Switch
	// +kubebuilder:validation:Optional
	ReplicationMode *string `json:"replicationMode,omitempty" tf:"replication_mode,omitempty"`

	// List of IDs of switching profiles (of various types) to be associated with this object. Default switching profiles will be used if not specified
	// +kubebuilder:validation:Optional
	SwitchingProfileID []SwitchingProfileIDParameters `json:"switchingProfileId,omitempty" tf:"switching_profile_id,omitempty"`

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

	// Id of the TransportZone to which this LogicalSwitch is associated
	// +kubebuilder:validation:Optional
	TransportZoneID *string `json:"transportZoneId,omitempty" tf:"transport_zone_id,omitempty"`

	// +kubebuilder:validation:Optional
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`

	// VNI for this LogicalSwitch
	// +kubebuilder:validation:Optional
	Vni *float64 `json:"vni,omitempty" tf:"vni,omitempty"`
}

type LogicalSwitchSpec

type LogicalSwitchSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogicalSwitchParameters `json:"forProvider"`
}

LogicalSwitchSpec defines the desired state of LogicalSwitch

type LogicalSwitchStatus

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

LogicalSwitchStatus defines the observed state of LogicalSwitch.

type SwitchingProfileIDObservation

type SwitchingProfileIDObservation struct {

	// The resource type of this profile
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// The ID of this profile
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

type SwitchingProfileIDParameters

type SwitchingProfileIDParameters struct {

	// The resource type of this profile
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// The ID of this profile
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,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"`
}

Jump to

Keyboard shortcuts

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