Documentation ¶
Overview ¶
Package v1api20230301 contains API Schema definitions for the alertsmanagement v1api20230301 API group +groupName=alertsmanagement.azure.com
Package v1api20230301 contains API Schema definitions for the alertsmanagement v1api20230301 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=v1api20230301
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- Variables
- type APIVersion
- type PrometheusRule
- func (rule *PrometheusRule) AssignProperties_From_PrometheusRule(source *storage.PrometheusRule) error
- func (rule *PrometheusRule) AssignProperties_To_PrometheusRule(destination *storage.PrometheusRule) error
- func (rule *PrometheusRule) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *PrometheusRule) DeepCopy() *PrometheusRule
- func (in *PrometheusRule) DeepCopyInto(out *PrometheusRule)
- func (rule *PrometheusRule) Initialize_From_PrometheusRule_STATUS(source *PrometheusRule_STATUS) error
- func (rule *PrometheusRule) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (rule *PrometheusRule) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type PrometheusRuleGroup
- func (group *PrometheusRuleGroup) AssignProperties_From_PrometheusRuleGroup(source *storage.PrometheusRuleGroup) error
- func (group *PrometheusRuleGroup) AssignProperties_To_PrometheusRuleGroup(destination *storage.PrometheusRuleGroup) error
- func (group *PrometheusRuleGroup) AzureName() string
- func (group *PrometheusRuleGroup) ConfigMapDestinationExpressions() []*core.DestinationExpression
- func (group *PrometheusRuleGroup) ConvertFrom(hub conversion.Hub) error
- func (group *PrometheusRuleGroup) ConvertTo(hub conversion.Hub) error
- func (in *PrometheusRuleGroup) DeepCopy() *PrometheusRuleGroup
- func (in *PrometheusRuleGroup) DeepCopyInto(out *PrometheusRuleGroup)
- func (in *PrometheusRuleGroup) DeepCopyObject() runtime.Object
- func (group *PrometheusRuleGroup) Default()
- func (group PrometheusRuleGroup) GetAPIVersion() string
- func (group *PrometheusRuleGroup) GetConditions() conditions.Conditions
- func (group *PrometheusRuleGroup) GetResourceScope() genruntime.ResourceScope
- func (group *PrometheusRuleGroup) GetSpec() genruntime.ConvertibleSpec
- func (group *PrometheusRuleGroup) GetStatus() genruntime.ConvertibleStatus
- func (group *PrometheusRuleGroup) GetSupportedOperations() []genruntime.ResourceOperation
- func (group *PrometheusRuleGroup) GetType() string
- func (group *PrometheusRuleGroup) InitializeSpec(status genruntime.ConvertibleStatus) error
- func (group *PrometheusRuleGroup) NewEmptyStatus() genruntime.ConvertibleStatus
- func (group *PrometheusRuleGroup) OriginalGVK() *schema.GroupVersionKind
- func (group *PrometheusRuleGroup) Owner() *genruntime.ResourceReference
- func (group *PrometheusRuleGroup) SecretDestinationExpressions() []*core.DestinationExpression
- func (group *PrometheusRuleGroup) SetConditions(conditions conditions.Conditions)
- func (group *PrometheusRuleGroup) SetStatus(status genruntime.ConvertibleStatus) error
- func (group *PrometheusRuleGroup) ValidateCreate() (admission.Warnings, error)
- func (group *PrometheusRuleGroup) ValidateDelete() (admission.Warnings, error)
- func (group *PrometheusRuleGroup) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type PrometheusRuleGroupAction
- func (action *PrometheusRuleGroupAction) AssignProperties_From_PrometheusRuleGroupAction(source *storage.PrometheusRuleGroupAction) error
- func (action *PrometheusRuleGroupAction) AssignProperties_To_PrometheusRuleGroupAction(destination *storage.PrometheusRuleGroupAction) error
- func (action *PrometheusRuleGroupAction) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *PrometheusRuleGroupAction) DeepCopy() *PrometheusRuleGroupAction
- func (in *PrometheusRuleGroupAction) DeepCopyInto(out *PrometheusRuleGroupAction)
- func (action *PrometheusRuleGroupAction) Initialize_From_PrometheusRuleGroupAction_STATUS(source *PrometheusRuleGroupAction_STATUS) error
- func (action *PrometheusRuleGroupAction) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (action *PrometheusRuleGroupAction) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type PrometheusRuleGroupAction_STATUS
- func (action *PrometheusRuleGroupAction_STATUS) AssignProperties_From_PrometheusRuleGroupAction_STATUS(source *storage.PrometheusRuleGroupAction_STATUS) error
- func (action *PrometheusRuleGroupAction_STATUS) AssignProperties_To_PrometheusRuleGroupAction_STATUS(destination *storage.PrometheusRuleGroupAction_STATUS) error
- func (in *PrometheusRuleGroupAction_STATUS) DeepCopy() *PrometheusRuleGroupAction_STATUS
- func (in *PrometheusRuleGroupAction_STATUS) DeepCopyInto(out *PrometheusRuleGroupAction_STATUS)
- func (action *PrometheusRuleGroupAction_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (action *PrometheusRuleGroupAction_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type PrometheusRuleGroupList
- type PrometheusRuleGroupOperatorSpec
- func (operator *PrometheusRuleGroupOperatorSpec) AssignProperties_From_PrometheusRuleGroupOperatorSpec(source *storage.PrometheusRuleGroupOperatorSpec) error
- func (operator *PrometheusRuleGroupOperatorSpec) AssignProperties_To_PrometheusRuleGroupOperatorSpec(destination *storage.PrometheusRuleGroupOperatorSpec) error
- func (in *PrometheusRuleGroupOperatorSpec) DeepCopy() *PrometheusRuleGroupOperatorSpec
- func (in *PrometheusRuleGroupOperatorSpec) DeepCopyInto(out *PrometheusRuleGroupOperatorSpec)
- type PrometheusRuleGroup_STATUS
- func (group *PrometheusRuleGroup_STATUS) AssignProperties_From_PrometheusRuleGroup_STATUS(source *storage.PrometheusRuleGroup_STATUS) error
- func (group *PrometheusRuleGroup_STATUS) AssignProperties_To_PrometheusRuleGroup_STATUS(destination *storage.PrometheusRuleGroup_STATUS) error
- func (group *PrometheusRuleGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
- func (group *PrometheusRuleGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
- func (in *PrometheusRuleGroup_STATUS) DeepCopy() *PrometheusRuleGroup_STATUS
- func (in *PrometheusRuleGroup_STATUS) DeepCopyInto(out *PrometheusRuleGroup_STATUS)
- func (group *PrometheusRuleGroup_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (group *PrometheusRuleGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type PrometheusRuleGroup_Spec
- func (group *PrometheusRuleGroup_Spec) AssignProperties_From_PrometheusRuleGroup_Spec(source *storage.PrometheusRuleGroup_Spec) error
- func (group *PrometheusRuleGroup_Spec) AssignProperties_To_PrometheusRuleGroup_Spec(destination *storage.PrometheusRuleGroup_Spec) error
- func (group *PrometheusRuleGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
- func (group *PrometheusRuleGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
- func (group *PrometheusRuleGroup_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *PrometheusRuleGroup_Spec) DeepCopy() *PrometheusRuleGroup_Spec
- func (in *PrometheusRuleGroup_Spec) DeepCopyInto(out *PrometheusRuleGroup_Spec)
- func (group *PrometheusRuleGroup_Spec) Initialize_From_PrometheusRuleGroup_STATUS(source *PrometheusRuleGroup_STATUS) error
- func (group *PrometheusRuleGroup_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (group *PrometheusRuleGroup_Spec) OriginalVersion() string
- func (group *PrometheusRuleGroup_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- func (group *PrometheusRuleGroup_Spec) SetAzureName(azureName string)
- type PrometheusRuleResolveConfiguration
- func (configuration *PrometheusRuleResolveConfiguration) AssignProperties_From_PrometheusRuleResolveConfiguration(source *storage.PrometheusRuleResolveConfiguration) error
- func (configuration *PrometheusRuleResolveConfiguration) AssignProperties_To_PrometheusRuleResolveConfiguration(destination *storage.PrometheusRuleResolveConfiguration) error
- func (configuration *PrometheusRuleResolveConfiguration) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *PrometheusRuleResolveConfiguration) DeepCopy() *PrometheusRuleResolveConfiguration
- func (in *PrometheusRuleResolveConfiguration) DeepCopyInto(out *PrometheusRuleResolveConfiguration)
- func (configuration *PrometheusRuleResolveConfiguration) Initialize_From_PrometheusRuleResolveConfiguration_STATUS(source *PrometheusRuleResolveConfiguration_STATUS) error
- func (configuration *PrometheusRuleResolveConfiguration) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (configuration *PrometheusRuleResolveConfiguration) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type PrometheusRuleResolveConfiguration_STATUS
- func (configuration *PrometheusRuleResolveConfiguration_STATUS) AssignProperties_From_PrometheusRuleResolveConfiguration_STATUS(source *storage.PrometheusRuleResolveConfiguration_STATUS) error
- func (configuration *PrometheusRuleResolveConfiguration_STATUS) AssignProperties_To_PrometheusRuleResolveConfiguration_STATUS(destination *storage.PrometheusRuleResolveConfiguration_STATUS) error
- func (in *PrometheusRuleResolveConfiguration_STATUS) DeepCopy() *PrometheusRuleResolveConfiguration_STATUS
- func (in *PrometheusRuleResolveConfiguration_STATUS) DeepCopyInto(out *PrometheusRuleResolveConfiguration_STATUS)
- func (configuration *PrometheusRuleResolveConfiguration_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (configuration *PrometheusRuleResolveConfiguration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type PrometheusRule_STATUS
- func (rule *PrometheusRule_STATUS) AssignProperties_From_PrometheusRule_STATUS(source *storage.PrometheusRule_STATUS) error
- func (rule *PrometheusRule_STATUS) AssignProperties_To_PrometheusRule_STATUS(destination *storage.PrometheusRule_STATUS) error
- func (in *PrometheusRule_STATUS) DeepCopy() *PrometheusRule_STATUS
- func (in *PrometheusRule_STATUS) DeepCopyInto(out *PrometheusRule_STATUS)
- func (rule *PrometheusRule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (rule *PrometheusRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type SystemData_CreatedByType_STATUS
- type SystemData_LastModifiedByType_STATUS
- type SystemData_STATUS
- func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error
- func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error
- func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS
- func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)
- func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
Constants ¶
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") )
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") )
const APIVersion_Value = APIVersion("2023-03-01")
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "alertsmanagement.azure.com", Version: "v1api20230301"} // 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 PrometheusRule ¶
type PrometheusRule struct { // Actions: Actions that are performed when the alert rule becomes active, and when an alert condition is resolved. Actions []PrometheusRuleGroupAction `json:"actions,omitempty"` // Alert: Alert rule name. Alert *string `json:"alert,omitempty"` // Annotations: The annotations clause specifies a set of informational labels that can be used to store longer additional // information such as alert descriptions or runbook links. The annotation values can be templated. Annotations map[string]string `json:"annotations,omitempty"` // Enabled: Enable/disable rule. Enabled *bool `json:"enabled,omitempty"` // +kubebuilder:validation:Required // Expression: The PromQL expression to evaluate. https://prometheus.io/docs/prometheus/latest/querying/basics/. Evaluated // periodically as given by 'interval', and the result recorded as a new set of time series with the metric name as given // by 'record'. Expression *string `json:"expression,omitempty"` // For: The amount of time alert must be active before firing. For *string `json:"for,omitempty"` // Labels: Labels to add or overwrite before storing the result. Labels map[string]string `json:"labels,omitempty"` // Record: Recorded metrics name. Record *string `json:"record,omitempty"` // ResolveConfiguration: Defines the configuration for resolving fired alerts. Only relevant for alerts. ResolveConfiguration *PrometheusRuleResolveConfiguration `json:"resolveConfiguration,omitempty"` // Severity: The severity of the alerts fired by the rule. Must be between 0 and 4. Severity *int `json:"severity,omitempty"` }
An Azure Prometheus alerting or recording rule.
func (*PrometheusRule) AssignProperties_From_PrometheusRule ¶
func (rule *PrometheusRule) AssignProperties_From_PrometheusRule(source *storage.PrometheusRule) error
AssignProperties_From_PrometheusRule populates our PrometheusRule from the provided source PrometheusRule
func (*PrometheusRule) AssignProperties_To_PrometheusRule ¶
func (rule *PrometheusRule) AssignProperties_To_PrometheusRule(destination *storage.PrometheusRule) error
AssignProperties_To_PrometheusRule populates the provided destination PrometheusRule from our PrometheusRule
func (*PrometheusRule) ConvertToARM ¶
func (rule *PrometheusRule) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*PrometheusRule) DeepCopy ¶
func (in *PrometheusRule) DeepCopy() *PrometheusRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRule.
func (*PrometheusRule) DeepCopyInto ¶
func (in *PrometheusRule) DeepCopyInto(out *PrometheusRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRule) Initialize_From_PrometheusRule_STATUS ¶
func (rule *PrometheusRule) Initialize_From_PrometheusRule_STATUS(source *PrometheusRule_STATUS) error
Initialize_From_PrometheusRule_STATUS populates our PrometheusRule from the provided source PrometheusRule_STATUS
func (*PrometheusRule) NewEmptyARMValue ¶
func (rule *PrometheusRule) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRule) PopulateFromARM ¶
func (rule *PrometheusRule) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type PrometheusRuleGroup ¶
type PrometheusRuleGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrometheusRuleGroup_Spec `json:"spec,omitempty"` Status PrometheusRuleGroup_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/2023-03-01/PrometheusRuleGroups.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName}
func (*PrometheusRuleGroup) AssignProperties_From_PrometheusRuleGroup ¶
func (group *PrometheusRuleGroup) AssignProperties_From_PrometheusRuleGroup(source *storage.PrometheusRuleGroup) error
AssignProperties_From_PrometheusRuleGroup populates our PrometheusRuleGroup from the provided source PrometheusRuleGroup
func (*PrometheusRuleGroup) AssignProperties_To_PrometheusRuleGroup ¶
func (group *PrometheusRuleGroup) AssignProperties_To_PrometheusRuleGroup(destination *storage.PrometheusRuleGroup) error
AssignProperties_To_PrometheusRuleGroup populates the provided destination PrometheusRuleGroup from our PrometheusRuleGroup
func (*PrometheusRuleGroup) AzureName ¶
func (group *PrometheusRuleGroup) AzureName() string
AzureName returns the Azure name of the resource
func (*PrometheusRuleGroup) ConfigMapDestinationExpressions ¶
func (group *PrometheusRuleGroup) ConfigMapDestinationExpressions() []*core.DestinationExpression
ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property
func (*PrometheusRuleGroup) ConvertFrom ¶
func (group *PrometheusRuleGroup) ConvertFrom(hub conversion.Hub) error
ConvertFrom populates our PrometheusRuleGroup from the provided hub PrometheusRuleGroup
func (*PrometheusRuleGroup) ConvertTo ¶
func (group *PrometheusRuleGroup) ConvertTo(hub conversion.Hub) error
ConvertTo populates the provided hub PrometheusRuleGroup from our PrometheusRuleGroup
func (*PrometheusRuleGroup) DeepCopy ¶
func (in *PrometheusRuleGroup) DeepCopy() *PrometheusRuleGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroup.
func (*PrometheusRuleGroup) DeepCopyInto ¶
func (in *PrometheusRuleGroup) DeepCopyInto(out *PrometheusRuleGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleGroup) DeepCopyObject ¶
func (in *PrometheusRuleGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrometheusRuleGroup) Default ¶
func (group *PrometheusRuleGroup) Default()
Default applies defaults to the PrometheusRuleGroup resource
func (PrometheusRuleGroup) GetAPIVersion ¶
func (group PrometheusRuleGroup) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2023-03-01"
func (*PrometheusRuleGroup) GetConditions ¶
func (group *PrometheusRuleGroup) GetConditions() conditions.Conditions
GetConditions returns the conditions of the resource
func (*PrometheusRuleGroup) GetResourceScope ¶
func (group *PrometheusRuleGroup) GetResourceScope() genruntime.ResourceScope
GetResourceScope returns the scope of the resource
func (*PrometheusRuleGroup) GetSpec ¶
func (group *PrometheusRuleGroup) GetSpec() genruntime.ConvertibleSpec
GetSpec returns the specification of this resource
func (*PrometheusRuleGroup) GetStatus ¶
func (group *PrometheusRuleGroup) GetStatus() genruntime.ConvertibleStatus
GetStatus returns the status of this resource
func (*PrometheusRuleGroup) GetSupportedOperations ¶
func (group *PrometheusRuleGroup) GetSupportedOperations() []genruntime.ResourceOperation
GetSupportedOperations returns the operations supported by the resource
func (*PrometheusRuleGroup) GetType ¶
func (group *PrometheusRuleGroup) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.AlertsManagement/prometheusRuleGroups"
func (*PrometheusRuleGroup) InitializeSpec ¶
func (group *PrometheusRuleGroup) InitializeSpec(status genruntime.ConvertibleStatus) error
InitializeSpec initializes the spec for this resource from the given status
func (*PrometheusRuleGroup) NewEmptyStatus ¶
func (group *PrometheusRuleGroup) NewEmptyStatus() genruntime.ConvertibleStatus
NewEmptyStatus returns a new empty (blank) status
func (*PrometheusRuleGroup) OriginalGVK ¶
func (group *PrometheusRuleGroup) OriginalGVK() *schema.GroupVersionKind
OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (*PrometheusRuleGroup) Owner ¶
func (group *PrometheusRuleGroup) Owner() *genruntime.ResourceReference
Owner returns the ResourceReference of the owner
func (*PrometheusRuleGroup) SecretDestinationExpressions ¶
func (group *PrometheusRuleGroup) SecretDestinationExpressions() []*core.DestinationExpression
SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property
func (*PrometheusRuleGroup) SetConditions ¶
func (group *PrometheusRuleGroup) SetConditions(conditions conditions.Conditions)
SetConditions sets the conditions on the resource status
func (*PrometheusRuleGroup) SetStatus ¶
func (group *PrometheusRuleGroup) SetStatus(status genruntime.ConvertibleStatus) error
SetStatus sets the status of this resource
func (*PrometheusRuleGroup) ValidateCreate ¶
func (group *PrometheusRuleGroup) ValidateCreate() (admission.Warnings, error)
ValidateCreate validates the creation of the resource
func (*PrometheusRuleGroup) ValidateDelete ¶
func (group *PrometheusRuleGroup) ValidateDelete() (admission.Warnings, error)
ValidateDelete validates the deletion of the resource
func (*PrometheusRuleGroup) ValidateUpdate ¶
ValidateUpdate validates an update of the resource
type PrometheusRuleGroupAction ¶
type PrometheusRuleGroupAction struct { // ActionGroupReference: The resource id of the action group to use. ActionGroupReference *genruntime.ResourceReference `armReference:"ActionGroupId" json:"actionGroupReference,omitempty"` // ActionProperties: The properties of an action group object. ActionProperties map[string]string `json:"actionProperties,omitempty"` }
An alert action. Only relevant for alerts.
func (*PrometheusRuleGroupAction) AssignProperties_From_PrometheusRuleGroupAction ¶
func (action *PrometheusRuleGroupAction) AssignProperties_From_PrometheusRuleGroupAction(source *storage.PrometheusRuleGroupAction) error
AssignProperties_From_PrometheusRuleGroupAction populates our PrometheusRuleGroupAction from the provided source PrometheusRuleGroupAction
func (*PrometheusRuleGroupAction) AssignProperties_To_PrometheusRuleGroupAction ¶
func (action *PrometheusRuleGroupAction) AssignProperties_To_PrometheusRuleGroupAction(destination *storage.PrometheusRuleGroupAction) error
AssignProperties_To_PrometheusRuleGroupAction populates the provided destination PrometheusRuleGroupAction from our PrometheusRuleGroupAction
func (*PrometheusRuleGroupAction) ConvertToARM ¶
func (action *PrometheusRuleGroupAction) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*PrometheusRuleGroupAction) DeepCopy ¶
func (in *PrometheusRuleGroupAction) DeepCopy() *PrometheusRuleGroupAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroupAction.
func (*PrometheusRuleGroupAction) DeepCopyInto ¶
func (in *PrometheusRuleGroupAction) DeepCopyInto(out *PrometheusRuleGroupAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleGroupAction) Initialize_From_PrometheusRuleGroupAction_STATUS ¶
func (action *PrometheusRuleGroupAction) Initialize_From_PrometheusRuleGroupAction_STATUS(source *PrometheusRuleGroupAction_STATUS) error
Initialize_From_PrometheusRuleGroupAction_STATUS populates our PrometheusRuleGroupAction from the provided source PrometheusRuleGroupAction_STATUS
func (*PrometheusRuleGroupAction) NewEmptyARMValue ¶
func (action *PrometheusRuleGroupAction) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRuleGroupAction) PopulateFromARM ¶
func (action *PrometheusRuleGroupAction) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type PrometheusRuleGroupAction_STATUS ¶
type PrometheusRuleGroupAction_STATUS struct { // ActionGroupId: The resource id of the action group to use. ActionGroupId *string `json:"actionGroupId,omitempty"` // ActionProperties: The properties of an action group object. ActionProperties map[string]string `json:"actionProperties,omitempty"` }
An alert action. Only relevant for alerts.
func (*PrometheusRuleGroupAction_STATUS) AssignProperties_From_PrometheusRuleGroupAction_STATUS ¶
func (action *PrometheusRuleGroupAction_STATUS) AssignProperties_From_PrometheusRuleGroupAction_STATUS(source *storage.PrometheusRuleGroupAction_STATUS) error
AssignProperties_From_PrometheusRuleGroupAction_STATUS populates our PrometheusRuleGroupAction_STATUS from the provided source PrometheusRuleGroupAction_STATUS
func (*PrometheusRuleGroupAction_STATUS) AssignProperties_To_PrometheusRuleGroupAction_STATUS ¶
func (action *PrometheusRuleGroupAction_STATUS) AssignProperties_To_PrometheusRuleGroupAction_STATUS(destination *storage.PrometheusRuleGroupAction_STATUS) error
AssignProperties_To_PrometheusRuleGroupAction_STATUS populates the provided destination PrometheusRuleGroupAction_STATUS from our PrometheusRuleGroupAction_STATUS
func (*PrometheusRuleGroupAction_STATUS) DeepCopy ¶
func (in *PrometheusRuleGroupAction_STATUS) DeepCopy() *PrometheusRuleGroupAction_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroupAction_STATUS.
func (*PrometheusRuleGroupAction_STATUS) DeepCopyInto ¶
func (in *PrometheusRuleGroupAction_STATUS) DeepCopyInto(out *PrometheusRuleGroupAction_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleGroupAction_STATUS) NewEmptyARMValue ¶
func (action *PrometheusRuleGroupAction_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRuleGroupAction_STATUS) PopulateFromARM ¶
func (action *PrometheusRuleGroupAction_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type PrometheusRuleGroupList ¶
type PrometheusRuleGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrometheusRuleGroup `json:"items"` }
+kubebuilder:object:root=true Generator information: - Generated from: /alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2023-03-01/PrometheusRuleGroups.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName}
func (*PrometheusRuleGroupList) DeepCopy ¶
func (in *PrometheusRuleGroupList) DeepCopy() *PrometheusRuleGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroupList.
func (*PrometheusRuleGroupList) DeepCopyInto ¶
func (in *PrometheusRuleGroupList) DeepCopyInto(out *PrometheusRuleGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleGroupList) DeepCopyObject ¶
func (in *PrometheusRuleGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrometheusRuleGroupOperatorSpec ¶
type PrometheusRuleGroupOperatorSpec 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 (*PrometheusRuleGroupOperatorSpec) AssignProperties_From_PrometheusRuleGroupOperatorSpec ¶
func (operator *PrometheusRuleGroupOperatorSpec) AssignProperties_From_PrometheusRuleGroupOperatorSpec(source *storage.PrometheusRuleGroupOperatorSpec) error
AssignProperties_From_PrometheusRuleGroupOperatorSpec populates our PrometheusRuleGroupOperatorSpec from the provided source PrometheusRuleGroupOperatorSpec
func (*PrometheusRuleGroupOperatorSpec) AssignProperties_To_PrometheusRuleGroupOperatorSpec ¶
func (operator *PrometheusRuleGroupOperatorSpec) AssignProperties_To_PrometheusRuleGroupOperatorSpec(destination *storage.PrometheusRuleGroupOperatorSpec) error
AssignProperties_To_PrometheusRuleGroupOperatorSpec populates the provided destination PrometheusRuleGroupOperatorSpec from our PrometheusRuleGroupOperatorSpec
func (*PrometheusRuleGroupOperatorSpec) DeepCopy ¶
func (in *PrometheusRuleGroupOperatorSpec) DeepCopy() *PrometheusRuleGroupOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroupOperatorSpec.
func (*PrometheusRuleGroupOperatorSpec) DeepCopyInto ¶
func (in *PrometheusRuleGroupOperatorSpec) DeepCopyInto(out *PrometheusRuleGroupOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusRuleGroup_STATUS ¶
type PrometheusRuleGroup_STATUS struct { // ClusterName: Apply rule to data from a specific cluster. ClusterName *string `json:"clusterName,omitempty"` // Conditions: The observed state of the resource Conditions []conditions.Condition `json:"conditions,omitempty"` // Description: Rule group description. Description *string `json:"description,omitempty"` // Enabled: Enable/disable rule group. Enabled *bool `json:"enabled,omitempty"` // Id: Fully qualified resource ID for the resource. Ex - // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} Id *string `json:"id,omitempty"` // Interval: The interval in which to run the Prometheus rule group represented in ISO 8601 duration format. Should be // between 1 and 15 minutes Interval *string `json:"interval,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"` // Rules: Defines the rules in the Prometheus rule group. Rules []PrometheusRule_STATUS `json:"rules,omitempty"` // Scopes: Target Azure Monitor workspaces resource ids. This api-version is currently limited to creating with one scope. // This may change in future. Scopes []string `json:"scopes,omitempty"` // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData_STATUS `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 (*PrometheusRuleGroup_STATUS) AssignProperties_From_PrometheusRuleGroup_STATUS ¶
func (group *PrometheusRuleGroup_STATUS) AssignProperties_From_PrometheusRuleGroup_STATUS(source *storage.PrometheusRuleGroup_STATUS) error
AssignProperties_From_PrometheusRuleGroup_STATUS populates our PrometheusRuleGroup_STATUS from the provided source PrometheusRuleGroup_STATUS
func (*PrometheusRuleGroup_STATUS) AssignProperties_To_PrometheusRuleGroup_STATUS ¶
func (group *PrometheusRuleGroup_STATUS) AssignProperties_To_PrometheusRuleGroup_STATUS(destination *storage.PrometheusRuleGroup_STATUS) error
AssignProperties_To_PrometheusRuleGroup_STATUS populates the provided destination PrometheusRuleGroup_STATUS from our PrometheusRuleGroup_STATUS
func (*PrometheusRuleGroup_STATUS) ConvertStatusFrom ¶
func (group *PrometheusRuleGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
ConvertStatusFrom populates our PrometheusRuleGroup_STATUS from the provided source
func (*PrometheusRuleGroup_STATUS) ConvertStatusTo ¶
func (group *PrometheusRuleGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
ConvertStatusTo populates the provided destination from our PrometheusRuleGroup_STATUS
func (*PrometheusRuleGroup_STATUS) DeepCopy ¶
func (in *PrometheusRuleGroup_STATUS) DeepCopy() *PrometheusRuleGroup_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroup_STATUS.
func (*PrometheusRuleGroup_STATUS) DeepCopyInto ¶
func (in *PrometheusRuleGroup_STATUS) DeepCopyInto(out *PrometheusRuleGroup_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleGroup_STATUS) NewEmptyARMValue ¶
func (group *PrometheusRuleGroup_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRuleGroup_STATUS) PopulateFromARM ¶
func (group *PrometheusRuleGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type PrometheusRuleGroup_Spec ¶
type PrometheusRuleGroup_Spec struct { // +kubebuilder:validation:Pattern="^[^:@/#{}%&+*<>?]+$" // 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"` // ClusterName: Apply rule to data from a specific cluster. ClusterName *string `json:"clusterName,omitempty"` // Description: Rule group description. Description *string `json:"description,omitempty"` // Enabled: Enable/disable rule group. Enabled *bool `json:"enabled,omitempty"` // Interval: The interval in which to run the Prometheus rule group represented in ISO 8601 duration format. Should be // between 1 and 15 minutes Interval *string `json:"interval,omitempty"` // +kubebuilder:validation:Required // Location: The geo-location where the resource lives 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 *PrometheusRuleGroupOperatorSpec `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 // Rules: Defines the rules in the Prometheus rule group. Rules []PrometheusRule `json:"rules,omitempty"` // +kubebuilder:validation:Required // ScopesReferences: Target Azure Monitor workspaces resource ids. This api-version is currently limited to creating with // one scope. This may change in future. ScopesReferences []genruntime.ResourceReference `armReference:"Scopes" json:"scopesReferences,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` }
func (*PrometheusRuleGroup_Spec) AssignProperties_From_PrometheusRuleGroup_Spec ¶
func (group *PrometheusRuleGroup_Spec) AssignProperties_From_PrometheusRuleGroup_Spec(source *storage.PrometheusRuleGroup_Spec) error
AssignProperties_From_PrometheusRuleGroup_Spec populates our PrometheusRuleGroup_Spec from the provided source PrometheusRuleGroup_Spec
func (*PrometheusRuleGroup_Spec) AssignProperties_To_PrometheusRuleGroup_Spec ¶
func (group *PrometheusRuleGroup_Spec) AssignProperties_To_PrometheusRuleGroup_Spec(destination *storage.PrometheusRuleGroup_Spec) error
AssignProperties_To_PrometheusRuleGroup_Spec populates the provided destination PrometheusRuleGroup_Spec from our PrometheusRuleGroup_Spec
func (*PrometheusRuleGroup_Spec) ConvertSpecFrom ¶
func (group *PrometheusRuleGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
ConvertSpecFrom populates our PrometheusRuleGroup_Spec from the provided source
func (*PrometheusRuleGroup_Spec) ConvertSpecTo ¶
func (group *PrometheusRuleGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
ConvertSpecTo populates the provided destination from our PrometheusRuleGroup_Spec
func (*PrometheusRuleGroup_Spec) ConvertToARM ¶
func (group *PrometheusRuleGroup_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*PrometheusRuleGroup_Spec) DeepCopy ¶
func (in *PrometheusRuleGroup_Spec) DeepCopy() *PrometheusRuleGroup_Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleGroup_Spec.
func (*PrometheusRuleGroup_Spec) DeepCopyInto ¶
func (in *PrometheusRuleGroup_Spec) DeepCopyInto(out *PrometheusRuleGroup_Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleGroup_Spec) Initialize_From_PrometheusRuleGroup_STATUS ¶
func (group *PrometheusRuleGroup_Spec) Initialize_From_PrometheusRuleGroup_STATUS(source *PrometheusRuleGroup_STATUS) error
Initialize_From_PrometheusRuleGroup_STATUS populates our PrometheusRuleGroup_Spec from the provided source PrometheusRuleGroup_STATUS
func (*PrometheusRuleGroup_Spec) NewEmptyARMValue ¶
func (group *PrometheusRuleGroup_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRuleGroup_Spec) OriginalVersion ¶
func (group *PrometheusRuleGroup_Spec) OriginalVersion() string
OriginalVersion returns the original API version used to create the resource.
func (*PrometheusRuleGroup_Spec) PopulateFromARM ¶
func (group *PrometheusRuleGroup_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
func (*PrometheusRuleGroup_Spec) SetAzureName ¶
func (group *PrometheusRuleGroup_Spec) SetAzureName(azureName string)
SetAzureName sets the Azure name of the resource
type PrometheusRuleResolveConfiguration ¶
type PrometheusRuleResolveConfiguration struct { // AutoResolved: Enable alert auto-resolution. AutoResolved *bool `json:"autoResolved,omitempty"` // TimeToResolve: Alert auto-resolution timeout. TimeToResolve *string `json:"timeToResolve,omitempty"` }
Specifies the Prometheus alert rule configuration.
func (*PrometheusRuleResolveConfiguration) AssignProperties_From_PrometheusRuleResolveConfiguration ¶
func (configuration *PrometheusRuleResolveConfiguration) AssignProperties_From_PrometheusRuleResolveConfiguration(source *storage.PrometheusRuleResolveConfiguration) error
AssignProperties_From_PrometheusRuleResolveConfiguration populates our PrometheusRuleResolveConfiguration from the provided source PrometheusRuleResolveConfiguration
func (*PrometheusRuleResolveConfiguration) AssignProperties_To_PrometheusRuleResolveConfiguration ¶
func (configuration *PrometheusRuleResolveConfiguration) AssignProperties_To_PrometheusRuleResolveConfiguration(destination *storage.PrometheusRuleResolveConfiguration) error
AssignProperties_To_PrometheusRuleResolveConfiguration populates the provided destination PrometheusRuleResolveConfiguration from our PrometheusRuleResolveConfiguration
func (*PrometheusRuleResolveConfiguration) ConvertToARM ¶
func (configuration *PrometheusRuleResolveConfiguration) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*PrometheusRuleResolveConfiguration) DeepCopy ¶
func (in *PrometheusRuleResolveConfiguration) DeepCopy() *PrometheusRuleResolveConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleResolveConfiguration.
func (*PrometheusRuleResolveConfiguration) DeepCopyInto ¶
func (in *PrometheusRuleResolveConfiguration) DeepCopyInto(out *PrometheusRuleResolveConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleResolveConfiguration) Initialize_From_PrometheusRuleResolveConfiguration_STATUS ¶
func (configuration *PrometheusRuleResolveConfiguration) Initialize_From_PrometheusRuleResolveConfiguration_STATUS(source *PrometheusRuleResolveConfiguration_STATUS) error
Initialize_From_PrometheusRuleResolveConfiguration_STATUS populates our PrometheusRuleResolveConfiguration from the provided source PrometheusRuleResolveConfiguration_STATUS
func (*PrometheusRuleResolveConfiguration) NewEmptyARMValue ¶
func (configuration *PrometheusRuleResolveConfiguration) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRuleResolveConfiguration) PopulateFromARM ¶
func (configuration *PrometheusRuleResolveConfiguration) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type PrometheusRuleResolveConfiguration_STATUS ¶
type PrometheusRuleResolveConfiguration_STATUS struct { // AutoResolved: Enable alert auto-resolution. AutoResolved *bool `json:"autoResolved,omitempty"` // TimeToResolve: Alert auto-resolution timeout. TimeToResolve *string `json:"timeToResolve,omitempty"` }
Specifies the Prometheus alert rule configuration.
func (*PrometheusRuleResolveConfiguration_STATUS) AssignProperties_From_PrometheusRuleResolveConfiguration_STATUS ¶
func (configuration *PrometheusRuleResolveConfiguration_STATUS) AssignProperties_From_PrometheusRuleResolveConfiguration_STATUS(source *storage.PrometheusRuleResolveConfiguration_STATUS) error
AssignProperties_From_PrometheusRuleResolveConfiguration_STATUS populates our PrometheusRuleResolveConfiguration_STATUS from the provided source PrometheusRuleResolveConfiguration_STATUS
func (*PrometheusRuleResolveConfiguration_STATUS) AssignProperties_To_PrometheusRuleResolveConfiguration_STATUS ¶
func (configuration *PrometheusRuleResolveConfiguration_STATUS) AssignProperties_To_PrometheusRuleResolveConfiguration_STATUS(destination *storage.PrometheusRuleResolveConfiguration_STATUS) error
AssignProperties_To_PrometheusRuleResolveConfiguration_STATUS populates the provided destination PrometheusRuleResolveConfiguration_STATUS from our PrometheusRuleResolveConfiguration_STATUS
func (*PrometheusRuleResolveConfiguration_STATUS) DeepCopy ¶
func (in *PrometheusRuleResolveConfiguration_STATUS) DeepCopy() *PrometheusRuleResolveConfiguration_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleResolveConfiguration_STATUS.
func (*PrometheusRuleResolveConfiguration_STATUS) DeepCopyInto ¶
func (in *PrometheusRuleResolveConfiguration_STATUS) DeepCopyInto(out *PrometheusRuleResolveConfiguration_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRuleResolveConfiguration_STATUS) NewEmptyARMValue ¶
func (configuration *PrometheusRuleResolveConfiguration_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRuleResolveConfiguration_STATUS) PopulateFromARM ¶
func (configuration *PrometheusRuleResolveConfiguration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type PrometheusRule_STATUS ¶
type PrometheusRule_STATUS struct { // Actions: Actions that are performed when the alert rule becomes active, and when an alert condition is resolved. Actions []PrometheusRuleGroupAction_STATUS `json:"actions,omitempty"` // Alert: Alert rule name. Alert *string `json:"alert,omitempty"` // Annotations: The annotations clause specifies a set of informational labels that can be used to store longer additional // information such as alert descriptions or runbook links. The annotation values can be templated. Annotations map[string]string `json:"annotations,omitempty"` // Enabled: Enable/disable rule. Enabled *bool `json:"enabled,omitempty"` // Expression: The PromQL expression to evaluate. https://prometheus.io/docs/prometheus/latest/querying/basics/. Evaluated // periodically as given by 'interval', and the result recorded as a new set of time series with the metric name as given // by 'record'. Expression *string `json:"expression,omitempty"` // For: The amount of time alert must be active before firing. For *string `json:"for,omitempty"` // Labels: Labels to add or overwrite before storing the result. Labels map[string]string `json:"labels,omitempty"` // Record: Recorded metrics name. Record *string `json:"record,omitempty"` // ResolveConfiguration: Defines the configuration for resolving fired alerts. Only relevant for alerts. ResolveConfiguration *PrometheusRuleResolveConfiguration_STATUS `json:"resolveConfiguration,omitempty"` // Severity: The severity of the alerts fired by the rule. Must be between 0 and 4. Severity *int `json:"severity,omitempty"` }
An Azure Prometheus alerting or recording rule.
func (*PrometheusRule_STATUS) AssignProperties_From_PrometheusRule_STATUS ¶
func (rule *PrometheusRule_STATUS) AssignProperties_From_PrometheusRule_STATUS(source *storage.PrometheusRule_STATUS) error
AssignProperties_From_PrometheusRule_STATUS populates our PrometheusRule_STATUS from the provided source PrometheusRule_STATUS
func (*PrometheusRule_STATUS) AssignProperties_To_PrometheusRule_STATUS ¶
func (rule *PrometheusRule_STATUS) AssignProperties_To_PrometheusRule_STATUS(destination *storage.PrometheusRule_STATUS) error
AssignProperties_To_PrometheusRule_STATUS populates the provided destination PrometheusRule_STATUS from our PrometheusRule_STATUS
func (*PrometheusRule_STATUS) DeepCopy ¶
func (in *PrometheusRule_STATUS) DeepCopy() *PrometheusRule_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRule_STATUS.
func (*PrometheusRule_STATUS) DeepCopyInto ¶
func (in *PrometheusRule_STATUS) DeepCopyInto(out *PrometheusRule_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusRule_STATUS) NewEmptyARMValue ¶
func (rule *PrometheusRule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*PrometheusRule_STATUS) PopulateFromARM ¶
func (rule *PrometheusRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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 *storage.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 *storage.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
Source Files ¶
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=v1api20230301storage
|
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=v1api20230301storage |