v1api20210401

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

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

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

Documentation

Overview

Package v1api20210401 contains API Schema definitions for the alertsmanagement v1api20210401 API group +groupName=alertsmanagement.azure.com

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

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

Index

Constants

View Source
const (
	AlertRuleProperties_Severity_Sev0 = AlertRuleProperties_Severity("Sev0")
	AlertRuleProperties_Severity_Sev1 = AlertRuleProperties_Severity("Sev1")
	AlertRuleProperties_Severity_Sev2 = AlertRuleProperties_Severity("Sev2")
	AlertRuleProperties_Severity_Sev3 = AlertRuleProperties_Severity("Sev3")
	AlertRuleProperties_Severity_Sev4 = AlertRuleProperties_Severity("Sev4")
)
View Source
const (
	AlertRuleProperties_Severity_STATUS_Sev0 = AlertRuleProperties_Severity_STATUS("Sev0")
	AlertRuleProperties_Severity_STATUS_Sev1 = AlertRuleProperties_Severity_STATUS("Sev1")
	AlertRuleProperties_Severity_STATUS_Sev2 = AlertRuleProperties_Severity_STATUS("Sev2")
	AlertRuleProperties_Severity_STATUS_Sev3 = AlertRuleProperties_Severity_STATUS("Sev3")
	AlertRuleProperties_Severity_STATUS_Sev4 = AlertRuleProperties_Severity_STATUS("Sev4")
)
View Source
const (
	AlertRuleProperties_State_Disabled = AlertRuleProperties_State("Disabled")
	AlertRuleProperties_State_Enabled  = AlertRuleProperties_State("Enabled")
)
View Source
const (
	AlertRuleProperties_State_STATUS_Disabled = AlertRuleProperties_State_STATUS("Disabled")
	AlertRuleProperties_State_STATUS_Enabled  = AlertRuleProperties_State_STATUS("Enabled")
)
View Source
const (
	DetectorParameterDefinition_Type_STATUS_Boolean  = DetectorParameterDefinition_Type_STATUS("Boolean")
	DetectorParameterDefinition_Type_STATUS_DateTime = DetectorParameterDefinition_Type_STATUS("DateTime")
	DetectorParameterDefinition_Type_STATUS_Double   = DetectorParameterDefinition_Type_STATUS("Double")
	DetectorParameterDefinition_Type_STATUS_Integer  = DetectorParameterDefinition_Type_STATUS("Integer")
	DetectorParameterDefinition_Type_STATUS_String   = DetectorParameterDefinition_Type_STATUS("String")
)
View Source
const APIVersion_Value = APIVersion("2021-04-01")

Variables

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

	// 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={"2021-04-01"}

type ActionGroupsInformation

type ActionGroupsInformation struct {
	// CustomEmailSubject: An optional custom email subject to use in email notifications.
	CustomEmailSubject *string `json:"customEmailSubject,omitempty"`

	// CustomWebhookPayload: An optional custom web-hook payload to use in web-hook notifications.
	CustomWebhookPayload *string `json:"customWebhookPayload,omitempty"`

	// +kubebuilder:validation:Required
	// GroupReferences: The Action Group resource IDs.
	GroupReferences []genruntime.ResourceReference `armReference:"GroupIds" json:"groupReferences,omitempty"`
}

The Action Groups information, used by the alert rule.

func (*ActionGroupsInformation) AssignProperties_From_ActionGroupsInformation

func (information *ActionGroupsInformation) AssignProperties_From_ActionGroupsInformation(source *storage.ActionGroupsInformation) error

AssignProperties_From_ActionGroupsInformation populates our ActionGroupsInformation from the provided source ActionGroupsInformation

func (*ActionGroupsInformation) AssignProperties_To_ActionGroupsInformation

func (information *ActionGroupsInformation) AssignProperties_To_ActionGroupsInformation(destination *storage.ActionGroupsInformation) error

AssignProperties_To_ActionGroupsInformation populates the provided destination ActionGroupsInformation from our ActionGroupsInformation

func (*ActionGroupsInformation) ConvertToARM

func (information *ActionGroupsInformation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ActionGroupsInformation) DeepCopy

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

func (*ActionGroupsInformation) DeepCopyInto

func (in *ActionGroupsInformation) DeepCopyInto(out *ActionGroupsInformation)

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

func (*ActionGroupsInformation) Initialize_From_ActionGroupsInformation_STATUS

func (information *ActionGroupsInformation) Initialize_From_ActionGroupsInformation_STATUS(source *ActionGroupsInformation_STATUS) error

Initialize_From_ActionGroupsInformation_STATUS populates our ActionGroupsInformation from the provided source ActionGroupsInformation_STATUS

func (*ActionGroupsInformation) NewEmptyARMValue

func (information *ActionGroupsInformation) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActionGroupsInformation) PopulateFromARM

func (information *ActionGroupsInformation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ActionGroupsInformation_STATUS

type ActionGroupsInformation_STATUS struct {
	// CustomEmailSubject: An optional custom email subject to use in email notifications.
	CustomEmailSubject *string `json:"customEmailSubject,omitempty"`

	// CustomWebhookPayload: An optional custom web-hook payload to use in web-hook notifications.
	CustomWebhookPayload *string `json:"customWebhookPayload,omitempty"`

	// GroupIds: The Action Group resource IDs.
	GroupIds []string `json:"groupIds,omitempty"`
}

The Action Groups information, used by the alert rule.

func (*ActionGroupsInformation_STATUS) AssignProperties_From_ActionGroupsInformation_STATUS

func (information *ActionGroupsInformation_STATUS) AssignProperties_From_ActionGroupsInformation_STATUS(source *storage.ActionGroupsInformation_STATUS) error

AssignProperties_From_ActionGroupsInformation_STATUS populates our ActionGroupsInformation_STATUS from the provided source ActionGroupsInformation_STATUS

func (*ActionGroupsInformation_STATUS) AssignProperties_To_ActionGroupsInformation_STATUS

func (information *ActionGroupsInformation_STATUS) AssignProperties_To_ActionGroupsInformation_STATUS(destination *storage.ActionGroupsInformation_STATUS) error

AssignProperties_To_ActionGroupsInformation_STATUS populates the provided destination ActionGroupsInformation_STATUS from our ActionGroupsInformation_STATUS

func (*ActionGroupsInformation_STATUS) DeepCopy

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

func (*ActionGroupsInformation_STATUS) DeepCopyInto

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

func (*ActionGroupsInformation_STATUS) NewEmptyARMValue

func (information *ActionGroupsInformation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActionGroupsInformation_STATUS) PopulateFromARM

func (information *ActionGroupsInformation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AlertRuleProperties_Severity

type AlertRuleProperties_Severity string

+kubebuilder:validation:Enum={"Sev0","Sev1","Sev2","Sev3","Sev4"}

type AlertRuleProperties_Severity_STATUS

type AlertRuleProperties_Severity_STATUS string

type AlertRuleProperties_State

type AlertRuleProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type AlertRuleProperties_State_STATUS

type AlertRuleProperties_State_STATUS string

type Detector

type Detector struct {
	// +kubebuilder:validation:Required
	// Id: The detector id.
	Id *string `json:"id,omitempty"`

	// Parameters: The detector's parameters.'
	Parameters map[string]v1.JSON `json:"parameters,omitempty"`
}

The detector information. By default this is not populated, unless it's specified in expandDetector

func (*Detector) AssignProperties_From_Detector

func (detector *Detector) AssignProperties_From_Detector(source *storage.Detector) error

AssignProperties_From_Detector populates our Detector from the provided source Detector

func (*Detector) AssignProperties_To_Detector

func (detector *Detector) AssignProperties_To_Detector(destination *storage.Detector) error

AssignProperties_To_Detector populates the provided destination Detector from our Detector

func (*Detector) ConvertToARM

func (detector *Detector) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Detector) DeepCopy

func (in *Detector) DeepCopy() *Detector

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

func (*Detector) DeepCopyInto

func (in *Detector) DeepCopyInto(out *Detector)

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

func (*Detector) Initialize_From_Detector_STATUS

func (detector *Detector) Initialize_From_Detector_STATUS(source *Detector_STATUS) error

Initialize_From_Detector_STATUS populates our Detector from the provided source Detector_STATUS

func (*Detector) NewEmptyARMValue

func (detector *Detector) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Detector) PopulateFromARM

func (detector *Detector) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DetectorParameterDefinition_STATUS

type DetectorParameterDefinition_STATUS struct {
	// Description: The detector parameter description.
	Description *string `json:"description,omitempty"`

	// DisplayName: The detector parameter display name.
	DisplayName *string `json:"displayName,omitempty"`

	// IsMandatory: A value indicating whether this detector parameter is mandatory.
	IsMandatory *bool `json:"isMandatory,omitempty"`

	// Name: The detector parameter name.
	Name *string `json:"name,omitempty"`

	// Type: The detector parameter type.
	Type *DetectorParameterDefinition_Type_STATUS `json:"type,omitempty"`
}

The detector parameter definition.

func (*DetectorParameterDefinition_STATUS) AssignProperties_From_DetectorParameterDefinition_STATUS

func (definition *DetectorParameterDefinition_STATUS) AssignProperties_From_DetectorParameterDefinition_STATUS(source *storage.DetectorParameterDefinition_STATUS) error

AssignProperties_From_DetectorParameterDefinition_STATUS populates our DetectorParameterDefinition_STATUS from the provided source DetectorParameterDefinition_STATUS

func (*DetectorParameterDefinition_STATUS) AssignProperties_To_DetectorParameterDefinition_STATUS

func (definition *DetectorParameterDefinition_STATUS) AssignProperties_To_DetectorParameterDefinition_STATUS(destination *storage.DetectorParameterDefinition_STATUS) error

AssignProperties_To_DetectorParameterDefinition_STATUS populates the provided destination DetectorParameterDefinition_STATUS from our DetectorParameterDefinition_STATUS

func (*DetectorParameterDefinition_STATUS) DeepCopy

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

func (*DetectorParameterDefinition_STATUS) DeepCopyInto

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

func (*DetectorParameterDefinition_STATUS) NewEmptyARMValue

func (definition *DetectorParameterDefinition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DetectorParameterDefinition_STATUS) PopulateFromARM

func (definition *DetectorParameterDefinition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DetectorParameterDefinition_Type_STATUS

type DetectorParameterDefinition_Type_STATUS string

type Detector_STATUS

type Detector_STATUS struct {
	// Description: The Smart Detector description.
	Description *string `json:"description,omitempty"`

	// Id: The detector id.
	Id *string `json:"id,omitempty"`

	// ImagePaths: The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector
	ImagePaths []string `json:"imagePaths,omitempty"`

	// Name: The Smart Detector name.
	Name *string `json:"name,omitempty"`

	// ParameterDefinitions: The Smart Detector parameters definitions.'
	ParameterDefinitions []DetectorParameterDefinition_STATUS `json:"parameterDefinitions,omitempty"`

	// Parameters: The detector's parameters.'
	Parameters map[string]v1.JSON `json:"parameters,omitempty"`

	// SupportedCadences: The Smart Detector supported cadences.
	SupportedCadences []int `json:"supportedCadences,omitempty"`

	// SupportedResourceTypes: The Smart Detector supported resource types.
	SupportedResourceTypes []string `json:"supportedResourceTypes,omitempty"`
}

The detector information. By default this is not populated, unless it's specified in expandDetector

func (*Detector_STATUS) AssignProperties_From_Detector_STATUS

func (detector *Detector_STATUS) AssignProperties_From_Detector_STATUS(source *storage.Detector_STATUS) error

AssignProperties_From_Detector_STATUS populates our Detector_STATUS from the provided source Detector_STATUS

func (*Detector_STATUS) AssignProperties_To_Detector_STATUS

func (detector *Detector_STATUS) AssignProperties_To_Detector_STATUS(destination *storage.Detector_STATUS) error

AssignProperties_To_Detector_STATUS populates the provided destination Detector_STATUS from our Detector_STATUS

func (*Detector_STATUS) DeepCopy

func (in *Detector_STATUS) DeepCopy() *Detector_STATUS

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

func (*Detector_STATUS) DeepCopyInto

func (in *Detector_STATUS) DeepCopyInto(out *Detector_STATUS)

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

func (*Detector_STATUS) NewEmptyARMValue

func (detector *Detector_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Detector_STATUS) PopulateFromARM

func (detector *Detector_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SmartDetectorAlertRule

type SmartDetectorAlertRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SmartDetectorAlertRule_Spec   `json:"spec,omitempty"`
	Status            SmartDetectorAlertRule_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: /alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-04-01/SmartDetectorAlertRulesApi.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}

func (*SmartDetectorAlertRule) AssignProperties_From_SmartDetectorAlertRule

func (rule *SmartDetectorAlertRule) AssignProperties_From_SmartDetectorAlertRule(source *storage.SmartDetectorAlertRule) error

AssignProperties_From_SmartDetectorAlertRule populates our SmartDetectorAlertRule from the provided source SmartDetectorAlertRule

func (*SmartDetectorAlertRule) AssignProperties_To_SmartDetectorAlertRule

func (rule *SmartDetectorAlertRule) AssignProperties_To_SmartDetectorAlertRule(destination *storage.SmartDetectorAlertRule) error

AssignProperties_To_SmartDetectorAlertRule populates the provided destination SmartDetectorAlertRule from our SmartDetectorAlertRule

func (*SmartDetectorAlertRule) AzureName

func (rule *SmartDetectorAlertRule) AzureName() string

AzureName returns the Azure name of the resource

func (*SmartDetectorAlertRule) ConfigMapDestinationExpressions

func (rule *SmartDetectorAlertRule) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*SmartDetectorAlertRule) ConvertFrom

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

ConvertFrom populates our SmartDetectorAlertRule from the provided hub SmartDetectorAlertRule

func (*SmartDetectorAlertRule) ConvertTo

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

ConvertTo populates the provided hub SmartDetectorAlertRule from our SmartDetectorAlertRule

func (*SmartDetectorAlertRule) DeepCopy

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

func (*SmartDetectorAlertRule) DeepCopyInto

func (in *SmartDetectorAlertRule) DeepCopyInto(out *SmartDetectorAlertRule)

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

func (*SmartDetectorAlertRule) DeepCopyObject

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

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

func (*SmartDetectorAlertRule) Default

func (rule *SmartDetectorAlertRule) Default()

Default applies defaults to the SmartDetectorAlertRule resource

func (SmartDetectorAlertRule) GetAPIVersion

func (rule SmartDetectorAlertRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-04-01"

func (*SmartDetectorAlertRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*SmartDetectorAlertRule) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*SmartDetectorAlertRule) GetSpec

GetSpec returns the specification of this resource

func (*SmartDetectorAlertRule) GetStatus

GetStatus returns the status of this resource

func (*SmartDetectorAlertRule) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*SmartDetectorAlertRule) GetType

func (rule *SmartDetectorAlertRule) GetType() string

GetType returns the ARM Type of the resource. This is always "microsoft.alertsManagement/smartDetectorAlertRules"

func (*SmartDetectorAlertRule) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*SmartDetectorAlertRule) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*SmartDetectorAlertRule) OriginalGVK

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

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

func (*SmartDetectorAlertRule) Owner

Owner returns the ResourceReference of the owner

func (*SmartDetectorAlertRule) SecretDestinationExpressions

func (rule *SmartDetectorAlertRule) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*SmartDetectorAlertRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*SmartDetectorAlertRule) SetStatus

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

SetStatus sets the status of this resource

func (*SmartDetectorAlertRule) ValidateCreate

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

ValidateCreate validates the creation of the resource

func (*SmartDetectorAlertRule) ValidateDelete

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

ValidateDelete validates the deletion of the resource

func (*SmartDetectorAlertRule) ValidateUpdate

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

ValidateUpdate validates an update of the resource

type SmartDetectorAlertRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-04-01/SmartDetectorAlertRulesApi.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}

func (*SmartDetectorAlertRuleList) DeepCopy

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

func (*SmartDetectorAlertRuleList) DeepCopyInto

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

func (*SmartDetectorAlertRuleList) DeepCopyObject

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

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

type SmartDetectorAlertRuleOperatorSpec

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

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

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

func (*SmartDetectorAlertRuleOperatorSpec) AssignProperties_From_SmartDetectorAlertRuleOperatorSpec

func (operator *SmartDetectorAlertRuleOperatorSpec) AssignProperties_From_SmartDetectorAlertRuleOperatorSpec(source *storage.SmartDetectorAlertRuleOperatorSpec) error

AssignProperties_From_SmartDetectorAlertRuleOperatorSpec populates our SmartDetectorAlertRuleOperatorSpec from the provided source SmartDetectorAlertRuleOperatorSpec

func (*SmartDetectorAlertRuleOperatorSpec) AssignProperties_To_SmartDetectorAlertRuleOperatorSpec

func (operator *SmartDetectorAlertRuleOperatorSpec) AssignProperties_To_SmartDetectorAlertRuleOperatorSpec(destination *storage.SmartDetectorAlertRuleOperatorSpec) error

AssignProperties_To_SmartDetectorAlertRuleOperatorSpec populates the provided destination SmartDetectorAlertRuleOperatorSpec from our SmartDetectorAlertRuleOperatorSpec

func (*SmartDetectorAlertRuleOperatorSpec) DeepCopy

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

func (*SmartDetectorAlertRuleOperatorSpec) DeepCopyInto

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

type SmartDetectorAlertRule_STATUS

type SmartDetectorAlertRule_STATUS struct {
	// ActionGroups: The alert rule actions.
	ActionGroups *ActionGroupsInformation_STATUS `json:"actionGroups,omitempty"`

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

	// Description: The alert rule description.
	Description *string `json:"description,omitempty"`

	// Detector: The alert rule's detector.
	Detector *Detector_STATUS `json:"detector,omitempty"`

	// Frequency: The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 1
	// minute, depending on the detector.
	Frequency *string `json:"frequency,omitempty"`

	// Id: The resource ID.
	Id *string `json:"id,omitempty"`

	// Location: The resource location.
	Location *string `json:"location,omitempty"`

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

	// Scope: The alert rule resources scope.
	Scope []string `json:"scope,omitempty"`

	// Severity: The alert rule severity.
	Severity *AlertRuleProperties_Severity_STATUS `json:"severity,omitempty"`

	// State: The alert rule state.
	State *AlertRuleProperties_State_STATUS `json:"state,omitempty"`

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

	// Throttling: The alert rule throttling information.
	Throttling *ThrottlingInformation_STATUS `json:"throttling,omitempty"`

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

func (*SmartDetectorAlertRule_STATUS) AssignProperties_From_SmartDetectorAlertRule_STATUS

func (rule *SmartDetectorAlertRule_STATUS) AssignProperties_From_SmartDetectorAlertRule_STATUS(source *storage.SmartDetectorAlertRule_STATUS) error

AssignProperties_From_SmartDetectorAlertRule_STATUS populates our SmartDetectorAlertRule_STATUS from the provided source SmartDetectorAlertRule_STATUS

func (*SmartDetectorAlertRule_STATUS) AssignProperties_To_SmartDetectorAlertRule_STATUS

func (rule *SmartDetectorAlertRule_STATUS) AssignProperties_To_SmartDetectorAlertRule_STATUS(destination *storage.SmartDetectorAlertRule_STATUS) error

AssignProperties_To_SmartDetectorAlertRule_STATUS populates the provided destination SmartDetectorAlertRule_STATUS from our SmartDetectorAlertRule_STATUS

func (*SmartDetectorAlertRule_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our SmartDetectorAlertRule_STATUS from the provided source

func (*SmartDetectorAlertRule_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our SmartDetectorAlertRule_STATUS

func (*SmartDetectorAlertRule_STATUS) DeepCopy

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

func (*SmartDetectorAlertRule_STATUS) DeepCopyInto

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

func (*SmartDetectorAlertRule_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SmartDetectorAlertRule_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SmartDetectorAlertRule_Spec

type SmartDetectorAlertRule_Spec struct {
	// +kubebuilder:validation:Required
	// ActionGroups: The alert rule actions.
	ActionGroups *ActionGroupsInformation `json:"actionGroups,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"`

	// Description: The alert rule description.
	Description *string `json:"description,omitempty"`

	// +kubebuilder:validation:Required
	// Detector: The alert rule's detector.
	Detector *Detector `json:"detector,omitempty"`

	// +kubebuilder:validation:Required
	// Frequency: The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 1
	// minute, depending on the detector.
	Frequency *string `json:"frequency,omitempty"`

	// Location: The resource location.
	Location *string `json:"location,omitempty"`

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

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

	// +kubebuilder:validation:Required
	// ScopeReferences: The alert rule resources scope.
	ScopeReferences []genruntime.ResourceReference `armReference:"Scope" json:"scopeReferences,omitempty"`

	// +kubebuilder:validation:Required
	// Severity: The alert rule severity.
	Severity *AlertRuleProperties_Severity `json:"severity,omitempty"`

	// +kubebuilder:validation:Required
	// State: The alert rule state.
	State *AlertRuleProperties_State `json:"state,omitempty"`

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

	// Throttling: The alert rule throttling information.
	Throttling *ThrottlingInformation `json:"throttling,omitempty"`
}

func (*SmartDetectorAlertRule_Spec) AssignProperties_From_SmartDetectorAlertRule_Spec

func (rule *SmartDetectorAlertRule_Spec) AssignProperties_From_SmartDetectorAlertRule_Spec(source *storage.SmartDetectorAlertRule_Spec) error

AssignProperties_From_SmartDetectorAlertRule_Spec populates our SmartDetectorAlertRule_Spec from the provided source SmartDetectorAlertRule_Spec

func (*SmartDetectorAlertRule_Spec) AssignProperties_To_SmartDetectorAlertRule_Spec

func (rule *SmartDetectorAlertRule_Spec) AssignProperties_To_SmartDetectorAlertRule_Spec(destination *storage.SmartDetectorAlertRule_Spec) error

AssignProperties_To_SmartDetectorAlertRule_Spec populates the provided destination SmartDetectorAlertRule_Spec from our SmartDetectorAlertRule_Spec

func (*SmartDetectorAlertRule_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our SmartDetectorAlertRule_Spec from the provided source

func (*SmartDetectorAlertRule_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our SmartDetectorAlertRule_Spec

func (*SmartDetectorAlertRule_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*SmartDetectorAlertRule_Spec) DeepCopy

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

func (*SmartDetectorAlertRule_Spec) DeepCopyInto

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

func (*SmartDetectorAlertRule_Spec) Initialize_From_SmartDetectorAlertRule_STATUS

func (rule *SmartDetectorAlertRule_Spec) Initialize_From_SmartDetectorAlertRule_STATUS(source *SmartDetectorAlertRule_STATUS) error

Initialize_From_SmartDetectorAlertRule_STATUS populates our SmartDetectorAlertRule_Spec from the provided source SmartDetectorAlertRule_STATUS

func (*SmartDetectorAlertRule_Spec) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SmartDetectorAlertRule_Spec) OriginalVersion

func (rule *SmartDetectorAlertRule_Spec) OriginalVersion() string

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

func (*SmartDetectorAlertRule_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*SmartDetectorAlertRule_Spec) SetAzureName

func (rule *SmartDetectorAlertRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ThrottlingInformation

type ThrottlingInformation struct {
	// Duration: The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time
	// granularity must be in minutes and minimum value is 0 minutes
	Duration *string `json:"duration,omitempty"`
}

Optional throttling information for the alert rule.

func (*ThrottlingInformation) AssignProperties_From_ThrottlingInformation

func (information *ThrottlingInformation) AssignProperties_From_ThrottlingInformation(source *storage.ThrottlingInformation) error

AssignProperties_From_ThrottlingInformation populates our ThrottlingInformation from the provided source ThrottlingInformation

func (*ThrottlingInformation) AssignProperties_To_ThrottlingInformation

func (information *ThrottlingInformation) AssignProperties_To_ThrottlingInformation(destination *storage.ThrottlingInformation) error

AssignProperties_To_ThrottlingInformation populates the provided destination ThrottlingInformation from our ThrottlingInformation

func (*ThrottlingInformation) ConvertToARM

func (information *ThrottlingInformation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ThrottlingInformation) DeepCopy

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

func (*ThrottlingInformation) DeepCopyInto

func (in *ThrottlingInformation) DeepCopyInto(out *ThrottlingInformation)

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

func (*ThrottlingInformation) Initialize_From_ThrottlingInformation_STATUS

func (information *ThrottlingInformation) Initialize_From_ThrottlingInformation_STATUS(source *ThrottlingInformation_STATUS) error

Initialize_From_ThrottlingInformation_STATUS populates our ThrottlingInformation from the provided source ThrottlingInformation_STATUS

func (*ThrottlingInformation) NewEmptyARMValue

func (information *ThrottlingInformation) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ThrottlingInformation) PopulateFromARM

func (information *ThrottlingInformation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ThrottlingInformation_STATUS

type ThrottlingInformation_STATUS struct {
	// Duration: The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time
	// granularity must be in minutes and minimum value is 0 minutes
	Duration *string `json:"duration,omitempty"`
}

Optional throttling information for the alert rule.

func (*ThrottlingInformation_STATUS) AssignProperties_From_ThrottlingInformation_STATUS

func (information *ThrottlingInformation_STATUS) AssignProperties_From_ThrottlingInformation_STATUS(source *storage.ThrottlingInformation_STATUS) error

AssignProperties_From_ThrottlingInformation_STATUS populates our ThrottlingInformation_STATUS from the provided source ThrottlingInformation_STATUS

func (*ThrottlingInformation_STATUS) AssignProperties_To_ThrottlingInformation_STATUS

func (information *ThrottlingInformation_STATUS) AssignProperties_To_ThrottlingInformation_STATUS(destination *storage.ThrottlingInformation_STATUS) error

AssignProperties_To_ThrottlingInformation_STATUS populates the provided destination ThrottlingInformation_STATUS from our ThrottlingInformation_STATUS

func (*ThrottlingInformation_STATUS) DeepCopy

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

func (*ThrottlingInformation_STATUS) DeepCopyInto

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

func (*ThrottlingInformation_STATUS) NewEmptyARMValue

func (information *ThrottlingInformation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ThrottlingInformation_STATUS) PopulateFromARM

func (information *ThrottlingInformation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

Directories

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

Jump to

Keyboard shortcuts

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