v1beta1

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=healthbot.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "healthbot.azure.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	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

func (in *HealthBot) DeepCopy() *HealthBot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthBot.

func (*HealthBot) DeepCopyInto

func (in *HealthBot) DeepCopyInto(out *HealthBot)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HealthBot) DeepCopyObject

func (in *HealthBot) DeepCopyObject() runtime.Object

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

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

GetConnectionDetailsMapping for this HealthBot

func (*HealthBot) GetDeletionPolicy

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

GetDeletionPolicy of this HealthBot.

func (*HealthBot) GetID

func (tr *HealthBot) GetID() string

GetID returns ID of underlying Terraform resource of this HealthBot

func (*HealthBot) GetInitParameters added in v0.35.0

func (tr *HealthBot) GetInitParameters() (map[string]any, error)

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

func (tr *HealthBot) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this HealthBot

func (*HealthBot) GetObservation

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

GetObservation of this HealthBot

func (*HealthBot) GetParameters

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

GetParameters of this HealthBot

func (*HealthBot) GetProviderConfigReference

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

GetProviderConfigReference of this HealthBot.

func (*HealthBot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HealthBot.

func (*HealthBot) GetTerraformResourceType

func (mg *HealthBot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HealthBot

func (*HealthBot) GetTerraformSchemaVersion

func (tr *HealthBot) GetTerraformSchemaVersion() int

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

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

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

func (*HealthBot) ResolveReferences

func (mg *HealthBot) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*HealthBot) SetConditions

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

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

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

SetObservation for this HealthBot

func (*HealthBot) SetParameters

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

SetParameters for this HealthBot

func (*HealthBot) SetProviderConfigReference

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

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

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

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.

Jump to

Keyboard shortcuts

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