v1api20180301

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package v1api20180301 contains API Schema definitions for the insights v1api20180301 API group +groupName=insights.azure.com

Package v1api20180301 contains API Schema definitions for the insights v1api20180301 API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=insights.azure.com +versionName=v1api20180301

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

View Source
const (
	MetricCriteria_Operator_Equals             = MetricCriteria_Operator("Equals")
	MetricCriteria_Operator_GreaterThan        = MetricCriteria_Operator("GreaterThan")
	MetricCriteria_Operator_GreaterThanOrEqual = MetricCriteria_Operator("GreaterThanOrEqual")
	MetricCriteria_Operator_LessThan           = MetricCriteria_Operator("LessThan")
	MetricCriteria_Operator_LessThanOrEqual    = MetricCriteria_Operator("LessThanOrEqual")
)
View Source
const (
	MetricCriteria_Operator_STATUS_Equals             = MetricCriteria_Operator_STATUS("Equals")
	MetricCriteria_Operator_STATUS_GreaterThan        = MetricCriteria_Operator_STATUS("GreaterThan")
	MetricCriteria_Operator_STATUS_GreaterThanOrEqual = MetricCriteria_Operator_STATUS("GreaterThanOrEqual")
	MetricCriteria_Operator_STATUS_LessThan           = MetricCriteria_Operator_STATUS("LessThan")
	MetricCriteria_Operator_STATUS_LessThanOrEqual    = MetricCriteria_Operator_STATUS("LessThanOrEqual")
)
View Source
const (
	MetricCriteria_TimeAggregation_Average = MetricCriteria_TimeAggregation("Average")
	MetricCriteria_TimeAggregation_Count   = MetricCriteria_TimeAggregation("Count")
	MetricCriteria_TimeAggregation_Maximum = MetricCriteria_TimeAggregation("Maximum")
	MetricCriteria_TimeAggregation_Minimum = MetricCriteria_TimeAggregation("Minimum")
	MetricCriteria_TimeAggregation_Total   = MetricCriteria_TimeAggregation("Total")
)
View Source
const (
	MetricCriteria_TimeAggregation_STATUS_Average = MetricCriteria_TimeAggregation_STATUS("Average")
	MetricCriteria_TimeAggregation_STATUS_Count   = MetricCriteria_TimeAggregation_STATUS("Count")
	MetricCriteria_TimeAggregation_STATUS_Maximum = MetricCriteria_TimeAggregation_STATUS("Maximum")
	MetricCriteria_TimeAggregation_STATUS_Minimum = MetricCriteria_TimeAggregation_STATUS("Minimum")
	MetricCriteria_TimeAggregation_STATUS_Total   = MetricCriteria_TimeAggregation_STATUS("Total")
)
View Source
const (
	DynamicMetricCriteria_AlertSensitivity_High   = DynamicMetricCriteria_AlertSensitivity("High")
	DynamicMetricCriteria_AlertSensitivity_Low    = DynamicMetricCriteria_AlertSensitivity("Low")
	DynamicMetricCriteria_AlertSensitivity_Medium = DynamicMetricCriteria_AlertSensitivity("Medium")
)
View Source
const (
	DynamicMetricCriteria_AlertSensitivity_STATUS_High   = DynamicMetricCriteria_AlertSensitivity_STATUS("High")
	DynamicMetricCriteria_AlertSensitivity_STATUS_Low    = DynamicMetricCriteria_AlertSensitivity_STATUS("Low")
	DynamicMetricCriteria_AlertSensitivity_STATUS_Medium = DynamicMetricCriteria_AlertSensitivity_STATUS("Medium")
)
View Source
const (
	DynamicMetricCriteria_Operator_GreaterOrLessThan = DynamicMetricCriteria_Operator("GreaterOrLessThan")
	DynamicMetricCriteria_Operator_GreaterThan       = DynamicMetricCriteria_Operator("GreaterThan")
	DynamicMetricCriteria_Operator_LessThan          = DynamicMetricCriteria_Operator("LessThan")
)
View Source
const (
	DynamicMetricCriteria_Operator_STATUS_GreaterOrLessThan = DynamicMetricCriteria_Operator_STATUS("GreaterOrLessThan")
	DynamicMetricCriteria_Operator_STATUS_GreaterThan       = DynamicMetricCriteria_Operator_STATUS("GreaterThan")
	DynamicMetricCriteria_Operator_STATUS_LessThan          = DynamicMetricCriteria_Operator_STATUS("LessThan")
)
View Source
const (
	DynamicMetricCriteria_TimeAggregation_Average = DynamicMetricCriteria_TimeAggregation("Average")
	DynamicMetricCriteria_TimeAggregation_Count   = DynamicMetricCriteria_TimeAggregation("Count")
	DynamicMetricCriteria_TimeAggregation_Maximum = DynamicMetricCriteria_TimeAggregation("Maximum")
	DynamicMetricCriteria_TimeAggregation_Minimum = DynamicMetricCriteria_TimeAggregation("Minimum")
	DynamicMetricCriteria_TimeAggregation_Total   = DynamicMetricCriteria_TimeAggregation("Total")
)
View Source
const (
	DynamicMetricCriteria_TimeAggregation_STATUS_Average = DynamicMetricCriteria_TimeAggregation_STATUS("Average")
	DynamicMetricCriteria_TimeAggregation_STATUS_Count   = DynamicMetricCriteria_TimeAggregation_STATUS("Count")
	DynamicMetricCriteria_TimeAggregation_STATUS_Maximum = DynamicMetricCriteria_TimeAggregation_STATUS("Maximum")
	DynamicMetricCriteria_TimeAggregation_STATUS_Minimum = DynamicMetricCriteria_TimeAggregation_STATUS("Minimum")
	DynamicMetricCriteria_TimeAggregation_STATUS_Total   = DynamicMetricCriteria_TimeAggregation_STATUS("Total")
)
View Source
const APIVersion_Value = APIVersion("2018-03-01")
View Source
const DynamicMetricCriteria_CriterionType_DynamicThresholdCriterion = DynamicMetricCriteria_CriterionType("DynamicThresholdCriterion")
View Source
const DynamicMetricCriteria_CriterionType_STATUS_DynamicThresholdCriterion = DynamicMetricCriteria_CriterionType_STATUS("DynamicThresholdCriterion")
View Source
const MetricAlertMultipleResourceMultipleMetricCriteria_OdataType_MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = MetricAlertMultipleResourceMultipleMetricCriteria_OdataType("Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria")
View Source
const MetricAlertMultipleResourceMultipleMetricCriteria_OdataType_STATUS_MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = MetricAlertMultipleResourceMultipleMetricCriteria_OdataType_STATUS("Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria")
View Source
const MetricAlertSingleResourceMultipleMetricCriteria_OdataType_MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = MetricAlertSingleResourceMultipleMetricCriteria_OdataType("Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria")
View Source
const MetricAlertSingleResourceMultipleMetricCriteria_OdataType_STATUS_MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = MetricAlertSingleResourceMultipleMetricCriteria_OdataType_STATUS("Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria")
View Source
const MetricCriteria_CriterionType_STATUS_StaticThresholdCriterion = MetricCriteria_CriterionType_STATUS("StaticThresholdCriterion")
View Source
const MetricCriteria_CriterionType_StaticThresholdCriterion = MetricCriteria_CriterionType("StaticThresholdCriterion")
View Source
const WebtestLocationAvailabilityCriteria_OdataType_MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = WebtestLocationAvailabilityCriteria_OdataType("Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria")
View Source
const WebtestLocationAvailabilityCriteria_OdataType_STATUS_MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = WebtestLocationAvailabilityCriteria_OdataType_STATUS("Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria")

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "insights.azure.com", Version: "v1api20180301"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2018-03-01"}

type DynamicMetricCriteria

type DynamicMetricCriteria struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// +kubebuilder:validation:Required
	// AlertSensitivity: The extent of deviation required to trigger an alert. This will affect how tight the threshold is to
	// the metric series pattern.
	AlertSensitivity *DynamicMetricCriteria_AlertSensitivity `json:"alertSensitivity,omitempty"`

	// +kubebuilder:validation:Required
	// CriterionType: Specifies the type of threshold criteria
	CriterionType *DynamicMetricCriteria_CriterionType `json:"criterionType,omitempty"`

	// Dimensions: List of dimension conditions.
	Dimensions []MetricDimension `json:"dimensions,omitempty"`

	// +kubebuilder:validation:Required
	// FailingPeriods: The minimum number of violations required within the selected lookback time window required to raise an
	// alert.
	FailingPeriods *DynamicThresholdFailingPeriods `json:"failingPeriods,omitempty"`

	// IgnoreDataBefore: Use this option to set the date from which to start learning the metric historical data and calculate
	// the dynamic thresholds (in ISO8601 format)
	IgnoreDataBefore *string `json:"ignoreDataBefore,omitempty"`

	// +kubebuilder:validation:Required
	// MetricName: Name of the metric.
	MetricName *string `json:"metricName,omitempty"`

	// MetricNamespace: Namespace of the metric.
	MetricNamespace *string `json:"metricNamespace,omitempty"`

	// +kubebuilder:validation:Required
	// Name: Name of the criteria.
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: The operator used to compare the metric value against the threshold.
	Operator *DynamicMetricCriteria_Operator `json:"operator,omitempty"`

	// SkipMetricValidation: Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric
	// validation to be skipped.
	SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`

	// +kubebuilder:validation:Required
	// TimeAggregation: the criteria time aggregation types.
	TimeAggregation *DynamicMetricCriteria_TimeAggregation `json:"timeAggregation,omitempty"`
}

func (*DynamicMetricCriteria) AssignProperties_From_DynamicMetricCriteria

func (criteria *DynamicMetricCriteria) AssignProperties_From_DynamicMetricCriteria(source *storage.DynamicMetricCriteria) error

AssignProperties_From_DynamicMetricCriteria populates our DynamicMetricCriteria from the provided source DynamicMetricCriteria

func (*DynamicMetricCriteria) AssignProperties_To_DynamicMetricCriteria

func (criteria *DynamicMetricCriteria) AssignProperties_To_DynamicMetricCriteria(destination *storage.DynamicMetricCriteria) error

AssignProperties_To_DynamicMetricCriteria populates the provided destination DynamicMetricCriteria from our DynamicMetricCriteria

func (*DynamicMetricCriteria) ConvertToARM

func (criteria *DynamicMetricCriteria) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*DynamicMetricCriteria) DeepCopy

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

func (*DynamicMetricCriteria) DeepCopyInto

func (in *DynamicMetricCriteria) DeepCopyInto(out *DynamicMetricCriteria)

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

func (*DynamicMetricCriteria) Initialize_From_DynamicMetricCriteria_STATUS

func (criteria *DynamicMetricCriteria) Initialize_From_DynamicMetricCriteria_STATUS(source *DynamicMetricCriteria_STATUS) error

Initialize_From_DynamicMetricCriteria_STATUS populates our DynamicMetricCriteria from the provided source DynamicMetricCriteria_STATUS

func (*DynamicMetricCriteria) NewEmptyARMValue

func (criteria *DynamicMetricCriteria) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DynamicMetricCriteria) PopulateFromARM

func (criteria *DynamicMetricCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DynamicMetricCriteria_AlertSensitivity

type DynamicMetricCriteria_AlertSensitivity string

+kubebuilder:validation:Enum={"High","Low","Medium"}

type DynamicMetricCriteria_AlertSensitivity_STATUS

type DynamicMetricCriteria_AlertSensitivity_STATUS string

type DynamicMetricCriteria_CriterionType

type DynamicMetricCriteria_CriterionType string

+kubebuilder:validation:Enum={"DynamicThresholdCriterion"}

type DynamicMetricCriteria_CriterionType_STATUS

type DynamicMetricCriteria_CriterionType_STATUS string

type DynamicMetricCriteria_Operator

type DynamicMetricCriteria_Operator string

+kubebuilder:validation:Enum={"GreaterOrLessThan","GreaterThan","LessThan"}

type DynamicMetricCriteria_Operator_STATUS

type DynamicMetricCriteria_Operator_STATUS string

type DynamicMetricCriteria_STATUS

type DynamicMetricCriteria_STATUS struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// AlertSensitivity: The extent of deviation required to trigger an alert. This will affect how tight the threshold is to
	// the metric series pattern.
	AlertSensitivity *DynamicMetricCriteria_AlertSensitivity_STATUS `json:"alertSensitivity,omitempty"`

	// CriterionType: Specifies the type of threshold criteria
	CriterionType *DynamicMetricCriteria_CriterionType_STATUS `json:"criterionType,omitempty"`

	// Dimensions: List of dimension conditions.
	Dimensions []MetricDimension_STATUS `json:"dimensions,omitempty"`

	// FailingPeriods: The minimum number of violations required within the selected lookback time window required to raise an
	// alert.
	FailingPeriods *DynamicThresholdFailingPeriods_STATUS `json:"failingPeriods,omitempty"`

	// IgnoreDataBefore: Use this option to set the date from which to start learning the metric historical data and calculate
	// the dynamic thresholds (in ISO8601 format)
	IgnoreDataBefore *string `json:"ignoreDataBefore,omitempty"`

	// MetricName: Name of the metric.
	MetricName *string `json:"metricName,omitempty"`

	// MetricNamespace: Namespace of the metric.
	MetricNamespace *string `json:"metricNamespace,omitempty"`

	// Name: Name of the criteria.
	Name *string `json:"name,omitempty"`

	// Operator: The operator used to compare the metric value against the threshold.
	Operator *DynamicMetricCriteria_Operator_STATUS `json:"operator,omitempty"`

	// SkipMetricValidation: Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric
	// validation to be skipped.
	SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`

	// TimeAggregation: the criteria time aggregation types.
	TimeAggregation *DynamicMetricCriteria_TimeAggregation_STATUS `json:"timeAggregation,omitempty"`
}

func (*DynamicMetricCriteria_STATUS) AssignProperties_From_DynamicMetricCriteria_STATUS

func (criteria *DynamicMetricCriteria_STATUS) AssignProperties_From_DynamicMetricCriteria_STATUS(source *storage.DynamicMetricCriteria_STATUS) error

AssignProperties_From_DynamicMetricCriteria_STATUS populates our DynamicMetricCriteria_STATUS from the provided source DynamicMetricCriteria_STATUS

func (*DynamicMetricCriteria_STATUS) AssignProperties_To_DynamicMetricCriteria_STATUS

func (criteria *DynamicMetricCriteria_STATUS) AssignProperties_To_DynamicMetricCriteria_STATUS(destination *storage.DynamicMetricCriteria_STATUS) error

AssignProperties_To_DynamicMetricCriteria_STATUS populates the provided destination DynamicMetricCriteria_STATUS from our DynamicMetricCriteria_STATUS

func (*DynamicMetricCriteria_STATUS) DeepCopy

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

func (*DynamicMetricCriteria_STATUS) DeepCopyInto

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

func (*DynamicMetricCriteria_STATUS) NewEmptyARMValue

func (criteria *DynamicMetricCriteria_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DynamicMetricCriteria_STATUS) PopulateFromARM

func (criteria *DynamicMetricCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DynamicMetricCriteria_TimeAggregation

type DynamicMetricCriteria_TimeAggregation string

+kubebuilder:validation:Enum={"Average","Count","Maximum","Minimum","Total"}

type DynamicMetricCriteria_TimeAggregation_STATUS

type DynamicMetricCriteria_TimeAggregation_STATUS string

type DynamicThresholdFailingPeriods

type DynamicThresholdFailingPeriods struct {
	// +kubebuilder:validation:Required
	// MinFailingPeriodsToAlert: The number of violations to trigger an alert. Should be smaller or equal to
	// numberOfEvaluationPeriods.
	MinFailingPeriodsToAlert *float64 `json:"minFailingPeriodsToAlert,omitempty"`

	// +kubebuilder:validation:Required
	// NumberOfEvaluationPeriods: The number of aggregated lookback points. The lookback time window is calculated based on the
	// aggregation granularity (windowSize) and the selected number of aggregated points.
	NumberOfEvaluationPeriods *float64 `json:"numberOfEvaluationPeriods,omitempty"`
}

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (*DynamicThresholdFailingPeriods) AssignProperties_From_DynamicThresholdFailingPeriods

func (periods *DynamicThresholdFailingPeriods) AssignProperties_From_DynamicThresholdFailingPeriods(source *storage.DynamicThresholdFailingPeriods) error

AssignProperties_From_DynamicThresholdFailingPeriods populates our DynamicThresholdFailingPeriods from the provided source DynamicThresholdFailingPeriods

func (*DynamicThresholdFailingPeriods) AssignProperties_To_DynamicThresholdFailingPeriods

func (periods *DynamicThresholdFailingPeriods) AssignProperties_To_DynamicThresholdFailingPeriods(destination *storage.DynamicThresholdFailingPeriods) error

AssignProperties_To_DynamicThresholdFailingPeriods populates the provided destination DynamicThresholdFailingPeriods from our DynamicThresholdFailingPeriods

func (*DynamicThresholdFailingPeriods) ConvertToARM

func (periods *DynamicThresholdFailingPeriods) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*DynamicThresholdFailingPeriods) DeepCopy

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

func (*DynamicThresholdFailingPeriods) DeepCopyInto

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

func (*DynamicThresholdFailingPeriods) Initialize_From_DynamicThresholdFailingPeriods_STATUS

func (periods *DynamicThresholdFailingPeriods) Initialize_From_DynamicThresholdFailingPeriods_STATUS(source *DynamicThresholdFailingPeriods_STATUS) error

Initialize_From_DynamicThresholdFailingPeriods_STATUS populates our DynamicThresholdFailingPeriods from the provided source DynamicThresholdFailingPeriods_STATUS

func (*DynamicThresholdFailingPeriods) NewEmptyARMValue

func (periods *DynamicThresholdFailingPeriods) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DynamicThresholdFailingPeriods) PopulateFromARM

func (periods *DynamicThresholdFailingPeriods) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DynamicThresholdFailingPeriods_STATUS

type DynamicThresholdFailingPeriods_STATUS struct {
	// MinFailingPeriodsToAlert: The number of violations to trigger an alert. Should be smaller or equal to
	// numberOfEvaluationPeriods.
	MinFailingPeriodsToAlert *float64 `json:"minFailingPeriodsToAlert,omitempty"`

	// NumberOfEvaluationPeriods: The number of aggregated lookback points. The lookback time window is calculated based on the
	// aggregation granularity (windowSize) and the selected number of aggregated points.
	NumberOfEvaluationPeriods *float64 `json:"numberOfEvaluationPeriods,omitempty"`
}

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (*DynamicThresholdFailingPeriods_STATUS) AssignProperties_From_DynamicThresholdFailingPeriods_STATUS

func (periods *DynamicThresholdFailingPeriods_STATUS) AssignProperties_From_DynamicThresholdFailingPeriods_STATUS(source *storage.DynamicThresholdFailingPeriods_STATUS) error

AssignProperties_From_DynamicThresholdFailingPeriods_STATUS populates our DynamicThresholdFailingPeriods_STATUS from the provided source DynamicThresholdFailingPeriods_STATUS

func (*DynamicThresholdFailingPeriods_STATUS) AssignProperties_To_DynamicThresholdFailingPeriods_STATUS

func (periods *DynamicThresholdFailingPeriods_STATUS) AssignProperties_To_DynamicThresholdFailingPeriods_STATUS(destination *storage.DynamicThresholdFailingPeriods_STATUS) error

AssignProperties_To_DynamicThresholdFailingPeriods_STATUS populates the provided destination DynamicThresholdFailingPeriods_STATUS from our DynamicThresholdFailingPeriods_STATUS

func (*DynamicThresholdFailingPeriods_STATUS) DeepCopy

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

func (*DynamicThresholdFailingPeriods_STATUS) DeepCopyInto

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

func (*DynamicThresholdFailingPeriods_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DynamicThresholdFailingPeriods_STATUS) PopulateFromARM

func (periods *DynamicThresholdFailingPeriods_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlert

type MetricAlert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MetricAlert_Spec   `json:"spec,omitempty"`
	Status            MetricAlert_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}

func (*MetricAlert) AssignProperties_From_MetricAlert

func (alert *MetricAlert) AssignProperties_From_MetricAlert(source *storage.MetricAlert) error

AssignProperties_From_MetricAlert populates our MetricAlert from the provided source MetricAlert

func (*MetricAlert) AssignProperties_To_MetricAlert

func (alert *MetricAlert) AssignProperties_To_MetricAlert(destination *storage.MetricAlert) error

AssignProperties_To_MetricAlert populates the provided destination MetricAlert from our MetricAlert

func (*MetricAlert) AzureName

func (alert *MetricAlert) AzureName() string

AzureName returns the Azure name of the resource

func (*MetricAlert) ConfigMapDestinationExpressions

func (alert *MetricAlert) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*MetricAlert) ConvertFrom

func (alert *MetricAlert) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our MetricAlert from the provided hub MetricAlert

func (*MetricAlert) ConvertTo

func (alert *MetricAlert) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub MetricAlert from our MetricAlert

func (*MetricAlert) DeepCopy

func (in *MetricAlert) DeepCopy() *MetricAlert

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

func (*MetricAlert) DeepCopyInto

func (in *MetricAlert) DeepCopyInto(out *MetricAlert)

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

func (*MetricAlert) DeepCopyObject

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

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

func (*MetricAlert) Default

func (alert *MetricAlert) Default()

Default applies defaults to the MetricAlert resource

func (MetricAlert) GetAPIVersion

func (alert MetricAlert) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2018-03-01"

func (*MetricAlert) GetConditions

func (alert *MetricAlert) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*MetricAlert) GetResourceScope

func (alert *MetricAlert) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*MetricAlert) GetSpec

func (alert *MetricAlert) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*MetricAlert) GetStatus

func (alert *MetricAlert) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*MetricAlert) GetSupportedOperations

func (alert *MetricAlert) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*MetricAlert) GetType

func (alert *MetricAlert) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Insights/metricAlerts"

func (*MetricAlert) InitializeSpec

func (alert *MetricAlert) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*MetricAlert) NewEmptyStatus

func (alert *MetricAlert) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*MetricAlert) OriginalGVK

func (alert *MetricAlert) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*MetricAlert) Owner

func (alert *MetricAlert) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*MetricAlert) SecretDestinationExpressions

func (alert *MetricAlert) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*MetricAlert) SetConditions

func (alert *MetricAlert) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*MetricAlert) SetStatus

func (alert *MetricAlert) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*MetricAlert) ValidateCreate

func (alert *MetricAlert) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*MetricAlert) ValidateDelete

func (alert *MetricAlert) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*MetricAlert) ValidateUpdate

func (alert *MetricAlert) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type MetricAlertAction

type MetricAlertAction struct {
	// ActionGroupId: the id of the action group to use.
	ActionGroupId *string `json:"actionGroupId,omitempty"`

	// WebHookProperties: This field allows specifying custom properties, which would be appended to the alert payload sent as
	// input to the webhook.
	WebHookProperties map[string]string `json:"webHookProperties,omitempty"`
}

An alert action.

func (*MetricAlertAction) AssignProperties_From_MetricAlertAction

func (action *MetricAlertAction) AssignProperties_From_MetricAlertAction(source *storage.MetricAlertAction) error

AssignProperties_From_MetricAlertAction populates our MetricAlertAction from the provided source MetricAlertAction

func (*MetricAlertAction) AssignProperties_To_MetricAlertAction

func (action *MetricAlertAction) AssignProperties_To_MetricAlertAction(destination *storage.MetricAlertAction) error

AssignProperties_To_MetricAlertAction populates the provided destination MetricAlertAction from our MetricAlertAction

func (*MetricAlertAction) ConvertToARM

func (action *MetricAlertAction) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricAlertAction) DeepCopy

func (in *MetricAlertAction) DeepCopy() *MetricAlertAction

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

func (*MetricAlertAction) DeepCopyInto

func (in *MetricAlertAction) DeepCopyInto(out *MetricAlertAction)

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

func (*MetricAlertAction) Initialize_From_MetricAlertAction_STATUS

func (action *MetricAlertAction) Initialize_From_MetricAlertAction_STATUS(source *MetricAlertAction_STATUS) error

Initialize_From_MetricAlertAction_STATUS populates our MetricAlertAction from the provided source MetricAlertAction_STATUS

func (*MetricAlertAction) NewEmptyARMValue

func (action *MetricAlertAction) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertAction) PopulateFromARM

func (action *MetricAlertAction) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertAction_STATUS

type MetricAlertAction_STATUS struct {
	// ActionGroupId: the id of the action group to use.
	ActionGroupId *string `json:"actionGroupId,omitempty"`

	// WebHookProperties: This field allows specifying custom properties, which would be appended to the alert payload sent as
	// input to the webhook.
	WebHookProperties map[string]string `json:"webHookProperties,omitempty"`
}

An alert action.

func (*MetricAlertAction_STATUS) AssignProperties_From_MetricAlertAction_STATUS

func (action *MetricAlertAction_STATUS) AssignProperties_From_MetricAlertAction_STATUS(source *storage.MetricAlertAction_STATUS) error

AssignProperties_From_MetricAlertAction_STATUS populates our MetricAlertAction_STATUS from the provided source MetricAlertAction_STATUS

func (*MetricAlertAction_STATUS) AssignProperties_To_MetricAlertAction_STATUS

func (action *MetricAlertAction_STATUS) AssignProperties_To_MetricAlertAction_STATUS(destination *storage.MetricAlertAction_STATUS) error

AssignProperties_To_MetricAlertAction_STATUS populates the provided destination MetricAlertAction_STATUS from our MetricAlertAction_STATUS

func (*MetricAlertAction_STATUS) DeepCopy

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

func (*MetricAlertAction_STATUS) DeepCopyInto

func (in *MetricAlertAction_STATUS) DeepCopyInto(out *MetricAlertAction_STATUS)

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

func (*MetricAlertAction_STATUS) NewEmptyARMValue

func (action *MetricAlertAction_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertAction_STATUS) PopulateFromARM

func (action *MetricAlertAction_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertCriteria

type MetricAlertCriteria struct {
	// MicrosoftAzureMonitorMultipleResourceMultipleMetric: Mutually exclusive with all other properties
	MicrosoftAzureMonitorMultipleResourceMultipleMetric *MetricAlertMultipleResourceMultipleMetricCriteria `json:"microsoftAzureMonitorMultipleResourceMultipleMetricCriteria,omitempty"`

	// MicrosoftAzureMonitorSingleResourceMultipleMetric: Mutually exclusive with all other properties
	MicrosoftAzureMonitorSingleResourceMultipleMetric *MetricAlertSingleResourceMultipleMetricCriteria `json:"microsoftAzureMonitorSingleResourceMultipleMetricCriteria,omitempty"`

	// MicrosoftAzureMonitorWebtestLocationAvailability: Mutually exclusive with all other properties
	MicrosoftAzureMonitorWebtestLocationAvailability *WebtestLocationAvailabilityCriteria `json:"microsoftAzureMonitorWebtestLocationAvailabilityCriteria,omitempty"`
}

func (*MetricAlertCriteria) AssignProperties_From_MetricAlertCriteria

func (criteria *MetricAlertCriteria) AssignProperties_From_MetricAlertCriteria(source *storage.MetricAlertCriteria) error

AssignProperties_From_MetricAlertCriteria populates our MetricAlertCriteria from the provided source MetricAlertCriteria

func (*MetricAlertCriteria) AssignProperties_To_MetricAlertCriteria

func (criteria *MetricAlertCriteria) AssignProperties_To_MetricAlertCriteria(destination *storage.MetricAlertCriteria) error

AssignProperties_To_MetricAlertCriteria populates the provided destination MetricAlertCriteria from our MetricAlertCriteria

func (*MetricAlertCriteria) ConvertToARM

func (criteria *MetricAlertCriteria) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricAlertCriteria) DeepCopy

func (in *MetricAlertCriteria) DeepCopy() *MetricAlertCriteria

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

func (*MetricAlertCriteria) DeepCopyInto

func (in *MetricAlertCriteria) DeepCopyInto(out *MetricAlertCriteria)

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

func (*MetricAlertCriteria) Initialize_From_MetricAlertCriteria_STATUS

func (criteria *MetricAlertCriteria) Initialize_From_MetricAlertCriteria_STATUS(source *MetricAlertCriteria_STATUS) error

Initialize_From_MetricAlertCriteria_STATUS populates our MetricAlertCriteria from the provided source MetricAlertCriteria_STATUS

func (*MetricAlertCriteria) NewEmptyARMValue

func (criteria *MetricAlertCriteria) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertCriteria) PopulateFromARM

func (criteria *MetricAlertCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertCriteria_STATUS

type MetricAlertCriteria_STATUS struct {
	// MicrosoftAzureMonitorMultipleResourceMultipleMetric: Mutually exclusive with all other properties
	MicrosoftAzureMonitorMultipleResourceMultipleMetric *MetricAlertMultipleResourceMultipleMetricCriteria_STATUS `json:"microsoftAzureMonitorMultipleResourceMultipleMetricCriteria,omitempty"`

	// MicrosoftAzureMonitorSingleResourceMultipleMetric: Mutually exclusive with all other properties
	MicrosoftAzureMonitorSingleResourceMultipleMetric *MetricAlertSingleResourceMultipleMetricCriteria_STATUS `json:"microsoftAzureMonitorSingleResourceMultipleMetricCriteria,omitempty"`

	// MicrosoftAzureMonitorWebtestLocationAvailability: Mutually exclusive with all other properties
	MicrosoftAzureMonitorWebtestLocationAvailability *WebtestLocationAvailabilityCriteria_STATUS `json:"microsoftAzureMonitorWebtestLocationAvailabilityCriteria,omitempty"`
}

func (*MetricAlertCriteria_STATUS) AssignProperties_From_MetricAlertCriteria_STATUS

func (criteria *MetricAlertCriteria_STATUS) AssignProperties_From_MetricAlertCriteria_STATUS(source *storage.MetricAlertCriteria_STATUS) error

AssignProperties_From_MetricAlertCriteria_STATUS populates our MetricAlertCriteria_STATUS from the provided source MetricAlertCriteria_STATUS

func (*MetricAlertCriteria_STATUS) AssignProperties_To_MetricAlertCriteria_STATUS

func (criteria *MetricAlertCriteria_STATUS) AssignProperties_To_MetricAlertCriteria_STATUS(destination *storage.MetricAlertCriteria_STATUS) error

AssignProperties_To_MetricAlertCriteria_STATUS populates the provided destination MetricAlertCriteria_STATUS from our MetricAlertCriteria_STATUS

func (*MetricAlertCriteria_STATUS) DeepCopy

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

func (*MetricAlertCriteria_STATUS) DeepCopyInto

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

func (*MetricAlertCriteria_STATUS) NewEmptyARMValue

func (criteria *MetricAlertCriteria_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertCriteria_STATUS) PopulateFromARM

func (criteria *MetricAlertCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertList

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

+kubebuilder:object:root=true Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}

func (*MetricAlertList) DeepCopy

func (in *MetricAlertList) DeepCopy() *MetricAlertList

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

func (*MetricAlertList) DeepCopyInto

func (in *MetricAlertList) DeepCopyInto(out *MetricAlertList)

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

func (*MetricAlertList) DeepCopyObject

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

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

type MetricAlertMultipleResourceMultipleMetricCriteria

type MetricAlertMultipleResourceMultipleMetricCriteria struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// AllOf: the list of multiple metric criteria for this 'all of' operation.
	AllOf []MultiMetricCriteria `json:"allOf,omitempty"`

	// +kubebuilder:validation:Required
	// OdataType: specifies the type of the alert criteria.
	OdataType *MetricAlertMultipleResourceMultipleMetricCriteria_OdataType `json:"odata.type,omitempty"`
}

func (*MetricAlertMultipleResourceMultipleMetricCriteria) AssignProperties_From_MetricAlertMultipleResourceMultipleMetricCriteria

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria) AssignProperties_From_MetricAlertMultipleResourceMultipleMetricCriteria(source *storage.MetricAlertMultipleResourceMultipleMetricCriteria) error

AssignProperties_From_MetricAlertMultipleResourceMultipleMetricCriteria populates our MetricAlertMultipleResourceMultipleMetricCriteria from the provided source MetricAlertMultipleResourceMultipleMetricCriteria

func (*MetricAlertMultipleResourceMultipleMetricCriteria) AssignProperties_To_MetricAlertMultipleResourceMultipleMetricCriteria

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria) AssignProperties_To_MetricAlertMultipleResourceMultipleMetricCriteria(destination *storage.MetricAlertMultipleResourceMultipleMetricCriteria) error

AssignProperties_To_MetricAlertMultipleResourceMultipleMetricCriteria populates the provided destination MetricAlertMultipleResourceMultipleMetricCriteria from our MetricAlertMultipleResourceMultipleMetricCriteria

func (*MetricAlertMultipleResourceMultipleMetricCriteria) ConvertToARM

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricAlertMultipleResourceMultipleMetricCriteria) DeepCopy

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

func (*MetricAlertMultipleResourceMultipleMetricCriteria) DeepCopyInto

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

func (*MetricAlertMultipleResourceMultipleMetricCriteria) Initialize_From_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria) Initialize_From_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS(source *MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) error

Initialize_From_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS populates our MetricAlertMultipleResourceMultipleMetricCriteria from the provided source MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

func (*MetricAlertMultipleResourceMultipleMetricCriteria) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertMultipleResourceMultipleMetricCriteria) PopulateFromARM

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertMultipleResourceMultipleMetricCriteria_OdataType

type MetricAlertMultipleResourceMultipleMetricCriteria_OdataType string

+kubebuilder:validation:Enum={"Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria"}

type MetricAlertMultipleResourceMultipleMetricCriteria_OdataType_STATUS

type MetricAlertMultipleResourceMultipleMetricCriteria_OdataType_STATUS string

type MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

type MetricAlertMultipleResourceMultipleMetricCriteria_STATUS struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// AllOf: the list of multiple metric criteria for this 'all of' operation.
	AllOf []MultiMetricCriteria_STATUS `json:"allOf,omitempty"`

	// OdataType: specifies the type of the alert criteria.
	OdataType *MetricAlertMultipleResourceMultipleMetricCriteria_OdataType_STATUS `json:"odata.type,omitempty"`
}

func (*MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) AssignProperties_From_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) AssignProperties_From_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS(source *storage.MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) error

AssignProperties_From_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS populates our MetricAlertMultipleResourceMultipleMetricCriteria_STATUS from the provided source MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

func (*MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) AssignProperties_To_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) AssignProperties_To_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS(destination *storage.MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) error

AssignProperties_To_MetricAlertMultipleResourceMultipleMetricCriteria_STATUS populates the provided destination MetricAlertMultipleResourceMultipleMetricCriteria_STATUS from our MetricAlertMultipleResourceMultipleMetricCriteria_STATUS

func (*MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) DeepCopy

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

func (*MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) DeepCopyInto

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

func (*MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) PopulateFromARM

func (criteria *MetricAlertMultipleResourceMultipleMetricCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertOperatorSpec

type MetricAlertOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*MetricAlertOperatorSpec) AssignProperties_From_MetricAlertOperatorSpec

func (operator *MetricAlertOperatorSpec) AssignProperties_From_MetricAlertOperatorSpec(source *storage.MetricAlertOperatorSpec) error

AssignProperties_From_MetricAlertOperatorSpec populates our MetricAlertOperatorSpec from the provided source MetricAlertOperatorSpec

func (*MetricAlertOperatorSpec) AssignProperties_To_MetricAlertOperatorSpec

func (operator *MetricAlertOperatorSpec) AssignProperties_To_MetricAlertOperatorSpec(destination *storage.MetricAlertOperatorSpec) error

AssignProperties_To_MetricAlertOperatorSpec populates the provided destination MetricAlertOperatorSpec from our MetricAlertOperatorSpec

func (*MetricAlertOperatorSpec) DeepCopy

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

func (*MetricAlertOperatorSpec) DeepCopyInto

func (in *MetricAlertOperatorSpec) DeepCopyInto(out *MetricAlertOperatorSpec)

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

type MetricAlertSingleResourceMultipleMetricCriteria

type MetricAlertSingleResourceMultipleMetricCriteria struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// AllOf: The list of metric criteria for this 'all of' operation.
	AllOf []MetricCriteria `json:"allOf,omitempty"`

	// +kubebuilder:validation:Required
	// OdataType: specifies the type of the alert criteria.
	OdataType *MetricAlertSingleResourceMultipleMetricCriteria_OdataType `json:"odata.type,omitempty"`
}

func (*MetricAlertSingleResourceMultipleMetricCriteria) AssignProperties_From_MetricAlertSingleResourceMultipleMetricCriteria

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria) AssignProperties_From_MetricAlertSingleResourceMultipleMetricCriteria(source *storage.MetricAlertSingleResourceMultipleMetricCriteria) error

AssignProperties_From_MetricAlertSingleResourceMultipleMetricCriteria populates our MetricAlertSingleResourceMultipleMetricCriteria from the provided source MetricAlertSingleResourceMultipleMetricCriteria

func (*MetricAlertSingleResourceMultipleMetricCriteria) AssignProperties_To_MetricAlertSingleResourceMultipleMetricCriteria

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria) AssignProperties_To_MetricAlertSingleResourceMultipleMetricCriteria(destination *storage.MetricAlertSingleResourceMultipleMetricCriteria) error

AssignProperties_To_MetricAlertSingleResourceMultipleMetricCriteria populates the provided destination MetricAlertSingleResourceMultipleMetricCriteria from our MetricAlertSingleResourceMultipleMetricCriteria

func (*MetricAlertSingleResourceMultipleMetricCriteria) ConvertToARM

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricAlertSingleResourceMultipleMetricCriteria) DeepCopy

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

func (*MetricAlertSingleResourceMultipleMetricCriteria) DeepCopyInto

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

func (*MetricAlertSingleResourceMultipleMetricCriteria) Initialize_From_MetricAlertSingleResourceMultipleMetricCriteria_STATUS

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria) Initialize_From_MetricAlertSingleResourceMultipleMetricCriteria_STATUS(source *MetricAlertSingleResourceMultipleMetricCriteria_STATUS) error

Initialize_From_MetricAlertSingleResourceMultipleMetricCriteria_STATUS populates our MetricAlertSingleResourceMultipleMetricCriteria from the provided source MetricAlertSingleResourceMultipleMetricCriteria_STATUS

func (*MetricAlertSingleResourceMultipleMetricCriteria) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertSingleResourceMultipleMetricCriteria) PopulateFromARM

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlertSingleResourceMultipleMetricCriteria_OdataType

type MetricAlertSingleResourceMultipleMetricCriteria_OdataType string

+kubebuilder:validation:Enum={"Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"}

type MetricAlertSingleResourceMultipleMetricCriteria_OdataType_STATUS

type MetricAlertSingleResourceMultipleMetricCriteria_OdataType_STATUS string

type MetricAlertSingleResourceMultipleMetricCriteria_STATUS

type MetricAlertSingleResourceMultipleMetricCriteria_STATUS struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// AllOf: The list of metric criteria for this 'all of' operation.
	AllOf []MetricCriteria_STATUS `json:"allOf,omitempty"`

	// OdataType: specifies the type of the alert criteria.
	OdataType *MetricAlertSingleResourceMultipleMetricCriteria_OdataType_STATUS `json:"odata.type,omitempty"`
}

func (*MetricAlertSingleResourceMultipleMetricCriteria_STATUS) AssignProperties_From_MetricAlertSingleResourceMultipleMetricCriteria_STATUS

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria_STATUS) AssignProperties_From_MetricAlertSingleResourceMultipleMetricCriteria_STATUS(source *storage.MetricAlertSingleResourceMultipleMetricCriteria_STATUS) error

AssignProperties_From_MetricAlertSingleResourceMultipleMetricCriteria_STATUS populates our MetricAlertSingleResourceMultipleMetricCriteria_STATUS from the provided source MetricAlertSingleResourceMultipleMetricCriteria_STATUS

func (*MetricAlertSingleResourceMultipleMetricCriteria_STATUS) AssignProperties_To_MetricAlertSingleResourceMultipleMetricCriteria_STATUS

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria_STATUS) AssignProperties_To_MetricAlertSingleResourceMultipleMetricCriteria_STATUS(destination *storage.MetricAlertSingleResourceMultipleMetricCriteria_STATUS) error

AssignProperties_To_MetricAlertSingleResourceMultipleMetricCriteria_STATUS populates the provided destination MetricAlertSingleResourceMultipleMetricCriteria_STATUS from our MetricAlertSingleResourceMultipleMetricCriteria_STATUS

func (*MetricAlertSingleResourceMultipleMetricCriteria_STATUS) DeepCopy

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

func (*MetricAlertSingleResourceMultipleMetricCriteria_STATUS) DeepCopyInto

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

func (*MetricAlertSingleResourceMultipleMetricCriteria_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlertSingleResourceMultipleMetricCriteria_STATUS) PopulateFromARM

func (criteria *MetricAlertSingleResourceMultipleMetricCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlert_STATUS

type MetricAlert_STATUS struct {
	// Actions: the array of actions that are performed when the alert rule becomes active, and when an alert condition is
	// resolved.
	Actions []MetricAlertAction_STATUS `json:"actions,omitempty"`

	// AutoMitigate: the flag that indicates whether the alert should be auto resolved or not. The default is true.
	AutoMitigate *bool `json:"autoMitigate,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Criteria: defines the specific alert criteria information.
	Criteria *MetricAlertCriteria_STATUS `json:"criteria,omitempty"`

	// Description: the description of the metric alert that will be included in the alert email.
	Description *string `json:"description,omitempty"`

	// Enabled: the flag that indicates whether the metric alert is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// EvaluationFrequency: how often the metric alert is evaluated represented in ISO 8601 duration format.
	EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`

	// Id: Azure resource Id
	Id *string `json:"id,omitempty"`

	// IsMigrated: the value indicating whether this alert rule is migrated.
	IsMigrated *bool `json:"isMigrated,omitempty"`

	// LastUpdatedTime: Last time the rule was updated in ISO8601 format.
	LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// Name: Azure resource name
	Name *string `json:"name,omitempty"`

	// Scopes: the list of resource id's that this metric alert is scoped to.
	Scopes []string `json:"scopes,omitempty"`

	// Severity: Alert severity {0, 1, 2, 3, 4}
	Severity *int `json:"severity,omitempty"`

	// Tags: Resource tags
	Tags map[string]string `json:"tags,omitempty"`

	// TargetResourceRegion: the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope
	// contains a subscription, resource group, or more than one resource.
	TargetResourceRegion *string `json:"targetResourceRegion,omitempty"`

	// TargetResourceType: the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the
	// scope contains a subscription, resource group, or more than one resource.
	TargetResourceType *string `json:"targetResourceType,omitempty"`

	// Type: Azure resource type
	Type *string `json:"type,omitempty"`

	// WindowSize: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the
	// threshold.
	WindowSize *string `json:"windowSize,omitempty"`
}

func (*MetricAlert_STATUS) AssignProperties_From_MetricAlert_STATUS

func (alert *MetricAlert_STATUS) AssignProperties_From_MetricAlert_STATUS(source *storage.MetricAlert_STATUS) error

AssignProperties_From_MetricAlert_STATUS populates our MetricAlert_STATUS from the provided source MetricAlert_STATUS

func (*MetricAlert_STATUS) AssignProperties_To_MetricAlert_STATUS

func (alert *MetricAlert_STATUS) AssignProperties_To_MetricAlert_STATUS(destination *storage.MetricAlert_STATUS) error

AssignProperties_To_MetricAlert_STATUS populates the provided destination MetricAlert_STATUS from our MetricAlert_STATUS

func (*MetricAlert_STATUS) ConvertStatusFrom

func (alert *MetricAlert_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our MetricAlert_STATUS from the provided source

func (*MetricAlert_STATUS) ConvertStatusTo

func (alert *MetricAlert_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our MetricAlert_STATUS

func (*MetricAlert_STATUS) DeepCopy

func (in *MetricAlert_STATUS) DeepCopy() *MetricAlert_STATUS

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

func (*MetricAlert_STATUS) DeepCopyInto

func (in *MetricAlert_STATUS) DeepCopyInto(out *MetricAlert_STATUS)

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

func (*MetricAlert_STATUS) NewEmptyARMValue

func (alert *MetricAlert_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlert_STATUS) PopulateFromARM

func (alert *MetricAlert_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricAlert_Spec

type MetricAlert_Spec struct {
	// Actions: the array of actions that are performed when the alert rule becomes active, and when an alert condition is
	// resolved.
	Actions []MetricAlertAction `json:"actions,omitempty"`

	// AutoMitigate: the flag that indicates whether the alert should be auto resolved or not. The default is true.
	AutoMitigate *bool `json:"autoMitigate,omitempty"`

	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// +kubebuilder:validation:Required
	// Criteria: defines the specific alert criteria information.
	Criteria *MetricAlertCriteria `json:"criteria,omitempty"`

	// Description: the description of the metric alert that will be included in the alert email.
	Description *string `json:"description,omitempty"`

	// +kubebuilder:validation:Required
	// Enabled: the flag that indicates whether the metric alert is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// +kubebuilder:validation:Required
	// EvaluationFrequency: how often the metric alert is evaluated represented in ISO 8601 duration format.
	EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`

	// +kubebuilder:validation:Required
	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *MetricAlertOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`

	// +kubebuilder:validation:Required
	// ScopesReferences: the list of resource id's that this metric alert is scoped to.
	ScopesReferences []genruntime.ResourceReference `armReference:"Scopes" json:"scopesReferences,omitempty"`

	// +kubebuilder:validation:Required
	// Severity: Alert severity {0, 1, 2, 3, 4}
	Severity *int `json:"severity,omitempty"`

	// Tags: Resource tags
	Tags map[string]string `json:"tags,omitempty"`

	// TargetResourceRegion: the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope
	// contains a subscription, resource group, or more than one resource.
	TargetResourceRegion *string `json:"targetResourceRegion,omitempty"`

	// TargetResourceType: the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the
	// scope contains a subscription, resource group, or more than one resource.
	TargetResourceType *string `json:"targetResourceType,omitempty"`

	// +kubebuilder:validation:Required
	// WindowSize: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the
	// threshold.
	WindowSize *string `json:"windowSize,omitempty"`
}

func (*MetricAlert_Spec) AssignProperties_From_MetricAlert_Spec

func (alert *MetricAlert_Spec) AssignProperties_From_MetricAlert_Spec(source *storage.MetricAlert_Spec) error

AssignProperties_From_MetricAlert_Spec populates our MetricAlert_Spec from the provided source MetricAlert_Spec

func (*MetricAlert_Spec) AssignProperties_To_MetricAlert_Spec

func (alert *MetricAlert_Spec) AssignProperties_To_MetricAlert_Spec(destination *storage.MetricAlert_Spec) error

AssignProperties_To_MetricAlert_Spec populates the provided destination MetricAlert_Spec from our MetricAlert_Spec

func (*MetricAlert_Spec) ConvertSpecFrom

func (alert *MetricAlert_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our MetricAlert_Spec from the provided source

func (*MetricAlert_Spec) ConvertSpecTo

func (alert *MetricAlert_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our MetricAlert_Spec

func (*MetricAlert_Spec) ConvertToARM

func (alert *MetricAlert_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricAlert_Spec) DeepCopy

func (in *MetricAlert_Spec) DeepCopy() *MetricAlert_Spec

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

func (*MetricAlert_Spec) DeepCopyInto

func (in *MetricAlert_Spec) DeepCopyInto(out *MetricAlert_Spec)

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

func (*MetricAlert_Spec) Initialize_From_MetricAlert_STATUS

func (alert *MetricAlert_Spec) Initialize_From_MetricAlert_STATUS(source *MetricAlert_STATUS) error

Initialize_From_MetricAlert_STATUS populates our MetricAlert_Spec from the provided source MetricAlert_STATUS

func (*MetricAlert_Spec) NewEmptyARMValue

func (alert *MetricAlert_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricAlert_Spec) OriginalVersion

func (alert *MetricAlert_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*MetricAlert_Spec) PopulateFromARM

func (alert *MetricAlert_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*MetricAlert_Spec) SetAzureName

func (alert *MetricAlert_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type MetricCriteria

type MetricCriteria struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// +kubebuilder:validation:Required
	// CriterionType: Specifies the type of threshold criteria
	CriterionType *MetricCriteria_CriterionType `json:"criterionType,omitempty"`

	// Dimensions: List of dimension conditions.
	Dimensions []MetricDimension `json:"dimensions,omitempty"`

	// +kubebuilder:validation:Required
	// MetricName: Name of the metric.
	MetricName *string `json:"metricName,omitempty"`

	// MetricNamespace: Namespace of the metric.
	MetricNamespace *string `json:"metricNamespace,omitempty"`

	// +kubebuilder:validation:Required
	// Name: Name of the criteria.
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: the criteria operator.
	Operator *MetricCriteria_Operator `json:"operator,omitempty"`

	// SkipMetricValidation: Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric
	// validation to be skipped.
	SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`

	// +kubebuilder:validation:Required
	// Threshold: the criteria threshold value that activates the alert.
	Threshold *float64 `json:"threshold,omitempty"`

	// +kubebuilder:validation:Required
	// TimeAggregation: the criteria time aggregation types.
	TimeAggregation *MetricCriteria_TimeAggregation `json:"timeAggregation,omitempty"`
}

func (*MetricCriteria) AssignProperties_From_MetricCriteria

func (criteria *MetricCriteria) AssignProperties_From_MetricCriteria(source *storage.MetricCriteria) error

AssignProperties_From_MetricCriteria populates our MetricCriteria from the provided source MetricCriteria

func (*MetricCriteria) AssignProperties_To_MetricCriteria

func (criteria *MetricCriteria) AssignProperties_To_MetricCriteria(destination *storage.MetricCriteria) error

AssignProperties_To_MetricCriteria populates the provided destination MetricCriteria from our MetricCriteria

func (*MetricCriteria) ConvertToARM

func (criteria *MetricCriteria) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricCriteria) DeepCopy

func (in *MetricCriteria) DeepCopy() *MetricCriteria

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

func (*MetricCriteria) DeepCopyInto

func (in *MetricCriteria) DeepCopyInto(out *MetricCriteria)

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

func (*MetricCriteria) Initialize_From_MetricCriteria_STATUS

func (criteria *MetricCriteria) Initialize_From_MetricCriteria_STATUS(source *MetricCriteria_STATUS) error

Initialize_From_MetricCriteria_STATUS populates our MetricCriteria from the provided source MetricCriteria_STATUS

func (*MetricCriteria) NewEmptyARMValue

func (criteria *MetricCriteria) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricCriteria) PopulateFromARM

func (criteria *MetricCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricCriteria_CriterionType

type MetricCriteria_CriterionType string

+kubebuilder:validation:Enum={"StaticThresholdCriterion"}

type MetricCriteria_CriterionType_STATUS

type MetricCriteria_CriterionType_STATUS string

type MetricCriteria_Operator

type MetricCriteria_Operator string

+kubebuilder:validation:Enum={"Equals","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual"}

type MetricCriteria_Operator_STATUS

type MetricCriteria_Operator_STATUS string

type MetricCriteria_STATUS

type MetricCriteria_STATUS struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// CriterionType: Specifies the type of threshold criteria
	CriterionType *MetricCriteria_CriterionType_STATUS `json:"criterionType,omitempty"`

	// Dimensions: List of dimension conditions.
	Dimensions []MetricDimension_STATUS `json:"dimensions,omitempty"`

	// MetricName: Name of the metric.
	MetricName *string `json:"metricName,omitempty"`

	// MetricNamespace: Namespace of the metric.
	MetricNamespace *string `json:"metricNamespace,omitempty"`

	// Name: Name of the criteria.
	Name *string `json:"name,omitempty"`

	// Operator: the criteria operator.
	Operator *MetricCriteria_Operator_STATUS `json:"operator,omitempty"`

	// SkipMetricValidation: Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric
	// validation to be skipped.
	SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`

	// Threshold: the criteria threshold value that activates the alert.
	Threshold *float64 `json:"threshold,omitempty"`

	// TimeAggregation: the criteria time aggregation types.
	TimeAggregation *MetricCriteria_TimeAggregation_STATUS `json:"timeAggregation,omitempty"`
}

func (*MetricCriteria_STATUS) AssignProperties_From_MetricCriteria_STATUS

func (criteria *MetricCriteria_STATUS) AssignProperties_From_MetricCriteria_STATUS(source *storage.MetricCriteria_STATUS) error

AssignProperties_From_MetricCriteria_STATUS populates our MetricCriteria_STATUS from the provided source MetricCriteria_STATUS

func (*MetricCriteria_STATUS) AssignProperties_To_MetricCriteria_STATUS

func (criteria *MetricCriteria_STATUS) AssignProperties_To_MetricCriteria_STATUS(destination *storage.MetricCriteria_STATUS) error

AssignProperties_To_MetricCriteria_STATUS populates the provided destination MetricCriteria_STATUS from our MetricCriteria_STATUS

func (*MetricCriteria_STATUS) DeepCopy

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

func (*MetricCriteria_STATUS) DeepCopyInto

func (in *MetricCriteria_STATUS) DeepCopyInto(out *MetricCriteria_STATUS)

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

func (*MetricCriteria_STATUS) NewEmptyARMValue

func (criteria *MetricCriteria_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricCriteria_STATUS) PopulateFromARM

func (criteria *MetricCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricCriteria_TimeAggregation

type MetricCriteria_TimeAggregation string

+kubebuilder:validation:Enum={"Average","Count","Maximum","Minimum","Total"}

type MetricCriteria_TimeAggregation_STATUS

type MetricCriteria_TimeAggregation_STATUS string

type MetricDimension

type MetricDimension struct {
	// +kubebuilder:validation:Required
	// Name: Name of the dimension.
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: the dimension operator. Only 'Include' and 'Exclude' are supported
	Operator *string `json:"operator,omitempty"`

	// +kubebuilder:validation:Required
	// Values: list of dimension values.
	Values []string `json:"values,omitempty"`
}

Specifies a metric dimension.

func (*MetricDimension) AssignProperties_From_MetricDimension

func (dimension *MetricDimension) AssignProperties_From_MetricDimension(source *storage.MetricDimension) error

AssignProperties_From_MetricDimension populates our MetricDimension from the provided source MetricDimension

func (*MetricDimension) AssignProperties_To_MetricDimension

func (dimension *MetricDimension) AssignProperties_To_MetricDimension(destination *storage.MetricDimension) error

AssignProperties_To_MetricDimension populates the provided destination MetricDimension from our MetricDimension

func (*MetricDimension) ConvertToARM

func (dimension *MetricDimension) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricDimension) DeepCopy

func (in *MetricDimension) DeepCopy() *MetricDimension

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

func (*MetricDimension) DeepCopyInto

func (in *MetricDimension) DeepCopyInto(out *MetricDimension)

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

func (*MetricDimension) Initialize_From_MetricDimension_STATUS

func (dimension *MetricDimension) Initialize_From_MetricDimension_STATUS(source *MetricDimension_STATUS) error

Initialize_From_MetricDimension_STATUS populates our MetricDimension from the provided source MetricDimension_STATUS

func (*MetricDimension) NewEmptyARMValue

func (dimension *MetricDimension) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricDimension) PopulateFromARM

func (dimension *MetricDimension) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricDimension_STATUS

type MetricDimension_STATUS struct {
	// Name: Name of the dimension.
	Name *string `json:"name,omitempty"`

	// Operator: the dimension operator. Only 'Include' and 'Exclude' are supported
	Operator *string `json:"operator,omitempty"`

	// Values: list of dimension values.
	Values []string `json:"values,omitempty"`
}

Specifies a metric dimension.

func (*MetricDimension_STATUS) AssignProperties_From_MetricDimension_STATUS

func (dimension *MetricDimension_STATUS) AssignProperties_From_MetricDimension_STATUS(source *storage.MetricDimension_STATUS) error

AssignProperties_From_MetricDimension_STATUS populates our MetricDimension_STATUS from the provided source MetricDimension_STATUS

func (*MetricDimension_STATUS) AssignProperties_To_MetricDimension_STATUS

func (dimension *MetricDimension_STATUS) AssignProperties_To_MetricDimension_STATUS(destination *storage.MetricDimension_STATUS) error

AssignProperties_To_MetricDimension_STATUS populates the provided destination MetricDimension_STATUS from our MetricDimension_STATUS

func (*MetricDimension_STATUS) DeepCopy

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

func (*MetricDimension_STATUS) DeepCopyInto

func (in *MetricDimension_STATUS) DeepCopyInto(out *MetricDimension_STATUS)

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

func (*MetricDimension_STATUS) NewEmptyARMValue

func (dimension *MetricDimension_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricDimension_STATUS) PopulateFromARM

func (dimension *MetricDimension_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MultiMetricCriteria

type MultiMetricCriteria struct {
	// Dynamic: Mutually exclusive with all other properties
	Dynamic *DynamicMetricCriteria `json:"dynamicThresholdCriterion,omitempty"`

	// Static: Mutually exclusive with all other properties
	Static *MetricCriteria `json:"staticThresholdCriterion,omitempty"`
}

func (*MultiMetricCriteria) AssignProperties_From_MultiMetricCriteria

func (criteria *MultiMetricCriteria) AssignProperties_From_MultiMetricCriteria(source *storage.MultiMetricCriteria) error

AssignProperties_From_MultiMetricCriteria populates our MultiMetricCriteria from the provided source MultiMetricCriteria

func (*MultiMetricCriteria) AssignProperties_To_MultiMetricCriteria

func (criteria *MultiMetricCriteria) AssignProperties_To_MultiMetricCriteria(destination *storage.MultiMetricCriteria) error

AssignProperties_To_MultiMetricCriteria populates the provided destination MultiMetricCriteria from our MultiMetricCriteria

func (*MultiMetricCriteria) ConvertToARM

func (criteria *MultiMetricCriteria) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MultiMetricCriteria) DeepCopy

func (in *MultiMetricCriteria) DeepCopy() *MultiMetricCriteria

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

func (*MultiMetricCriteria) DeepCopyInto

func (in *MultiMetricCriteria) DeepCopyInto(out *MultiMetricCriteria)

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

func (*MultiMetricCriteria) Initialize_From_MultiMetricCriteria_STATUS

func (criteria *MultiMetricCriteria) Initialize_From_MultiMetricCriteria_STATUS(source *MultiMetricCriteria_STATUS) error

Initialize_From_MultiMetricCriteria_STATUS populates our MultiMetricCriteria from the provided source MultiMetricCriteria_STATUS

func (*MultiMetricCriteria) NewEmptyARMValue

func (criteria *MultiMetricCriteria) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MultiMetricCriteria) PopulateFromARM

func (criteria *MultiMetricCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MultiMetricCriteria_STATUS

type MultiMetricCriteria_STATUS struct {
	// Dynamic: Mutually exclusive with all other properties
	Dynamic *DynamicMetricCriteria_STATUS `json:"dynamicThresholdCriterion,omitempty"`

	// Static: Mutually exclusive with all other properties
	Static *MetricCriteria_STATUS `json:"staticThresholdCriterion,omitempty"`
}

func (*MultiMetricCriteria_STATUS) AssignProperties_From_MultiMetricCriteria_STATUS

func (criteria *MultiMetricCriteria_STATUS) AssignProperties_From_MultiMetricCriteria_STATUS(source *storage.MultiMetricCriteria_STATUS) error

AssignProperties_From_MultiMetricCriteria_STATUS populates our MultiMetricCriteria_STATUS from the provided source MultiMetricCriteria_STATUS

func (*MultiMetricCriteria_STATUS) AssignProperties_To_MultiMetricCriteria_STATUS

func (criteria *MultiMetricCriteria_STATUS) AssignProperties_To_MultiMetricCriteria_STATUS(destination *storage.MultiMetricCriteria_STATUS) error

AssignProperties_To_MultiMetricCriteria_STATUS populates the provided destination MultiMetricCriteria_STATUS from our MultiMetricCriteria_STATUS

func (*MultiMetricCriteria_STATUS) DeepCopy

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

func (*MultiMetricCriteria_STATUS) DeepCopyInto

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

func (*MultiMetricCriteria_STATUS) NewEmptyARMValue

func (criteria *MultiMetricCriteria_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MultiMetricCriteria_STATUS) PopulateFromARM

func (criteria *MultiMetricCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebtestLocationAvailabilityCriteria

type WebtestLocationAvailabilityCriteria struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// +kubebuilder:validation:Required
	// ComponentReference: The Application Insights resource Id.
	ComponentReference *genruntime.ResourceReference `armReference:"ComponentId" json:"componentReference,omitempty"`

	// +kubebuilder:validation:Required
	// FailedLocationCount: The number of failed locations.
	FailedLocationCount *float64 `json:"failedLocationCount,omitempty"`

	// +kubebuilder:validation:Required
	// OdataType: specifies the type of the alert criteria.
	OdataType *WebtestLocationAvailabilityCriteria_OdataType `json:"odata.type,omitempty"`

	// +kubebuilder:validation:Required
	// WebTestId: The Application Insights web test Id.
	WebTestId *string `json:"webTestId,omitempty"`
}

func (*WebtestLocationAvailabilityCriteria) AssignProperties_From_WebtestLocationAvailabilityCriteria

func (criteria *WebtestLocationAvailabilityCriteria) AssignProperties_From_WebtestLocationAvailabilityCriteria(source *storage.WebtestLocationAvailabilityCriteria) error

AssignProperties_From_WebtestLocationAvailabilityCriteria populates our WebtestLocationAvailabilityCriteria from the provided source WebtestLocationAvailabilityCriteria

func (*WebtestLocationAvailabilityCriteria) AssignProperties_To_WebtestLocationAvailabilityCriteria

func (criteria *WebtestLocationAvailabilityCriteria) AssignProperties_To_WebtestLocationAvailabilityCriteria(destination *storage.WebtestLocationAvailabilityCriteria) error

AssignProperties_To_WebtestLocationAvailabilityCriteria populates the provided destination WebtestLocationAvailabilityCriteria from our WebtestLocationAvailabilityCriteria

func (*WebtestLocationAvailabilityCriteria) ConvertToARM

func (criteria *WebtestLocationAvailabilityCriteria) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebtestLocationAvailabilityCriteria) DeepCopy

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

func (*WebtestLocationAvailabilityCriteria) DeepCopyInto

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

func (*WebtestLocationAvailabilityCriteria) Initialize_From_WebtestLocationAvailabilityCriteria_STATUS

func (criteria *WebtestLocationAvailabilityCriteria) Initialize_From_WebtestLocationAvailabilityCriteria_STATUS(source *WebtestLocationAvailabilityCriteria_STATUS) error

Initialize_From_WebtestLocationAvailabilityCriteria_STATUS populates our WebtestLocationAvailabilityCriteria from the provided source WebtestLocationAvailabilityCriteria_STATUS

func (*WebtestLocationAvailabilityCriteria) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebtestLocationAvailabilityCriteria) PopulateFromARM

func (criteria *WebtestLocationAvailabilityCriteria) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebtestLocationAvailabilityCriteria_OdataType

type WebtestLocationAvailabilityCriteria_OdataType string

+kubebuilder:validation:Enum={"Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"}

type WebtestLocationAvailabilityCriteria_OdataType_STATUS

type WebtestLocationAvailabilityCriteria_OdataType_STATUS string

type WebtestLocationAvailabilityCriteria_STATUS

type WebtestLocationAvailabilityCriteria_STATUS struct {
	AdditionalProperties map[string]v1.JSON `json:"additionalProperties,omitempty"`

	// ComponentId: The Application Insights resource Id.
	ComponentId *string `json:"componentId,omitempty"`

	// FailedLocationCount: The number of failed locations.
	FailedLocationCount *float64 `json:"failedLocationCount,omitempty"`

	// OdataType: specifies the type of the alert criteria.
	OdataType *WebtestLocationAvailabilityCriteria_OdataType_STATUS `json:"odata.type,omitempty"`

	// WebTestId: The Application Insights web test Id.
	WebTestId *string `json:"webTestId,omitempty"`
}

func (*WebtestLocationAvailabilityCriteria_STATUS) AssignProperties_From_WebtestLocationAvailabilityCriteria_STATUS

func (criteria *WebtestLocationAvailabilityCriteria_STATUS) AssignProperties_From_WebtestLocationAvailabilityCriteria_STATUS(source *storage.WebtestLocationAvailabilityCriteria_STATUS) error

AssignProperties_From_WebtestLocationAvailabilityCriteria_STATUS populates our WebtestLocationAvailabilityCriteria_STATUS from the provided source WebtestLocationAvailabilityCriteria_STATUS

func (*WebtestLocationAvailabilityCriteria_STATUS) AssignProperties_To_WebtestLocationAvailabilityCriteria_STATUS

func (criteria *WebtestLocationAvailabilityCriteria_STATUS) AssignProperties_To_WebtestLocationAvailabilityCriteria_STATUS(destination *storage.WebtestLocationAvailabilityCriteria_STATUS) error

AssignProperties_To_WebtestLocationAvailabilityCriteria_STATUS populates the provided destination WebtestLocationAvailabilityCriteria_STATUS from our WebtestLocationAvailabilityCriteria_STATUS

func (*WebtestLocationAvailabilityCriteria_STATUS) DeepCopy

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

func (*WebtestLocationAvailabilityCriteria_STATUS) DeepCopyInto

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

func (*WebtestLocationAvailabilityCriteria_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebtestLocationAvailabilityCriteria_STATUS) PopulateFromARM

func (criteria *WebtestLocationAvailabilityCriteria_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Package storage contains API Schema definitions for the insights storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=insights.azure.com +versionName=v1api20180301storage
Package storage contains API Schema definitions for the insights storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=insights.azure.com +versionName=v1api20180301storage

Jump to

Keyboard shortcuts

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