v1api20220615

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

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

Package v1api20220615 contains API Schema definitions for the insights v1api20220615 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=v1api20220615

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

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

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

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

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

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

Index

Constants

View Source
const (
	ScheduledQueryRule_Kind_Spec_LogAlert    = ScheduledQueryRule_Kind_Spec("LogAlert")
	ScheduledQueryRule_Kind_Spec_LogToMetric = ScheduledQueryRule_Kind_Spec("LogToMetric")
)
View Source
const (
	ScheduledQueryRule_Kind_STATUS_LogAlert    = ScheduledQueryRule_Kind_STATUS("LogAlert")
	ScheduledQueryRule_Kind_STATUS_LogToMetric = ScheduledQueryRule_Kind_STATUS("LogToMetric")
)
View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const (
	ScheduledQueryRuleProperties_Severity_0 = ScheduledQueryRuleProperties_Severity(0)
	ScheduledQueryRuleProperties_Severity_1 = ScheduledQueryRuleProperties_Severity(1)
	ScheduledQueryRuleProperties_Severity_2 = ScheduledQueryRuleProperties_Severity(2)
	ScheduledQueryRuleProperties_Severity_3 = ScheduledQueryRuleProperties_Severity(3)
	ScheduledQueryRuleProperties_Severity_4 = ScheduledQueryRuleProperties_Severity(4)
)
View Source
const (
	ScheduledQueryRuleProperties_Severity_STATUS_0 = ScheduledQueryRuleProperties_Severity_STATUS(0)
	ScheduledQueryRuleProperties_Severity_STATUS_1 = ScheduledQueryRuleProperties_Severity_STATUS(1)
	ScheduledQueryRuleProperties_Severity_STATUS_2 = ScheduledQueryRuleProperties_Severity_STATUS(2)
	ScheduledQueryRuleProperties_Severity_STATUS_3 = ScheduledQueryRuleProperties_Severity_STATUS(3)
	ScheduledQueryRuleProperties_Severity_STATUS_4 = ScheduledQueryRuleProperties_Severity_STATUS(4)
)
View Source
const (
	Condition_Operator_Equals             = Condition_Operator("Equals")
	Condition_Operator_GreaterThan        = Condition_Operator("GreaterThan")
	Condition_Operator_GreaterThanOrEqual = Condition_Operator("GreaterThanOrEqual")
	Condition_Operator_LessThan           = Condition_Operator("LessThan")
	Condition_Operator_LessThanOrEqual    = Condition_Operator("LessThanOrEqual")
)
View Source
const (
	Condition_Operator_STATUS_Equals             = Condition_Operator_STATUS("Equals")
	Condition_Operator_STATUS_GreaterThan        = Condition_Operator_STATUS("GreaterThan")
	Condition_Operator_STATUS_GreaterThanOrEqual = Condition_Operator_STATUS("GreaterThanOrEqual")
	Condition_Operator_STATUS_LessThan           = Condition_Operator_STATUS("LessThan")
	Condition_Operator_STATUS_LessThanOrEqual    = Condition_Operator_STATUS("LessThanOrEqual")
)
View Source
const (
	Condition_TimeAggregation_Average = Condition_TimeAggregation("Average")
	Condition_TimeAggregation_Count   = Condition_TimeAggregation("Count")
	Condition_TimeAggregation_Maximum = Condition_TimeAggregation("Maximum")
	Condition_TimeAggregation_Minimum = Condition_TimeAggregation("Minimum")
	Condition_TimeAggregation_Total   = Condition_TimeAggregation("Total")
)
View Source
const (
	Condition_TimeAggregation_STATUS_Average = Condition_TimeAggregation_STATUS("Average")
	Condition_TimeAggregation_STATUS_Count   = Condition_TimeAggregation_STATUS("Count")
	Condition_TimeAggregation_STATUS_Maximum = Condition_TimeAggregation_STATUS("Maximum")
	Condition_TimeAggregation_STATUS_Minimum = Condition_TimeAggregation_STATUS("Minimum")
	Condition_TimeAggregation_STATUS_Total   = Condition_TimeAggregation_STATUS("Total")
)
View Source
const (
	Dimension_Operator_Exclude = Dimension_Operator("Exclude")
	Dimension_Operator_Include = Dimension_Operator("Include")
)
View Source
const (
	Dimension_Operator_STATUS_Exclude = Dimension_Operator_STATUS("Exclude")
	Dimension_Operator_STATUS_Include = Dimension_Operator_STATUS("Include")
)
View Source
const (
	WebTestProperties_Kind_Multistep = WebTestProperties_Kind("multistep")
	WebTestProperties_Kind_Ping      = WebTestProperties_Kind("ping")
	WebTestProperties_Kind_Standard  = WebTestProperties_Kind("standard")
)
View Source
const (
	WebTestProperties_Kind_STATUS_Multistep = WebTestProperties_Kind_STATUS("multistep")
	WebTestProperties_Kind_STATUS_Ping      = WebTestProperties_Kind_STATUS("ping")
	WebTestProperties_Kind_STATUS_Standard  = WebTestProperties_Kind_STATUS("standard")
)
View Source
const APIVersion_Value = APIVersion("2022-06-15")

Variables

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

	// 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={"2022-06-15"}

type Actions

type Actions struct {
	// ActionGroupsReferences: Action Group resource Ids to invoke when the alert fires.
	ActionGroupsReferences []genruntime.ResourceReference `armReference:"ActionGroups" json:"actionGroupsReferences,omitempty"`

	// CustomProperties: The properties of an alert payload.
	CustomProperties map[string]string `json:"customProperties,omitempty"`
}

Actions to invoke when the alert fires.

func (*Actions) AssignProperties_From_Actions

func (actions *Actions) AssignProperties_From_Actions(source *v20220615s.Actions) error

AssignProperties_From_Actions populates our Actions from the provided source Actions

func (*Actions) AssignProperties_To_Actions

func (actions *Actions) AssignProperties_To_Actions(destination *v20220615s.Actions) error

AssignProperties_To_Actions populates the provided destination Actions from our Actions

func (*Actions) ConvertToARM

func (actions *Actions) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Actions) DeepCopy

func (in *Actions) DeepCopy() *Actions

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

func (*Actions) DeepCopyInto

func (in *Actions) DeepCopyInto(out *Actions)

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

func (*Actions) Initialize_From_Actions_STATUS

func (actions *Actions) Initialize_From_Actions_STATUS(source *Actions_STATUS) error

Initialize_From_Actions_STATUS populates our Actions from the provided source Actions_STATUS

func (*Actions) NewEmptyARMValue

func (actions *Actions) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Actions) PopulateFromARM

func (actions *Actions) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Actions_ARM

type Actions_ARM struct {
	ActionGroups []string `json:"actionGroups,omitempty"`

	// CustomProperties: The properties of an alert payload.
	CustomProperties map[string]string `json:"customProperties,omitempty"`
}

Actions to invoke when the alert fires.

func (*Actions_ARM) DeepCopy

func (in *Actions_ARM) DeepCopy() *Actions_ARM

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

func (*Actions_ARM) DeepCopyInto

func (in *Actions_ARM) DeepCopyInto(out *Actions_ARM)

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

type Actions_STATUS

type Actions_STATUS struct {
	// ActionGroups: Action Group resource Ids to invoke when the alert fires.
	ActionGroups []string `json:"actionGroups,omitempty"`

	// CustomProperties: The properties of an alert payload.
	CustomProperties map[string]string `json:"customProperties,omitempty"`
}

Actions to invoke when the alert fires.

func (*Actions_STATUS) AssignProperties_From_Actions_STATUS

func (actions *Actions_STATUS) AssignProperties_From_Actions_STATUS(source *v20220615s.Actions_STATUS) error

AssignProperties_From_Actions_STATUS populates our Actions_STATUS from the provided source Actions_STATUS

func (*Actions_STATUS) AssignProperties_To_Actions_STATUS

func (actions *Actions_STATUS) AssignProperties_To_Actions_STATUS(destination *v20220615s.Actions_STATUS) error

AssignProperties_To_Actions_STATUS populates the provided destination Actions_STATUS from our Actions_STATUS

func (*Actions_STATUS) DeepCopy

func (in *Actions_STATUS) DeepCopy() *Actions_STATUS

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

func (*Actions_STATUS) DeepCopyInto

func (in *Actions_STATUS) DeepCopyInto(out *Actions_STATUS)

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

func (*Actions_STATUS) NewEmptyARMValue

func (actions *Actions_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Actions_STATUS) PopulateFromARM

func (actions *Actions_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Actions_STATUS_ARM

type Actions_STATUS_ARM struct {
	// ActionGroups: Action Group resource Ids to invoke when the alert fires.
	ActionGroups []string `json:"actionGroups,omitempty"`

	// CustomProperties: The properties of an alert payload.
	CustomProperties map[string]string `json:"customProperties,omitempty"`
}

Actions to invoke when the alert fires.

func (*Actions_STATUS_ARM) DeepCopy

func (in *Actions_STATUS_ARM) DeepCopy() *Actions_STATUS_ARM

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

func (*Actions_STATUS_ARM) DeepCopyInto

func (in *Actions_STATUS_ARM) DeepCopyInto(out *Actions_STATUS_ARM)

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

type Condition

type Condition struct {
	// Dimensions: List of Dimensions conditions
	Dimensions []Dimension `json:"dimensions,omitempty"`

	// FailingPeriods: The minimum number of violations required within the selected lookback time window required to raise an
	// alert. Relevant only for rules of the kind LogAlert.
	FailingPeriods *Condition_FailingPeriods `json:"failingPeriods,omitempty"`

	// MetricMeasureColumn: The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
	MetricMeasureColumn *string `json:"metricMeasureColumn,omitempty"`

	// MetricName: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
	MetricName *string `json:"metricName,omitempty"`

	// Operator: The criteria operator. Relevant and required only for rules of the kind LogAlert.
	Operator *Condition_Operator `json:"operator,omitempty"`

	// Query: Log query alert
	Query *string `json:"query,omitempty"`

	// ResourceIdColumnReference: The column containing the resource id. The content of the column must be a uri formatted as
	// resource id. Relevant only for rules of the kind LogAlert.
	ResourceIdColumnReference *genruntime.ResourceReference `armReference:"ResourceIdColumn" json:"resourceIdColumnReference,omitempty"`

	// Threshold: the criteria threshold value that activates the alert. Relevant and required only for rules of the kind
	// LogAlert.
	Threshold *float64 `json:"threshold,omitempty"`

	// TimeAggregation: Aggregation type. Relevant and required only for rules of the kind LogAlert.
	TimeAggregation *Condition_TimeAggregation `json:"timeAggregation,omitempty"`
}

A condition of the scheduled query rule.

func (*Condition) AssignProperties_From_Condition

func (condition *Condition) AssignProperties_From_Condition(source *v20220615s.Condition) error

AssignProperties_From_Condition populates our Condition from the provided source Condition

func (*Condition) AssignProperties_To_Condition

func (condition *Condition) AssignProperties_To_Condition(destination *v20220615s.Condition) error

AssignProperties_To_Condition populates the provided destination Condition from our Condition

func (*Condition) ConvertToARM

func (condition *Condition) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (*Condition) Initialize_From_Condition_STATUS

func (condition *Condition) Initialize_From_Condition_STATUS(source *Condition_STATUS) error

Initialize_From_Condition_STATUS populates our Condition from the provided source Condition_STATUS

func (*Condition) NewEmptyARMValue

func (condition *Condition) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Condition) PopulateFromARM

func (condition *Condition) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Condition_ARM

type Condition_ARM struct {
	// Dimensions: List of Dimensions conditions
	Dimensions []Dimension_ARM `json:"dimensions,omitempty"`

	// FailingPeriods: The minimum number of violations required within the selected lookback time window required to raise an
	// alert. Relevant only for rules of the kind LogAlert.
	FailingPeriods *Condition_FailingPeriods_ARM `json:"failingPeriods,omitempty"`

	// MetricMeasureColumn: The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
	MetricMeasureColumn *string `json:"metricMeasureColumn,omitempty"`

	// MetricName: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
	MetricName *string `json:"metricName,omitempty"`

	// Operator: The criteria operator. Relevant and required only for rules of the kind LogAlert.
	Operator *Condition_Operator `json:"operator,omitempty"`

	// Query: Log query alert
	Query            *string `json:"query,omitempty"`
	ResourceIdColumn *string `json:"resourceIdColumn,omitempty"`

	// Threshold: the criteria threshold value that activates the alert. Relevant and required only for rules of the kind
	// LogAlert.
	Threshold *float64 `json:"threshold,omitempty"`

	// TimeAggregation: Aggregation type. Relevant and required only for rules of the kind LogAlert.
	TimeAggregation *Condition_TimeAggregation `json:"timeAggregation,omitempty"`
}

A condition of the scheduled query rule.

func (*Condition_ARM) DeepCopy

func (in *Condition_ARM) DeepCopy() *Condition_ARM

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

func (*Condition_ARM) DeepCopyInto

func (in *Condition_ARM) DeepCopyInto(out *Condition_ARM)

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

type Condition_FailingPeriods

type Condition_FailingPeriods struct {
	// MinFailingPeriodsToAlert: The number of violations to trigger an alert. Should be smaller or equal to
	// numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert *int `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. Default value is 1
	NumberOfEvaluationPeriods *int `json:"numberOfEvaluationPeriods,omitempty"`
}

func (*Condition_FailingPeriods) AssignProperties_From_Condition_FailingPeriods

func (periods *Condition_FailingPeriods) AssignProperties_From_Condition_FailingPeriods(source *v20220615s.Condition_FailingPeriods) error

AssignProperties_From_Condition_FailingPeriods populates our Condition_FailingPeriods from the provided source Condition_FailingPeriods

func (*Condition_FailingPeriods) AssignProperties_To_Condition_FailingPeriods

func (periods *Condition_FailingPeriods) AssignProperties_To_Condition_FailingPeriods(destination *v20220615s.Condition_FailingPeriods) error

AssignProperties_To_Condition_FailingPeriods populates the provided destination Condition_FailingPeriods from our Condition_FailingPeriods

func (*Condition_FailingPeriods) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Condition_FailingPeriods) DeepCopy

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

func (*Condition_FailingPeriods) DeepCopyInto

func (in *Condition_FailingPeriods) DeepCopyInto(out *Condition_FailingPeriods)

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

func (*Condition_FailingPeriods) Initialize_From_Condition_FailingPeriods_STATUS

func (periods *Condition_FailingPeriods) Initialize_From_Condition_FailingPeriods_STATUS(source *Condition_FailingPeriods_STATUS) error

Initialize_From_Condition_FailingPeriods_STATUS populates our Condition_FailingPeriods from the provided source Condition_FailingPeriods_STATUS

func (*Condition_FailingPeriods) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Condition_FailingPeriods) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Condition_FailingPeriods_ARM

type Condition_FailingPeriods_ARM struct {
	// MinFailingPeriodsToAlert: The number of violations to trigger an alert. Should be smaller or equal to
	// numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert *int `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. Default value is 1
	NumberOfEvaluationPeriods *int `json:"numberOfEvaluationPeriods,omitempty"`
}

func (*Condition_FailingPeriods_ARM) DeepCopy

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

func (*Condition_FailingPeriods_ARM) DeepCopyInto

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

type Condition_FailingPeriods_STATUS

type Condition_FailingPeriods_STATUS struct {
	// MinFailingPeriodsToAlert: The number of violations to trigger an alert. Should be smaller or equal to
	// numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert *int `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. Default value is 1
	NumberOfEvaluationPeriods *int `json:"numberOfEvaluationPeriods,omitempty"`
}

func (*Condition_FailingPeriods_STATUS) AssignProperties_From_Condition_FailingPeriods_STATUS

func (periods *Condition_FailingPeriods_STATUS) AssignProperties_From_Condition_FailingPeriods_STATUS(source *v20220615s.Condition_FailingPeriods_STATUS) error

AssignProperties_From_Condition_FailingPeriods_STATUS populates our Condition_FailingPeriods_STATUS from the provided source Condition_FailingPeriods_STATUS

func (*Condition_FailingPeriods_STATUS) AssignProperties_To_Condition_FailingPeriods_STATUS

func (periods *Condition_FailingPeriods_STATUS) AssignProperties_To_Condition_FailingPeriods_STATUS(destination *v20220615s.Condition_FailingPeriods_STATUS) error

AssignProperties_To_Condition_FailingPeriods_STATUS populates the provided destination Condition_FailingPeriods_STATUS from our Condition_FailingPeriods_STATUS

func (*Condition_FailingPeriods_STATUS) DeepCopy

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

func (*Condition_FailingPeriods_STATUS) DeepCopyInto

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

func (*Condition_FailingPeriods_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Condition_FailingPeriods_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Condition_FailingPeriods_STATUS_ARM

type Condition_FailingPeriods_STATUS_ARM struct {
	// MinFailingPeriodsToAlert: The number of violations to trigger an alert. Should be smaller or equal to
	// numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert *int `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. Default value is 1
	NumberOfEvaluationPeriods *int `json:"numberOfEvaluationPeriods,omitempty"`
}

func (*Condition_FailingPeriods_STATUS_ARM) DeepCopy

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

func (*Condition_FailingPeriods_STATUS_ARM) DeepCopyInto

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

type Condition_Operator

type Condition_Operator string

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

type Condition_Operator_STATUS

type Condition_Operator_STATUS string

type Condition_STATUS

type Condition_STATUS struct {
	// Dimensions: List of Dimensions conditions
	Dimensions []Dimension_STATUS `json:"dimensions,omitempty"`

	// FailingPeriods: The minimum number of violations required within the selected lookback time window required to raise an
	// alert. Relevant only for rules of the kind LogAlert.
	FailingPeriods *Condition_FailingPeriods_STATUS `json:"failingPeriods,omitempty"`

	// MetricMeasureColumn: The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
	MetricMeasureColumn *string `json:"metricMeasureColumn,omitempty"`

	// MetricName: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
	MetricName *string `json:"metricName,omitempty"`

	// Operator: The criteria operator. Relevant and required only for rules of the kind LogAlert.
	Operator *Condition_Operator_STATUS `json:"operator,omitempty"`

	// Query: Log query alert
	Query *string `json:"query,omitempty"`

	// ResourceIdColumn: The column containing the resource id. The content of the column must be a uri formatted as resource
	// id. Relevant only for rules of the kind LogAlert.
	ResourceIdColumn *string `json:"resourceIdColumn,omitempty"`

	// Threshold: the criteria threshold value that activates the alert. Relevant and required only for rules of the kind
	// LogAlert.
	Threshold *float64 `json:"threshold,omitempty"`

	// TimeAggregation: Aggregation type. Relevant and required only for rules of the kind LogAlert.
	TimeAggregation *Condition_TimeAggregation_STATUS `json:"timeAggregation,omitempty"`
}

A condition of the scheduled query rule.

func (*Condition_STATUS) AssignProperties_From_Condition_STATUS

func (condition *Condition_STATUS) AssignProperties_From_Condition_STATUS(source *v20220615s.Condition_STATUS) error

AssignProperties_From_Condition_STATUS populates our Condition_STATUS from the provided source Condition_STATUS

func (*Condition_STATUS) AssignProperties_To_Condition_STATUS

func (condition *Condition_STATUS) AssignProperties_To_Condition_STATUS(destination *v20220615s.Condition_STATUS) error

AssignProperties_To_Condition_STATUS populates the provided destination Condition_STATUS from our Condition_STATUS

func (*Condition_STATUS) DeepCopy

func (in *Condition_STATUS) DeepCopy() *Condition_STATUS

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

func (*Condition_STATUS) DeepCopyInto

func (in *Condition_STATUS) DeepCopyInto(out *Condition_STATUS)

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

func (*Condition_STATUS) NewEmptyARMValue

func (condition *Condition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Condition_STATUS) PopulateFromARM

func (condition *Condition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Condition_STATUS_ARM

type Condition_STATUS_ARM struct {
	// Dimensions: List of Dimensions conditions
	Dimensions []Dimension_STATUS_ARM `json:"dimensions,omitempty"`

	// FailingPeriods: The minimum number of violations required within the selected lookback time window required to raise an
	// alert. Relevant only for rules of the kind LogAlert.
	FailingPeriods *Condition_FailingPeriods_STATUS_ARM `json:"failingPeriods,omitempty"`

	// MetricMeasureColumn: The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
	MetricMeasureColumn *string `json:"metricMeasureColumn,omitempty"`

	// MetricName: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
	MetricName *string `json:"metricName,omitempty"`

	// Operator: The criteria operator. Relevant and required only for rules of the kind LogAlert.
	Operator *Condition_Operator_STATUS `json:"operator,omitempty"`

	// Query: Log query alert
	Query *string `json:"query,omitempty"`

	// ResourceIdColumn: The column containing the resource id. The content of the column must be a uri formatted as resource
	// id. Relevant only for rules of the kind LogAlert.
	ResourceIdColumn *string `json:"resourceIdColumn,omitempty"`

	// Threshold: the criteria threshold value that activates the alert. Relevant and required only for rules of the kind
	// LogAlert.
	Threshold *float64 `json:"threshold,omitempty"`

	// TimeAggregation: Aggregation type. Relevant and required only for rules of the kind LogAlert.
	TimeAggregation *Condition_TimeAggregation_STATUS `json:"timeAggregation,omitempty"`
}

A condition of the scheduled query rule.

func (*Condition_STATUS_ARM) DeepCopy

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

func (*Condition_STATUS_ARM) DeepCopyInto

func (in *Condition_STATUS_ARM) DeepCopyInto(out *Condition_STATUS_ARM)

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

type Condition_TimeAggregation

type Condition_TimeAggregation string

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

type Condition_TimeAggregation_STATUS

type Condition_TimeAggregation_STATUS string

type Dimension

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

	// +kubebuilder:validation:Required
	// Operator: Operator for dimension values
	Operator *Dimension_Operator `json:"operator,omitempty"`

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

Dimension splitting and filtering definition

func (*Dimension) AssignProperties_From_Dimension

func (dimension *Dimension) AssignProperties_From_Dimension(source *v20220615s.Dimension) error

AssignProperties_From_Dimension populates our Dimension from the provided source Dimension

func (*Dimension) AssignProperties_To_Dimension

func (dimension *Dimension) AssignProperties_To_Dimension(destination *v20220615s.Dimension) error

AssignProperties_To_Dimension populates the provided destination Dimension from our Dimension

func (*Dimension) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Dimension) DeepCopy

func (in *Dimension) DeepCopy() *Dimension

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

func (*Dimension) DeepCopyInto

func (in *Dimension) DeepCopyInto(out *Dimension)

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

func (*Dimension) Initialize_From_Dimension_STATUS

func (dimension *Dimension) Initialize_From_Dimension_STATUS(source *Dimension_STATUS) error

Initialize_From_Dimension_STATUS populates our Dimension from the provided source Dimension_STATUS

func (*Dimension) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Dimension) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Dimension_ARM

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

	// Operator: Operator for dimension values
	Operator *Dimension_Operator `json:"operator,omitempty"`

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

Dimension splitting and filtering definition

func (*Dimension_ARM) DeepCopy

func (in *Dimension_ARM) DeepCopy() *Dimension_ARM

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

func (*Dimension_ARM) DeepCopyInto

func (in *Dimension_ARM) DeepCopyInto(out *Dimension_ARM)

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

type Dimension_Operator

type Dimension_Operator string

+kubebuilder:validation:Enum={"Exclude","Include"}

type Dimension_Operator_STATUS

type Dimension_Operator_STATUS string

type Dimension_STATUS

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

	// Operator: Operator for dimension values
	Operator *Dimension_Operator_STATUS `json:"operator,omitempty"`

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

Dimension splitting and filtering definition

func (*Dimension_STATUS) AssignProperties_From_Dimension_STATUS

func (dimension *Dimension_STATUS) AssignProperties_From_Dimension_STATUS(source *v20220615s.Dimension_STATUS) error

AssignProperties_From_Dimension_STATUS populates our Dimension_STATUS from the provided source Dimension_STATUS

func (*Dimension_STATUS) AssignProperties_To_Dimension_STATUS

func (dimension *Dimension_STATUS) AssignProperties_To_Dimension_STATUS(destination *v20220615s.Dimension_STATUS) error

AssignProperties_To_Dimension_STATUS populates the provided destination Dimension_STATUS from our Dimension_STATUS

func (*Dimension_STATUS) DeepCopy

func (in *Dimension_STATUS) DeepCopy() *Dimension_STATUS

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

func (*Dimension_STATUS) DeepCopyInto

func (in *Dimension_STATUS) DeepCopyInto(out *Dimension_STATUS)

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

func (*Dimension_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Dimension_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Dimension_STATUS_ARM

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

	// Operator: Operator for dimension values
	Operator *Dimension_Operator_STATUS `json:"operator,omitempty"`

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

Dimension splitting and filtering definition

func (*Dimension_STATUS_ARM) DeepCopy

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

func (*Dimension_STATUS_ARM) DeepCopyInto

func (in *Dimension_STATUS_ARM) DeepCopyInto(out *Dimension_STATUS_ARM)

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

type HeaderField added in v2.7.0

type HeaderField struct {
	// Key: The name of the header.
	Key *string `json:"key,omitempty"`

	// Value: The value of the header.
	Value *string `json:"value,omitempty"`
}

A header to add to the WebTest.

func (*HeaderField) AssignProperties_From_HeaderField added in v2.7.0

func (field *HeaderField) AssignProperties_From_HeaderField(source *v20220615s.HeaderField) error

AssignProperties_From_HeaderField populates our HeaderField from the provided source HeaderField

func (*HeaderField) AssignProperties_To_HeaderField added in v2.7.0

func (field *HeaderField) AssignProperties_To_HeaderField(destination *v20220615s.HeaderField) error

AssignProperties_To_HeaderField populates the provided destination HeaderField from our HeaderField

func (*HeaderField) ConvertToARM added in v2.7.0

func (field *HeaderField) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*HeaderField) DeepCopy added in v2.7.0

func (in *HeaderField) DeepCopy() *HeaderField

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

func (*HeaderField) DeepCopyInto added in v2.7.0

func (in *HeaderField) DeepCopyInto(out *HeaderField)

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

func (*HeaderField) Initialize_From_HeaderField_STATUS added in v2.7.0

func (field *HeaderField) Initialize_From_HeaderField_STATUS(source *HeaderField_STATUS) error

Initialize_From_HeaderField_STATUS populates our HeaderField from the provided source HeaderField_STATUS

func (*HeaderField) NewEmptyARMValue added in v2.7.0

func (field *HeaderField) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HeaderField) PopulateFromARM added in v2.7.0

func (field *HeaderField) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type HeaderField_ARM added in v2.7.0

type HeaderField_ARM struct {
	// Key: The name of the header.
	Key *string `json:"key,omitempty"`

	// Value: The value of the header.
	Value *string `json:"value,omitempty"`
}

A header to add to the WebTest.

func (*HeaderField_ARM) DeepCopy added in v2.7.0

func (in *HeaderField_ARM) DeepCopy() *HeaderField_ARM

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

func (*HeaderField_ARM) DeepCopyInto added in v2.7.0

func (in *HeaderField_ARM) DeepCopyInto(out *HeaderField_ARM)

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

type HeaderField_STATUS added in v2.7.0

type HeaderField_STATUS struct {
	// Key: The name of the header.
	Key *string `json:"key,omitempty"`

	// Value: The value of the header.
	Value *string `json:"value,omitempty"`
}

A header to add to the WebTest.

func (*HeaderField_STATUS) AssignProperties_From_HeaderField_STATUS added in v2.7.0

func (field *HeaderField_STATUS) AssignProperties_From_HeaderField_STATUS(source *v20220615s.HeaderField_STATUS) error

AssignProperties_From_HeaderField_STATUS populates our HeaderField_STATUS from the provided source HeaderField_STATUS

func (*HeaderField_STATUS) AssignProperties_To_HeaderField_STATUS added in v2.7.0

func (field *HeaderField_STATUS) AssignProperties_To_HeaderField_STATUS(destination *v20220615s.HeaderField_STATUS) error

AssignProperties_To_HeaderField_STATUS populates the provided destination HeaderField_STATUS from our HeaderField_STATUS

func (*HeaderField_STATUS) DeepCopy added in v2.7.0

func (in *HeaderField_STATUS) DeepCopy() *HeaderField_STATUS

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

func (*HeaderField_STATUS) DeepCopyInto added in v2.7.0

func (in *HeaderField_STATUS) DeepCopyInto(out *HeaderField_STATUS)

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

func (*HeaderField_STATUS) NewEmptyARMValue added in v2.7.0

func (field *HeaderField_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HeaderField_STATUS) PopulateFromARM added in v2.7.0

func (field *HeaderField_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type HeaderField_STATUS_ARM added in v2.7.0

type HeaderField_STATUS_ARM struct {
	// Key: The name of the header.
	Key *string `json:"key,omitempty"`

	// Value: The value of the header.
	Value *string `json:"value,omitempty"`
}

A header to add to the WebTest.

func (*HeaderField_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*HeaderField_STATUS_ARM) DeepCopyInto added in v2.7.0

func (in *HeaderField_STATUS_ARM) DeepCopyInto(out *HeaderField_STATUS_ARM)

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

type ScheduledQueryRule

type ScheduledQueryRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScheduledQueryRule_Spec   `json:"spec,omitempty"`
	Status            ScheduledQueryRule_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/2022-06-15/scheduledQueryRule_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}

func (*ScheduledQueryRule) AssignProperties_From_ScheduledQueryRule

func (rule *ScheduledQueryRule) AssignProperties_From_ScheduledQueryRule(source *v20220615s.ScheduledQueryRule) error

AssignProperties_From_ScheduledQueryRule populates our ScheduledQueryRule from the provided source ScheduledQueryRule

func (*ScheduledQueryRule) AssignProperties_To_ScheduledQueryRule

func (rule *ScheduledQueryRule) AssignProperties_To_ScheduledQueryRule(destination *v20220615s.ScheduledQueryRule) error

AssignProperties_To_ScheduledQueryRule populates the provided destination ScheduledQueryRule from our ScheduledQueryRule

func (*ScheduledQueryRule) AzureName

func (rule *ScheduledQueryRule) AzureName() string

AzureName returns the Azure name of the resource

func (*ScheduledQueryRule) ConvertFrom

func (rule *ScheduledQueryRule) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ScheduledQueryRule from the provided hub ScheduledQueryRule

func (*ScheduledQueryRule) ConvertTo

func (rule *ScheduledQueryRule) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ScheduledQueryRule from our ScheduledQueryRule

func (*ScheduledQueryRule) DeepCopy

func (in *ScheduledQueryRule) DeepCopy() *ScheduledQueryRule

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

func (*ScheduledQueryRule) DeepCopyInto

func (in *ScheduledQueryRule) DeepCopyInto(out *ScheduledQueryRule)

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

func (*ScheduledQueryRule) DeepCopyObject

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

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

func (*ScheduledQueryRule) Default

func (rule *ScheduledQueryRule) Default()

Default applies defaults to the ScheduledQueryRule resource

func (ScheduledQueryRule) GetAPIVersion

func (rule ScheduledQueryRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-06-15"

func (*ScheduledQueryRule) GetConditions

func (rule *ScheduledQueryRule) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ScheduledQueryRule) GetResourceScope

func (rule *ScheduledQueryRule) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ScheduledQueryRule) GetSpec

GetSpec returns the specification of this resource

func (*ScheduledQueryRule) GetStatus

GetStatus returns the status of this resource

func (*ScheduledQueryRule) GetSupportedOperations

func (rule *ScheduledQueryRule) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ScheduledQueryRule) GetType

func (rule *ScheduledQueryRule) GetType() string

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

func (*ScheduledQueryRule) InitializeSpec

func (rule *ScheduledQueryRule) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ScheduledQueryRule) NewEmptyStatus

func (rule *ScheduledQueryRule) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ScheduledQueryRule) OriginalGVK

func (rule *ScheduledQueryRule) OriginalGVK() *schema.GroupVersionKind

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

func (*ScheduledQueryRule) Owner

Owner returns the ResourceReference of the owner

func (*ScheduledQueryRule) SetConditions

func (rule *ScheduledQueryRule) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ScheduledQueryRule) SetStatus

func (rule *ScheduledQueryRule) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*ScheduledQueryRule) ValidateCreate

func (rule *ScheduledQueryRule) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ScheduledQueryRule) ValidateDelete

func (rule *ScheduledQueryRule) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ScheduledQueryRule) ValidateUpdate

func (rule *ScheduledQueryRule) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type ScheduledQueryRuleCriteria

type ScheduledQueryRuleCriteria struct {
	// AllOf: A list of conditions to evaluate against the specified scopes
	AllOf []Condition `json:"allOf,omitempty"`
}

The rule criteria that defines the conditions of the scheduled query rule.

func (*ScheduledQueryRuleCriteria) AssignProperties_From_ScheduledQueryRuleCriteria

func (criteria *ScheduledQueryRuleCriteria) AssignProperties_From_ScheduledQueryRuleCriteria(source *v20220615s.ScheduledQueryRuleCriteria) error

AssignProperties_From_ScheduledQueryRuleCriteria populates our ScheduledQueryRuleCriteria from the provided source ScheduledQueryRuleCriteria

func (*ScheduledQueryRuleCriteria) AssignProperties_To_ScheduledQueryRuleCriteria

func (criteria *ScheduledQueryRuleCriteria) AssignProperties_To_ScheduledQueryRuleCriteria(destination *v20220615s.ScheduledQueryRuleCriteria) error

AssignProperties_To_ScheduledQueryRuleCriteria populates the provided destination ScheduledQueryRuleCriteria from our ScheduledQueryRuleCriteria

func (*ScheduledQueryRuleCriteria) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScheduledQueryRuleCriteria) DeepCopy

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

func (*ScheduledQueryRuleCriteria) DeepCopyInto

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

func (*ScheduledQueryRuleCriteria) Initialize_From_ScheduledQueryRuleCriteria_STATUS

func (criteria *ScheduledQueryRuleCriteria) Initialize_From_ScheduledQueryRuleCriteria_STATUS(source *ScheduledQueryRuleCriteria_STATUS) error

Initialize_From_ScheduledQueryRuleCriteria_STATUS populates our ScheduledQueryRuleCriteria from the provided source ScheduledQueryRuleCriteria_STATUS

func (*ScheduledQueryRuleCriteria) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduledQueryRuleCriteria) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScheduledQueryRuleCriteria_ARM

type ScheduledQueryRuleCriteria_ARM struct {
	// AllOf: A list of conditions to evaluate against the specified scopes
	AllOf []Condition_ARM `json:"allOf,omitempty"`
}

The rule criteria that defines the conditions of the scheduled query rule.

func (*ScheduledQueryRuleCriteria_ARM) DeepCopy

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

func (*ScheduledQueryRuleCriteria_ARM) DeepCopyInto

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

type ScheduledQueryRuleCriteria_STATUS

type ScheduledQueryRuleCriteria_STATUS struct {
	// AllOf: A list of conditions to evaluate against the specified scopes
	AllOf []Condition_STATUS `json:"allOf,omitempty"`
}

The rule criteria that defines the conditions of the scheduled query rule.

func (*ScheduledQueryRuleCriteria_STATUS) AssignProperties_From_ScheduledQueryRuleCriteria_STATUS

func (criteria *ScheduledQueryRuleCriteria_STATUS) AssignProperties_From_ScheduledQueryRuleCriteria_STATUS(source *v20220615s.ScheduledQueryRuleCriteria_STATUS) error

AssignProperties_From_ScheduledQueryRuleCriteria_STATUS populates our ScheduledQueryRuleCriteria_STATUS from the provided source ScheduledQueryRuleCriteria_STATUS

func (*ScheduledQueryRuleCriteria_STATUS) AssignProperties_To_ScheduledQueryRuleCriteria_STATUS

func (criteria *ScheduledQueryRuleCriteria_STATUS) AssignProperties_To_ScheduledQueryRuleCriteria_STATUS(destination *v20220615s.ScheduledQueryRuleCriteria_STATUS) error

AssignProperties_To_ScheduledQueryRuleCriteria_STATUS populates the provided destination ScheduledQueryRuleCriteria_STATUS from our ScheduledQueryRuleCriteria_STATUS

func (*ScheduledQueryRuleCriteria_STATUS) DeepCopy

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

func (*ScheduledQueryRuleCriteria_STATUS) DeepCopyInto

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

func (*ScheduledQueryRuleCriteria_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduledQueryRuleCriteria_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScheduledQueryRuleCriteria_STATUS_ARM

type ScheduledQueryRuleCriteria_STATUS_ARM struct {
	// AllOf: A list of conditions to evaluate against the specified scopes
	AllOf []Condition_STATUS_ARM `json:"allOf,omitempty"`
}

The rule criteria that defines the conditions of the scheduled query rule.

func (*ScheduledQueryRuleCriteria_STATUS_ARM) DeepCopy

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

func (*ScheduledQueryRuleCriteria_STATUS_ARM) DeepCopyInto

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

type ScheduledQueryRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}

func (*ScheduledQueryRuleList) DeepCopy

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

func (*ScheduledQueryRuleList) DeepCopyInto

func (in *ScheduledQueryRuleList) DeepCopyInto(out *ScheduledQueryRuleList)

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

func (*ScheduledQueryRuleList) DeepCopyObject

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

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

type ScheduledQueryRuleProperties_ARM

type ScheduledQueryRuleProperties_ARM struct {
	// Actions: Actions to invoke when the alert fires.
	Actions *Actions_ARM `json:"actions,omitempty"`

	// AutoMitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true.
	// Relevant only for rules of the kind LogAlert.
	AutoMitigate *bool `json:"autoMitigate,omitempty"`

	// CheckWorkspaceAlertsStorageConfigured: The flag which indicates whether this scheduled query rule should be stored in
	// the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
	CheckWorkspaceAlertsStorageConfigured *bool `json:"checkWorkspaceAlertsStorageConfigured,omitempty"`

	// Criteria: The rule criteria that defines the conditions of the scheduled query rule.
	Criteria *ScheduledQueryRuleCriteria_ARM `json:"criteria,omitempty"`

	// Description: The description of the scheduled query rule.
	Description *string `json:"description,omitempty"`

	// DisplayName: The display name of the alert rule
	DisplayName *string `json:"displayName,omitempty"`

	// Enabled: The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled *bool `json:"enabled,omitempty"`

	// EvaluationFrequency: How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant
	// and required only for rules of the kind LogAlert.
	EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`

	// MuteActionsDuration: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	// Relevant only for rules of the kind LogAlert.
	MuteActionsDuration *string `json:"muteActionsDuration,omitempty"`

	// OverrideQueryTimeRange: If specified then overrides the query time range (default is
	// WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
	OverrideQueryTimeRange *string  `json:"overrideQueryTimeRange,omitempty"`
	Scopes                 []string `json:"scopes,omitempty"`

	// Severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only
	// for rules of the kind LogAlert.
	Severity *ScheduledQueryRuleProperties_Severity `json:"severity,omitempty"`

	// SkipQueryValidation: The flag which indicates whether the provided query should be validated or not. The default is
	// false. Relevant only for rules of the kind LogAlert.
	SkipQueryValidation *bool `json:"skipQueryValidation,omitempty"`

	// TargetResourceTypes: List of resource type of the target resource(s) on which the alert is created/updated. For example
	// if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert
	// will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of
	// the kind LogAlert
	TargetResourceTypes []string `json:"targetResourceTypes,omitempty"`

	// WindowSize: The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	// Relevant and required only for rules of the kind LogAlert.
	WindowSize *string `json:"windowSize,omitempty"`
}

scheduled query rule Definition

func (*ScheduledQueryRuleProperties_ARM) DeepCopy

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

func (*ScheduledQueryRuleProperties_ARM) DeepCopyInto

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

type ScheduledQueryRuleProperties_STATUS_ARM

type ScheduledQueryRuleProperties_STATUS_ARM struct {
	// Actions: Actions to invoke when the alert fires.
	Actions *Actions_STATUS_ARM `json:"actions,omitempty"`

	// AutoMitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true.
	// Relevant only for rules of the kind LogAlert.
	AutoMitigate *bool `json:"autoMitigate,omitempty"`

	// CheckWorkspaceAlertsStorageConfigured: The flag which indicates whether this scheduled query rule should be stored in
	// the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
	CheckWorkspaceAlertsStorageConfigured *bool `json:"checkWorkspaceAlertsStorageConfigured,omitempty"`

	// CreatedWithApiVersion: The api-version used when creating this alert rule
	CreatedWithApiVersion *string `json:"createdWithApiVersion,omitempty"`

	// Criteria: The rule criteria that defines the conditions of the scheduled query rule.
	Criteria *ScheduledQueryRuleCriteria_STATUS_ARM `json:"criteria,omitempty"`

	// Description: The description of the scheduled query rule.
	Description *string `json:"description,omitempty"`

	// DisplayName: The display name of the alert rule
	DisplayName *string `json:"displayName,omitempty"`

	// Enabled: The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled *bool `json:"enabled,omitempty"`

	// EvaluationFrequency: How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant
	// and required only for rules of the kind LogAlert.
	EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`

	// IsLegacyLogAnalyticsRule: True if alert rule is legacy Log Analytic rule
	IsLegacyLogAnalyticsRule *bool `json:"isLegacyLogAnalyticsRule,omitempty"`

	// IsWorkspaceAlertsStorageConfigured: The flag which indicates whether this scheduled query rule has been configured to be
	// stored in the customer's storage. The default is false.
	IsWorkspaceAlertsStorageConfigured *bool `json:"isWorkspaceAlertsStorageConfigured,omitempty"`

	// MuteActionsDuration: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	// Relevant only for rules of the kind LogAlert.
	MuteActionsDuration *string `json:"muteActionsDuration,omitempty"`

	// OverrideQueryTimeRange: If specified then overrides the query time range (default is
	// WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
	OverrideQueryTimeRange *string `json:"overrideQueryTimeRange,omitempty"`

	// Scopes: The list of resource id's that this scheduled query rule is scoped to.
	Scopes []string `json:"scopes,omitempty"`

	// Severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only
	// for rules of the kind LogAlert.
	Severity *ScheduledQueryRuleProperties_Severity_STATUS `json:"severity,omitempty"`

	// SkipQueryValidation: The flag which indicates whether the provided query should be validated or not. The default is
	// false. Relevant only for rules of the kind LogAlert.
	SkipQueryValidation *bool `json:"skipQueryValidation,omitempty"`

	// TargetResourceTypes: List of resource type of the target resource(s) on which the alert is created/updated. For example
	// if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert
	// will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of
	// the kind LogAlert
	TargetResourceTypes []string `json:"targetResourceTypes,omitempty"`

	// WindowSize: The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	// Relevant and required only for rules of the kind LogAlert.
	WindowSize *string `json:"windowSize,omitempty"`
}

scheduled query rule Definition

func (*ScheduledQueryRuleProperties_STATUS_ARM) DeepCopy

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

func (*ScheduledQueryRuleProperties_STATUS_ARM) DeepCopyInto

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

type ScheduledQueryRuleProperties_Severity

type ScheduledQueryRuleProperties_Severity int

+kubebuilder:validation:Enum={0,1,2,3,4}

type ScheduledQueryRuleProperties_Severity_STATUS

type ScheduledQueryRuleProperties_Severity_STATUS int

type ScheduledQueryRule_Kind_STATUS

type ScheduledQueryRule_Kind_STATUS string

type ScheduledQueryRule_Kind_Spec

type ScheduledQueryRule_Kind_Spec string

+kubebuilder:validation:Enum={"LogAlert","LogToMetric"}

type ScheduledQueryRule_STATUS

type ScheduledQueryRule_STATUS struct {
	// Actions: Actions to invoke when the alert fires.
	Actions *Actions_STATUS `json:"actions,omitempty"`

	// AutoMitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true.
	// Relevant only for rules of the kind LogAlert.
	AutoMitigate *bool `json:"autoMitigate,omitempty"`

	// CheckWorkspaceAlertsStorageConfigured: The flag which indicates whether this scheduled query rule should be stored in
	// the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
	CheckWorkspaceAlertsStorageConfigured *bool `json:"checkWorkspaceAlertsStorageConfigured,omitempty"`

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

	// CreatedWithApiVersion: The api-version used when creating this alert rule
	CreatedWithApiVersion *string `json:"createdWithApiVersion,omitempty"`

	// Criteria: The rule criteria that defines the conditions of the scheduled query rule.
	Criteria *ScheduledQueryRuleCriteria_STATUS `json:"criteria,omitempty"`

	// Description: The description of the scheduled query rule.
	Description *string `json:"description,omitempty"`

	// DisplayName: The display name of the alert rule
	DisplayName *string `json:"displayName,omitempty"`

	// Enabled: The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled *bool `json:"enabled,omitempty"`

	// Etag: The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per
	// the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and
	// If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`

	// EvaluationFrequency: How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant
	// and required only for rules of the kind LogAlert.
	EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// IsLegacyLogAnalyticsRule: True if alert rule is legacy Log Analytic rule
	IsLegacyLogAnalyticsRule *bool `json:"isLegacyLogAnalyticsRule,omitempty"`

	// IsWorkspaceAlertsStorageConfigured: The flag which indicates whether this scheduled query rule has been configured to be
	// stored in the customer's storage. The default is false.
	IsWorkspaceAlertsStorageConfigured *bool `json:"isWorkspaceAlertsStorageConfigured,omitempty"`

	// Kind: Indicates the type of scheduled query rule. The default is LogAlert.
	Kind *ScheduledQueryRule_Kind_STATUS `json:"kind,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// MuteActionsDuration: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	// Relevant only for rules of the kind LogAlert.
	MuteActionsDuration *string `json:"muteActionsDuration,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// OverrideQueryTimeRange: If specified then overrides the query time range (default is
	// WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
	OverrideQueryTimeRange *string `json:"overrideQueryTimeRange,omitempty"`

	// Scopes: The list of resource id's that this scheduled query rule is scoped to.
	Scopes []string `json:"scopes,omitempty"`

	// Severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only
	// for rules of the kind LogAlert.
	Severity *ScheduledQueryRuleProperties_Severity_STATUS `json:"severity,omitempty"`

	// SkipQueryValidation: The flag which indicates whether the provided query should be validated or not. The default is
	// false. Relevant only for rules of the kind LogAlert.
	SkipQueryValidation *bool `json:"skipQueryValidation,omitempty"`

	// SystemData: SystemData of ScheduledQueryRule.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

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

	// TargetResourceTypes: List of resource type of the target resource(s) on which the alert is created/updated. For example
	// if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert
	// will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of
	// the kind LogAlert
	TargetResourceTypes []string `json:"targetResourceTypes,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// WindowSize: The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	// Relevant and required only for rules of the kind LogAlert.
	WindowSize *string `json:"windowSize,omitempty"`
}

func (*ScheduledQueryRule_STATUS) AssignProperties_From_ScheduledQueryRule_STATUS

func (rule *ScheduledQueryRule_STATUS) AssignProperties_From_ScheduledQueryRule_STATUS(source *v20220615s.ScheduledQueryRule_STATUS) error

AssignProperties_From_ScheduledQueryRule_STATUS populates our ScheduledQueryRule_STATUS from the provided source ScheduledQueryRule_STATUS

func (*ScheduledQueryRule_STATUS) AssignProperties_To_ScheduledQueryRule_STATUS

func (rule *ScheduledQueryRule_STATUS) AssignProperties_To_ScheduledQueryRule_STATUS(destination *v20220615s.ScheduledQueryRule_STATUS) error

AssignProperties_To_ScheduledQueryRule_STATUS populates the provided destination ScheduledQueryRule_STATUS from our ScheduledQueryRule_STATUS

func (*ScheduledQueryRule_STATUS) ConvertStatusFrom

func (rule *ScheduledQueryRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ScheduledQueryRule_STATUS from the provided source

func (*ScheduledQueryRule_STATUS) ConvertStatusTo

func (rule *ScheduledQueryRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ScheduledQueryRule_STATUS

func (*ScheduledQueryRule_STATUS) DeepCopy

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

func (*ScheduledQueryRule_STATUS) DeepCopyInto

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

func (*ScheduledQueryRule_STATUS) NewEmptyARMValue

func (rule *ScheduledQueryRule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduledQueryRule_STATUS) PopulateFromARM

func (rule *ScheduledQueryRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScheduledQueryRule_STATUS_ARM

type ScheduledQueryRule_STATUS_ARM struct {
	// Etag: The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per
	// the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and
	// If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Kind: Indicates the type of scheduled query rule. The default is LogAlert.
	Kind *ScheduledQueryRule_Kind_STATUS `json:"kind,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: The rule properties of the resource.
	Properties *ScheduledQueryRuleProperties_STATUS_ARM `json:"properties,omitempty"`

	// SystemData: SystemData of ScheduledQueryRule.
	SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`

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

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*ScheduledQueryRule_STATUS_ARM) DeepCopy

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

func (*ScheduledQueryRule_STATUS_ARM) DeepCopyInto

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

type ScheduledQueryRule_Spec

type ScheduledQueryRule_Spec struct {
	// Actions: Actions to invoke when the alert fires.
	Actions *Actions `json:"actions,omitempty"`

	// AutoMitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true.
	// Relevant only for rules of the kind LogAlert.
	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"`

	// CheckWorkspaceAlertsStorageConfigured: The flag which indicates whether this scheduled query rule should be stored in
	// the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
	CheckWorkspaceAlertsStorageConfigured *bool `json:"checkWorkspaceAlertsStorageConfigured,omitempty"`

	// Criteria: The rule criteria that defines the conditions of the scheduled query rule.
	Criteria *ScheduledQueryRuleCriteria `json:"criteria,omitempty"`

	// Description: The description of the scheduled query rule.
	Description *string `json:"description,omitempty"`

	// DisplayName: The display name of the alert rule
	DisplayName *string `json:"displayName,omitempty"`

	// Enabled: The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled *bool `json:"enabled,omitempty"`

	// EvaluationFrequency: How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant
	// and required only for rules of the kind LogAlert.
	EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`

	// Kind: Indicates the type of scheduled query rule. The default is LogAlert.
	Kind *ScheduledQueryRule_Kind_Spec `json:"kind,omitempty"`

	// +kubebuilder:validation:Required
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// MuteActionsDuration: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	// Relevant only for rules of the kind LogAlert.
	MuteActionsDuration *string `json:"muteActionsDuration,omitempty"`

	// OverrideQueryTimeRange: If specified then overrides the query time range (default is
	// WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
	OverrideQueryTimeRange *string `json:"overrideQueryTimeRange,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"`

	// ScopesReferences: The list of resource id's that this scheduled query rule is scoped to.
	ScopesReferences []genruntime.ResourceReference `armReference:"Scopes" json:"scopesReferences,omitempty"`

	// Severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only
	// for rules of the kind LogAlert.
	Severity *ScheduledQueryRuleProperties_Severity `json:"severity,omitempty"`

	// SkipQueryValidation: The flag which indicates whether the provided query should be validated or not. The default is
	// false. Relevant only for rules of the kind LogAlert.
	SkipQueryValidation *bool `json:"skipQueryValidation,omitempty"`

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

	// TargetResourceTypes: List of resource type of the target resource(s) on which the alert is created/updated. For example
	// if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert
	// will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of
	// the kind LogAlert
	TargetResourceTypes []string `json:"targetResourceTypes,omitempty"`

	// WindowSize: The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	// Relevant and required only for rules of the kind LogAlert.
	WindowSize *string `json:"windowSize,omitempty"`
}

func (*ScheduledQueryRule_Spec) AssignProperties_From_ScheduledQueryRule_Spec

func (rule *ScheduledQueryRule_Spec) AssignProperties_From_ScheduledQueryRule_Spec(source *v20220615s.ScheduledQueryRule_Spec) error

AssignProperties_From_ScheduledQueryRule_Spec populates our ScheduledQueryRule_Spec from the provided source ScheduledQueryRule_Spec

func (*ScheduledQueryRule_Spec) AssignProperties_To_ScheduledQueryRule_Spec

func (rule *ScheduledQueryRule_Spec) AssignProperties_To_ScheduledQueryRule_Spec(destination *v20220615s.ScheduledQueryRule_Spec) error

AssignProperties_To_ScheduledQueryRule_Spec populates the provided destination ScheduledQueryRule_Spec from our ScheduledQueryRule_Spec

func (*ScheduledQueryRule_Spec) ConvertSpecFrom

func (rule *ScheduledQueryRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ScheduledQueryRule_Spec from the provided source

func (*ScheduledQueryRule_Spec) ConvertSpecTo

func (rule *ScheduledQueryRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ScheduledQueryRule_Spec

func (*ScheduledQueryRule_Spec) ConvertToARM

func (rule *ScheduledQueryRule_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScheduledQueryRule_Spec) DeepCopy

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

func (*ScheduledQueryRule_Spec) DeepCopyInto

func (in *ScheduledQueryRule_Spec) DeepCopyInto(out *ScheduledQueryRule_Spec)

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

func (*ScheduledQueryRule_Spec) Initialize_From_ScheduledQueryRule_STATUS

func (rule *ScheduledQueryRule_Spec) Initialize_From_ScheduledQueryRule_STATUS(source *ScheduledQueryRule_STATUS) error

Initialize_From_ScheduledQueryRule_STATUS populates our ScheduledQueryRule_Spec from the provided source ScheduledQueryRule_STATUS

func (*ScheduledQueryRule_Spec) NewEmptyARMValue

func (rule *ScheduledQueryRule_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduledQueryRule_Spec) OriginalVersion

func (rule *ScheduledQueryRule_Spec) OriginalVersion() string

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

func (*ScheduledQueryRule_Spec) PopulateFromARM

func (rule *ScheduledQueryRule_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ScheduledQueryRule_Spec) SetAzureName

func (rule *ScheduledQueryRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ScheduledQueryRule_Spec_ARM

type ScheduledQueryRule_Spec_ARM struct {
	// Kind: Indicates the type of scheduled query rule. The default is LogAlert.
	Kind *ScheduledQueryRule_Kind_Spec `json:"kind,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: The rule properties of the resource.
	Properties *ScheduledQueryRuleProperties_ARM `json:"properties,omitempty"`

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

func (*ScheduledQueryRule_Spec_ARM) DeepCopy

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

func (*ScheduledQueryRule_Spec_ARM) DeepCopyInto

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

func (ScheduledQueryRule_Spec_ARM) GetAPIVersion

func (rule ScheduledQueryRule_Spec_ARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-06-15"

func (*ScheduledQueryRule_Spec_ARM) GetName

func (rule *ScheduledQueryRule_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*ScheduledQueryRule_Spec_ARM) GetType

func (rule *ScheduledQueryRule_Spec_ARM) GetType() string

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

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

type SystemData_STATUS struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20220615s.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20220615s.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

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

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

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

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_STATUS_ARM

type SystemData_STATUS_ARM struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS_ARM) DeepCopy

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

func (*SystemData_STATUS_ARM) DeepCopyInto

func (in *SystemData_STATUS_ARM) DeepCopyInto(out *SystemData_STATUS_ARM)

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

type WebTestGeolocation added in v2.7.0

type WebTestGeolocation struct {
	// Id: Location ID for the WebTest to run from.
	Id *string `json:"Id,omitempty"`
}

Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from.

func (*WebTestGeolocation) AssignProperties_From_WebTestGeolocation added in v2.7.0

func (geolocation *WebTestGeolocation) AssignProperties_From_WebTestGeolocation(source *v20220615s.WebTestGeolocation) error

AssignProperties_From_WebTestGeolocation populates our WebTestGeolocation from the provided source WebTestGeolocation

func (*WebTestGeolocation) AssignProperties_To_WebTestGeolocation added in v2.7.0

func (geolocation *WebTestGeolocation) AssignProperties_To_WebTestGeolocation(destination *v20220615s.WebTestGeolocation) error

AssignProperties_To_WebTestGeolocation populates the provided destination WebTestGeolocation from our WebTestGeolocation

func (*WebTestGeolocation) ConvertToARM added in v2.7.0

func (geolocation *WebTestGeolocation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebTestGeolocation) DeepCopy added in v2.7.0

func (in *WebTestGeolocation) DeepCopy() *WebTestGeolocation

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

func (*WebTestGeolocation) DeepCopyInto added in v2.7.0

func (in *WebTestGeolocation) DeepCopyInto(out *WebTestGeolocation)

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

func (*WebTestGeolocation) Initialize_From_WebTestGeolocation_STATUS added in v2.7.0

func (geolocation *WebTestGeolocation) Initialize_From_WebTestGeolocation_STATUS(source *WebTestGeolocation_STATUS) error

Initialize_From_WebTestGeolocation_STATUS populates our WebTestGeolocation from the provided source WebTestGeolocation_STATUS

func (*WebTestGeolocation) NewEmptyARMValue added in v2.7.0

func (geolocation *WebTestGeolocation) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestGeolocation) PopulateFromARM added in v2.7.0

func (geolocation *WebTestGeolocation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestGeolocation_ARM added in v2.7.0

type WebTestGeolocation_ARM struct {
	// Id: Location ID for the WebTest to run from.
	Id *string `json:"Id,omitempty"`
}

Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from.

func (*WebTestGeolocation_ARM) DeepCopy added in v2.7.0

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

func (*WebTestGeolocation_ARM) DeepCopyInto added in v2.7.0

func (in *WebTestGeolocation_ARM) DeepCopyInto(out *WebTestGeolocation_ARM)

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

type WebTestGeolocation_STATUS added in v2.7.0

type WebTestGeolocation_STATUS struct {
	// Id: Location ID for the WebTest to run from.
	Id *string `json:"Id,omitempty"`
}

Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from.

func (*WebTestGeolocation_STATUS) AssignProperties_From_WebTestGeolocation_STATUS added in v2.7.0

func (geolocation *WebTestGeolocation_STATUS) AssignProperties_From_WebTestGeolocation_STATUS(source *v20220615s.WebTestGeolocation_STATUS) error

AssignProperties_From_WebTestGeolocation_STATUS populates our WebTestGeolocation_STATUS from the provided source WebTestGeolocation_STATUS

func (*WebTestGeolocation_STATUS) AssignProperties_To_WebTestGeolocation_STATUS added in v2.7.0

func (geolocation *WebTestGeolocation_STATUS) AssignProperties_To_WebTestGeolocation_STATUS(destination *v20220615s.WebTestGeolocation_STATUS) error

AssignProperties_To_WebTestGeolocation_STATUS populates the provided destination WebTestGeolocation_STATUS from our WebTestGeolocation_STATUS

func (*WebTestGeolocation_STATUS) DeepCopy added in v2.7.0

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

func (*WebTestGeolocation_STATUS) DeepCopyInto added in v2.7.0

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

func (*WebTestGeolocation_STATUS) NewEmptyARMValue added in v2.7.0

func (geolocation *WebTestGeolocation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestGeolocation_STATUS) PopulateFromARM added in v2.7.0

func (geolocation *WebTestGeolocation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestGeolocation_STATUS_ARM added in v2.7.0

type WebTestGeolocation_STATUS_ARM struct {
	// Id: Location ID for the WebTest to run from.
	Id *string `json:"Id,omitempty"`
}

Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from.

func (*WebTestGeolocation_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*WebTestGeolocation_STATUS_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_ARM added in v2.7.0

type WebTestProperties_ARM struct {
	// Configuration: An XML configuration specification for a WebTest.
	Configuration *WebTestProperties_Configuration_ARM `json:"Configuration,omitempty"`

	// Description: User defined description for this WebTest.
	Description *string `json:"Description,omitempty"`

	// Enabled: Is the test actively being monitored.
	Enabled *bool `json:"Enabled,omitempty"`

	// Frequency: Interval in seconds between test runs for this WebTest. Default value is 300.
	Frequency *int `json:"Frequency,omitempty"`

	// Kind: The kind of web test this is, valid choices are ping, multistep and standard.
	Kind *WebTestProperties_Kind `json:"Kind,omitempty"`

	// Locations: A list of where to physically run the tests from to give global coverage for accessibility of your
	// application.
	Locations []WebTestGeolocation_ARM `json:"Locations,omitempty"`

	// Name: User defined name if this WebTest.
	Name *string `json:"Name,omitempty"`

	// Request: The collection of request properties
	Request *WebTestProperties_Request_ARM `json:"Request,omitempty"`

	// RetryEnabled: Allow for retries should this WebTest fail.
	RetryEnabled *bool `json:"RetryEnabled,omitempty"`

	// SyntheticMonitorId: Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorId *string `json:"SyntheticMonitorId,omitempty"`

	// Timeout: Seconds until this WebTest will timeout and fail. Default value is 30.
	Timeout *int `json:"Timeout,omitempty"`

	// ValidationRules: The collection of validation rule properties
	ValidationRules *WebTestProperties_ValidationRules_ARM `json:"ValidationRules,omitempty"`
}

Metadata describing a web test for an Azure resource.

func (*WebTestProperties_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ARM) DeepCopyInto added in v2.7.0

func (in *WebTestProperties_ARM) DeepCopyInto(out *WebTestProperties_ARM)

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

type WebTestProperties_Configuration added in v2.7.0

type WebTestProperties_Configuration struct {
	// WebTest: The XML specification of a WebTest to run against an application.
	WebTest *string `json:"WebTest,omitempty"`
}

func (*WebTestProperties_Configuration) AssignProperties_From_WebTestProperties_Configuration added in v2.7.0

func (configuration *WebTestProperties_Configuration) AssignProperties_From_WebTestProperties_Configuration(source *v20220615s.WebTestProperties_Configuration) error

AssignProperties_From_WebTestProperties_Configuration populates our WebTestProperties_Configuration from the provided source WebTestProperties_Configuration

func (*WebTestProperties_Configuration) AssignProperties_To_WebTestProperties_Configuration added in v2.7.0

func (configuration *WebTestProperties_Configuration) AssignProperties_To_WebTestProperties_Configuration(destination *v20220615s.WebTestProperties_Configuration) error

AssignProperties_To_WebTestProperties_Configuration populates the provided destination WebTestProperties_Configuration from our WebTestProperties_Configuration

func (*WebTestProperties_Configuration) ConvertToARM added in v2.7.0

func (configuration *WebTestProperties_Configuration) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebTestProperties_Configuration) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Configuration) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_Configuration) Initialize_From_WebTestProperties_Configuration_STATUS added in v2.7.0

func (configuration *WebTestProperties_Configuration) Initialize_From_WebTestProperties_Configuration_STATUS(source *WebTestProperties_Configuration_STATUS) error

Initialize_From_WebTestProperties_Configuration_STATUS populates our WebTestProperties_Configuration from the provided source WebTestProperties_Configuration_STATUS

func (*WebTestProperties_Configuration) NewEmptyARMValue added in v2.7.0

func (configuration *WebTestProperties_Configuration) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_Configuration) PopulateFromARM added in v2.7.0

func (configuration *WebTestProperties_Configuration) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_Configuration_ARM added in v2.7.0

type WebTestProperties_Configuration_ARM struct {
	// WebTest: The XML specification of a WebTest to run against an application.
	WebTest *string `json:"WebTest,omitempty"`
}

func (*WebTestProperties_Configuration_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Configuration_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_Configuration_STATUS added in v2.7.0

type WebTestProperties_Configuration_STATUS struct {
	// WebTest: The XML specification of a WebTest to run against an application.
	WebTest *string `json:"WebTest,omitempty"`
}

func (*WebTestProperties_Configuration_STATUS) AssignProperties_From_WebTestProperties_Configuration_STATUS added in v2.7.0

func (configuration *WebTestProperties_Configuration_STATUS) AssignProperties_From_WebTestProperties_Configuration_STATUS(source *v20220615s.WebTestProperties_Configuration_STATUS) error

AssignProperties_From_WebTestProperties_Configuration_STATUS populates our WebTestProperties_Configuration_STATUS from the provided source WebTestProperties_Configuration_STATUS

func (*WebTestProperties_Configuration_STATUS) AssignProperties_To_WebTestProperties_Configuration_STATUS added in v2.7.0

func (configuration *WebTestProperties_Configuration_STATUS) AssignProperties_To_WebTestProperties_Configuration_STATUS(destination *v20220615s.WebTestProperties_Configuration_STATUS) error

AssignProperties_To_WebTestProperties_Configuration_STATUS populates the provided destination WebTestProperties_Configuration_STATUS from our WebTestProperties_Configuration_STATUS

func (*WebTestProperties_Configuration_STATUS) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Configuration_STATUS) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_Configuration_STATUS) NewEmptyARMValue added in v2.7.0

func (configuration *WebTestProperties_Configuration_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_Configuration_STATUS) PopulateFromARM added in v2.7.0

func (configuration *WebTestProperties_Configuration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_Configuration_STATUS_ARM added in v2.7.0

type WebTestProperties_Configuration_STATUS_ARM struct {
	// WebTest: The XML specification of a WebTest to run against an application.
	WebTest *string `json:"WebTest,omitempty"`
}

func (*WebTestProperties_Configuration_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Configuration_STATUS_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_Kind added in v2.7.0

type WebTestProperties_Kind string

+kubebuilder:validation:Enum={"multistep","ping","standard"}

type WebTestProperties_Kind_STATUS added in v2.7.0

type WebTestProperties_Kind_STATUS string

type WebTestProperties_Request added in v2.7.0

type WebTestProperties_Request struct {
	// FollowRedirects: Follow redirects for this web test.
	FollowRedirects *bool `json:"FollowRedirects,omitempty"`

	// Headers: List of headers and their values to add to the WebTest call.
	Headers []HeaderField `json:"Headers,omitempty"`

	// HttpVerb: Http verb to use for this web test.
	HttpVerb *string `json:"HttpVerb,omitempty"`

	// ParseDependentRequests: Parse Dependent request for this WebTest.
	ParseDependentRequests *bool `json:"ParseDependentRequests,omitempty"`

	// RequestBody: Base64 encoded string body to send with this web test.
	RequestBody *string `json:"RequestBody,omitempty"`

	// RequestUrl: Url location to test.
	RequestUrl *string `json:"RequestUrl,omitempty"`
}

func (*WebTestProperties_Request) AssignProperties_From_WebTestProperties_Request added in v2.7.0

func (request *WebTestProperties_Request) AssignProperties_From_WebTestProperties_Request(source *v20220615s.WebTestProperties_Request) error

AssignProperties_From_WebTestProperties_Request populates our WebTestProperties_Request from the provided source WebTestProperties_Request

func (*WebTestProperties_Request) AssignProperties_To_WebTestProperties_Request added in v2.7.0

func (request *WebTestProperties_Request) AssignProperties_To_WebTestProperties_Request(destination *v20220615s.WebTestProperties_Request) error

AssignProperties_To_WebTestProperties_Request populates the provided destination WebTestProperties_Request from our WebTestProperties_Request

func (*WebTestProperties_Request) ConvertToARM added in v2.7.0

func (request *WebTestProperties_Request) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebTestProperties_Request) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Request) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_Request) Initialize_From_WebTestProperties_Request_STATUS added in v2.7.0

func (request *WebTestProperties_Request) Initialize_From_WebTestProperties_Request_STATUS(source *WebTestProperties_Request_STATUS) error

Initialize_From_WebTestProperties_Request_STATUS populates our WebTestProperties_Request from the provided source WebTestProperties_Request_STATUS

func (*WebTestProperties_Request) NewEmptyARMValue added in v2.7.0

func (request *WebTestProperties_Request) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_Request) PopulateFromARM added in v2.7.0

func (request *WebTestProperties_Request) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_Request_ARM added in v2.7.0

type WebTestProperties_Request_ARM struct {
	// FollowRedirects: Follow redirects for this web test.
	FollowRedirects *bool `json:"FollowRedirects,omitempty"`

	// Headers: List of headers and their values to add to the WebTest call.
	Headers []HeaderField_ARM `json:"Headers,omitempty"`

	// HttpVerb: Http verb to use for this web test.
	HttpVerb *string `json:"HttpVerb,omitempty"`

	// ParseDependentRequests: Parse Dependent request for this WebTest.
	ParseDependentRequests *bool `json:"ParseDependentRequests,omitempty"`

	// RequestBody: Base64 encoded string body to send with this web test.
	RequestBody *string `json:"RequestBody,omitempty"`

	// RequestUrl: Url location to test.
	RequestUrl *string `json:"RequestUrl,omitempty"`
}

func (*WebTestProperties_Request_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Request_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_Request_STATUS added in v2.7.0

type WebTestProperties_Request_STATUS struct {
	// FollowRedirects: Follow redirects for this web test.
	FollowRedirects *bool `json:"FollowRedirects,omitempty"`

	// Headers: List of headers and their values to add to the WebTest call.
	Headers []HeaderField_STATUS `json:"Headers,omitempty"`

	// HttpVerb: Http verb to use for this web test.
	HttpVerb *string `json:"HttpVerb,omitempty"`

	// ParseDependentRequests: Parse Dependent request for this WebTest.
	ParseDependentRequests *bool `json:"ParseDependentRequests,omitempty"`

	// RequestBody: Base64 encoded string body to send with this web test.
	RequestBody *string `json:"RequestBody,omitempty"`

	// RequestUrl: Url location to test.
	RequestUrl *string `json:"RequestUrl,omitempty"`
}

func (*WebTestProperties_Request_STATUS) AssignProperties_From_WebTestProperties_Request_STATUS added in v2.7.0

func (request *WebTestProperties_Request_STATUS) AssignProperties_From_WebTestProperties_Request_STATUS(source *v20220615s.WebTestProperties_Request_STATUS) error

AssignProperties_From_WebTestProperties_Request_STATUS populates our WebTestProperties_Request_STATUS from the provided source WebTestProperties_Request_STATUS

func (*WebTestProperties_Request_STATUS) AssignProperties_To_WebTestProperties_Request_STATUS added in v2.7.0

func (request *WebTestProperties_Request_STATUS) AssignProperties_To_WebTestProperties_Request_STATUS(destination *v20220615s.WebTestProperties_Request_STATUS) error

AssignProperties_To_WebTestProperties_Request_STATUS populates the provided destination WebTestProperties_Request_STATUS from our WebTestProperties_Request_STATUS

func (*WebTestProperties_Request_STATUS) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Request_STATUS) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_Request_STATUS) NewEmptyARMValue added in v2.7.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_Request_STATUS) PopulateFromARM added in v2.7.0

func (request *WebTestProperties_Request_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_Request_STATUS_ARM added in v2.7.0

type WebTestProperties_Request_STATUS_ARM struct {
	// FollowRedirects: Follow redirects for this web test.
	FollowRedirects *bool `json:"FollowRedirects,omitempty"`

	// Headers: List of headers and their values to add to the WebTest call.
	Headers []HeaderField_STATUS_ARM `json:"Headers,omitempty"`

	// HttpVerb: Http verb to use for this web test.
	HttpVerb *string `json:"HttpVerb,omitempty"`

	// ParseDependentRequests: Parse Dependent request for this WebTest.
	ParseDependentRequests *bool `json:"ParseDependentRequests,omitempty"`

	// RequestBody: Base64 encoded string body to send with this web test.
	RequestBody *string `json:"RequestBody,omitempty"`

	// RequestUrl: Url location to test.
	RequestUrl *string `json:"RequestUrl,omitempty"`
}

func (*WebTestProperties_Request_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_Request_STATUS_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_STATUS_ARM added in v2.7.0

type WebTestProperties_STATUS_ARM struct {
	// Configuration: An XML configuration specification for a WebTest.
	Configuration *WebTestProperties_Configuration_STATUS_ARM `json:"Configuration,omitempty"`

	// Description: User defined description for this WebTest.
	Description *string `json:"Description,omitempty"`

	// Enabled: Is the test actively being monitored.
	Enabled *bool `json:"Enabled,omitempty"`

	// Frequency: Interval in seconds between test runs for this WebTest. Default value is 300.
	Frequency *int `json:"Frequency,omitempty"`

	// Kind: The kind of web test this is, valid choices are ping, multistep and standard.
	Kind *WebTestProperties_Kind_STATUS `json:"Kind,omitempty"`

	// Locations: A list of where to physically run the tests from to give global coverage for accessibility of your
	// application.
	Locations []WebTestGeolocation_STATUS_ARM `json:"Locations,omitempty"`

	// Name: User defined name if this WebTest.
	Name *string `json:"Name,omitempty"`

	// ProvisioningState: Current state of this component, whether or not is has been provisioned within the resource group it
	// is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying,
	// Canceled, and Failed.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// Request: The collection of request properties
	Request *WebTestProperties_Request_STATUS_ARM `json:"Request,omitempty"`

	// RetryEnabled: Allow for retries should this WebTest fail.
	RetryEnabled *bool `json:"RetryEnabled,omitempty"`

	// SyntheticMonitorId: Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorId *string `json:"SyntheticMonitorId,omitempty"`

	// Timeout: Seconds until this WebTest will timeout and fail. Default value is 30.
	Timeout *int `json:"Timeout,omitempty"`

	// ValidationRules: The collection of validation rule properties
	ValidationRules *WebTestProperties_ValidationRules_STATUS_ARM `json:"ValidationRules,omitempty"`
}

Metadata describing a web test for an Azure resource.

func (*WebTestProperties_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_STATUS_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_ValidationRules added in v2.7.0

type WebTestProperties_ValidationRules struct {
	// ContentValidation: The collection of content validation properties
	ContentValidation *WebTestProperties_ValidationRules_ContentValidation `json:"ContentValidation,omitempty"`

	// ExpectedHttpStatusCode: Validate that the WebTest returns the http status code provided.
	ExpectedHttpStatusCode *int `json:"ExpectedHttpStatusCode,omitempty"`

	// IgnoreHttpStatusCode: When set, validation will ignore the status code.
	IgnoreHttpStatusCode *bool `json:"IgnoreHttpStatusCode,omitempty"`

	// SSLCertRemainingLifetimeCheck: A number of days to check still remain before the the existing SSL cert expires.  Value
	// must be positive and the SSLCheck must be set to true.
	SSLCertRemainingLifetimeCheck *int `json:"SSLCertRemainingLifetimeCheck,omitempty"`

	// SSLCheck: Checks to see if the SSL cert is still valid.
	SSLCheck *bool `json:"SSLCheck,omitempty"`
}

func (*WebTestProperties_ValidationRules) AssignProperties_From_WebTestProperties_ValidationRules added in v2.7.0

func (rules *WebTestProperties_ValidationRules) AssignProperties_From_WebTestProperties_ValidationRules(source *v20220615s.WebTestProperties_ValidationRules) error

AssignProperties_From_WebTestProperties_ValidationRules populates our WebTestProperties_ValidationRules from the provided source WebTestProperties_ValidationRules

func (*WebTestProperties_ValidationRules) AssignProperties_To_WebTestProperties_ValidationRules added in v2.7.0

func (rules *WebTestProperties_ValidationRules) AssignProperties_To_WebTestProperties_ValidationRules(destination *v20220615s.WebTestProperties_ValidationRules) error

AssignProperties_To_WebTestProperties_ValidationRules populates the provided destination WebTestProperties_ValidationRules from our WebTestProperties_ValidationRules

func (*WebTestProperties_ValidationRules) ConvertToARM added in v2.7.0

func (rules *WebTestProperties_ValidationRules) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebTestProperties_ValidationRules) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_ValidationRules) Initialize_From_WebTestProperties_ValidationRules_STATUS added in v2.7.0

func (rules *WebTestProperties_ValidationRules) Initialize_From_WebTestProperties_ValidationRules_STATUS(source *WebTestProperties_ValidationRules_STATUS) error

Initialize_From_WebTestProperties_ValidationRules_STATUS populates our WebTestProperties_ValidationRules from the provided source WebTestProperties_ValidationRules_STATUS

func (*WebTestProperties_ValidationRules) NewEmptyARMValue added in v2.7.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_ValidationRules) PopulateFromARM added in v2.7.0

func (rules *WebTestProperties_ValidationRules) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_ValidationRules_ARM added in v2.7.0

type WebTestProperties_ValidationRules_ARM struct {
	// ContentValidation: The collection of content validation properties
	ContentValidation *WebTestProperties_ValidationRules_ContentValidation_ARM `json:"ContentValidation,omitempty"`

	// ExpectedHttpStatusCode: Validate that the WebTest returns the http status code provided.
	ExpectedHttpStatusCode *int `json:"ExpectedHttpStatusCode,omitempty"`

	// IgnoreHttpStatusCode: When set, validation will ignore the status code.
	IgnoreHttpStatusCode *bool `json:"IgnoreHttpStatusCode,omitempty"`

	// SSLCertRemainingLifetimeCheck: A number of days to check still remain before the the existing SSL cert expires.  Value
	// must be positive and the SSLCheck must be set to true.
	SSLCertRemainingLifetimeCheck *int `json:"SSLCertRemainingLifetimeCheck,omitempty"`

	// SSLCheck: Checks to see if the SSL cert is still valid.
	SSLCheck *bool `json:"SSLCheck,omitempty"`
}

func (*WebTestProperties_ValidationRules_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_ValidationRules_ContentValidation added in v2.7.0

type WebTestProperties_ValidationRules_ContentValidation struct {
	// ContentMatch: Content to look for in the return of the WebTest.  Must not be null or empty.
	ContentMatch *string `json:"ContentMatch,omitempty"`

	// IgnoreCase: When set, this value makes the ContentMatch validation case insensitive.
	IgnoreCase *bool `json:"IgnoreCase,omitempty"`

	// PassIfTextFound: When true, validation will pass if there is a match for the ContentMatch string.  If false, validation
	// will fail if there is a match
	PassIfTextFound *bool `json:"PassIfTextFound,omitempty"`
}

func (*WebTestProperties_ValidationRules_ContentValidation) AssignProperties_From_WebTestProperties_ValidationRules_ContentValidation added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation) AssignProperties_From_WebTestProperties_ValidationRules_ContentValidation(source *v20220615s.WebTestProperties_ValidationRules_ContentValidation) error

AssignProperties_From_WebTestProperties_ValidationRules_ContentValidation populates our WebTestProperties_ValidationRules_ContentValidation from the provided source WebTestProperties_ValidationRules_ContentValidation

func (*WebTestProperties_ValidationRules_ContentValidation) AssignProperties_To_WebTestProperties_ValidationRules_ContentValidation added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation) AssignProperties_To_WebTestProperties_ValidationRules_ContentValidation(destination *v20220615s.WebTestProperties_ValidationRules_ContentValidation) error

AssignProperties_To_WebTestProperties_ValidationRules_ContentValidation populates the provided destination WebTestProperties_ValidationRules_ContentValidation from our WebTestProperties_ValidationRules_ContentValidation

func (*WebTestProperties_ValidationRules_ContentValidation) ConvertToARM added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebTestProperties_ValidationRules_ContentValidation) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ContentValidation) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ContentValidation) Initialize_From_WebTestProperties_ValidationRules_ContentValidation_STATUS added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation) Initialize_From_WebTestProperties_ValidationRules_ContentValidation_STATUS(source *WebTestProperties_ValidationRules_ContentValidation_STATUS) error

Initialize_From_WebTestProperties_ValidationRules_ContentValidation_STATUS populates our WebTestProperties_ValidationRules_ContentValidation from the provided source WebTestProperties_ValidationRules_ContentValidation_STATUS

func (*WebTestProperties_ValidationRules_ContentValidation) NewEmptyARMValue added in v2.7.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_ValidationRules_ContentValidation) PopulateFromARM added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_ValidationRules_ContentValidation_ARM added in v2.7.0

type WebTestProperties_ValidationRules_ContentValidation_ARM struct {
	// ContentMatch: Content to look for in the return of the WebTest.  Must not be null or empty.
	ContentMatch *string `json:"ContentMatch,omitempty"`

	// IgnoreCase: When set, this value makes the ContentMatch validation case insensitive.
	IgnoreCase *bool `json:"IgnoreCase,omitempty"`

	// PassIfTextFound: When true, validation will pass if there is a match for the ContentMatch string.  If false, validation
	// will fail if there is a match
	PassIfTextFound *bool `json:"PassIfTextFound,omitempty"`
}

func (*WebTestProperties_ValidationRules_ContentValidation_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ContentValidation_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_ValidationRules_ContentValidation_STATUS added in v2.7.0

type WebTestProperties_ValidationRules_ContentValidation_STATUS struct {
	// ContentMatch: Content to look for in the return of the WebTest.  Must not be null or empty.
	ContentMatch *string `json:"ContentMatch,omitempty"`

	// IgnoreCase: When set, this value makes the ContentMatch validation case insensitive.
	IgnoreCase *bool `json:"IgnoreCase,omitempty"`

	// PassIfTextFound: When true, validation will pass if there is a match for the ContentMatch string.  If false, validation
	// will fail if there is a match
	PassIfTextFound *bool `json:"PassIfTextFound,omitempty"`
}

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS) AssignProperties_From_WebTestProperties_ValidationRules_ContentValidation_STATUS added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation_STATUS) AssignProperties_From_WebTestProperties_ValidationRules_ContentValidation_STATUS(source *v20220615s.WebTestProperties_ValidationRules_ContentValidation_STATUS) error

AssignProperties_From_WebTestProperties_ValidationRules_ContentValidation_STATUS populates our WebTestProperties_ValidationRules_ContentValidation_STATUS from the provided source WebTestProperties_ValidationRules_ContentValidation_STATUS

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS) AssignProperties_To_WebTestProperties_ValidationRules_ContentValidation_STATUS added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation_STATUS) AssignProperties_To_WebTestProperties_ValidationRules_ContentValidation_STATUS(destination *v20220615s.WebTestProperties_ValidationRules_ContentValidation_STATUS) error

AssignProperties_To_WebTestProperties_ValidationRules_ContentValidation_STATUS populates the provided destination WebTestProperties_ValidationRules_ContentValidation_STATUS from our WebTestProperties_ValidationRules_ContentValidation_STATUS

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS) NewEmptyARMValue added in v2.7.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS) PopulateFromARM added in v2.7.0

func (validation *WebTestProperties_ValidationRules_ContentValidation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_ValidationRules_ContentValidation_STATUS_ARM added in v2.7.0

type WebTestProperties_ValidationRules_ContentValidation_STATUS_ARM struct {
	// ContentMatch: Content to look for in the return of the WebTest.  Must not be null or empty.
	ContentMatch *string `json:"ContentMatch,omitempty"`

	// IgnoreCase: When set, this value makes the ContentMatch validation case insensitive.
	IgnoreCase *bool `json:"IgnoreCase,omitempty"`

	// PassIfTextFound: When true, validation will pass if there is a match for the ContentMatch string.  If false, validation
	// will fail if there is a match
	PassIfTextFound *bool `json:"PassIfTextFound,omitempty"`
}

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_ContentValidation_STATUS_ARM) DeepCopyInto added in v2.7.0

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

type WebTestProperties_ValidationRules_STATUS added in v2.7.0

type WebTestProperties_ValidationRules_STATUS struct {
	// ContentValidation: The collection of content validation properties
	ContentValidation *WebTestProperties_ValidationRules_ContentValidation_STATUS `json:"ContentValidation,omitempty"`

	// ExpectedHttpStatusCode: Validate that the WebTest returns the http status code provided.
	ExpectedHttpStatusCode *int `json:"ExpectedHttpStatusCode,omitempty"`

	// IgnoreHttpStatusCode: When set, validation will ignore the status code.
	IgnoreHttpStatusCode *bool `json:"IgnoreHttpStatusCode,omitempty"`

	// SSLCertRemainingLifetimeCheck: A number of days to check still remain before the the existing SSL cert expires.  Value
	// must be positive and the SSLCheck must be set to true.
	SSLCertRemainingLifetimeCheck *int `json:"SSLCertRemainingLifetimeCheck,omitempty"`

	// SSLCheck: Checks to see if the SSL cert is still valid.
	SSLCheck *bool `json:"SSLCheck,omitempty"`
}

func (*WebTestProperties_ValidationRules_STATUS) AssignProperties_From_WebTestProperties_ValidationRules_STATUS added in v2.7.0

func (rules *WebTestProperties_ValidationRules_STATUS) AssignProperties_From_WebTestProperties_ValidationRules_STATUS(source *v20220615s.WebTestProperties_ValidationRules_STATUS) error

AssignProperties_From_WebTestProperties_ValidationRules_STATUS populates our WebTestProperties_ValidationRules_STATUS from the provided source WebTestProperties_ValidationRules_STATUS

func (*WebTestProperties_ValidationRules_STATUS) AssignProperties_To_WebTestProperties_ValidationRules_STATUS added in v2.7.0

func (rules *WebTestProperties_ValidationRules_STATUS) AssignProperties_To_WebTestProperties_ValidationRules_STATUS(destination *v20220615s.WebTestProperties_ValidationRules_STATUS) error

AssignProperties_To_WebTestProperties_ValidationRules_STATUS populates the provided destination WebTestProperties_ValidationRules_STATUS from our WebTestProperties_ValidationRules_STATUS

func (*WebTestProperties_ValidationRules_STATUS) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_STATUS) DeepCopyInto added in v2.7.0

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

func (*WebTestProperties_ValidationRules_STATUS) NewEmptyARMValue added in v2.7.0

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebTestProperties_ValidationRules_STATUS) PopulateFromARM added in v2.7.0

func (rules *WebTestProperties_ValidationRules_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebTestProperties_ValidationRules_STATUS_ARM added in v2.7.0

type WebTestProperties_ValidationRules_STATUS_ARM struct {
	// ContentValidation: The collection of content validation properties
	ContentValidation *WebTestProperties_ValidationRules_ContentValidation_STATUS_ARM `json:"ContentValidation,omitempty"`

	// ExpectedHttpStatusCode: Validate that the WebTest returns the http status code provided.
	ExpectedHttpStatusCode *int `json:"ExpectedHttpStatusCode,omitempty"`

	// IgnoreHttpStatusCode: When set, validation will ignore the status code.
	IgnoreHttpStatusCode *bool `json:"IgnoreHttpStatusCode,omitempty"`

	// SSLCertRemainingLifetimeCheck: A number of days to check still remain before the the existing SSL cert expires.  Value
	// must be positive and the SSLCheck must be set to true.
	SSLCertRemainingLifetimeCheck *int `json:"SSLCertRemainingLifetimeCheck,omitempty"`

	// SSLCheck: Checks to see if the SSL cert is still valid.
	SSLCheck *bool `json:"SSLCheck,omitempty"`
}

func (*WebTestProperties_ValidationRules_STATUS_ARM) DeepCopy added in v2.7.0

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

func (*WebTestProperties_ValidationRules_STATUS_ARM) DeepCopyInto added in v2.7.0

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

type Webtest added in v2.7.0

type Webtest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Webtest_Spec   `json:"spec,omitempty"`
	Status            Webtest_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: /applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/webTests_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}

func (*Webtest) AssignProperties_From_Webtest added in v2.7.0

func (webtest *Webtest) AssignProperties_From_Webtest(source *v20220615s.Webtest) error

AssignProperties_From_Webtest populates our Webtest from the provided source Webtest

func (*Webtest) AssignProperties_To_Webtest added in v2.7.0

func (webtest *Webtest) AssignProperties_To_Webtest(destination *v20220615s.Webtest) error

AssignProperties_To_Webtest populates the provided destination Webtest from our Webtest

func (*Webtest) AzureName added in v2.7.0

func (webtest *Webtest) AzureName() string

AzureName returns the Azure name of the resource

func (*Webtest) ConvertFrom added in v2.7.0

func (webtest *Webtest) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our Webtest from the provided hub Webtest

func (*Webtest) ConvertTo added in v2.7.0

func (webtest *Webtest) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub Webtest from our Webtest

func (*Webtest) DeepCopy added in v2.7.0

func (in *Webtest) DeepCopy() *Webtest

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

func (*Webtest) DeepCopyInto added in v2.7.0

func (in *Webtest) DeepCopyInto(out *Webtest)

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

func (*Webtest) DeepCopyObject added in v2.7.0

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

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

func (*Webtest) Default added in v2.7.0

func (webtest *Webtest) Default()

Default applies defaults to the Webtest resource

func (Webtest) GetAPIVersion added in v2.7.0

func (webtest Webtest) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-06-15"

func (*Webtest) GetConditions added in v2.7.0

func (webtest *Webtest) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Webtest) GetResourceScope added in v2.7.0

func (webtest *Webtest) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Webtest) GetSpec added in v2.7.0

func (webtest *Webtest) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Webtest) GetStatus added in v2.7.0

func (webtest *Webtest) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Webtest) GetSupportedOperations added in v2.7.0

func (webtest *Webtest) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Webtest) GetType added in v2.7.0

func (webtest *Webtest) GetType() string

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

func (*Webtest) InitializeSpec added in v2.7.0

func (webtest *Webtest) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*Webtest) NewEmptyStatus added in v2.7.0

func (webtest *Webtest) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Webtest) OriginalGVK added in v2.7.0

func (webtest *Webtest) OriginalGVK() *schema.GroupVersionKind

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

func (*Webtest) Owner added in v2.7.0

func (webtest *Webtest) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Webtest) SetConditions added in v2.7.0

func (webtest *Webtest) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Webtest) SetStatus added in v2.7.0

func (webtest *Webtest) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*Webtest) ValidateCreate added in v2.7.0

func (webtest *Webtest) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*Webtest) ValidateDelete added in v2.7.0

func (webtest *Webtest) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*Webtest) ValidateUpdate added in v2.7.0

func (webtest *Webtest) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type WebtestList added in v2.7.0

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

+kubebuilder:object:root=true Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/webTests_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}

func (*WebtestList) DeepCopy added in v2.7.0

func (in *WebtestList) DeepCopy() *WebtestList

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

func (*WebtestList) DeepCopyInto added in v2.7.0

func (in *WebtestList) DeepCopyInto(out *WebtestList)

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

func (*WebtestList) DeepCopyObject added in v2.7.0

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

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

type Webtest_STATUS added in v2.7.0

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

	// Configuration: An XML configuration specification for a WebTest.
	Configuration *WebTestProperties_Configuration_STATUS `json:"Configuration,omitempty"`

	// Description: User defined description for this WebTest.
	Description *string `json:"Description,omitempty"`

	// Enabled: Is the test actively being monitored.
	Enabled *bool `json:"Enabled,omitempty"`

	// Frequency: Interval in seconds between test runs for this WebTest. Default value is 300.
	Frequency *int `json:"Frequency,omitempty"`

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

	// Kind: The kind of web test this is, valid choices are ping, multistep and standard.
	Kind *WebTestProperties_Kind_STATUS `json:"Kind,omitempty"`

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

	// Locations: A list of where to physically run the tests from to give global coverage for accessibility of your
	// application.
	Locations []WebTestGeolocation_STATUS `json:"Locations,omitempty"`

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

	// PropertiesName: User defined name if this WebTest.
	PropertiesName *string `json:"properties_name,omitempty"`

	// ProvisioningState: Current state of this component, whether or not is has been provisioned within the resource group it
	// is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying,
	// Canceled, and Failed.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// Request: The collection of request properties
	Request *WebTestProperties_Request_STATUS `json:"Request,omitempty"`

	// RetryEnabled: Allow for retries should this WebTest fail.
	RetryEnabled *bool `json:"RetryEnabled,omitempty"`

	// SyntheticMonitorId: Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorId *string `json:"SyntheticMonitorId,omitempty"`

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

	// Timeout: Seconds until this WebTest will timeout and fail. Default value is 30.
	Timeout *int `json:"Timeout,omitempty"`

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

	// ValidationRules: The collection of validation rule properties
	ValidationRules *WebTestProperties_ValidationRules_STATUS `json:"ValidationRules,omitempty"`
}

func (*Webtest_STATUS) AssignProperties_From_Webtest_STATUS added in v2.7.0

func (webtest *Webtest_STATUS) AssignProperties_From_Webtest_STATUS(source *v20220615s.Webtest_STATUS) error

AssignProperties_From_Webtest_STATUS populates our Webtest_STATUS from the provided source Webtest_STATUS

func (*Webtest_STATUS) AssignProperties_To_Webtest_STATUS added in v2.7.0

func (webtest *Webtest_STATUS) AssignProperties_To_Webtest_STATUS(destination *v20220615s.Webtest_STATUS) error

AssignProperties_To_Webtest_STATUS populates the provided destination Webtest_STATUS from our Webtest_STATUS

func (*Webtest_STATUS) ConvertStatusFrom added in v2.7.0

func (webtest *Webtest_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Webtest_STATUS from the provided source

func (*Webtest_STATUS) ConvertStatusTo added in v2.7.0

func (webtest *Webtest_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Webtest_STATUS

func (*Webtest_STATUS) DeepCopy added in v2.7.0

func (in *Webtest_STATUS) DeepCopy() *Webtest_STATUS

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

func (*Webtest_STATUS) DeepCopyInto added in v2.7.0

func (in *Webtest_STATUS) DeepCopyInto(out *Webtest_STATUS)

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

func (*Webtest_STATUS) NewEmptyARMValue added in v2.7.0

func (webtest *Webtest_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Webtest_STATUS) PopulateFromARM added in v2.7.0

func (webtest *Webtest_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Webtest_STATUS_ARM added in v2.7.0

type Webtest_STATUS_ARM struct {
	// Id: Azure resource Id
	Id *string `json:"id,omitempty"`

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

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

	// Properties: Metadata describing a web test for an Azure resource.
	Properties *WebTestProperties_STATUS_ARM `json:"properties,omitempty"`

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

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

func (*Webtest_STATUS_ARM) DeepCopy added in v2.7.0

func (in *Webtest_STATUS_ARM) DeepCopy() *Webtest_STATUS_ARM

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

func (*Webtest_STATUS_ARM) DeepCopyInto added in v2.7.0

func (in *Webtest_STATUS_ARM) DeepCopyInto(out *Webtest_STATUS_ARM)

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

type Webtest_Spec added in v2.7.0

type Webtest_Spec struct {
	// 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"`

	// Configuration: An XML configuration specification for a WebTest.
	Configuration *WebTestProperties_Configuration `json:"Configuration,omitempty"`

	// Description: User defined description for this WebTest.
	Description *string `json:"Description,omitempty"`

	// Enabled: Is the test actively being monitored.
	Enabled *bool `json:"Enabled,omitempty"`

	// Frequency: Interval in seconds between test runs for this WebTest. Default value is 300.
	Frequency *int `json:"Frequency,omitempty"`

	// +kubebuilder:validation:Required
	// Kind: The kind of web test this is, valid choices are ping, multistep and standard.
	Kind *WebTestProperties_Kind `json:"Kind,omitempty"`

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

	// +kubebuilder:validation:Required
	// Locations: A list of where to physically run the tests from to give global coverage for accessibility of your
	// application.
	Locations []WebTestGeolocation `json:"Locations,omitempty"`

	// +kubebuilder:validation:Required
	// Name: User defined name if this WebTest.
	Name *string `json:"Name,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"`

	// Request: The collection of request properties
	Request *WebTestProperties_Request `json:"Request,omitempty"`

	// RetryEnabled: Allow for retries should this WebTest fail.
	RetryEnabled *bool `json:"RetryEnabled,omitempty"`

	// +kubebuilder:validation:Required
	// SyntheticMonitorId: Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorId *string `json:"SyntheticMonitorId,omitempty"`

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

	// Timeout: Seconds until this WebTest will timeout and fail. Default value is 30.
	Timeout *int `json:"Timeout,omitempty"`

	// ValidationRules: The collection of validation rule properties
	ValidationRules *WebTestProperties_ValidationRules `json:"ValidationRules,omitempty"`
}

func (*Webtest_Spec) AssignProperties_From_Webtest_Spec added in v2.7.0

func (webtest *Webtest_Spec) AssignProperties_From_Webtest_Spec(source *v20220615s.Webtest_Spec) error

AssignProperties_From_Webtest_Spec populates our Webtest_Spec from the provided source Webtest_Spec

func (*Webtest_Spec) AssignProperties_To_Webtest_Spec added in v2.7.0

func (webtest *Webtest_Spec) AssignProperties_To_Webtest_Spec(destination *v20220615s.Webtest_Spec) error

AssignProperties_To_Webtest_Spec populates the provided destination Webtest_Spec from our Webtest_Spec

func (*Webtest_Spec) ConvertSpecFrom added in v2.7.0

func (webtest *Webtest_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Webtest_Spec from the provided source

func (*Webtest_Spec) ConvertSpecTo added in v2.7.0

func (webtest *Webtest_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Webtest_Spec

func (*Webtest_Spec) ConvertToARM added in v2.7.0

func (webtest *Webtest_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Webtest_Spec) DeepCopy added in v2.7.0

func (in *Webtest_Spec) DeepCopy() *Webtest_Spec

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

func (*Webtest_Spec) DeepCopyInto added in v2.7.0

func (in *Webtest_Spec) DeepCopyInto(out *Webtest_Spec)

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

func (*Webtest_Spec) Initialize_From_Webtest_STATUS added in v2.7.0

func (webtest *Webtest_Spec) Initialize_From_Webtest_STATUS(source *Webtest_STATUS) error

Initialize_From_Webtest_STATUS populates our Webtest_Spec from the provided source Webtest_STATUS

func (*Webtest_Spec) NewEmptyARMValue added in v2.7.0

func (webtest *Webtest_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Webtest_Spec) OriginalVersion added in v2.7.0

func (webtest *Webtest_Spec) OriginalVersion() string

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

func (*Webtest_Spec) PopulateFromARM added in v2.7.0

func (webtest *Webtest_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Webtest_Spec) SetAzureName added in v2.7.0

func (webtest *Webtest_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Webtest_Spec_ARM added in v2.7.0

type Webtest_Spec_ARM struct {
	// Location: Resource location
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: Metadata describing a web test for an Azure resource.
	Properties *WebTestProperties_ARM `json:"properties,omitempty"`

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

func (*Webtest_Spec_ARM) DeepCopy added in v2.7.0

func (in *Webtest_Spec_ARM) DeepCopy() *Webtest_Spec_ARM

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

func (*Webtest_Spec_ARM) DeepCopyInto added in v2.7.0

func (in *Webtest_Spec_ARM) DeepCopyInto(out *Webtest_Spec_ARM)

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

func (Webtest_Spec_ARM) GetAPIVersion added in v2.7.0

func (webtest Webtest_Spec_ARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-06-15"

func (*Webtest_Spec_ARM) GetName added in v2.7.0

func (webtest *Webtest_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*Webtest_Spec_ARM) GetType added in v2.7.0

func (webtest *Webtest_Spec_ARM) GetType() string

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

Directories

Path Synopsis
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=v1api20220615storage
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=v1api20220615storage

Jump to

Keyboard shortcuts

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