v1beta2

package
v1.10.2 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=logz.azure.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "logz.azure.upbound.io"
	CRDVersion = "v1beta2"
)

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 (
	Monitor_Kind             = "Monitor"
	Monitor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Monitor_Kind}.String()
	Monitor_KindAPIVersion   = Monitor_Kind + "." + CRDGroupVersion.String()
	Monitor_GroupVersionKind = CRDGroupVersion.WithKind(Monitor_Kind)
)

Repository type metadata.

View Source
var (
	SubAccount_Kind             = "SubAccount"
	SubAccount_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubAccount_Kind}.String()
	SubAccount_KindAPIVersion   = SubAccount_Kind + "." + CRDGroupVersion.String()
	SubAccount_GroupVersionKind = CRDGroupVersion.WithKind(SubAccount_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Monitor

type Monitor 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.plan) || (has(self.initProvider) && has(self.initProvider.plan))",message="spec.forProvider.plan is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.user) || (has(self.initProvider) && has(self.initProvider.user))",message="spec.forProvider.user is a required parameter"
	Spec   MonitorSpec   `json:"spec"`
	Status MonitorStatus `json:"status,omitempty"`
}

Monitor is the Schema for the Monitors API. Manages a logz Monitor. +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 (*Monitor) DeepCopy

func (in *Monitor) DeepCopy() *Monitor

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

func (*Monitor) DeepCopyInto

func (in *Monitor) DeepCopyInto(out *Monitor)

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

func (*Monitor) DeepCopyObject

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

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

func (*Monitor) GetCondition

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

GetCondition of this Monitor.

func (*Monitor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Monitor

func (*Monitor) GetDeletionPolicy

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

GetDeletionPolicy of this Monitor.

func (*Monitor) GetID

func (tr *Monitor) GetID() string

GetID returns ID of underlying Terraform resource of this Monitor

func (*Monitor) GetInitParameters

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

GetInitParameters of this Monitor

func (*Monitor) GetManagementPolicies

func (mg *Monitor) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Monitor.

func (*Monitor) GetMergedParameters

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

GetInitParameters of this Monitor

func (*Monitor) GetObservation

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

GetObservation of this Monitor

func (*Monitor) GetParameters

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

GetParameters of this Monitor

func (*Monitor) GetProviderConfigReference

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

GetProviderConfigReference of this Monitor.

func (*Monitor) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Monitor.

func (*Monitor) GetTerraformResourceType

func (mg *Monitor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Monitor

func (*Monitor) GetTerraformSchemaVersion

func (tr *Monitor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Monitor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Monitor.

func (*Monitor) Hub

func (tr *Monitor) Hub()

Hub marks this type as a conversion hub.

func (*Monitor) LateInitialize

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

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

func (*Monitor) ResolveReferences

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

func (*Monitor) SetConditions

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

SetConditions of this Monitor.

func (*Monitor) SetDeletionPolicy

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

SetDeletionPolicy of this Monitor.

func (*Monitor) SetManagementPolicies

func (mg *Monitor) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Monitor.

func (*Monitor) SetObservation

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

SetObservation for this Monitor

func (*Monitor) SetParameters

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

SetParameters for this Monitor

func (*Monitor) SetProviderConfigReference

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

SetProviderConfigReference of this Monitor.

func (*Monitor) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Monitor.

func (*Monitor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Monitor.

type MonitorInitParameters

type MonitorInitParameters struct {

	// Name of the Logz organization. Changing this forces a new logz Monitor to be created.
	CompanyName *string `json:"companyName,omitempty" tf:"company_name,omitempty"`

	// Whether the resource monitoring is enabled? Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
	EnterpriseAppID *string `json:"enterpriseAppId,omitempty" tf:"enterprise_app_id,omitempty"`

	// The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A plan block as defined below. Changing this forces a new resource to be created.
	Plan *PlanInitParameters `json:"plan,omitempty" tf:"plan,omitempty"`

	// A mapping of tags which should be assigned to the logz Monitor.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A user block as defined below. Changing this forces a new resource to be created.
	User *UserInitParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*MonitorInitParameters) DeepCopy

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

func (*MonitorInitParameters) DeepCopyInto

func (in *MonitorInitParameters) DeepCopyInto(out *MonitorInitParameters)

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

type MonitorList

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

MonitorList contains a list of Monitors

func (*MonitorList) DeepCopy

func (in *MonitorList) DeepCopy() *MonitorList

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

func (*MonitorList) DeepCopyInto

func (in *MonitorList) DeepCopyInto(out *MonitorList)

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

func (*MonitorList) DeepCopyObject

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

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

func (*MonitorList) GetItems

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

GetItems of this MonitorList.

type MonitorObservation

type MonitorObservation struct {

	// Name of the Logz organization. Changing this forces a new logz Monitor to be created.
	CompanyName *string `json:"companyName,omitempty" tf:"company_name,omitempty"`

	// Whether the resource monitoring is enabled? Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
	EnterpriseAppID *string `json:"enterpriseAppId,omitempty" tf:"enterprise_app_id,omitempty"`

	// The ID of the logz Monitor.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The ID associated with the logz organization of this logz Monitor.
	LogzOrganizationID *string `json:"logzOrganizationId,omitempty" tf:"logz_organization_id,omitempty"`

	// A plan block as defined below. Changing this forces a new resource to be created.
	Plan *PlanObservation `json:"plan,omitempty" tf:"plan,omitempty"`

	// The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The single sign on url associated with the logz organization of this logz Monitor.
	SingleSignOnURL *string `json:"singleSignOnUrl,omitempty" tf:"single_sign_on_url,omitempty"`

	// A mapping of tags which should be assigned to the logz Monitor.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A user block as defined below. Changing this forces a new resource to be created.
	User *UserObservation `json:"user,omitempty" tf:"user,omitempty"`
}

func (*MonitorObservation) DeepCopy

func (in *MonitorObservation) DeepCopy() *MonitorObservation

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

func (*MonitorObservation) DeepCopyInto

func (in *MonitorObservation) DeepCopyInto(out *MonitorObservation)

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

type MonitorParameters

type MonitorParameters struct {

	// Name of the Logz organization. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	CompanyName *string `json:"companyName,omitempty" tf:"company_name,omitempty"`

	// Whether the resource monitoring is enabled? Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	EnterpriseAppID *string `json:"enterpriseAppId,omitempty" tf:"enterprise_app_id,omitempty"`

	// The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A plan block as defined below. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Plan *PlanParameters `json:"plan,omitempty" tf:"plan,omitempty"`

	// The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor 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:"-"`

	// A mapping of tags which should be assigned to the logz Monitor.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A user block as defined below. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	User *UserParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*MonitorParameters) DeepCopy

func (in *MonitorParameters) DeepCopy() *MonitorParameters

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

func (*MonitorParameters) DeepCopyInto

func (in *MonitorParameters) DeepCopyInto(out *MonitorParameters)

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

type MonitorSpec

type MonitorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MonitorParameters `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 MonitorInitParameters `json:"initProvider,omitempty"`
}

MonitorSpec defines the desired state of Monitor

func (*MonitorSpec) DeepCopy

func (in *MonitorSpec) DeepCopy() *MonitorSpec

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

func (*MonitorSpec) DeepCopyInto

func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)

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

type MonitorStatus

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

MonitorStatus defines the observed state of Monitor.

func (*MonitorStatus) DeepCopy

func (in *MonitorStatus) DeepCopy() *MonitorStatus

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

func (*MonitorStatus) DeepCopyInto

func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)

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

type PlanInitParameters

type PlanInitParameters struct {

	// Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
	BillingCycle *string `json:"billingCycle,omitempty" tf:"billing_cycle,omitempty"`

	// Date when plan was applied. Changing this forces a new logz Monitor to be created.
	EffectiveDate *string `json:"effectiveDate,omitempty" tf:"effective_date,omitempty"`

	// Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
	PlanID *string `json:"planId,omitempty" tf:"plan_id,omitempty"`

	// Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
	UsageType *string `json:"usageType,omitempty" tf:"usage_type,omitempty"`
}

func (*PlanInitParameters) DeepCopy

func (in *PlanInitParameters) DeepCopy() *PlanInitParameters

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

func (*PlanInitParameters) DeepCopyInto

func (in *PlanInitParameters) DeepCopyInto(out *PlanInitParameters)

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

type PlanObservation

type PlanObservation struct {

	// Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
	BillingCycle *string `json:"billingCycle,omitempty" tf:"billing_cycle,omitempty"`

	// Date when plan was applied. Changing this forces a new logz Monitor to be created.
	EffectiveDate *string `json:"effectiveDate,omitempty" tf:"effective_date,omitempty"`

	// Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
	PlanID *string `json:"planId,omitempty" tf:"plan_id,omitempty"`

	// Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
	UsageType *string `json:"usageType,omitempty" tf:"usage_type,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 {

	// Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	BillingCycle *string `json:"billingCycle" tf:"billing_cycle,omitempty"`

	// Date when plan was applied. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	EffectiveDate *string `json:"effectiveDate" tf:"effective_date,omitempty"`

	// Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	PlanID *string `json:"planId,omitempty" tf:"plan_id,omitempty"`

	// Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	UsageType *string `json:"usageType" tf:"usage_type,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.

type SubAccount

type SubAccount 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.user) || (has(self.initProvider) && has(self.initProvider.user))",message="spec.forProvider.user is a required parameter"
	Spec   SubAccountSpec   `json:"spec"`
	Status SubAccountStatus `json:"status,omitempty"`
}

SubAccount is the Schema for the SubAccounts API. Manages a logz Sub Account. +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 (*SubAccount) DeepCopy

func (in *SubAccount) DeepCopy() *SubAccount

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

func (*SubAccount) DeepCopyInto

func (in *SubAccount) DeepCopyInto(out *SubAccount)

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

func (*SubAccount) DeepCopyObject

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

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

func (*SubAccount) GetCondition

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

GetCondition of this SubAccount.

func (*SubAccount) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SubAccount

func (*SubAccount) GetDeletionPolicy

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

GetDeletionPolicy of this SubAccount.

func (*SubAccount) GetID

func (tr *SubAccount) GetID() string

GetID returns ID of underlying Terraform resource of this SubAccount

func (*SubAccount) GetInitParameters

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

GetInitParameters of this SubAccount

func (*SubAccount) GetManagementPolicies

func (mg *SubAccount) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SubAccount.

func (*SubAccount) GetMergedParameters

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

GetInitParameters of this SubAccount

func (*SubAccount) GetObservation

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

GetObservation of this SubAccount

func (*SubAccount) GetParameters

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

GetParameters of this SubAccount

func (*SubAccount) GetProviderConfigReference

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

GetProviderConfigReference of this SubAccount.

func (*SubAccount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SubAccount.

func (*SubAccount) GetTerraformResourceType

func (mg *SubAccount) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubAccount

func (*SubAccount) GetTerraformSchemaVersion

func (tr *SubAccount) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubAccount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SubAccount.

func (*SubAccount) Hub

func (tr *SubAccount) Hub()

Hub marks this type as a conversion hub.

func (*SubAccount) LateInitialize

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

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

func (*SubAccount) ResolveReferences

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

ResolveReferences of this SubAccount.

func (*SubAccount) SetConditions

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

SetConditions of this SubAccount.

func (*SubAccount) SetDeletionPolicy

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

SetDeletionPolicy of this SubAccount.

func (*SubAccount) SetManagementPolicies

func (mg *SubAccount) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SubAccount.

func (*SubAccount) SetObservation

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

SetObservation for this SubAccount

func (*SubAccount) SetParameters

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

SetParameters for this SubAccount

func (*SubAccount) SetProviderConfigReference

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

SetProviderConfigReference of this SubAccount.

func (*SubAccount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SubAccount.

func (*SubAccount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SubAccount.

type SubAccountInitParameters

type SubAccountInitParameters struct {

	// Whether the resource monitoring is enabled? Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A mapping of tags which should be assigned to the logz Sub Account.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A user block as defined below. Changing this forces a new resource to be created.
	User *SubAccountUserInitParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*SubAccountInitParameters) DeepCopy

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

func (*SubAccountInitParameters) DeepCopyInto

func (in *SubAccountInitParameters) DeepCopyInto(out *SubAccountInitParameters)

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

type SubAccountList

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

SubAccountList contains a list of SubAccounts

func (*SubAccountList) DeepCopy

func (in *SubAccountList) DeepCopy() *SubAccountList

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

func (*SubAccountList) DeepCopyInto

func (in *SubAccountList) DeepCopyInto(out *SubAccountList)

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

func (*SubAccountList) DeepCopyObject

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

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

func (*SubAccountList) GetItems

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

GetItems of this SubAccountList.

type SubAccountObservation

type SubAccountObservation struct {

	// Whether the resource monitoring is enabled? Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The ID of the logz Sub Account.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the Logz Monitor. Changing this forces a new logz Sub Account to be created.
	LogzMonitorID *string `json:"logzMonitorId,omitempty" tf:"logz_monitor_id,omitempty"`

	// A mapping of tags which should be assigned to the logz Sub Account.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A user block as defined below. Changing this forces a new resource to be created.
	User *SubAccountUserObservation `json:"user,omitempty" tf:"user,omitempty"`
}

func (*SubAccountObservation) DeepCopy

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

func (*SubAccountObservation) DeepCopyInto

func (in *SubAccountObservation) DeepCopyInto(out *SubAccountObservation)

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

type SubAccountParameters

type SubAccountParameters struct {

	// Whether the resource monitoring is enabled? Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The ID of the Logz Monitor. Changing this forces a new logz Sub Account to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/logz/v1beta2.Monitor
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	LogzMonitorID *string `json:"logzMonitorId,omitempty" tf:"logz_monitor_id,omitempty"`

	// Reference to a Monitor in logz to populate logzMonitorId.
	// +kubebuilder:validation:Optional
	LogzMonitorIDRef *v1.Reference `json:"logzMonitorIdRef,omitempty" tf:"-"`

	// Selector for a Monitor in logz to populate logzMonitorId.
	// +kubebuilder:validation:Optional
	LogzMonitorIDSelector *v1.Selector `json:"logzMonitorIdSelector,omitempty" tf:"-"`

	// A mapping of tags which should be assigned to the logz Sub Account.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A user block as defined below. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	User *SubAccountUserParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*SubAccountParameters) DeepCopy

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

func (*SubAccountParameters) DeepCopyInto

func (in *SubAccountParameters) DeepCopyInto(out *SubAccountParameters)

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

type SubAccountSpec

type SubAccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubAccountParameters `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 SubAccountInitParameters `json:"initProvider,omitempty"`
}

SubAccountSpec defines the desired state of SubAccount

func (*SubAccountSpec) DeepCopy

func (in *SubAccountSpec) DeepCopy() *SubAccountSpec

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

func (*SubAccountSpec) DeepCopyInto

func (in *SubAccountSpec) DeepCopyInto(out *SubAccountSpec)

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

type SubAccountStatus

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

SubAccountStatus defines the observed state of SubAccount.

func (*SubAccountStatus) DeepCopy

func (in *SubAccountStatus) DeepCopy() *SubAccountStatus

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

func (*SubAccountStatus) DeepCopyInto

func (in *SubAccountStatus) DeepCopyInto(out *SubAccountStatus)

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

type SubAccountUserInitParameters

type SubAccountUserInitParameters struct {

	// Email of the user used by Logz for contacting them if needed. A valid email address consists of an email prefix and an email domain. The prefix and domain may contain only letters, numbers, underscores, periods and dashes. Changing this forces a new logz Sub Account to be created.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// First Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// Last Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// Phone number of the user used by Logz for contacting them if needed. Possible values must be between 1 and 40 characters in length. Changing this forces a new logz Sub Account to be created.
	PhoneNumber *string `json:"phoneNumber,omitempty" tf:"phone_number,omitempty"`
}

func (*SubAccountUserInitParameters) DeepCopy

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

func (*SubAccountUserInitParameters) DeepCopyInto

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

type SubAccountUserObservation

type SubAccountUserObservation struct {

	// Email of the user used by Logz for contacting them if needed. A valid email address consists of an email prefix and an email domain. The prefix and domain may contain only letters, numbers, underscores, periods and dashes. Changing this forces a new logz Sub Account to be created.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// First Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// Last Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// Phone number of the user used by Logz for contacting them if needed. Possible values must be between 1 and 40 characters in length. Changing this forces a new logz Sub Account to be created.
	PhoneNumber *string `json:"phoneNumber,omitempty" tf:"phone_number,omitempty"`
}

func (*SubAccountUserObservation) DeepCopy

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

func (*SubAccountUserObservation) DeepCopyInto

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

type SubAccountUserParameters

type SubAccountUserParameters struct {

	// Email of the user used by Logz for contacting them if needed. A valid email address consists of an email prefix and an email domain. The prefix and domain may contain only letters, numbers, underscores, periods and dashes. Changing this forces a new logz Sub Account to be created.
	// +kubebuilder:validation:Optional
	Email *string `json:"email" tf:"email,omitempty"`

	// First Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
	// +kubebuilder:validation:Optional
	FirstName *string `json:"firstName" tf:"first_name,omitempty"`

	// Last Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
	// +kubebuilder:validation:Optional
	LastName *string `json:"lastName" tf:"last_name,omitempty"`

	// Phone number of the user used by Logz for contacting them if needed. Possible values must be between 1 and 40 characters in length. Changing this forces a new logz Sub Account to be created.
	// +kubebuilder:validation:Optional
	PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"`
}

func (*SubAccountUserParameters) DeepCopy

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

func (*SubAccountUserParameters) DeepCopyInto

func (in *SubAccountUserParameters) DeepCopyInto(out *SubAccountUserParameters)

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

type UserInitParameters

type UserInitParameters struct {

	// Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// First Name of the user. Changing this forces a new logz Monitor to be created.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// Last Name of the user. Changing this forces a new logz Monitor to be created.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
	PhoneNumber *string `json:"phoneNumber,omitempty" tf:"phone_number,omitempty"`
}

func (*UserInitParameters) DeepCopy

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserObservation

type UserObservation struct {

	// Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// First Name of the user. Changing this forces a new logz Monitor to be created.
	FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"`

	// Last Name of the user. Changing this forces a new logz Monitor to be created.
	LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"`

	// Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
	PhoneNumber *string `json:"phoneNumber,omitempty" tf:"phone_number,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	Email *string `json:"email" tf:"email,omitempty"`

	// First Name of the user. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	FirstName *string `json:"firstName" tf:"first_name,omitempty"`

	// Last Name of the user. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	LastName *string `json:"lastName" tf:"last_name,omitempty"`

	// Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
	// +kubebuilder:validation:Optional
	PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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