v1alpha2

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=insights.azure.jet.crossplane.io +versionName=v1alpha2

Index

Constants

View Source
const (
	CRDGroup   = "insights.azure.jet.crossplane.io"
	CRDVersion = "v1alpha2"
)

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 (
	MonitorMetricAlert_Kind             = "MonitorMetricAlert"
	MonitorMetricAlert_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MonitorMetricAlert_Kind}.String()
	MonitorMetricAlert_KindAPIVersion   = MonitorMetricAlert_Kind + "." + CRDGroupVersion.String()
	MonitorMetricAlert_GroupVersionKind = CRDGroupVersion.WithKind(MonitorMetricAlert_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActionObservation

type ActionObservation struct {
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// +kubebuilder:validation:Required
	ActionGroupID *string `json:"actionGroupId" tf:"action_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	WebhookProperties map[string]*string `json:"webhookProperties,omitempty" tf:"webhook_properties,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

type ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation

type ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation struct {
}

func (*ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) DeepCopy

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

func (*ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) DeepCopyInto

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

type ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters

type ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters struct {

	// +kubebuilder:validation:Required
	ComponentID *string `json:"componentId" tf:"component_id,omitempty"`

	// +kubebuilder:validation:Required
	FailedLocationCount *float64 `json:"failedLocationCount" tf:"failed_location_count,omitempty"`

	// +kubebuilder:validation:Required
	WebTestID *string `json:"webTestId" tf:"web_test_id,omitempty"`
}

func (*ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) DeepCopy

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

func (*ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) DeepCopyInto

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

type CriteriaObservation

type CriteriaObservation struct {
}

func (*CriteriaObservation) DeepCopy

func (in *CriteriaObservation) DeepCopy() *CriteriaObservation

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

func (*CriteriaObservation) DeepCopyInto

func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation)

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

type CriteriaParameters

type CriteriaParameters struct {

	// +kubebuilder:validation:Required
	Aggregation *string `json:"aggregation" tf:"aggregation,omitempty"`

	// +kubebuilder:validation:Optional
	Dimension []DimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"`

	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// +kubebuilder:validation:Required
	MetricNamespace *string `json:"metricNamespace" tf:"metric_namespace,omitempty"`

	// +kubebuilder:validation:Required
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// +kubebuilder:validation:Optional
	SkipMetricValidation *bool `json:"skipMetricValidation,omitempty" tf:"skip_metric_validation,omitempty"`

	// +kubebuilder:validation:Required
	Threshold *float64 `json:"threshold" tf:"threshold,omitempty"`
}

func (*CriteriaParameters) DeepCopy

func (in *CriteriaParameters) DeepCopy() *CriteriaParameters

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

func (*CriteriaParameters) DeepCopyInto

func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters)

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

type DimensionObservation

type DimensionObservation struct {
}

func (*DimensionObservation) DeepCopy

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

func (*DimensionObservation) DeepCopyInto

func (in *DimensionObservation) DeepCopyInto(out *DimensionObservation)

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

type DimensionParameters

type DimensionParameters struct {

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// +kubebuilder:validation:Required
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*DimensionParameters) DeepCopy

func (in *DimensionParameters) DeepCopy() *DimensionParameters

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

func (*DimensionParameters) DeepCopyInto

func (in *DimensionParameters) DeepCopyInto(out *DimensionParameters)

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

type DynamicCriteriaDimensionObservation

type DynamicCriteriaDimensionObservation struct {
}

func (*DynamicCriteriaDimensionObservation) DeepCopy

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

func (*DynamicCriteriaDimensionObservation) DeepCopyInto

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

type DynamicCriteriaDimensionParameters

type DynamicCriteriaDimensionParameters struct {

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// +kubebuilder:validation:Required
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*DynamicCriteriaDimensionParameters) DeepCopy

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

func (*DynamicCriteriaDimensionParameters) DeepCopyInto

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

type DynamicCriteriaObservation

type DynamicCriteriaObservation struct {
}

func (*DynamicCriteriaObservation) DeepCopy

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

func (*DynamicCriteriaObservation) DeepCopyInto

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

type DynamicCriteriaParameters

type DynamicCriteriaParameters struct {

	// +kubebuilder:validation:Required
	Aggregation *string `json:"aggregation" tf:"aggregation,omitempty"`

	// +kubebuilder:validation:Required
	AlertSensitivity *string `json:"alertSensitivity" tf:"alert_sensitivity,omitempty"`

	// +kubebuilder:validation:Optional
	Dimension []DynamicCriteriaDimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"`

	// +kubebuilder:validation:Optional
	EvaluationFailureCount *float64 `json:"evaluationFailureCount,omitempty" tf:"evaluation_failure_count,omitempty"`

	// +kubebuilder:validation:Optional
	EvaluationTotalCount *float64 `json:"evaluationTotalCount,omitempty" tf:"evaluation_total_count,omitempty"`

	// +kubebuilder:validation:Optional
	IgnoreDataBefore *string `json:"ignoreDataBefore,omitempty" tf:"ignore_data_before,omitempty"`

	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// +kubebuilder:validation:Required
	MetricNamespace *string `json:"metricNamespace" tf:"metric_namespace,omitempty"`

	// +kubebuilder:validation:Required
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// +kubebuilder:validation:Optional
	SkipMetricValidation *bool `json:"skipMetricValidation,omitempty" tf:"skip_metric_validation,omitempty"`
}

func (*DynamicCriteriaParameters) DeepCopy

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

func (*DynamicCriteriaParameters) DeepCopyInto

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

type MonitorMetricAlert

type MonitorMetricAlert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitorMetricAlertSpec   `json:"spec"`
	Status            MonitorMetricAlertStatus `json:"status,omitempty"`
}

MonitorMetricAlert is the Schema for the MonitorMetricAlerts API +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,azurejet}

func (*MonitorMetricAlert) DeepCopy

func (in *MonitorMetricAlert) DeepCopy() *MonitorMetricAlert

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

func (*MonitorMetricAlert) DeepCopyInto

func (in *MonitorMetricAlert) DeepCopyInto(out *MonitorMetricAlert)

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

func (*MonitorMetricAlert) DeepCopyObject

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

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

func (*MonitorMetricAlert) GetCondition

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

GetCondition of this MonitorMetricAlert.

func (*MonitorMetricAlert) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MonitorMetricAlert

func (*MonitorMetricAlert) GetDeletionPolicy

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

GetDeletionPolicy of this MonitorMetricAlert.

func (*MonitorMetricAlert) GetID

func (tr *MonitorMetricAlert) GetID() string

GetID returns ID of underlying Terraform resource of this MonitorMetricAlert

func (*MonitorMetricAlert) GetObservation

func (tr *MonitorMetricAlert) GetObservation() (map[string]interface{}, error)

GetObservation of this MonitorMetricAlert

func (*MonitorMetricAlert) GetParameters

func (tr *MonitorMetricAlert) GetParameters() (map[string]interface{}, error)

GetParameters of this MonitorMetricAlert

func (*MonitorMetricAlert) GetProviderConfigReference

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

GetProviderConfigReference of this MonitorMetricAlert.

func (*MonitorMetricAlert) GetProviderReference

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

GetProviderReference of this MonitorMetricAlert. Deprecated: Use GetProviderConfigReference.

func (*MonitorMetricAlert) GetPublishConnectionDetailsTo added in v0.10.0

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

GetPublishConnectionDetailsTo of this MonitorMetricAlert.

func (*MonitorMetricAlert) GetTerraformResourceType

func (mg *MonitorMetricAlert) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MonitorMetricAlert

func (*MonitorMetricAlert) GetTerraformSchemaVersion

func (tr *MonitorMetricAlert) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MonitorMetricAlert) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MonitorMetricAlert.

func (*MonitorMetricAlert) LateInitialize

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

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

func (*MonitorMetricAlert) ResolveReferences

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

ResolveReferences of this MonitorMetricAlert.

func (*MonitorMetricAlert) SetConditions

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

SetConditions of this MonitorMetricAlert.

func (*MonitorMetricAlert) SetDeletionPolicy

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

SetDeletionPolicy of this MonitorMetricAlert.

func (*MonitorMetricAlert) SetObservation

func (tr *MonitorMetricAlert) SetObservation(obs map[string]interface{}) error

SetObservation for this MonitorMetricAlert

func (*MonitorMetricAlert) SetParameters

func (tr *MonitorMetricAlert) SetParameters(params map[string]interface{}) error

SetParameters for this MonitorMetricAlert

func (*MonitorMetricAlert) SetProviderConfigReference

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

SetProviderConfigReference of this MonitorMetricAlert.

func (*MonitorMetricAlert) SetProviderReference

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

SetProviderReference of this MonitorMetricAlert. Deprecated: Use SetProviderConfigReference.

func (*MonitorMetricAlert) SetPublishConnectionDetailsTo added in v0.10.0

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

SetPublishConnectionDetailsTo of this MonitorMetricAlert.

func (*MonitorMetricAlert) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MonitorMetricAlert.

type MonitorMetricAlertList

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

MonitorMetricAlertList contains a list of MonitorMetricAlerts

func (*MonitorMetricAlertList) DeepCopy

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

func (*MonitorMetricAlertList) DeepCopyInto

func (in *MonitorMetricAlertList) DeepCopyInto(out *MonitorMetricAlertList)

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

func (*MonitorMetricAlertList) DeepCopyObject

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

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

func (*MonitorMetricAlertList) GetItems

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

GetItems of this MonitorMetricAlertList.

type MonitorMetricAlertObservation

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

func (*MonitorMetricAlertObservation) DeepCopy

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

func (*MonitorMetricAlertObservation) DeepCopyInto

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

type MonitorMetricAlertParameters

type MonitorMetricAlertParameters struct {

	// +kubebuilder:validation:Optional
	Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"`

	// +kubebuilder:validation:Optional
	ApplicationInsightsWebTestLocationAvailabilityCriteria []ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters `` /* 147-byte string literal not displayed */

	// +kubebuilder:validation:Optional
	AutoMitigate *bool `json:"autoMitigate,omitempty" tf:"auto_mitigate,omitempty"`

	// +kubebuilder:validation:Optional
	Criteria []CriteriaParameters `json:"criteria,omitempty" tf:"criteria,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	DynamicCriteria []DynamicCriteriaParameters `json:"dynamicCriteria,omitempty" tf:"dynamic_criteria,omitempty"`

	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// +kubebuilder:validation:Optional
	Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-azure/apis/azure/v1alpha2.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	Scopes []*string `json:"scopes" tf:"scopes,omitempty"`

	// +kubebuilder:validation:Optional
	Severity *float64 `json:"severity,omitempty" tf:"severity,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The location of the target pluginsdk. Required when using subscription, resource group scope or multiple scopes.
	// +kubebuilder:validation:Optional
	TargetResourceLocation *string `json:"targetResourceLocation,omitempty" tf:"target_resource_location,omitempty"`

	// The resource type (e.g. Microsoft.Compute/virtualMachines) of the target pluginsdk. Required when using subscription, resource group scope or multiple scopes.
	// +kubebuilder:validation:Optional
	TargetResourceType *string `json:"targetResourceType,omitempty" tf:"target_resource_type,omitempty"`

	// +kubebuilder:validation:Optional
	WindowSize *string `json:"windowSize,omitempty" tf:"window_size,omitempty"`
}

func (*MonitorMetricAlertParameters) DeepCopy

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

func (*MonitorMetricAlertParameters) DeepCopyInto

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

type MonitorMetricAlertSpec

type MonitorMetricAlertSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MonitorMetricAlertParameters `json:"forProvider"`
}

MonitorMetricAlertSpec defines the desired state of MonitorMetricAlert

func (*MonitorMetricAlertSpec) DeepCopy

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

func (*MonitorMetricAlertSpec) DeepCopyInto

func (in *MonitorMetricAlertSpec) DeepCopyInto(out *MonitorMetricAlertSpec)

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

type MonitorMetricAlertStatus

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

MonitorMetricAlertStatus defines the observed state of MonitorMetricAlert.

func (*MonitorMetricAlertStatus) DeepCopy

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

func (*MonitorMetricAlertStatus) DeepCopyInto

func (in *MonitorMetricAlertStatus) DeepCopyInto(out *MonitorMetricAlertStatus)

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