Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=healthbot.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type HealthBot
- func (in *HealthBot) DeepCopy() *HealthBot
- func (in *HealthBot) DeepCopyInto(out *HealthBot)
- func (in *HealthBot) DeepCopyObject() runtime.Object
- func (mg *HealthBot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *HealthBot) GetConnectionDetailsMapping() map[string]string
- func (mg *HealthBot) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *HealthBot) GetID() string
- func (tr *HealthBot) GetInitParameters() (map[string]any, error)
- func (mg *HealthBot) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *HealthBot) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *HealthBot) GetObservation() (map[string]any, error)
- func (tr *HealthBot) GetParameters() (map[string]any, error)
- func (mg *HealthBot) GetProviderConfigReference() *xpv1.Reference
- func (mg *HealthBot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *HealthBot) GetTerraformResourceType() string
- func (tr *HealthBot) GetTerraformSchemaVersion() int
- func (mg *HealthBot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *HealthBot) Hub()
- func (tr *HealthBot) LateInitialize(attrs []byte) (bool, error)
- func (mg *HealthBot) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *HealthBot) SetConditions(c ...xpv1.Condition)
- func (mg *HealthBot) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *HealthBot) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *HealthBot) SetObservation(obs map[string]any) error
- func (tr *HealthBot) SetParameters(params map[string]any) error
- func (mg *HealthBot) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *HealthBot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *HealthBot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type HealthBotInitParameters
- type HealthBotList
- type HealthBotObservation
- type HealthBotParameters
- type HealthBotSpec
- type HealthBotStatus
Constants ¶
const ( CRDGroup = "healthbot.azure.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( HealthBot_Kind = "HealthBot" HealthBot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HealthBot_Kind}.String() HealthBot_KindAPIVersion = HealthBot_Kind + "." + CRDGroupVersion.String() HealthBot_GroupVersionKind = CRDGroupVersion.WithKind(HealthBot_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type HealthBot ¶
type HealthBot 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.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.skuName) || (has(self.initProvider) && has(self.initProvider.skuName))",message="spec.forProvider.skuName is a required parameter" Spec HealthBotSpec `json:"spec"` Status HealthBotStatus `json:"status,omitempty"` }
HealthBot is the Schema for the HealthBots API. Manages a Healthbot Service. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,azure}
func (*HealthBot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBot.
func (*HealthBot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HealthBot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HealthBot) GetCondition ¶
func (mg *HealthBot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this HealthBot.
func (*HealthBot) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this HealthBot
func (*HealthBot) GetDeletionPolicy ¶
func (mg *HealthBot) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this HealthBot.
func (*HealthBot) GetInitParameters ¶ added in v0.35.0
GetInitParameters of this HealthBot
func (*HealthBot) GetManagementPolicies ¶ added in v0.35.0
func (mg *HealthBot) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this HealthBot.
func (*HealthBot) GetMergedParameters ¶ added in v0.40.0
GetInitParameters of this HealthBot
func (*HealthBot) GetObservation ¶
GetObservation of this HealthBot
func (*HealthBot) GetParameters ¶
GetParameters of this HealthBot
func (*HealthBot) GetProviderConfigReference ¶
GetProviderConfigReference of this HealthBot.
func (*HealthBot) GetPublishConnectionDetailsTo ¶
func (mg *HealthBot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this HealthBot.
func (*HealthBot) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this HealthBot
func (*HealthBot) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*HealthBot) GetWriteConnectionSecretToReference ¶
func (mg *HealthBot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this HealthBot.
func (*HealthBot) Hub ¶ added in v0.42.1
func (tr *HealthBot) Hub()
Hub marks this type as a conversion hub.
func (*HealthBot) LateInitialize ¶
LateInitialize this HealthBot using its observed tfState. returns True if there are any spec changes for the resource.
func (*HealthBot) ResolveReferences ¶
func (*HealthBot) SetConditions ¶
SetConditions of this HealthBot.
func (*HealthBot) SetDeletionPolicy ¶
func (mg *HealthBot) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this HealthBot.
func (*HealthBot) SetManagementPolicies ¶ added in v0.35.0
func (mg *HealthBot) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this HealthBot.
func (*HealthBot) SetObservation ¶
SetObservation for this HealthBot
func (*HealthBot) SetParameters ¶
SetParameters for this HealthBot
func (*HealthBot) SetProviderConfigReference ¶
SetProviderConfigReference of this HealthBot.
func (*HealthBot) SetPublishConnectionDetailsTo ¶
func (mg *HealthBot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this HealthBot.
func (*HealthBot) SetWriteConnectionSecretToReference ¶
func (mg *HealthBot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this HealthBot.
type HealthBotInitParameters ¶ added in v0.35.0
type HealthBotInitParameters struct { // Specifies The Azure Region where the resource exists. Changing this force a new resource to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The name which should be used for the SKU of the service. Possible values are C0, F0 and S1. SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the service. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*HealthBotInitParameters) DeepCopy ¶ added in v0.35.0
func (in *HealthBotInitParameters) DeepCopy() *HealthBotInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBotInitParameters.
func (*HealthBotInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *HealthBotInitParameters) DeepCopyInto(out *HealthBotInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthBotList ¶
type HealthBotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HealthBot `json:"items"` }
HealthBotList contains a list of HealthBots
func (*HealthBotList) DeepCopy ¶
func (in *HealthBotList) DeepCopy() *HealthBotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBotList.
func (*HealthBotList) DeepCopyInto ¶
func (in *HealthBotList) DeepCopyInto(out *HealthBotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HealthBotList) DeepCopyObject ¶
func (in *HealthBotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HealthBotList) GetItems ¶
func (l *HealthBotList) GetItems() []resource.Managed
GetItems of this HealthBotList.
type HealthBotObservation ¶
type HealthBotObservation struct { // The management portal url. BotManagementPortalURL *string `json:"botManagementPortalUrl,omitempty" tf:"bot_management_portal_url,omitempty"` // The ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Specifies The Azure Region where the resource exists. Changing this force a new resource to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created. ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // The name which should be used for the SKU of the service. Possible values are C0, F0 and S1. SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the service. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*HealthBotObservation) DeepCopy ¶
func (in *HealthBotObservation) DeepCopy() *HealthBotObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBotObservation.
func (*HealthBotObservation) DeepCopyInto ¶
func (in *HealthBotObservation) DeepCopyInto(out *HealthBotObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthBotParameters ¶
type HealthBotParameters struct { // Specifies The Azure Region where the resource exists. Changing this force a new resource to be created. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Specifies The name of the Resource Group in which to create the Healthbot Service. changing this forces a new resource to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup // +kubebuilder:validation:Optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // Reference to a ResourceGroup in azure to populate resourceGroupName. // +kubebuilder:validation:Optional ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"` // Selector for a ResourceGroup in azure to populate resourceGroupName. // +kubebuilder:validation:Optional ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The name which should be used for the SKU of the service. Possible values are C0, F0 and S1. // +kubebuilder:validation:Optional SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the service. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*HealthBotParameters) DeepCopy ¶
func (in *HealthBotParameters) DeepCopy() *HealthBotParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBotParameters.
func (*HealthBotParameters) DeepCopyInto ¶
func (in *HealthBotParameters) DeepCopyInto(out *HealthBotParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthBotSpec ¶
type HealthBotSpec struct { v1.ResourceSpec `json:",inline"` ForProvider HealthBotParameters `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 HealthBotInitParameters `json:"initProvider,omitempty"` }
HealthBotSpec defines the desired state of HealthBot
func (*HealthBotSpec) DeepCopy ¶
func (in *HealthBotSpec) DeepCopy() *HealthBotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBotSpec.
func (*HealthBotSpec) DeepCopyInto ¶
func (in *HealthBotSpec) DeepCopyInto(out *HealthBotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthBotStatus ¶
type HealthBotStatus struct { v1.ResourceStatus `json:",inline"` AtProvider HealthBotObservation `json:"atProvider,omitempty"` }
HealthBotStatus defines the observed state of HealthBot.
func (*HealthBotStatus) DeepCopy ¶
func (in *HealthBotStatus) DeepCopy() *HealthBotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBotStatus.
func (*HealthBotStatus) DeepCopyInto ¶
func (in *HealthBotStatus) DeepCopyInto(out *HealthBotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.