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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_logical_dhcp_port.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 (
	LogicalDhcpPort_Kind             = "LogicalDhcpPort"
	LogicalDhcpPort_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogicalDhcpPort_Kind}.String()
	LogicalDhcpPort_KindAPIVersion   = LogicalDhcpPort_Kind + "." + CRDGroupVersion.String()
	LogicalDhcpPort_GroupVersionKind = CRDGroupVersion.WithKind(LogicalDhcpPort_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LogicalDhcpPort

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

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

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

GetCondition of this LogicalDhcpPort.

func (*LogicalDhcpPort) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LogicalDhcpPort

func (*LogicalDhcpPort) GetDeletionPolicy

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

GetDeletionPolicy of this LogicalDhcpPort.

func (*LogicalDhcpPort) GetID

func (tr *LogicalDhcpPort) GetID() string

GetID returns ID of underlying Terraform resource of this LogicalDhcpPort

func (*LogicalDhcpPort) GetManagementPolicy

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

GetManagementPolicy of this LogicalDhcpPort.

func (*LogicalDhcpPort) GetObservation

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

GetObservation of this LogicalDhcpPort

func (*LogicalDhcpPort) GetParameters

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

GetParameters of this LogicalDhcpPort

func (*LogicalDhcpPort) GetProviderConfigReference

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

GetProviderConfigReference of this LogicalDhcpPort.

func (*LogicalDhcpPort) GetProviderReference

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

GetProviderReference of this LogicalDhcpPort. Deprecated: Use GetProviderConfigReference.

func (*LogicalDhcpPort) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LogicalDhcpPort.

func (*LogicalDhcpPort) GetTerraformResourceType

func (mg *LogicalDhcpPort) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogicalDhcpPort

func (*LogicalDhcpPort) GetTerraformSchemaVersion

func (tr *LogicalDhcpPort) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogicalDhcpPort) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LogicalDhcpPort.

func (*LogicalDhcpPort) LateInitialize

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

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

func (*LogicalDhcpPort) SetConditions

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

SetConditions of this LogicalDhcpPort.

func (*LogicalDhcpPort) SetDeletionPolicy

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

SetDeletionPolicy of this LogicalDhcpPort.

func (*LogicalDhcpPort) SetManagementPolicy

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

SetManagementPolicy of this LogicalDhcpPort.

func (*LogicalDhcpPort) SetObservation

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

SetObservation for this LogicalDhcpPort

func (*LogicalDhcpPort) SetParameters

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

SetParameters for this LogicalDhcpPort

func (*LogicalDhcpPort) SetProviderConfigReference

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

SetProviderConfigReference of this LogicalDhcpPort.

func (*LogicalDhcpPort) SetProviderReference

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

SetProviderReference of this LogicalDhcpPort. Deprecated: Use SetProviderConfigReference.

func (*LogicalDhcpPort) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LogicalDhcpPort.

func (*LogicalDhcpPort) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LogicalDhcpPort.

type LogicalDhcpPortList

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

LogicalDhcpPortList contains a list of LogicalDhcpPorts

func (*LogicalDhcpPortList) GetItems

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

GetItems of this LogicalDhcpPortList.

type LogicalDhcpPortObservation

type LogicalDhcpPortObservation struct {

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

	// Id of the Logical DHCP server this port belongs to
	DHCPServerID *string `json:"dhcpServerId,omitempty" tf:"dhcp_server_id,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"`

	// Id of the Logical switch that this port belongs to
	LogicalSwitchID *string `json:"logicalSwitchId,omitempty" tf:"logical_switch_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"`
}

type LogicalDhcpPortParameters

type LogicalDhcpPortParameters struct {

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

	// Id of the Logical DHCP server this port belongs to
	// +kubebuilder:validation:Optional
	DHCPServerID *string `json:"dhcpServerId,omitempty" tf:"dhcp_server_id,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"`

	// Id of the Logical switch that this port belongs to
	// +kubebuilder:validation:Optional
	LogicalSwitchID *string `json:"logicalSwitchId,omitempty" tf:"logical_switch_id,omitempty"`

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

type LogicalDhcpPortSpec

type LogicalDhcpPortSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogicalDhcpPortParameters `json:"forProvider"`
}

LogicalDhcpPortSpec defines the desired state of LogicalDhcpPort

type LogicalDhcpPortStatus

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

LogicalDhcpPortStatus defines the observed state of LogicalDhcpPort.

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