Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dcim.thibaultbustarret-ovhcloud.com +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Device
- func (in *Device) DeepCopy() *Device
- func (in *Device) DeepCopyInto(out *Device)
- func (in *Device) DeepCopyObject() runtime.Object
- func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Device) GetConnectionDetailsMapping() map[string]string
- func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Device) GetID() string
- func (tr *Device) GetInitParameters() (map[string]any, error)
- func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Device) GetObservation() (map[string]any, error)
- func (tr *Device) GetParameters() (map[string]any, error)
- func (mg *Device) GetProviderConfigReference() *xpv1.Reference
- func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Device) GetTerraformResourceType() string
- func (tr *Device) GetTerraformSchemaVersion() int
- func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Device) LateInitialize(attrs []byte) (bool, error)
- func (mg *Device) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Device) SetConditions(c ...xpv1.Condition)
- func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Device) SetObservation(obs map[string]any) error
- func (tr *Device) SetParameters(params map[string]any) error
- func (mg *Device) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceInitParameters
- type DeviceInterface
- func (in *DeviceInterface) DeepCopy() *DeviceInterface
- func (in *DeviceInterface) DeepCopyInto(out *DeviceInterface)
- func (in *DeviceInterface) DeepCopyObject() runtime.Object
- func (mg *DeviceInterface) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DeviceInterface) GetConnectionDetailsMapping() map[string]string
- func (mg *DeviceInterface) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DeviceInterface) GetID() string
- func (tr *DeviceInterface) GetInitParameters() (map[string]any, error)
- func (mg *DeviceInterface) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DeviceInterface) GetObservation() (map[string]any, error)
- func (tr *DeviceInterface) GetParameters() (map[string]any, error)
- func (mg *DeviceInterface) GetProviderConfigReference() *xpv1.Reference
- func (mg *DeviceInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DeviceInterface) GetTerraformResourceType() string
- func (tr *DeviceInterface) GetTerraformSchemaVersion() int
- func (mg *DeviceInterface) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DeviceInterface) LateInitialize(attrs []byte) (bool, error)
- func (mg *DeviceInterface) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DeviceInterface) SetConditions(c ...xpv1.Condition)
- func (mg *DeviceInterface) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DeviceInterface) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DeviceInterface) SetObservation(obs map[string]any) error
- func (tr *DeviceInterface) SetParameters(params map[string]any) error
- func (mg *DeviceInterface) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DeviceInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DeviceInterface) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceInterfaceInitParameters
- type DeviceInterfaceList
- type DeviceInterfaceObservation
- type DeviceInterfaceParameters
- type DeviceInterfaceSpec
- type DeviceInterfaceStatus
- type DeviceList
- type DeviceObservation
- type DeviceParameters
- type DeviceRole
- func (in *DeviceRole) DeepCopy() *DeviceRole
- func (in *DeviceRole) DeepCopyInto(out *DeviceRole)
- func (in *DeviceRole) DeepCopyObject() runtime.Object
- func (mg *DeviceRole) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DeviceRole) GetConnectionDetailsMapping() map[string]string
- func (mg *DeviceRole) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DeviceRole) GetID() string
- func (tr *DeviceRole) GetInitParameters() (map[string]any, error)
- func (mg *DeviceRole) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DeviceRole) GetObservation() (map[string]any, error)
- func (tr *DeviceRole) GetParameters() (map[string]any, error)
- func (mg *DeviceRole) GetProviderConfigReference() *xpv1.Reference
- func (mg *DeviceRole) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DeviceRole) GetTerraformResourceType() string
- func (tr *DeviceRole) GetTerraformSchemaVersion() int
- func (mg *DeviceRole) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DeviceRole) LateInitialize(attrs []byte) (bool, error)
- func (mg *DeviceRole) SetConditions(c ...xpv1.Condition)
- func (mg *DeviceRole) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DeviceRole) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DeviceRole) SetObservation(obs map[string]any) error
- func (tr *DeviceRole) SetParameters(params map[string]any) error
- func (mg *DeviceRole) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DeviceRole) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DeviceRole) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceRoleInitParameters
- type DeviceRoleList
- type DeviceRoleObservation
- type DeviceRoleParameters
- type DeviceRoleSpec
- type DeviceRoleStatus
- type DeviceSpec
- type DeviceStatus
- type DeviceType
- func (in *DeviceType) DeepCopy() *DeviceType
- func (in *DeviceType) DeepCopyInto(out *DeviceType)
- func (in *DeviceType) DeepCopyObject() runtime.Object
- func (mg *DeviceType) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DeviceType) GetConnectionDetailsMapping() map[string]string
- func (mg *DeviceType) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DeviceType) GetID() string
- func (tr *DeviceType) GetInitParameters() (map[string]any, error)
- func (mg *DeviceType) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DeviceType) GetObservation() (map[string]any, error)
- func (tr *DeviceType) GetParameters() (map[string]any, error)
- func (mg *DeviceType) GetProviderConfigReference() *xpv1.Reference
- func (mg *DeviceType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DeviceType) GetTerraformResourceType() string
- func (tr *DeviceType) GetTerraformSchemaVersion() int
- func (mg *DeviceType) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DeviceType) LateInitialize(attrs []byte) (bool, error)
- func (mg *DeviceType) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DeviceType) SetConditions(c ...xpv1.Condition)
- func (mg *DeviceType) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DeviceType) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DeviceType) SetObservation(obs map[string]any) error
- func (tr *DeviceType) SetParameters(params map[string]any) error
- func (mg *DeviceType) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DeviceType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DeviceType) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceTypeInitParameters
- type DeviceTypeList
- type DeviceTypeObservation
- type DeviceTypeParameters
- type DeviceTypeSpec
- type DeviceTypeStatus
- type Manufacturer
- func (in *Manufacturer) DeepCopy() *Manufacturer
- func (in *Manufacturer) DeepCopyInto(out *Manufacturer)
- func (in *Manufacturer) DeepCopyObject() runtime.Object
- func (mg *Manufacturer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Manufacturer) GetConnectionDetailsMapping() map[string]string
- func (mg *Manufacturer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Manufacturer) GetID() string
- func (tr *Manufacturer) GetInitParameters() (map[string]any, error)
- func (mg *Manufacturer) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Manufacturer) GetObservation() (map[string]any, error)
- func (tr *Manufacturer) GetParameters() (map[string]any, error)
- func (mg *Manufacturer) GetProviderConfigReference() *xpv1.Reference
- func (mg *Manufacturer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Manufacturer) GetTerraformResourceType() string
- func (tr *Manufacturer) GetTerraformSchemaVersion() int
- func (mg *Manufacturer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Manufacturer) LateInitialize(attrs []byte) (bool, error)
- func (mg *Manufacturer) SetConditions(c ...xpv1.Condition)
- func (mg *Manufacturer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Manufacturer) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Manufacturer) SetObservation(obs map[string]any) error
- func (tr *Manufacturer) SetParameters(params map[string]any) error
- func (mg *Manufacturer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Manufacturer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Manufacturer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ManufacturerInitParameters
- type ManufacturerList
- type ManufacturerObservation
- type ManufacturerParameters
- type ManufacturerSpec
- type ManufacturerStatus
- type Site
- func (in *Site) DeepCopy() *Site
- func (in *Site) DeepCopyInto(out *Site)
- func (in *Site) DeepCopyObject() runtime.Object
- func (mg *Site) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Site) GetConnectionDetailsMapping() map[string]string
- func (mg *Site) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Site) GetID() string
- func (tr *Site) GetInitParameters() (map[string]any, error)
- func (mg *Site) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Site) GetObservation() (map[string]any, error)
- func (tr *Site) GetParameters() (map[string]any, error)
- func (mg *Site) GetProviderConfigReference() *xpv1.Reference
- func (mg *Site) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Site) GetTerraformResourceType() string
- func (tr *Site) GetTerraformSchemaVersion() int
- func (mg *Site) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Site) LateInitialize(attrs []byte) (bool, error)
- func (mg *Site) SetConditions(c ...xpv1.Condition)
- func (mg *Site) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Site) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Site) SetObservation(obs map[string]any) error
- func (tr *Site) SetParameters(params map[string]any) error
- func (mg *Site) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Site) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Site) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SiteInitParameters
- type SiteList
- type SiteObservation
- type SiteParameters
- type SiteSpec
- type SiteStatus
Constants ¶
const ( CRDGroup = "dcim.thibaultbustarret-ovhcloud.com" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Device_Kind = "Device" Device_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Device_Kind}.String() Device_KindAPIVersion = Device_Kind + "." + CRDGroupVersion.String() Device_GroupVersionKind = CRDGroupVersion.WithKind(Device_Kind) )
Repository type metadata.
var ( DeviceInterface_Kind = "DeviceInterface" DeviceInterface_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DeviceInterface_Kind}.String() DeviceInterface_KindAPIVersion = DeviceInterface_Kind + "." + CRDGroupVersion.String() DeviceInterface_GroupVersionKind = CRDGroupVersion.WithKind(DeviceInterface_Kind) )
Repository type metadata.
var ( DeviceRole_Kind = "DeviceRole" DeviceRole_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DeviceRole_Kind}.String() DeviceRole_KindAPIVersion = DeviceRole_Kind + "." + CRDGroupVersion.String() DeviceRole_GroupVersionKind = CRDGroupVersion.WithKind(DeviceRole_Kind) )
Repository type metadata.
var ( DeviceType_Kind = "DeviceType" DeviceType_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DeviceType_Kind}.String() DeviceType_KindAPIVersion = DeviceType_Kind + "." + CRDGroupVersion.String() DeviceType_GroupVersionKind = CRDGroupVersion.WithKind(DeviceType_Kind) )
Repository type metadata.
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 ( Manufacturer_Kind = "Manufacturer" Manufacturer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Manufacturer_Kind}.String() Manufacturer_KindAPIVersion = Manufacturer_Kind + "." + CRDGroupVersion.String() Manufacturer_GroupVersionKind = CRDGroupVersion.WithKind(Manufacturer_Kind) )
Repository type metadata.
var ( Site_Kind = "Site" Site_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Site_Kind}.String() Site_KindAPIVersion = Site_Kind + "." + CRDGroupVersion.String() Site_GroupVersionKind = CRDGroupVersion.WithKind(Site_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeviceSpec `json:"spec"` Status DeviceStatus `json:"status,omitempty"` }
Device is the Schema for the Devices API. From the official documentation https://docs.netbox.dev/en/stable/features/devices/#devices: Every piece of hardware which is installed within a site or rack exists in NetBox as a device. Devices are measured in rack units (U) and can be half depth or full depth. A device may have a height of 0U: These devices do not consume vertical rack space and cannot be assigned to a particular rack unit. A common example of a 0U device is a vertically-mounted PDU. +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,netbox}
func (*Device) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.
func (*Device) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Device) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Device) GetCondition ¶
func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Device.
func (*Device) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Device
func (*Device) GetDeletionPolicy ¶
func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Device.
func (*Device) GetInitParameters ¶
GetInitParameters of this Device
func (*Device) GetManagementPolicies ¶
func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Device.
func (*Device) GetObservation ¶
GetObservation of this Device
func (*Device) GetParameters ¶
GetParameters of this Device
func (*Device) GetProviderConfigReference ¶
GetProviderConfigReference of this Device.
func (*Device) GetPublishConnectionDetailsTo ¶
func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Device.
func (*Device) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Device
func (*Device) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Device) GetWriteConnectionSecretToReference ¶
func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Device.
func (*Device) LateInitialize ¶
LateInitialize this Device using its observed tfState. returns True if there are any spec changes for the resource.
func (*Device) ResolveReferences ¶
ResolveReferences of this Device.
func (*Device) SetConditions ¶
SetConditions of this Device.
func (*Device) SetDeletionPolicy ¶
func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Device.
func (*Device) SetManagementPolicies ¶
func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Device.
func (*Device) SetObservation ¶
SetObservation for this Device
func (*Device) SetParameters ¶
SetParameters for this Device
func (*Device) SetProviderConfigReference ¶
SetProviderConfigReference of this Device.
func (*Device) SetPublishConnectionDetailsTo ¶
func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Device.
func (*Device) SetWriteConnectionSecretToReference ¶
func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Device.
type DeviceInitParameters ¶
type DeviceInitParameters struct { // (String) AssetTag *string `json:"assetTag,omitempty" tf:"asset_tag,omitempty"` // (Number) ClusterID *float64 `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // (String) Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` // (Map of String) CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) This is best managed through the use of jsonencode and a map of settings. // This is best managed through the use of `jsonencode` and a map of settings. LocalContextData *string `json:"localContextData,omitempty" tf:"local_context_data,omitempty"` // (Number) LocationID *float64 `json:"locationId,omitempty" tf:"location_id,omitempty"` // (Number) PlatformID *float64 `json:"platformId,omitempty" tf:"platform_id,omitempty"` // (String) Valid values are front and rear. Required when rack_position is set. // Valid values are `front` and `rear`. Required when `rack_position` is set. RackFace *string `json:"rackFace,omitempty" tf:"rack_face,omitempty"` // (Number) RackID *float64 `json:"rackId,omitempty" tf:"rack_id,omitempty"` // (Number) RackPosition *float64 `json:"rackPosition,omitempty" tf:"rack_position,omitempty"` // (String) Serial *string `json:"serial,omitempty" tf:"serial,omitempty"` // (String) Valid values are offline, active, planned, staged, failed and inventory. Defaults to active. // Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `inventory`. Defaults to `active`. Status *string `json:"status,omitempty" tf:"status,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // (Number) Required when virtual_chassis_master and virtual_chassis_id is set. // Required when `virtual_chassis_master` and `virtual_chassis_id` is set. VirtualChassisID *float64 `json:"virtualChassisId,omitempty" tf:"virtual_chassis_id,omitempty"` // (Boolean) Required when virtual_chassis_master and virtual_chassis_id is set. // Required when `virtual_chassis_master` and `virtual_chassis_id` is set. VirtualChassisMaster *bool `json:"virtualChassisMaster,omitempty" tf:"virtual_chassis_master,omitempty"` // (Number) VirtualChassisPosition *float64 `json:"virtualChassisPosition,omitempty" tf:"virtual_chassis_position,omitempty"` // (Number) VirtualChassisPriority *float64 `json:"virtualChassisPriority,omitempty" tf:"virtual_chassis_priority,omitempty"` }
func (*DeviceInitParameters) DeepCopy ¶
func (in *DeviceInitParameters) DeepCopy() *DeviceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInitParameters.
func (*DeviceInitParameters) DeepCopyInto ¶
func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceInterface ¶
type DeviceInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec DeviceInterfaceSpec `json:"spec"` Status DeviceInterfaceStatus `json:"status,omitempty"` }
DeviceInterface is the Schema for the DeviceInterfaces API. From the official documentation https://docs.netbox.dev/en/stable/features/device/#interface: Interfaces in NetBox represent network interfaces used to exchange data with connected devices. On modern networks, these are most commonly Ethernet, but other types are supported as well. IP addresses and VLANs can be assigned to interfaces. +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,netbox}
func (*DeviceInterface) DeepCopy ¶
func (in *DeviceInterface) DeepCopy() *DeviceInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterface.
func (*DeviceInterface) DeepCopyInto ¶
func (in *DeviceInterface) DeepCopyInto(out *DeviceInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceInterface) DeepCopyObject ¶
func (in *DeviceInterface) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceInterface) GetCondition ¶
func (mg *DeviceInterface) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeviceInterface.
func (*DeviceInterface) GetConnectionDetailsMapping ¶
func (tr *DeviceInterface) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DeviceInterface
func (*DeviceInterface) GetDeletionPolicy ¶
func (mg *DeviceInterface) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeviceInterface.
func (*DeviceInterface) GetID ¶
func (tr *DeviceInterface) GetID() string
GetID returns ID of underlying Terraform resource of this DeviceInterface
func (*DeviceInterface) GetInitParameters ¶
func (tr *DeviceInterface) GetInitParameters() (map[string]any, error)
GetInitParameters of this DeviceInterface
func (*DeviceInterface) GetManagementPolicies ¶
func (mg *DeviceInterface) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DeviceInterface.
func (*DeviceInterface) GetObservation ¶
func (tr *DeviceInterface) GetObservation() (map[string]any, error)
GetObservation of this DeviceInterface
func (*DeviceInterface) GetParameters ¶
func (tr *DeviceInterface) GetParameters() (map[string]any, error)
GetParameters of this DeviceInterface
func (*DeviceInterface) GetProviderConfigReference ¶
func (mg *DeviceInterface) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DeviceInterface.
func (*DeviceInterface) GetPublishConnectionDetailsTo ¶
func (mg *DeviceInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeviceInterface.
func (*DeviceInterface) GetTerraformResourceType ¶
func (mg *DeviceInterface) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DeviceInterface
func (*DeviceInterface) GetTerraformSchemaVersion ¶
func (tr *DeviceInterface) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DeviceInterface) GetWriteConnectionSecretToReference ¶
func (mg *DeviceInterface) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeviceInterface.
func (*DeviceInterface) LateInitialize ¶
func (tr *DeviceInterface) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DeviceInterface using its observed tfState. returns True if there are any spec changes for the resource.
func (*DeviceInterface) ResolveReferences ¶
ResolveReferences of this DeviceInterface.
func (*DeviceInterface) SetConditions ¶
func (mg *DeviceInterface) SetConditions(c ...xpv1.Condition)
SetConditions of this DeviceInterface.
func (*DeviceInterface) SetDeletionPolicy ¶
func (mg *DeviceInterface) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeviceInterface.
func (*DeviceInterface) SetManagementPolicies ¶
func (mg *DeviceInterface) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DeviceInterface.
func (*DeviceInterface) SetObservation ¶
func (tr *DeviceInterface) SetObservation(obs map[string]any) error
SetObservation for this DeviceInterface
func (*DeviceInterface) SetParameters ¶
func (tr *DeviceInterface) SetParameters(params map[string]any) error
SetParameters for this DeviceInterface
func (*DeviceInterface) SetProviderConfigReference ¶
func (mg *DeviceInterface) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DeviceInterface.
func (*DeviceInterface) SetPublishConnectionDetailsTo ¶
func (mg *DeviceInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeviceInterface.
func (*DeviceInterface) SetWriteConnectionSecretToReference ¶
func (mg *DeviceInterface) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeviceInterface.
type DeviceInterfaceInitParameters ¶
type DeviceInterfaceInitParameters struct { // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Defaults to true. // Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Number) If this device is a member of a LAG group, you can reference the LAG interface here. // If this device is a member of a LAG group, you can reference the LAG interface here. LagDeviceInterfaceID *float64 `json:"lagDeviceInterfaceId,omitempty" tf:"lag_device_interface_id,omitempty"` // (String) MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // (Boolean) Mgmtonly *bool `json:"mgmtonly,omitempty" tf:"mgmtonly,omitempty"` // all. // Valid values are `access`, `tagged` and `tagged-all`. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (Number) Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"` // (Number) The netbox_device_interface id of the parent interface. Useful if this interface is a logical interface. // The netbox_device_interface id of the parent interface. Useful if this interface is a logical interface. ParentDeviceInterfaceID *float64 `json:"parentDeviceInterfaceId,omitempty" tf:"parent_device_interface_id,omitempty"` // (Number) Speed *float64 `json:"speed,omitempty" tf:"speed,omitempty"` // (Set of Number) TaggedVlans []*float64 `json:"taggedVlans,omitempty" tf:"tagged_vlans,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (String) Type *string `json:"type,omitempty" tf:"type,omitempty"` // (Number) UntaggedVlan *float64 `json:"untaggedVlan,omitempty" tf:"untagged_vlan,omitempty"` }
func (*DeviceInterfaceInitParameters) DeepCopy ¶
func (in *DeviceInterfaceInitParameters) DeepCopy() *DeviceInterfaceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterfaceInitParameters.
func (*DeviceInterfaceInitParameters) DeepCopyInto ¶
func (in *DeviceInterfaceInitParameters) DeepCopyInto(out *DeviceInterfaceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceInterfaceList ¶
type DeviceInterfaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeviceInterface `json:"items"` }
DeviceInterfaceList contains a list of DeviceInterfaces
func (*DeviceInterfaceList) DeepCopy ¶
func (in *DeviceInterfaceList) DeepCopy() *DeviceInterfaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterfaceList.
func (*DeviceInterfaceList) DeepCopyInto ¶
func (in *DeviceInterfaceList) DeepCopyInto(out *DeviceInterfaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceInterfaceList) DeepCopyObject ¶
func (in *DeviceInterfaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceInterfaceList) GetItems ¶
func (l *DeviceInterfaceList) GetItems() []resource.Managed
GetItems of this DeviceInterfaceList.
type DeviceInterfaceObservation ¶
type DeviceInterfaceObservation struct { // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Number) DeviceID *float64 `json:"deviceId,omitempty" tf:"device_id,omitempty"` // (Boolean) Defaults to true. // Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Number) If this device is a member of a LAG group, you can reference the LAG interface here. // If this device is a member of a LAG group, you can reference the LAG interface here. LagDeviceInterfaceID *float64 `json:"lagDeviceInterfaceId,omitempty" tf:"lag_device_interface_id,omitempty"` // (String) MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // (Boolean) Mgmtonly *bool `json:"mgmtonly,omitempty" tf:"mgmtonly,omitempty"` // all. // Valid values are `access`, `tagged` and `tagged-all`. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (Number) Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"` // (Number) The netbox_device_interface id of the parent interface. Useful if this interface is a logical interface. // The netbox_device_interface id of the parent interface. Useful if this interface is a logical interface. ParentDeviceInterfaceID *float64 `json:"parentDeviceInterfaceId,omitempty" tf:"parent_device_interface_id,omitempty"` // (Number) Speed *float64 `json:"speed,omitempty" tf:"speed,omitempty"` // (Set of Number) TaggedVlans []*float64 `json:"taggedVlans,omitempty" tf:"tagged_vlans,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (String) Type *string `json:"type,omitempty" tf:"type,omitempty"` // (Number) UntaggedVlan *float64 `json:"untaggedVlan,omitempty" tf:"untagged_vlan,omitempty"` }
func (*DeviceInterfaceObservation) DeepCopy ¶
func (in *DeviceInterfaceObservation) DeepCopy() *DeviceInterfaceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterfaceObservation.
func (*DeviceInterfaceObservation) DeepCopyInto ¶
func (in *DeviceInterfaceObservation) DeepCopyInto(out *DeviceInterfaceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceInterfaceParameters ¶
type DeviceInterfaceParameters struct { // (String) // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Number) // +crossplane:generate:reference:type=Device // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional DeviceID *float64 `json:"deviceId,omitempty" tf:"device_id,omitempty"` // Reference to a Device to populate deviceId. // +kubebuilder:validation:Optional DeviceIDRef *v1.Reference `json:"deviceIdRef,omitempty" tf:"-"` // Selector for a Device to populate deviceId. // +kubebuilder:validation:Optional DeviceIDSelector *v1.Selector `json:"deviceIdSelector,omitempty" tf:"-"` // (Boolean) Defaults to true. // Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (Number) If this device is a member of a LAG group, you can reference the LAG interface here. // If this device is a member of a LAG group, you can reference the LAG interface here. // +kubebuilder:validation:Optional LagDeviceInterfaceID *float64 `json:"lagDeviceInterfaceId,omitempty" tf:"lag_device_interface_id,omitempty"` // (String) // +kubebuilder:validation:Optional MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // (Boolean) // +kubebuilder:validation:Optional Mgmtonly *bool `json:"mgmtonly,omitempty" tf:"mgmtonly,omitempty"` // all. // Valid values are `access`, `tagged` and `tagged-all`. // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // (Number) // +kubebuilder:validation:Optional Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"` // (Number) The netbox_device_interface id of the parent interface. Useful if this interface is a logical interface. // The netbox_device_interface id of the parent interface. Useful if this interface is a logical interface. // +kubebuilder:validation:Optional ParentDeviceInterfaceID *float64 `json:"parentDeviceInterfaceId,omitempty" tf:"parent_device_interface_id,omitempty"` // (Number) // +kubebuilder:validation:Optional Speed *float64 `json:"speed,omitempty" tf:"speed,omitempty"` // (Set of Number) // +kubebuilder:validation:Optional TaggedVlans []*float64 `json:"taggedVlans,omitempty" tf:"tagged_vlans,omitempty"` // (Set of String) // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (String) // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // (Number) // +kubebuilder:validation:Optional UntaggedVlan *float64 `json:"untaggedVlan,omitempty" tf:"untagged_vlan,omitempty"` }
func (*DeviceInterfaceParameters) DeepCopy ¶
func (in *DeviceInterfaceParameters) DeepCopy() *DeviceInterfaceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterfaceParameters.
func (*DeviceInterfaceParameters) DeepCopyInto ¶
func (in *DeviceInterfaceParameters) DeepCopyInto(out *DeviceInterfaceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceInterfaceSpec ¶
type DeviceInterfaceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DeviceInterfaceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DeviceInterfaceInitParameters `json:"initProvider,omitempty"` }
DeviceInterfaceSpec defines the desired state of DeviceInterface
func (*DeviceInterfaceSpec) DeepCopy ¶
func (in *DeviceInterfaceSpec) DeepCopy() *DeviceInterfaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterfaceSpec.
func (*DeviceInterfaceSpec) DeepCopyInto ¶
func (in *DeviceInterfaceSpec) DeepCopyInto(out *DeviceInterfaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceInterfaceStatus ¶
type DeviceInterfaceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DeviceInterfaceObservation `json:"atProvider,omitempty"` }
DeviceInterfaceStatus defines the observed state of DeviceInterface.
func (*DeviceInterfaceStatus) DeepCopy ¶
func (in *DeviceInterfaceStatus) DeepCopy() *DeviceInterfaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInterfaceStatus.
func (*DeviceInterfaceStatus) DeepCopyInto ¶
func (in *DeviceInterfaceStatus) DeepCopyInto(out *DeviceInterfaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceList ¶
type DeviceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Device `json:"items"` }
DeviceList contains a list of Devices
func (*DeviceList) DeepCopy ¶
func (in *DeviceList) DeepCopy() *DeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceList.
func (*DeviceList) DeepCopyInto ¶
func (in *DeviceList) DeepCopyInto(out *DeviceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceList) DeepCopyObject ¶
func (in *DeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceList) GetItems ¶
func (l *DeviceList) GetItems() []resource.Managed
GetItems of this DeviceList.
type DeviceObservation ¶
type DeviceObservation struct { // (String) AssetTag *string `json:"assetTag,omitempty" tf:"asset_tag,omitempty"` // (Number) ClusterID *float64 `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // (String) Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` // (Map of String) CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Number) DeviceTypeID *float64 `json:"deviceTypeId,omitempty" tf:"device_type_id,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) This is best managed through the use of jsonencode and a map of settings. // This is best managed through the use of `jsonencode` and a map of settings. LocalContextData *string `json:"localContextData,omitempty" tf:"local_context_data,omitempty"` // (Number) LocationID *float64 `json:"locationId,omitempty" tf:"location_id,omitempty"` // (Number) PlatformID *float64 `json:"platformId,omitempty" tf:"platform_id,omitempty"` // (Number) PrimaryIPv4 *float64 `json:"primaryIpv4,omitempty" tf:"primary_ipv4,omitempty"` // (Number) PrimaryIPv6 *float64 `json:"primaryIpv6,omitempty" tf:"primary_ipv6,omitempty"` // (String) Valid values are front and rear. Required when rack_position is set. // Valid values are `front` and `rear`. Required when `rack_position` is set. RackFace *string `json:"rackFace,omitempty" tf:"rack_face,omitempty"` // (Number) RackID *float64 `json:"rackId,omitempty" tf:"rack_id,omitempty"` // (Number) RackPosition *float64 `json:"rackPosition,omitempty" tf:"rack_position,omitempty"` // (Number) RoleID *float64 `json:"roleId,omitempty" tf:"role_id,omitempty"` // (String) Serial *string `json:"serial,omitempty" tf:"serial,omitempty"` // (Number) SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"` // (String) Valid values are offline, active, planned, staged, failed and inventory. Defaults to active. // Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `inventory`. Defaults to `active`. Status *string `json:"status,omitempty" tf:"status,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // (Number) Required when virtual_chassis_master and virtual_chassis_id is set. // Required when `virtual_chassis_master` and `virtual_chassis_id` is set. VirtualChassisID *float64 `json:"virtualChassisId,omitempty" tf:"virtual_chassis_id,omitempty"` // (Boolean) Required when virtual_chassis_master and virtual_chassis_id is set. // Required when `virtual_chassis_master` and `virtual_chassis_id` is set. VirtualChassisMaster *bool `json:"virtualChassisMaster,omitempty" tf:"virtual_chassis_master,omitempty"` // (Number) VirtualChassisPosition *float64 `json:"virtualChassisPosition,omitempty" tf:"virtual_chassis_position,omitempty"` // (Number) VirtualChassisPriority *float64 `json:"virtualChassisPriority,omitempty" tf:"virtual_chassis_priority,omitempty"` }
func (*DeviceObservation) DeepCopy ¶
func (in *DeviceObservation) DeepCopy() *DeviceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceObservation.
func (*DeviceObservation) DeepCopyInto ¶
func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceParameters ¶
type DeviceParameters struct { // (String) // +kubebuilder:validation:Optional AssetTag *string `json:"assetTag,omitempty" tf:"asset_tag,omitempty"` // (Number) // +kubebuilder:validation:Optional ClusterID *float64 `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // (String) // +kubebuilder:validation:Optional Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` // (Map of String) // +kubebuilder:validation:Optional CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // (String) // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Number) // +crossplane:generate:reference:type=DeviceType // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional DeviceTypeID *float64 `json:"deviceTypeId,omitempty" tf:"device_type_id,omitempty"` // Reference to a DeviceType to populate deviceTypeId. // +kubebuilder:validation:Optional DeviceTypeIDRef *v1.Reference `json:"deviceTypeIdRef,omitempty" tf:"-"` // Selector for a DeviceType to populate deviceTypeId. // +kubebuilder:validation:Optional DeviceTypeIDSelector *v1.Selector `json:"deviceTypeIdSelector,omitempty" tf:"-"` // (String) This is best managed through the use of jsonencode and a map of settings. // This is best managed through the use of `jsonencode` and a map of settings. // +kubebuilder:validation:Optional LocalContextData *string `json:"localContextData,omitempty" tf:"local_context_data,omitempty"` // (Number) // +kubebuilder:validation:Optional LocationID *float64 `json:"locationId,omitempty" tf:"location_id,omitempty"` // (Number) // +kubebuilder:validation:Optional PlatformID *float64 `json:"platformId,omitempty" tf:"platform_id,omitempty"` // (String) Valid values are front and rear. Required when rack_position is set. // Valid values are `front` and `rear`. Required when `rack_position` is set. // +kubebuilder:validation:Optional RackFace *string `json:"rackFace,omitempty" tf:"rack_face,omitempty"` // (Number) // +kubebuilder:validation:Optional RackID *float64 `json:"rackId,omitempty" tf:"rack_id,omitempty"` // (Number) // +kubebuilder:validation:Optional RackPosition *float64 `json:"rackPosition,omitempty" tf:"rack_position,omitempty"` // (Number) // +crossplane:generate:reference:type=DeviceRole // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional RoleID *float64 `json:"roleId,omitempty" tf:"role_id,omitempty"` // Reference to a DeviceRole to populate roleId. // +kubebuilder:validation:Optional RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"` // Selector for a DeviceRole to populate roleId. // +kubebuilder:validation:Optional RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"` // (String) // +kubebuilder:validation:Optional Serial *string `json:"serial,omitempty" tf:"serial,omitempty"` // (Number) // +crossplane:generate:reference:type=Site // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"` // Reference to a Site to populate siteId. // +kubebuilder:validation:Optional SiteIDRef *v1.Reference `json:"siteIdRef,omitempty" tf:"-"` // Selector for a Site to populate siteId. // +kubebuilder:validation:Optional SiteIDSelector *v1.Selector `json:"siteIdSelector,omitempty" tf:"-"` // (String) Valid values are offline, active, planned, staged, failed and inventory. Defaults to active. // Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `inventory`. Defaults to `active`. // +kubebuilder:validation:Optional Status *string `json:"status,omitempty" tf:"status,omitempty"` // (Set of String) // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) // +kubebuilder:validation:Optional TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // (Number) Required when virtual_chassis_master and virtual_chassis_id is set. // Required when `virtual_chassis_master` and `virtual_chassis_id` is set. // +kubebuilder:validation:Optional VirtualChassisID *float64 `json:"virtualChassisId,omitempty" tf:"virtual_chassis_id,omitempty"` // (Boolean) Required when virtual_chassis_master and virtual_chassis_id is set. // Required when `virtual_chassis_master` and `virtual_chassis_id` is set. // +kubebuilder:validation:Optional VirtualChassisMaster *bool `json:"virtualChassisMaster,omitempty" tf:"virtual_chassis_master,omitempty"` // (Number) // +kubebuilder:validation:Optional VirtualChassisPosition *float64 `json:"virtualChassisPosition,omitempty" tf:"virtual_chassis_position,omitempty"` // (Number) // +kubebuilder:validation:Optional VirtualChassisPriority *float64 `json:"virtualChassisPriority,omitempty" tf:"virtual_chassis_priority,omitempty"` }
func (*DeviceParameters) DeepCopy ¶
func (in *DeviceParameters) DeepCopy() *DeviceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceParameters.
func (*DeviceParameters) DeepCopyInto ¶
func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceRole ¶
type DeviceRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.colorHex) || (has(self.initProvider) && has(self.initProvider.colorHex))",message="spec.forProvider.colorHex is a required parameter" Spec DeviceRoleSpec `json:"spec"` Status DeviceRoleStatus `json:"status,omitempty"` }
DeviceRole is the Schema for the DeviceRoles API. From the official documentation https://docs.netbox.dev/en/stable/features/devices/#device-roles: Devices can be organized by functional roles, which are fully customizable by the user. For example, you might create roles for core switches, distribution switches, and access switches within your network. +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,netbox}
func (*DeviceRole) DeepCopy ¶
func (in *DeviceRole) DeepCopy() *DeviceRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRole.
func (*DeviceRole) DeepCopyInto ¶
func (in *DeviceRole) DeepCopyInto(out *DeviceRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceRole) DeepCopyObject ¶
func (in *DeviceRole) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceRole) GetCondition ¶
func (mg *DeviceRole) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeviceRole.
func (*DeviceRole) GetConnectionDetailsMapping ¶
func (tr *DeviceRole) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DeviceRole
func (*DeviceRole) GetDeletionPolicy ¶
func (mg *DeviceRole) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeviceRole.
func (*DeviceRole) GetID ¶
func (tr *DeviceRole) GetID() string
GetID returns ID of underlying Terraform resource of this DeviceRole
func (*DeviceRole) GetInitParameters ¶
func (tr *DeviceRole) GetInitParameters() (map[string]any, error)
GetInitParameters of this DeviceRole
func (*DeviceRole) GetManagementPolicies ¶
func (mg *DeviceRole) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DeviceRole.
func (*DeviceRole) GetObservation ¶
func (tr *DeviceRole) GetObservation() (map[string]any, error)
GetObservation of this DeviceRole
func (*DeviceRole) GetParameters ¶
func (tr *DeviceRole) GetParameters() (map[string]any, error)
GetParameters of this DeviceRole
func (*DeviceRole) GetProviderConfigReference ¶
func (mg *DeviceRole) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DeviceRole.
func (*DeviceRole) GetPublishConnectionDetailsTo ¶
func (mg *DeviceRole) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeviceRole.
func (*DeviceRole) GetTerraformResourceType ¶
func (mg *DeviceRole) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DeviceRole
func (*DeviceRole) GetTerraformSchemaVersion ¶
func (tr *DeviceRole) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DeviceRole) GetWriteConnectionSecretToReference ¶
func (mg *DeviceRole) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeviceRole.
func (*DeviceRole) LateInitialize ¶
func (tr *DeviceRole) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DeviceRole using its observed tfState. returns True if there are any spec changes for the resource.
func (*DeviceRole) SetConditions ¶
func (mg *DeviceRole) SetConditions(c ...xpv1.Condition)
SetConditions of this DeviceRole.
func (*DeviceRole) SetDeletionPolicy ¶
func (mg *DeviceRole) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeviceRole.
func (*DeviceRole) SetManagementPolicies ¶
func (mg *DeviceRole) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DeviceRole.
func (*DeviceRole) SetObservation ¶
func (tr *DeviceRole) SetObservation(obs map[string]any) error
SetObservation for this DeviceRole
func (*DeviceRole) SetParameters ¶
func (tr *DeviceRole) SetParameters(params map[string]any) error
SetParameters for this DeviceRole
func (*DeviceRole) SetProviderConfigReference ¶
func (mg *DeviceRole) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DeviceRole.
func (*DeviceRole) SetPublishConnectionDetailsTo ¶
func (mg *DeviceRole) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeviceRole.
func (*DeviceRole) SetWriteConnectionSecretToReference ¶
func (mg *DeviceRole) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeviceRole.
type DeviceRoleInitParameters ¶
type DeviceRoleInitParameters struct { // (String) ColorHex *string `json:"colorHex,omitempty" tf:"color_hex,omitempty"` // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Boolean) Defaults to true. // Defaults to `true`. VMRole *bool `json:"vmRole,omitempty" tf:"vm_role,omitempty"` }
func (*DeviceRoleInitParameters) DeepCopy ¶
func (in *DeviceRoleInitParameters) DeepCopy() *DeviceRoleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRoleInitParameters.
func (*DeviceRoleInitParameters) DeepCopyInto ¶
func (in *DeviceRoleInitParameters) DeepCopyInto(out *DeviceRoleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceRoleList ¶
type DeviceRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeviceRole `json:"items"` }
DeviceRoleList contains a list of DeviceRoles
func (*DeviceRoleList) DeepCopy ¶
func (in *DeviceRoleList) DeepCopy() *DeviceRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRoleList.
func (*DeviceRoleList) DeepCopyInto ¶
func (in *DeviceRoleList) DeepCopyInto(out *DeviceRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceRoleList) DeepCopyObject ¶
func (in *DeviceRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceRoleList) GetItems ¶
func (l *DeviceRoleList) GetItems() []resource.Managed
GetItems of this DeviceRoleList.
type DeviceRoleObservation ¶
type DeviceRoleObservation struct { // (String) ColorHex *string `json:"colorHex,omitempty" tf:"color_hex,omitempty"` // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Boolean) Defaults to true. // Defaults to `true`. VMRole *bool `json:"vmRole,omitempty" tf:"vm_role,omitempty"` }
func (*DeviceRoleObservation) DeepCopy ¶
func (in *DeviceRoleObservation) DeepCopy() *DeviceRoleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRoleObservation.
func (*DeviceRoleObservation) DeepCopyInto ¶
func (in *DeviceRoleObservation) DeepCopyInto(out *DeviceRoleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceRoleParameters ¶
type DeviceRoleParameters struct { // (String) // +kubebuilder:validation:Optional ColorHex *string `json:"colorHex,omitempty" tf:"color_hex,omitempty"` // (String) // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) // +kubebuilder:validation:Optional Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (Set of String) // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Boolean) Defaults to true. // Defaults to `true`. // +kubebuilder:validation:Optional VMRole *bool `json:"vmRole,omitempty" tf:"vm_role,omitempty"` }
func (*DeviceRoleParameters) DeepCopy ¶
func (in *DeviceRoleParameters) DeepCopy() *DeviceRoleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRoleParameters.
func (*DeviceRoleParameters) DeepCopyInto ¶
func (in *DeviceRoleParameters) DeepCopyInto(out *DeviceRoleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceRoleSpec ¶
type DeviceRoleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DeviceRoleParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DeviceRoleInitParameters `json:"initProvider,omitempty"` }
DeviceRoleSpec defines the desired state of DeviceRole
func (*DeviceRoleSpec) DeepCopy ¶
func (in *DeviceRoleSpec) DeepCopy() *DeviceRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRoleSpec.
func (*DeviceRoleSpec) DeepCopyInto ¶
func (in *DeviceRoleSpec) DeepCopyInto(out *DeviceRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceRoleStatus ¶
type DeviceRoleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DeviceRoleObservation `json:"atProvider,omitempty"` }
DeviceRoleStatus defines the observed state of DeviceRole.
func (*DeviceRoleStatus) DeepCopy ¶
func (in *DeviceRoleStatus) DeepCopy() *DeviceRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRoleStatus.
func (*DeviceRoleStatus) DeepCopyInto ¶
func (in *DeviceRoleStatus) DeepCopyInto(out *DeviceRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceSpec ¶
type DeviceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DeviceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DeviceInitParameters `json:"initProvider,omitempty"` }
DeviceSpec defines the desired state of Device
func (*DeviceSpec) DeepCopy ¶
func (in *DeviceSpec) DeepCopy() *DeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
func (*DeviceSpec) DeepCopyInto ¶
func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceStatus ¶
type DeviceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DeviceObservation `json:"atProvider,omitempty"` }
DeviceStatus defines the observed state of Device.
func (*DeviceStatus) DeepCopy ¶
func (in *DeviceStatus) DeepCopy() *DeviceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus.
func (*DeviceStatus) DeepCopyInto ¶
func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceType ¶
type DeviceType struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.model) || (has(self.initProvider) && has(self.initProvider.model))",message="spec.forProvider.model is a required parameter" Spec DeviceTypeSpec `json:"spec"` Status DeviceTypeStatus `json:"status,omitempty"` }
DeviceType is the Schema for the DeviceTypes API. From the official documentation https://docs.netbox.dev/en/stable/features/device-types/#device-types_1: A device type represents a particular make and model of hardware that exists in the real world. Device types define the physical attributes of a device (rack height and depth) and its individual components (console, power, network interfaces, and so on). +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,netbox}
func (*DeviceType) DeepCopy ¶
func (in *DeviceType) DeepCopy() *DeviceType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceType.
func (*DeviceType) DeepCopyInto ¶
func (in *DeviceType) DeepCopyInto(out *DeviceType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceType) DeepCopyObject ¶
func (in *DeviceType) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceType) GetCondition ¶
func (mg *DeviceType) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeviceType.
func (*DeviceType) GetConnectionDetailsMapping ¶
func (tr *DeviceType) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DeviceType
func (*DeviceType) GetDeletionPolicy ¶
func (mg *DeviceType) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeviceType.
func (*DeviceType) GetID ¶
func (tr *DeviceType) GetID() string
GetID returns ID of underlying Terraform resource of this DeviceType
func (*DeviceType) GetInitParameters ¶
func (tr *DeviceType) GetInitParameters() (map[string]any, error)
GetInitParameters of this DeviceType
func (*DeviceType) GetManagementPolicies ¶
func (mg *DeviceType) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DeviceType.
func (*DeviceType) GetObservation ¶
func (tr *DeviceType) GetObservation() (map[string]any, error)
GetObservation of this DeviceType
func (*DeviceType) GetParameters ¶
func (tr *DeviceType) GetParameters() (map[string]any, error)
GetParameters of this DeviceType
func (*DeviceType) GetProviderConfigReference ¶
func (mg *DeviceType) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DeviceType.
func (*DeviceType) GetPublishConnectionDetailsTo ¶
func (mg *DeviceType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeviceType.
func (*DeviceType) GetTerraformResourceType ¶
func (mg *DeviceType) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DeviceType
func (*DeviceType) GetTerraformSchemaVersion ¶
func (tr *DeviceType) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DeviceType) GetWriteConnectionSecretToReference ¶
func (mg *DeviceType) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeviceType.
func (*DeviceType) LateInitialize ¶
func (tr *DeviceType) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DeviceType using its observed tfState. returns True if there are any spec changes for the resource.
func (*DeviceType) ResolveReferences ¶
ResolveReferences of this DeviceType.
func (*DeviceType) SetConditions ¶
func (mg *DeviceType) SetConditions(c ...xpv1.Condition)
SetConditions of this DeviceType.
func (*DeviceType) SetDeletionPolicy ¶
func (mg *DeviceType) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeviceType.
func (*DeviceType) SetManagementPolicies ¶
func (mg *DeviceType) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DeviceType.
func (*DeviceType) SetObservation ¶
func (tr *DeviceType) SetObservation(obs map[string]any) error
SetObservation for this DeviceType
func (*DeviceType) SetParameters ¶
func (tr *DeviceType) SetParameters(params map[string]any) error
SetParameters for this DeviceType
func (*DeviceType) SetProviderConfigReference ¶
func (mg *DeviceType) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DeviceType.
func (*DeviceType) SetPublishConnectionDetailsTo ¶
func (mg *DeviceType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeviceType.
func (*DeviceType) SetWriteConnectionSecretToReference ¶
func (mg *DeviceType) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeviceType.
type DeviceTypeInitParameters ¶
type DeviceTypeInitParameters struct { // (Boolean) IsFullDepth *bool `json:"isFullDepth,omitempty" tf:"is_full_depth,omitempty"` // (String) Model *string `json:"model,omitempty" tf:"model,omitempty"` // (String) PartNumber *string `json:"partNumber,omitempty" tf:"part_number,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) Defaults to 1.0. // Defaults to `1.0`. UHeight *float64 `json:"uHeight,omitempty" tf:"u_height,omitempty"` }
func (*DeviceTypeInitParameters) DeepCopy ¶
func (in *DeviceTypeInitParameters) DeepCopy() *DeviceTypeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTypeInitParameters.
func (*DeviceTypeInitParameters) DeepCopyInto ¶
func (in *DeviceTypeInitParameters) DeepCopyInto(out *DeviceTypeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceTypeList ¶
type DeviceTypeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeviceType `json:"items"` }
DeviceTypeList contains a list of DeviceTypes
func (*DeviceTypeList) DeepCopy ¶
func (in *DeviceTypeList) DeepCopy() *DeviceTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTypeList.
func (*DeviceTypeList) DeepCopyInto ¶
func (in *DeviceTypeList) DeepCopyInto(out *DeviceTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceTypeList) DeepCopyObject ¶
func (in *DeviceTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceTypeList) GetItems ¶
func (l *DeviceTypeList) GetItems() []resource.Managed
GetItems of this DeviceTypeList.
type DeviceTypeObservation ¶
type DeviceTypeObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) IsFullDepth *bool `json:"isFullDepth,omitempty" tf:"is_full_depth,omitempty"` // (Number) ManufacturerID *float64 `json:"manufacturerId,omitempty" tf:"manufacturer_id,omitempty"` // (String) Model *string `json:"model,omitempty" tf:"model,omitempty"` // (String) PartNumber *string `json:"partNumber,omitempty" tf:"part_number,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) Defaults to 1.0. // Defaults to `1.0`. UHeight *float64 `json:"uHeight,omitempty" tf:"u_height,omitempty"` }
func (*DeviceTypeObservation) DeepCopy ¶
func (in *DeviceTypeObservation) DeepCopy() *DeviceTypeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTypeObservation.
func (*DeviceTypeObservation) DeepCopyInto ¶
func (in *DeviceTypeObservation) DeepCopyInto(out *DeviceTypeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceTypeParameters ¶
type DeviceTypeParameters struct { // (Boolean) // +kubebuilder:validation:Optional IsFullDepth *bool `json:"isFullDepth,omitempty" tf:"is_full_depth,omitempty"` // (Number) // +crossplane:generate:reference:type=Manufacturer // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional ManufacturerID *float64 `json:"manufacturerId,omitempty" tf:"manufacturer_id,omitempty"` // Reference to a Manufacturer to populate manufacturerId. // +kubebuilder:validation:Optional ManufacturerIDRef *v1.Reference `json:"manufacturerIdRef,omitempty" tf:"-"` // Selector for a Manufacturer to populate manufacturerId. // +kubebuilder:validation:Optional ManufacturerIDSelector *v1.Selector `json:"manufacturerIdSelector,omitempty" tf:"-"` // (String) // +kubebuilder:validation:Optional Model *string `json:"model,omitempty" tf:"model,omitempty"` // (String) // +kubebuilder:validation:Optional PartNumber *string `json:"partNumber,omitempty" tf:"part_number,omitempty"` // (String) // +kubebuilder:validation:Optional Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (Set of String) // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) Defaults to 1.0. // Defaults to `1.0`. // +kubebuilder:validation:Optional UHeight *float64 `json:"uHeight,omitempty" tf:"u_height,omitempty"` }
func (*DeviceTypeParameters) DeepCopy ¶
func (in *DeviceTypeParameters) DeepCopy() *DeviceTypeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTypeParameters.
func (*DeviceTypeParameters) DeepCopyInto ¶
func (in *DeviceTypeParameters) DeepCopyInto(out *DeviceTypeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceTypeSpec ¶
type DeviceTypeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DeviceTypeParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DeviceTypeInitParameters `json:"initProvider,omitempty"` }
DeviceTypeSpec defines the desired state of DeviceType
func (*DeviceTypeSpec) DeepCopy ¶
func (in *DeviceTypeSpec) DeepCopy() *DeviceTypeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTypeSpec.
func (*DeviceTypeSpec) DeepCopyInto ¶
func (in *DeviceTypeSpec) DeepCopyInto(out *DeviceTypeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceTypeStatus ¶
type DeviceTypeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DeviceTypeObservation `json:"atProvider,omitempty"` }
DeviceTypeStatus defines the observed state of DeviceType.
func (*DeviceTypeStatus) DeepCopy ¶
func (in *DeviceTypeStatus) DeepCopy() *DeviceTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTypeStatus.
func (*DeviceTypeStatus) DeepCopyInto ¶
func (in *DeviceTypeStatus) DeepCopyInto(out *DeviceTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Manufacturer ¶
type Manufacturer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManufacturerSpec `json:"spec"` Status ManufacturerStatus `json:"status,omitempty"` }
Manufacturer is the Schema for the Manufacturers API. From the official documentation https://docs.netbox.dev/en/stable/features/device-types/#manufacturers: A manufacturer represents the "make" of a device; e.g. Cisco or Dell. Each device type must be assigned to a manufacturer. (Inventory items and platforms may also be associated with manufacturers.) Each manufacturer must have a unique name and may have a description assigned to it. +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,netbox}
func (*Manufacturer) DeepCopy ¶
func (in *Manufacturer) DeepCopy() *Manufacturer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Manufacturer.
func (*Manufacturer) DeepCopyInto ¶
func (in *Manufacturer) DeepCopyInto(out *Manufacturer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Manufacturer) DeepCopyObject ¶
func (in *Manufacturer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Manufacturer) GetCondition ¶
func (mg *Manufacturer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Manufacturer.
func (*Manufacturer) GetConnectionDetailsMapping ¶
func (tr *Manufacturer) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Manufacturer
func (*Manufacturer) GetDeletionPolicy ¶
func (mg *Manufacturer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Manufacturer.
func (*Manufacturer) GetID ¶
func (tr *Manufacturer) GetID() string
GetID returns ID of underlying Terraform resource of this Manufacturer
func (*Manufacturer) GetInitParameters ¶
func (tr *Manufacturer) GetInitParameters() (map[string]any, error)
GetInitParameters of this Manufacturer
func (*Manufacturer) GetManagementPolicies ¶
func (mg *Manufacturer) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Manufacturer.
func (*Manufacturer) GetObservation ¶
func (tr *Manufacturer) GetObservation() (map[string]any, error)
GetObservation of this Manufacturer
func (*Manufacturer) GetParameters ¶
func (tr *Manufacturer) GetParameters() (map[string]any, error)
GetParameters of this Manufacturer
func (*Manufacturer) GetProviderConfigReference ¶
func (mg *Manufacturer) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Manufacturer.
func (*Manufacturer) GetPublishConnectionDetailsTo ¶
func (mg *Manufacturer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Manufacturer.
func (*Manufacturer) GetTerraformResourceType ¶
func (mg *Manufacturer) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Manufacturer
func (*Manufacturer) GetTerraformSchemaVersion ¶
func (tr *Manufacturer) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Manufacturer) GetWriteConnectionSecretToReference ¶
func (mg *Manufacturer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Manufacturer.
func (*Manufacturer) LateInitialize ¶
func (tr *Manufacturer) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Manufacturer using its observed tfState. returns True if there are any spec changes for the resource.
func (*Manufacturer) SetConditions ¶
func (mg *Manufacturer) SetConditions(c ...xpv1.Condition)
SetConditions of this Manufacturer.
func (*Manufacturer) SetDeletionPolicy ¶
func (mg *Manufacturer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Manufacturer.
func (*Manufacturer) SetManagementPolicies ¶
func (mg *Manufacturer) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Manufacturer.
func (*Manufacturer) SetObservation ¶
func (tr *Manufacturer) SetObservation(obs map[string]any) error
SetObservation for this Manufacturer
func (*Manufacturer) SetParameters ¶
func (tr *Manufacturer) SetParameters(params map[string]any) error
SetParameters for this Manufacturer
func (*Manufacturer) SetProviderConfigReference ¶
func (mg *Manufacturer) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Manufacturer.
func (*Manufacturer) SetPublishConnectionDetailsTo ¶
func (mg *Manufacturer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Manufacturer.
func (*Manufacturer) SetWriteConnectionSecretToReference ¶
func (mg *Manufacturer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Manufacturer.
type ManufacturerInitParameters ¶
type ManufacturerInitParameters struct { // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*ManufacturerInitParameters) DeepCopy ¶
func (in *ManufacturerInitParameters) DeepCopy() *ManufacturerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManufacturerInitParameters.
func (*ManufacturerInitParameters) DeepCopyInto ¶
func (in *ManufacturerInitParameters) DeepCopyInto(out *ManufacturerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManufacturerList ¶
type ManufacturerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Manufacturer `json:"items"` }
ManufacturerList contains a list of Manufacturers
func (*ManufacturerList) DeepCopy ¶
func (in *ManufacturerList) DeepCopy() *ManufacturerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManufacturerList.
func (*ManufacturerList) DeepCopyInto ¶
func (in *ManufacturerList) DeepCopyInto(out *ManufacturerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManufacturerList) DeepCopyObject ¶
func (in *ManufacturerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManufacturerList) GetItems ¶
func (l *ManufacturerList) GetItems() []resource.Managed
GetItems of this ManufacturerList.
type ManufacturerObservation ¶
type ManufacturerObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*ManufacturerObservation) DeepCopy ¶
func (in *ManufacturerObservation) DeepCopy() *ManufacturerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManufacturerObservation.
func (*ManufacturerObservation) DeepCopyInto ¶
func (in *ManufacturerObservation) DeepCopyInto(out *ManufacturerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManufacturerParameters ¶
type ManufacturerParameters struct { // (String) // +kubebuilder:validation:Optional Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*ManufacturerParameters) DeepCopy ¶
func (in *ManufacturerParameters) DeepCopy() *ManufacturerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManufacturerParameters.
func (*ManufacturerParameters) DeepCopyInto ¶
func (in *ManufacturerParameters) DeepCopyInto(out *ManufacturerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManufacturerSpec ¶
type ManufacturerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ManufacturerParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ManufacturerInitParameters `json:"initProvider,omitempty"` }
ManufacturerSpec defines the desired state of Manufacturer
func (*ManufacturerSpec) DeepCopy ¶
func (in *ManufacturerSpec) DeepCopy() *ManufacturerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManufacturerSpec.
func (*ManufacturerSpec) DeepCopyInto ¶
func (in *ManufacturerSpec) DeepCopyInto(out *ManufacturerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManufacturerStatus ¶
type ManufacturerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ManufacturerObservation `json:"atProvider,omitempty"` }
ManufacturerStatus defines the observed state of Manufacturer.
func (*ManufacturerStatus) DeepCopy ¶
func (in *ManufacturerStatus) DeepCopy() *ManufacturerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManufacturerStatus.
func (*ManufacturerStatus) DeepCopyInto ¶
func (in *ManufacturerStatus) DeepCopyInto(out *ManufacturerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Site ¶
type Site struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SiteSpec `json:"spec"` Status SiteStatus `json:"status,omitempty"` }
Site is the Schema for the Sites API. From the official documentation https://docs.netbox.dev/en/stable/features/sites-and-racks/#sites: How you choose to employ sites when modeling your network may vary depending on the nature of your organization, but generally a site will equate to a building or campus. For example, a chain of banks might create a site to represent each of its branches, a site for its corporate headquarters, and two additional sites for its presence in two colocation facilities. Each site must be assigned a unique name and may optionally be assigned to a region and/or tenant. +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,netbox}
func (*Site) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Site.
func (*Site) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Site) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Site) GetCondition ¶
func (mg *Site) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Site.
func (*Site) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Site
func (*Site) GetDeletionPolicy ¶
func (mg *Site) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Site.
func (*Site) GetInitParameters ¶
GetInitParameters of this Site
func (*Site) GetManagementPolicies ¶
func (mg *Site) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Site.
func (*Site) GetObservation ¶
GetObservation of this Site
func (*Site) GetParameters ¶
GetParameters of this Site
func (*Site) GetProviderConfigReference ¶
GetProviderConfigReference of this Site.
func (*Site) GetPublishConnectionDetailsTo ¶
func (mg *Site) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Site.
func (*Site) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Site
func (*Site) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Site) GetWriteConnectionSecretToReference ¶
func (mg *Site) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Site.
func (*Site) LateInitialize ¶
LateInitialize this Site using its observed tfState. returns True if there are any spec changes for the resource.
func (*Site) SetConditions ¶
SetConditions of this Site.
func (*Site) SetDeletionPolicy ¶
func (mg *Site) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Site.
func (*Site) SetManagementPolicies ¶
func (mg *Site) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Site.
func (*Site) SetObservation ¶
SetObservation for this Site
func (*Site) SetParameters ¶
SetParameters for this Site
func (*Site) SetProviderConfigReference ¶
SetProviderConfigReference of this Site.
func (*Site) SetPublishConnectionDetailsTo ¶
func (mg *Site) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Site.
func (*Site) SetWriteConnectionSecretToReference ¶
func (mg *Site) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Site.
type SiteInitParameters ¶
type SiteInitParameters struct { // (Set of Number) AsnIds []*float64 `json:"asnIds,omitempty" tf:"asn_ids,omitempty"` // (Map of String) CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) Facility *string `json:"facility,omitempty" tf:"facility,omitempty"` // (Number) GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"` // (Number) Latitude *float64 `json:"latitude,omitempty" tf:"latitude,omitempty"` // (Number) Longitude *float64 `json:"longitude,omitempty" tf:"longitude,omitempty"` // (String) PhysicalAddress *string `json:"physicalAddress,omitempty" tf:"physical_address,omitempty"` // (Number) RegionID *float64 `json:"regionId,omitempty" tf:"region_id,omitempty"` // (String) ShippingAddress *string `json:"shippingAddress,omitempty" tf:"shipping_address,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (String) Valid values are planned, staging, active, decommissioning and retired. Defaults to active. // Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`. Status *string `json:"status,omitempty" tf:"status,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // (String) Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` }
func (*SiteInitParameters) DeepCopy ¶
func (in *SiteInitParameters) DeepCopy() *SiteInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteInitParameters.
func (*SiteInitParameters) DeepCopyInto ¶
func (in *SiteInitParameters) DeepCopyInto(out *SiteInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SiteList ¶
type SiteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Site `json:"items"` }
SiteList contains a list of Sites
func (*SiteList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteList.
func (*SiteList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SiteList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SiteObservation ¶
type SiteObservation struct { // (Set of Number) AsnIds []*float64 `json:"asnIds,omitempty" tf:"asn_ids,omitempty"` // (Map of String) CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // (String) Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) Facility *string `json:"facility,omitempty" tf:"facility,omitempty"` // (Number) GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Number) Latitude *float64 `json:"latitude,omitempty" tf:"latitude,omitempty"` // (Number) Longitude *float64 `json:"longitude,omitempty" tf:"longitude,omitempty"` // (String) PhysicalAddress *string `json:"physicalAddress,omitempty" tf:"physical_address,omitempty"` // (Number) RegionID *float64 `json:"regionId,omitempty" tf:"region_id,omitempty"` // (String) ShippingAddress *string `json:"shippingAddress,omitempty" tf:"shipping_address,omitempty"` // (String) Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (String) Valid values are planned, staging, active, decommissioning and retired. Defaults to active. // Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`. Status *string `json:"status,omitempty" tf:"status,omitempty"` // (Set of String) Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // (String) Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` }
func (*SiteObservation) DeepCopy ¶
func (in *SiteObservation) DeepCopy() *SiteObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteObservation.
func (*SiteObservation) DeepCopyInto ¶
func (in *SiteObservation) DeepCopyInto(out *SiteObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SiteParameters ¶
type SiteParameters struct { // (Set of Number) // +kubebuilder:validation:Optional AsnIds []*float64 `json:"asnIds,omitempty" tf:"asn_ids,omitempty"` // (Map of String) // +kubebuilder:validation:Optional CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // (String) // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) // +kubebuilder:validation:Optional Facility *string `json:"facility,omitempty" tf:"facility,omitempty"` // (Number) // +kubebuilder:validation:Optional GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"` // (Number) // +kubebuilder:validation:Optional Latitude *float64 `json:"latitude,omitempty" tf:"latitude,omitempty"` // (Number) // +kubebuilder:validation:Optional Longitude *float64 `json:"longitude,omitempty" tf:"longitude,omitempty"` // (String) // +kubebuilder:validation:Optional PhysicalAddress *string `json:"physicalAddress,omitempty" tf:"physical_address,omitempty"` // (Number) // +kubebuilder:validation:Optional RegionID *float64 `json:"regionId,omitempty" tf:"region_id,omitempty"` // (String) // +kubebuilder:validation:Optional ShippingAddress *string `json:"shippingAddress,omitempty" tf:"shipping_address,omitempty"` // (String) // +kubebuilder:validation:Optional Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` // (String) Valid values are planned, staging, active, decommissioning and retired. Defaults to active. // Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`. // +kubebuilder:validation:Optional Status *string `json:"status,omitempty" tf:"status,omitempty"` // (Set of String) // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (Number) // +kubebuilder:validation:Optional TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // (String) // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` }
func (*SiteParameters) DeepCopy ¶
func (in *SiteParameters) DeepCopy() *SiteParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteParameters.
func (*SiteParameters) DeepCopyInto ¶
func (in *SiteParameters) DeepCopyInto(out *SiteParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SiteSpec ¶
type SiteSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SiteParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SiteInitParameters `json:"initProvider,omitempty"` }
SiteSpec defines the desired state of Site
func (*SiteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteSpec.
func (*SiteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SiteStatus ¶
type SiteStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SiteObservation `json:"atProvider,omitempty"` }
SiteStatus defines the observed state of Site.
func (*SiteStatus) DeepCopy ¶
func (in *SiteStatus) DeepCopy() *SiteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteStatus.
func (*SiteStatus) DeepCopyInto ¶
func (in *SiteStatus) DeepCopyInto(out *SiteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.