v1api20220615storage

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const APIVersion_Value = APIVersion("2022-06-15")

Variables

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

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

Storage version of v1api20220615.APIVersion +kubebuilder:validation:Enum={"2022-06-15"}

type Actions

type Actions struct {
	ActionGroupsReferences []genruntime.ResourceReference `armReference:"ActionGroups" json:"actionGroupsReferences,omitempty"`
	CustomProperties       map[string]string              `json:"customProperties,omitempty"`
	PropertyBag            genruntime.PropertyBag         `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.Actions Actions to invoke when the alert fires.

func (*Actions) DeepCopy

func (in *Actions) DeepCopy() *Actions

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

func (*Actions) DeepCopyInto

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

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

type Actions_STATUS

type Actions_STATUS struct {
	ActionGroups     []string               `json:"actionGroups,omitempty"`
	CustomProperties map[string]string      `json:"customProperties,omitempty"`
	PropertyBag      genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.Actions_STATUS Actions to invoke when the alert fires.

func (*Actions_STATUS) DeepCopy

func (in *Actions_STATUS) DeepCopy() *Actions_STATUS

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

func (*Actions_STATUS) DeepCopyInto

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

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

type Condition

type Condition struct {
	Dimensions          []Dimension               `json:"dimensions,omitempty"`
	FailingPeriods      *Condition_FailingPeriods `json:"failingPeriods,omitempty"`
	MetricMeasureColumn *string                   `json:"metricMeasureColumn,omitempty"`
	MetricName          *string                   `json:"metricName,omitempty"`
	Operator            *string                   `json:"operator,omitempty"`
	PropertyBag         genruntime.PropertyBag    `json:"$propertyBag,omitempty"`
	Query               *string                   `json:"query,omitempty"`

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

Storage version of v1api20220615.Condition A condition of the scheduled query rule.

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

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

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

type Condition_FailingPeriods

type Condition_FailingPeriods struct {
	MinFailingPeriodsToAlert  *int                   `json:"minFailingPeriodsToAlert,omitempty"`
	NumberOfEvaluationPeriods *int                   `json:"numberOfEvaluationPeriods,omitempty"`
	PropertyBag               genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.Condition_FailingPeriods

func (*Condition_FailingPeriods) DeepCopy

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

func (*Condition_FailingPeriods) DeepCopyInto

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

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

type Condition_FailingPeriods_STATUS

type Condition_FailingPeriods_STATUS struct {
	MinFailingPeriodsToAlert  *int                   `json:"minFailingPeriodsToAlert,omitempty"`
	NumberOfEvaluationPeriods *int                   `json:"numberOfEvaluationPeriods,omitempty"`
	PropertyBag               genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.Condition_FailingPeriods_STATUS

func (*Condition_FailingPeriods_STATUS) DeepCopy

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

func (*Condition_FailingPeriods_STATUS) DeepCopyInto

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

type Condition_STATUS

type Condition_STATUS struct {
	Dimensions          []Dimension_STATUS               `json:"dimensions,omitempty"`
	FailingPeriods      *Condition_FailingPeriods_STATUS `json:"failingPeriods,omitempty"`
	MetricMeasureColumn *string                          `json:"metricMeasureColumn,omitempty"`
	MetricName          *string                          `json:"metricName,omitempty"`
	Operator            *string                          `json:"operator,omitempty"`
	PropertyBag         genruntime.PropertyBag           `json:"$propertyBag,omitempty"`
	Query               *string                          `json:"query,omitempty"`
	ResourceIdColumn    *string                          `json:"resourceIdColumn,omitempty"`
	Threshold           *float64                         `json:"threshold,omitempty"`
	TimeAggregation     *string                          `json:"timeAggregation,omitempty"`
}

Storage version of v1api20220615.Condition_STATUS A condition of the scheduled query rule.

func (*Condition_STATUS) DeepCopy

func (in *Condition_STATUS) DeepCopy() *Condition_STATUS

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

func (*Condition_STATUS) DeepCopyInto

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

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

type Dimension

type Dimension struct {
	Name        *string                `json:"name,omitempty"`
	Operator    *string                `json:"operator,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Values      []string               `json:"values,omitempty"`
}

Storage version of v1api20220615.Dimension Dimension splitting and filtering definition

func (*Dimension) DeepCopy

func (in *Dimension) DeepCopy() *Dimension

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

func (*Dimension) DeepCopyInto

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

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

type Dimension_STATUS

type Dimension_STATUS struct {
	Name        *string                `json:"name,omitempty"`
	Operator    *string                `json:"operator,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Values      []string               `json:"values,omitempty"`
}

Storage version of v1api20220615.Dimension_STATUS Dimension splitting and filtering definition

func (*Dimension_STATUS) DeepCopy

func (in *Dimension_STATUS) DeepCopy() *Dimension_STATUS

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

func (*Dimension_STATUS) DeepCopyInto

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

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

type ScheduledQueryRule

type ScheduledQueryRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScheduledQueryRule_Spec   `json:"spec,omitempty"`
	Status            ScheduledQueryRule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +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" Storage version of v1api20220615.ScheduledQueryRule Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}

func (*ScheduledQueryRule) AzureName

func (rule *ScheduledQueryRule) AzureName() string

AzureName returns the Azure name of the resource

func (*ScheduledQueryRule) DeepCopy

func (in *ScheduledQueryRule) DeepCopy() *ScheduledQueryRule

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

func (*ScheduledQueryRule) DeepCopyInto

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

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

func (*ScheduledQueryRule) DeepCopyObject

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

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

func (ScheduledQueryRule) GetAPIVersion

func (rule ScheduledQueryRule) GetAPIVersion() string

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

func (*ScheduledQueryRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*ScheduledQueryRule) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*ScheduledQueryRule) GetSpec

GetSpec returns the specification of this resource

func (*ScheduledQueryRule) GetStatus

GetStatus returns the status of this resource

func (*ScheduledQueryRule) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*ScheduledQueryRule) GetType

func (rule *ScheduledQueryRule) GetType() string

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

func (*ScheduledQueryRule) Hub

func (rule *ScheduledQueryRule) Hub()

Hub marks that this ScheduledQueryRule is the hub type for conversion

func (*ScheduledQueryRule) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*ScheduledQueryRule) OriginalGVK

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

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

func (*ScheduledQueryRule) Owner

Owner returns the ResourceReference of the owner

func (*ScheduledQueryRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ScheduledQueryRule) SetStatus

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

SetStatus sets the status of this resource

type ScheduledQueryRuleCriteria

type ScheduledQueryRuleCriteria struct {
	AllOf       []Condition            `json:"allOf,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.ScheduledQueryRuleCriteria The rule criteria that defines the conditions of the scheduled query rule.

func (*ScheduledQueryRuleCriteria) DeepCopy

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

func (*ScheduledQueryRuleCriteria) DeepCopyInto

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

type ScheduledQueryRuleCriteria_STATUS

type ScheduledQueryRuleCriteria_STATUS struct {
	AllOf       []Condition_STATUS     `json:"allOf,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.ScheduledQueryRuleCriteria_STATUS The rule criteria that defines the conditions of the scheduled query rule.

func (*ScheduledQueryRuleCriteria_STATUS) DeepCopy

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

func (*ScheduledQueryRuleCriteria_STATUS) DeepCopyInto

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

type ScheduledQueryRuleList

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

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

func (*ScheduledQueryRuleList) DeepCopy

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

func (*ScheduledQueryRuleList) DeepCopyInto

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

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

func (*ScheduledQueryRuleList) DeepCopyObject

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

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

type ScheduledQueryRule_STATUS

type ScheduledQueryRule_STATUS struct {
	Actions                               *Actions_STATUS                    `json:"actions,omitempty"`
	AutoMitigate                          *bool                              `json:"autoMitigate,omitempty"`
	CheckWorkspaceAlertsStorageConfigured *bool                              `json:"checkWorkspaceAlertsStorageConfigured,omitempty"`
	Conditions                            []conditions.Condition             `json:"conditions,omitempty"`
	CreatedWithApiVersion                 *string                            `json:"createdWithApiVersion,omitempty"`
	Criteria                              *ScheduledQueryRuleCriteria_STATUS `json:"criteria,omitempty"`
	Description                           *string                            `json:"description,omitempty"`
	DisplayName                           *string                            `json:"displayName,omitempty"`
	Enabled                               *bool                              `json:"enabled,omitempty"`
	Etag                                  *string                            `json:"etag,omitempty"`
	EvaluationFrequency                   *string                            `json:"evaluationFrequency,omitempty"`
	Id                                    *string                            `json:"id,omitempty"`
	IsLegacyLogAnalyticsRule              *bool                              `json:"isLegacyLogAnalyticsRule,omitempty"`
	IsWorkspaceAlertsStorageConfigured    *bool                              `json:"isWorkspaceAlertsStorageConfigured,omitempty"`
	Kind                                  *string                            `json:"kind,omitempty"`
	Location                              *string                            `json:"location,omitempty"`
	MuteActionsDuration                   *string                            `json:"muteActionsDuration,omitempty"`
	Name                                  *string                            `json:"name,omitempty"`
	OverrideQueryTimeRange                *string                            `json:"overrideQueryTimeRange,omitempty"`
	PropertyBag                           genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	Scopes                                []string                           `json:"scopes,omitempty"`
	Severity                              *int                               `json:"severity,omitempty"`
	SkipQueryValidation                   *bool                              `json:"skipQueryValidation,omitempty"`
	SystemData                            *SystemData_STATUS                 `json:"systemData,omitempty"`
	Tags                                  map[string]string                  `json:"tags,omitempty"`
	TargetResourceTypes                   []string                           `json:"targetResourceTypes,omitempty"`
	Type                                  *string                            `json:"type,omitempty"`
	WindowSize                            *string                            `json:"windowSize,omitempty"`
}

Storage version of v1api20220615.ScheduledQueryRule_STATUS

func (*ScheduledQueryRule_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our ScheduledQueryRule_STATUS from the provided source

func (*ScheduledQueryRule_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our ScheduledQueryRule_STATUS

func (*ScheduledQueryRule_STATUS) DeepCopy

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

func (*ScheduledQueryRule_STATUS) DeepCopyInto

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

type ScheduledQueryRule_Spec

type ScheduledQueryRule_Spec struct {
	Actions      *Actions `json:"actions,omitempty"`
	AutoMitigate *bool    `json:"autoMitigate,omitempty"`

	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName                             string                      `json:"azureName,omitempty"`
	CheckWorkspaceAlertsStorageConfigured *bool                       `json:"checkWorkspaceAlertsStorageConfigured,omitempty"`
	Criteria                              *ScheduledQueryRuleCriteria `json:"criteria,omitempty"`
	Description                           *string                     `json:"description,omitempty"`
	DisplayName                           *string                     `json:"displayName,omitempty"`
	Enabled                               *bool                       `json:"enabled,omitempty"`
	EvaluationFrequency                   *string                     `json:"evaluationFrequency,omitempty"`
	Kind                                  *string                     `json:"kind,omitempty"`
	Location                              *string                     `json:"location,omitempty"`
	MuteActionsDuration                   *string                     `json:"muteActionsDuration,omitempty"`
	OriginalVersion                       string                      `json:"originalVersion,omitempty"`
	OverrideQueryTimeRange                *string                     `json:"overrideQueryTimeRange,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner               *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`
	PropertyBag         genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	ScopesReferences    []genruntime.ResourceReference     `armReference:"Scopes" json:"scopesReferences,omitempty"`
	Severity            *int                               `json:"severity,omitempty"`
	SkipQueryValidation *bool                              `json:"skipQueryValidation,omitempty"`
	Tags                map[string]string                  `json:"tags,omitempty"`
	TargetResourceTypes []string                           `json:"targetResourceTypes,omitempty"`
	WindowSize          *string                            `json:"windowSize,omitempty"`
}

Storage version of v1api20220615.ScheduledQueryRule_Spec

func (*ScheduledQueryRule_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our ScheduledQueryRule_Spec from the provided source

func (*ScheduledQueryRule_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our ScheduledQueryRule_Spec

func (*ScheduledQueryRule_Spec) DeepCopy

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

func (*ScheduledQueryRule_Spec) DeepCopyInto

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

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

type SystemData_STATUS

type SystemData_STATUS struct {
	CreatedAt          *string                `json:"createdAt,omitempty"`
	CreatedBy          *string                `json:"createdBy,omitempty"`
	CreatedByType      *string                `json:"createdByType,omitempty"`
	LastModifiedAt     *string                `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string                `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *string                `json:"lastModifiedByType,omitempty"`
	PropertyBag        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220615.SystemData_STATUS 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 *v20221001s.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 *v20221001s.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.

Jump to

Keyboard shortcuts

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