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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_vlan_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 (
	VlanLogicalSwitch_Kind             = "VlanLogicalSwitch"
	VlanLogicalSwitch_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VlanLogicalSwitch_Kind}.String()
	VlanLogicalSwitch_KindAPIVersion   = VlanLogicalSwitch_Kind + "." + CRDGroupVersion.String()
	VlanLogicalSwitch_GroupVersionKind = CRDGroupVersion.WithKind(VlanLogicalSwitch_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 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"`
}

type VlanLogicalSwitch

type VlanLogicalSwitch 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"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.vlan)",message="vlan is a required parameter"
	Spec   VlanLogicalSwitchSpec   `json:"spec"`
	Status VlanLogicalSwitchStatus `json:"status,omitempty"`
}

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

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

GetCondition of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VlanLogicalSwitch

func (*VlanLogicalSwitch) GetDeletionPolicy

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

GetDeletionPolicy of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) GetID

func (tr *VlanLogicalSwitch) GetID() string

GetID returns ID of underlying Terraform resource of this VlanLogicalSwitch

func (*VlanLogicalSwitch) GetManagementPolicy

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

GetManagementPolicy of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) GetObservation

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

GetObservation of this VlanLogicalSwitch

func (*VlanLogicalSwitch) GetParameters

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

GetParameters of this VlanLogicalSwitch

func (*VlanLogicalSwitch) GetProviderConfigReference

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

GetProviderConfigReference of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) GetProviderReference

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

GetProviderReference of this VlanLogicalSwitch. Deprecated: Use GetProviderConfigReference.

func (*VlanLogicalSwitch) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) GetTerraformResourceType

func (mg *VlanLogicalSwitch) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VlanLogicalSwitch

func (*VlanLogicalSwitch) GetTerraformSchemaVersion

func (tr *VlanLogicalSwitch) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VlanLogicalSwitch) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) LateInitialize

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

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

func (*VlanLogicalSwitch) SetConditions

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

SetConditions of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) SetDeletionPolicy

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

SetDeletionPolicy of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) SetManagementPolicy

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

SetManagementPolicy of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) SetObservation

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

SetObservation for this VlanLogicalSwitch

func (*VlanLogicalSwitch) SetParameters

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

SetParameters for this VlanLogicalSwitch

func (*VlanLogicalSwitch) SetProviderConfigReference

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

SetProviderConfigReference of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) SetProviderReference

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

SetProviderReference of this VlanLogicalSwitch. Deprecated: Use SetProviderConfigReference.

func (*VlanLogicalSwitch) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VlanLogicalSwitch.

func (*VlanLogicalSwitch) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VlanLogicalSwitch.

type VlanLogicalSwitchList

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

VlanLogicalSwitchList contains a list of VlanLogicalSwitchs

func (*VlanLogicalSwitchList) GetItems

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

GetItems of this VlanLogicalSwitchList.

type VlanLogicalSwitchObservation

type VlanLogicalSwitchObservation 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"`

	// 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 Id
	Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"`
}

type VlanLogicalSwitchParameters

type VlanLogicalSwitchParameters 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"`

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

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

type VlanLogicalSwitchSpec

type VlanLogicalSwitchSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VlanLogicalSwitchParameters `json:"forProvider"`
}

VlanLogicalSwitchSpec defines the desired state of VlanLogicalSwitch

type VlanLogicalSwitchStatus

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

VlanLogicalSwitchStatus defines the observed state of VlanLogicalSwitch.

Jump to

Keyboard shortcuts

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