arm

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: 2 Imported by: 0

Documentation

Overview

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 (
	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_State_Disabled = AlertRuleProperties_State("Disabled")
	AlertRuleProperties_State_Enabled  = AlertRuleProperties_State("Enabled")
)
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_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")
)

Variables

This section is empty.

Functions

This section is empty.

Types

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"`
	GroupIds             []string `json:"groupIds,omitempty"`
}

The Action Groups information, used by the alert rule.

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.

type AlertRuleProperties

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

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

	// Detector: The alert rule's detector.
	Detector *Detector `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"`
	Scope     []string `json:"scope,omitempty"`

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

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

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

The alert rule properties.

type AlertRuleProperties_STATUS

type AlertRuleProperties_STATUS struct {
	// ActionGroups: The alert rule actions.
	ActionGroups *ActionGroupsInformation_STATUS `json:"actionGroups,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"`

	// 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"`

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

The alert rule properties.

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 {
	// 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

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.

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

type SmartDetectorAlertRule_STATUS

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

	// Properties: The properties of the alert rule.
	Properties *AlertRuleProperties_STATUS `json:"properties,omitempty"`

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

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

type SmartDetectorAlertRule_Spec

type SmartDetectorAlertRule_Spec struct {
	// Location: The resource location.
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: The properties of the alert rule.
	Properties *AlertRuleProperties `json:"properties,omitempty"`

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

func (SmartDetectorAlertRule_Spec) GetAPIVersion

func (rule SmartDetectorAlertRule_Spec) GetAPIVersion() string

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

func (*SmartDetectorAlertRule_Spec) GetName

func (rule *SmartDetectorAlertRule_Spec) GetName() string

GetName returns the Name of the resource

func (*SmartDetectorAlertRule_Spec) GetType

func (rule *SmartDetectorAlertRule_Spec) GetType() string

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

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.

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.

Jump to

Keyboard shortcuts

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