Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtvlanlogicalswitch.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AddressBindingObservation
- type AddressBindingParameters
- type SwitchingProfileIDObservation
- type SwitchingProfileIDParameters
- type TagObservation
- type TagParameters
- type VlanLogicalSwitch
- func (in *VlanLogicalSwitch) DeepCopy() *VlanLogicalSwitch
- func (in *VlanLogicalSwitch) DeepCopyInto(out *VlanLogicalSwitch)
- func (in *VlanLogicalSwitch) DeepCopyObject() runtime.Object
- func (mg *VlanLogicalSwitch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VlanLogicalSwitch) GetConnectionDetailsMapping() map[string]string
- func (mg *VlanLogicalSwitch) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VlanLogicalSwitch) GetID() string
- func (mg *VlanLogicalSwitch) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *VlanLogicalSwitch) GetObservation() (map[string]any, error)
- func (tr *VlanLogicalSwitch) GetParameters() (map[string]any, error)
- func (mg *VlanLogicalSwitch) GetProviderConfigReference() *xpv1.Reference
- func (mg *VlanLogicalSwitch) GetProviderReference() *xpv1.Reference
- func (mg *VlanLogicalSwitch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VlanLogicalSwitch) GetTerraformResourceType() string
- func (tr *VlanLogicalSwitch) GetTerraformSchemaVersion() int
- func (mg *VlanLogicalSwitch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VlanLogicalSwitch) LateInitialize(attrs []byte) (bool, error)
- func (mg *VlanLogicalSwitch) SetConditions(c ...xpv1.Condition)
- func (mg *VlanLogicalSwitch) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VlanLogicalSwitch) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *VlanLogicalSwitch) SetObservation(obs map[string]any) error
- func (tr *VlanLogicalSwitch) SetParameters(params map[string]any) error
- func (mg *VlanLogicalSwitch) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VlanLogicalSwitch) SetProviderReference(r *xpv1.Reference)
- func (mg *VlanLogicalSwitch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VlanLogicalSwitch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VlanLogicalSwitchList
- type VlanLogicalSwitchObservation
- type VlanLogicalSwitchParameters
- type VlanLogicalSwitchSpec
- type VlanLogicalSwitchStatus
Constants ¶
const ( CRDGroup = "nsxtvlanlogicalswitch.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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"` }
func (*AddressBindingObservation) DeepCopy ¶
func (in *AddressBindingObservation) DeepCopy() *AddressBindingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressBindingObservation.
func (*AddressBindingObservation) DeepCopyInto ¶
func (in *AddressBindingObservation) DeepCopyInto(out *AddressBindingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` }
func (*AddressBindingParameters) DeepCopy ¶
func (in *AddressBindingParameters) DeepCopy() *AddressBindingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressBindingParameters.
func (*AddressBindingParameters) DeepCopyInto ¶
func (in *AddressBindingParameters) DeepCopyInto(out *AddressBindingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` }
func (*SwitchingProfileIDObservation) DeepCopy ¶
func (in *SwitchingProfileIDObservation) DeepCopy() *SwitchingProfileIDObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchingProfileIDObservation.
func (*SwitchingProfileIDObservation) DeepCopyInto ¶
func (in *SwitchingProfileIDObservation) DeepCopyInto(out *SwitchingProfileIDObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` }
func (*SwitchingProfileIDParameters) DeepCopy ¶
func (in *SwitchingProfileIDParameters) DeepCopy() *SwitchingProfileIDParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchingProfileIDParameters.
func (*SwitchingProfileIDParameters) DeepCopyInto ¶
func (in *SwitchingProfileIDParameters) DeepCopyInto(out *SwitchingProfileIDParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagObservation ¶
type TagObservation struct { Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*TagObservation) DeepCopy ¶
func (in *TagObservation) DeepCopy() *TagObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.
func (*TagObservation) DeepCopyInto ¶
func (in *TagObservation) DeepCopyInto(out *TagObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` }
func (*TagParameters) DeepCopy ¶
func (in *TagParameters) DeepCopy() *TagParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.
func (*TagParameters) DeepCopyInto ¶
func (in *TagParameters) DeepCopyInto(out *TagParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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) DeepCopy ¶
func (in *VlanLogicalSwitch) DeepCopy() *VlanLogicalSwitch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanLogicalSwitch.
func (*VlanLogicalSwitch) DeepCopyInto ¶
func (in *VlanLogicalSwitch) DeepCopyInto(out *VlanLogicalSwitch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VlanLogicalSwitch) DeepCopyObject ¶
func (in *VlanLogicalSwitch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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) DeepCopy ¶
func (in *VlanLogicalSwitchList) DeepCopy() *VlanLogicalSwitchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanLogicalSwitchList.
func (*VlanLogicalSwitchList) DeepCopyInto ¶
func (in *VlanLogicalSwitchList) DeepCopyInto(out *VlanLogicalSwitchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VlanLogicalSwitchList) DeepCopyObject ¶
func (in *VlanLogicalSwitchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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"` }
func (*VlanLogicalSwitchObservation) DeepCopy ¶
func (in *VlanLogicalSwitchObservation) DeepCopy() *VlanLogicalSwitchObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanLogicalSwitchObservation.
func (*VlanLogicalSwitchObservation) DeepCopyInto ¶
func (in *VlanLogicalSwitchObservation) DeepCopyInto(out *VlanLogicalSwitchObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` }
func (*VlanLogicalSwitchParameters) DeepCopy ¶
func (in *VlanLogicalSwitchParameters) DeepCopy() *VlanLogicalSwitchParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanLogicalSwitchParameters.
func (*VlanLogicalSwitchParameters) DeepCopyInto ¶
func (in *VlanLogicalSwitchParameters) DeepCopyInto(out *VlanLogicalSwitchParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VlanLogicalSwitchSpec ¶
type VlanLogicalSwitchSpec struct { v1.ResourceSpec `json:",inline"` ForProvider VlanLogicalSwitchParameters `json:"forProvider"` }
VlanLogicalSwitchSpec defines the desired state of VlanLogicalSwitch
func (*VlanLogicalSwitchSpec) DeepCopy ¶
func (in *VlanLogicalSwitchSpec) DeepCopy() *VlanLogicalSwitchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanLogicalSwitchSpec.
func (*VlanLogicalSwitchSpec) DeepCopyInto ¶
func (in *VlanLogicalSwitchSpec) DeepCopyInto(out *VlanLogicalSwitchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VlanLogicalSwitchStatus ¶
type VlanLogicalSwitchStatus struct { v1.ResourceStatus `json:",inline"` AtProvider VlanLogicalSwitchObservation `json:"atProvider,omitempty"` }
VlanLogicalSwitchStatus defines the observed state of VlanLogicalSwitch.
func (*VlanLogicalSwitchStatus) DeepCopy ¶
func (in *VlanLogicalSwitchStatus) DeepCopy() *VlanLogicalSwitchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanLogicalSwitchStatus.
func (*VlanLogicalSwitchStatus) DeepCopyInto ¶
func (in *VlanLogicalSwitchStatus) DeepCopyInto(out *VlanLogicalSwitchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.