v1api20230301

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 12 Imported by: 0

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.

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 (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const APIVersion_Value = APIVersion("2023-03-01")

Variables

View Source
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 APIVersion

type APIVersion string

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

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) 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

GetSpec returns the specification of this resource

func (*PrometheusRuleGroup) GetStatus

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

Owner returns the ResourceReference of the owner

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

func (group *PrometheusRuleGroup) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

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

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

func (*PrometheusRuleGroupAction) DeepCopyInto

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_ARM

type PrometheusRuleGroupAction_ARM struct {
	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_ARM) DeepCopy

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

func (*PrometheusRuleGroupAction_ARM) DeepCopyInto

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

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

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

func (*PrometheusRuleGroupAction_STATUS) DeepCopyInto

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

func (*PrometheusRuleGroupAction_STATUS) NewEmptyARMValue

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 PrometheusRuleGroupAction_STATUS_ARM

type PrometheusRuleGroupAction_STATUS_ARM 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_ARM) DeepCopy

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

func (*PrometheusRuleGroupAction_STATUS_ARM) DeepCopyInto

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

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

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 PrometheusRuleGroupProperties_ARM

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

	// Rules: Defines the rules in the Prometheus rule group.
	Rules  []PrometheusRule_ARM `json:"rules,omitempty"`
	Scopes []string             `json:"scopes,omitempty"`
}

An Azure Prometheus rule group.

func (*PrometheusRuleGroupProperties_ARM) DeepCopy

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

func (*PrometheusRuleGroupProperties_ARM) DeepCopyInto

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

type PrometheusRuleGroupProperties_STATUS_ARM

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

	// Rules: Defines the rules in the Prometheus rule group.
	Rules []PrometheusRule_STATUS_ARM `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"`
}

An Azure Prometheus rule group.

func (*PrometheusRuleGroupProperties_STATUS_ARM) DeepCopy

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

func (*PrometheusRuleGroupProperties_STATUS_ARM) DeepCopyInto

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

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

func (*PrometheusRuleGroup_STATUS) DeepCopyInto

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_STATUS_ARM

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

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

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

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

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`

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

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

func (*PrometheusRuleGroup_STATUS_ARM) DeepCopy

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

func (*PrometheusRuleGroup_STATUS_ARM) DeepCopyInto

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

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

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

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 PrometheusRuleGroup_Spec_ARM

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

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

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

func (*PrometheusRuleGroup_Spec_ARM) DeepCopy

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

func (*PrometheusRuleGroup_Spec_ARM) DeepCopyInto

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

func (PrometheusRuleGroup_Spec_ARM) GetAPIVersion

func (group PrometheusRuleGroup_Spec_ARM) GetAPIVersion() string

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

func (*PrometheusRuleGroup_Spec_ARM) GetName

func (group *PrometheusRuleGroup_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*PrometheusRuleGroup_Spec_ARM) GetType

func (group *PrometheusRuleGroup_Spec_ARM) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.AlertsManagement/prometheusRuleGroups"

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

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

func (*PrometheusRuleResolveConfiguration) DeepCopyInto

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_ARM

type PrometheusRuleResolveConfiguration_ARM 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_ARM) DeepCopy

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

func (*PrometheusRuleResolveConfiguration_ARM) DeepCopyInto

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

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

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

func (*PrometheusRuleResolveConfiguration_STATUS) DeepCopyInto

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

func (*PrometheusRuleResolveConfiguration_STATUS) NewEmptyARMValue

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 PrometheusRuleResolveConfiguration_STATUS_ARM

type PrometheusRuleResolveConfiguration_STATUS_ARM 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_ARM) DeepCopy

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

func (*PrometheusRuleResolveConfiguration_STATUS_ARM) DeepCopyInto

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

type PrometheusRule_ARM

type PrometheusRule_ARM struct {
	// Actions: Actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
	Actions []PrometheusRuleGroupAction_ARM `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_ARM `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_ARM) DeepCopy

func (in *PrometheusRule_ARM) DeepCopy() *PrometheusRule_ARM

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

func (*PrometheusRule_ARM) DeepCopyInto

func (in *PrometheusRule_ARM) DeepCopyInto(out *PrometheusRule_ARM)

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

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

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 PrometheusRule_STATUS_ARM

type PrometheusRule_STATUS_ARM struct {
	// Actions: Actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
	Actions []PrometheusRuleGroupAction_STATUS_ARM `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_ARM `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_ARM) DeepCopy

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

func (*PrometheusRule_STATUS_ARM) DeepCopyInto

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

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

type SystemData_STATUS_ARM

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

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

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

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

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

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

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS_ARM) DeepCopy

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

func (*SystemData_STATUS_ARM) DeepCopyInto

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

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

Directories

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

Jump to

Keyboard shortcuts

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