v1beta1

package
v0.31.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "operationsmanagement.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 (
	LogAnalyticsSolution_Kind             = "LogAnalyticsSolution"
	LogAnalyticsSolution_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogAnalyticsSolution_Kind}.String()
	LogAnalyticsSolution_KindAPIVersion   = LogAnalyticsSolution_Kind + "." + CRDGroupVersion.String()
	LogAnalyticsSolution_GroupVersionKind = CRDGroupVersion.WithKind(LogAnalyticsSolution_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LogAnalyticsSolution

type LogAnalyticsSolution struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.location)",message="location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.plan)",message="plan is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.solutionName)",message="solutionName is a required parameter"
	Spec   LogAnalyticsSolutionSpec   `json:"spec"`
	Status LogAnalyticsSolutionStatus `json:"status,omitempty"`
}

LogAnalyticsSolution is the Schema for the LogAnalyticsSolutions API. Manages a Log Analytics (formally Operational Insights) Solution. +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,azure}

func (*LogAnalyticsSolution) DeepCopy

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

func (*LogAnalyticsSolution) DeepCopyInto

func (in *LogAnalyticsSolution) DeepCopyInto(out *LogAnalyticsSolution)

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

func (*LogAnalyticsSolution) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LogAnalyticsSolution) GetCondition

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

GetCondition of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LogAnalyticsSolution

func (*LogAnalyticsSolution) GetDeletionPolicy

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

GetDeletionPolicy of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) GetID

func (tr *LogAnalyticsSolution) GetID() string

GetID returns ID of underlying Terraform resource of this LogAnalyticsSolution

func (*LogAnalyticsSolution) GetManagementPolicy added in v0.31.0

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

GetManagementPolicy of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) GetObservation

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

GetObservation of this LogAnalyticsSolution

func (*LogAnalyticsSolution) GetParameters

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

GetParameters of this LogAnalyticsSolution

func (*LogAnalyticsSolution) GetProviderConfigReference

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

GetProviderConfigReference of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) GetProviderReference

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

GetProviderReference of this LogAnalyticsSolution. Deprecated: Use GetProviderConfigReference.

func (*LogAnalyticsSolution) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) GetTerraformResourceType

func (mg *LogAnalyticsSolution) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogAnalyticsSolution

func (*LogAnalyticsSolution) GetTerraformSchemaVersion

func (tr *LogAnalyticsSolution) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogAnalyticsSolution) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) LateInitialize

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

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

func (*LogAnalyticsSolution) ResolveReferences

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

ResolveReferences of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) SetConditions

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

SetConditions of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) SetDeletionPolicy

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

SetDeletionPolicy of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) SetManagementPolicy added in v0.31.0

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

SetManagementPolicy of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) SetObservation

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

SetObservation for this LogAnalyticsSolution

func (*LogAnalyticsSolution) SetParameters

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

SetParameters for this LogAnalyticsSolution

func (*LogAnalyticsSolution) SetProviderConfigReference

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

SetProviderConfigReference of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) SetProviderReference

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

SetProviderReference of this LogAnalyticsSolution. Deprecated: Use SetProviderConfigReference.

func (*LogAnalyticsSolution) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LogAnalyticsSolution.

func (*LogAnalyticsSolution) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LogAnalyticsSolution.

type LogAnalyticsSolutionList

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

LogAnalyticsSolutionList contains a list of LogAnalyticsSolutions

func (*LogAnalyticsSolutionList) DeepCopy

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

func (*LogAnalyticsSolutionList) DeepCopyInto

func (in *LogAnalyticsSolutionList) DeepCopyInto(out *LogAnalyticsSolutionList)

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

func (*LogAnalyticsSolutionList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LogAnalyticsSolutionList) GetItems

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

GetItems of this LogAnalyticsSolutionList.

type LogAnalyticsSolutionObservation

type LogAnalyticsSolutionObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A plan block as documented below.
	Plan []PlanObservation `json:"plan,omitempty" tf:"plan,omitempty"`

	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and its related workspace can only exist in the same resource group.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the solution to be deployed. See here for options.Changing this forces a new resource to be created.
	SolutionName *string `json:"solutionName,omitempty" tf:"solution_name,omitempty"`

	// A mapping of tags to assign to the resource.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceName *string `json:"workspaceName,omitempty" tf:"workspace_name,omitempty"`

	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty" tf:"workspace_resource_id,omitempty"`
}

func (*LogAnalyticsSolutionObservation) DeepCopy

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

func (*LogAnalyticsSolutionObservation) DeepCopyInto

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

type LogAnalyticsSolutionParameters

type LogAnalyticsSolutionParameters struct {

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A plan block as documented below.
	// +kubebuilder:validation:Optional
	Plan []PlanParameters `json:"plan,omitempty" tf:"plan,omitempty"`

	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and its related workspace can only exist in the same resource group.
	// +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:"-"`

	// Specifies the name of the solution to be deployed. See here for options.Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SolutionName *string `json:"solutionName,omitempty" tf:"solution_name,omitempty"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/operationalinsights/v1beta1.Workspace
	// +kubebuilder:validation:Optional
	WorkspaceName *string `json:"workspaceName,omitempty" tf:"workspace_name,omitempty"`

	// Reference to a Workspace in operationalinsights to populate workspaceName.
	// +kubebuilder:validation:Optional
	WorkspaceNameRef *v1.Reference `json:"workspaceNameRef,omitempty" tf:"-"`

	// Selector for a Workspace in operationalinsights to populate workspaceName.
	// +kubebuilder:validation:Optional
	WorkspaceNameSelector *v1.Selector `json:"workspaceNameSelector,omitempty" tf:"-"`

	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/operationalinsights/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty" tf:"workspace_resource_id,omitempty"`

	// Reference to a Workspace in operationalinsights to populate workspaceResourceId.
	// +kubebuilder:validation:Optional
	WorkspaceResourceIDRef *v1.Reference `json:"workspaceResourceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in operationalinsights to populate workspaceResourceId.
	// +kubebuilder:validation:Optional
	WorkspaceResourceIDSelector *v1.Selector `json:"workspaceResourceIdSelector,omitempty" tf:"-"`
}

func (*LogAnalyticsSolutionParameters) DeepCopy

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

func (*LogAnalyticsSolutionParameters) DeepCopyInto

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

type LogAnalyticsSolutionSpec

type LogAnalyticsSolutionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogAnalyticsSolutionParameters `json:"forProvider"`
}

LogAnalyticsSolutionSpec defines the desired state of LogAnalyticsSolution

func (*LogAnalyticsSolutionSpec) DeepCopy

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

func (*LogAnalyticsSolutionSpec) DeepCopyInto

func (in *LogAnalyticsSolutionSpec) DeepCopyInto(out *LogAnalyticsSolutionSpec)

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

type LogAnalyticsSolutionStatus

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

LogAnalyticsSolutionStatus defines the observed state of LogAnalyticsSolution.

func (*LogAnalyticsSolutionStatus) DeepCopy

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

func (*LogAnalyticsSolutionStatus) DeepCopyInto

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

type PlanObservation

type PlanObservation struct {
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The product name of the solution. For example OMSGallery/Containers. Changing this forces a new resource to be created.
	Product *string `json:"product,omitempty" tf:"product,omitempty"`

	// A promotion code to be used with the solution. Changing this forces a new resource to be created.
	PromotionCode *string `json:"promotionCode,omitempty" tf:"promotion_code,omitempty"`

	// The publisher of the solution. For example Microsoft. Changing this forces a new resource to be created.
	Publisher *string `json:"publisher,omitempty" tf:"publisher,omitempty"`
}

func (*PlanObservation) DeepCopy

func (in *PlanObservation) DeepCopy() *PlanObservation

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

func (*PlanObservation) DeepCopyInto

func (in *PlanObservation) DeepCopyInto(out *PlanObservation)

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

type PlanParameters

type PlanParameters struct {

	// The product name of the solution. For example OMSGallery/Containers. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Product *string `json:"product" tf:"product,omitempty"`

	// A promotion code to be used with the solution. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	PromotionCode *string `json:"promotionCode,omitempty" tf:"promotion_code,omitempty"`

	// The publisher of the solution. For example Microsoft. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Publisher *string `json:"publisher" tf:"publisher,omitempty"`
}

func (*PlanParameters) DeepCopy

func (in *PlanParameters) DeepCopy() *PlanParameters

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

func (*PlanParameters) DeepCopyInto

func (in *PlanParameters) DeepCopyInto(out *PlanParameters)

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