storage

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

Package storage contains API Schema definitions for the insights storage 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=v1api20201001storage

Index

Constants

View Source
const APIVersion_Value = APIVersion("2020-10-01")

Variables

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

	// 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 v1api20201001.APIVersion +kubebuilder:validation:Enum={"2020-10-01"}

type ActionGroupReference

type ActionGroupReference struct {
	// +kubebuilder:validation:Required
	// ActionGroupReference: The resource ID of the Action Group. This cannot be null or empty.
	ActionGroupReference *genruntime.ResourceReference `armReference:"ActionGroupId" json:"actionGroupReference,omitempty"`
	PropertyBag          genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	WebhookProperties    map[string]string             `json:"webhookProperties,omitempty"`
}

Storage version of v1api20201001.ActionGroupReference A pointer to an Azure Action Group.

func (*ActionGroupReference) DeepCopy

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

func (*ActionGroupReference) DeepCopyInto

func (in *ActionGroupReference) DeepCopyInto(out *ActionGroupReference)

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

type ActionGroup_STATUS

type ActionGroup_STATUS struct {
	ActionGroupId     *string                `json:"actionGroupId,omitempty"`
	PropertyBag       genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	WebhookProperties map[string]string      `json:"webhookProperties,omitempty"`
}

Storage version of v1api20201001.ActionGroup_STATUS A pointer to an Azure Action Group.

func (*ActionGroup_STATUS) DeepCopy

func (in *ActionGroup_STATUS) DeepCopy() *ActionGroup_STATUS

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

func (*ActionGroup_STATUS) DeepCopyInto

func (in *ActionGroup_STATUS) DeepCopyInto(out *ActionGroup_STATUS)

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

type ActionList

type ActionList struct {
	ActionGroups []ActionGroupReference `json:"actionGroups,omitempty"`
	PropertyBag  genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20201001.ActionList A list of Activity Log Alert rule actions.

func (*ActionList) DeepCopy

func (in *ActionList) DeepCopy() *ActionList

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

func (*ActionList) DeepCopyInto

func (in *ActionList) DeepCopyInto(out *ActionList)

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

type ActionList_STATUS

type ActionList_STATUS struct {
	ActionGroups []ActionGroup_STATUS   `json:"actionGroups,omitempty"`
	PropertyBag  genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20201001.ActionList_STATUS A list of Activity Log Alert rule actions.

func (*ActionList_STATUS) DeepCopy

func (in *ActionList_STATUS) DeepCopy() *ActionList_STATUS

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

func (*ActionList_STATUS) DeepCopyInto

func (in *ActionList_STATUS) DeepCopyInto(out *ActionList_STATUS)

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

type ActivityLogAlert

type ActivityLogAlert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ActivityLogAlert_Spec   `json:"spec,omitempty"`
	Status            ActivityLogAlert_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,insights} +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 v1api20201001.ActivityLogAlert Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}

func (*ActivityLogAlert) AzureName

func (alert *ActivityLogAlert) AzureName() string

AzureName returns the Azure name of the resource

func (*ActivityLogAlert) ConfigMapDestinationExpressions

func (alert *ActivityLogAlert) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ActivityLogAlert) DeepCopy

func (in *ActivityLogAlert) DeepCopy() *ActivityLogAlert

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

func (*ActivityLogAlert) DeepCopyInto

func (in *ActivityLogAlert) DeepCopyInto(out *ActivityLogAlert)

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

func (*ActivityLogAlert) DeepCopyObject

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

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

func (ActivityLogAlert) GetAPIVersion

func (alert ActivityLogAlert) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2020-10-01"

func (*ActivityLogAlert) GetConditions

func (alert *ActivityLogAlert) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ActivityLogAlert) GetResourceScope

func (alert *ActivityLogAlert) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ActivityLogAlert) GetSpec

func (alert *ActivityLogAlert) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*ActivityLogAlert) GetStatus

func (alert *ActivityLogAlert) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*ActivityLogAlert) GetSupportedOperations

func (alert *ActivityLogAlert) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ActivityLogAlert) GetType

func (alert *ActivityLogAlert) GetType() string

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

func (*ActivityLogAlert) Hub

func (alert *ActivityLogAlert) Hub()

Hub marks that this ActivityLogAlert is the hub type for conversion

func (*ActivityLogAlert) NewEmptyStatus

func (alert *ActivityLogAlert) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ActivityLogAlert) OriginalGVK

func (alert *ActivityLogAlert) OriginalGVK() *schema.GroupVersionKind

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

func (*ActivityLogAlert) Owner

Owner returns the ResourceReference of the owner

func (*ActivityLogAlert) SecretDestinationExpressions

func (alert *ActivityLogAlert) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ActivityLogAlert) SetConditions

func (alert *ActivityLogAlert) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ActivityLogAlert) SetStatus

func (alert *ActivityLogAlert) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ActivityLogAlertList

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

+kubebuilder:object:root=true Storage version of v1api20201001.ActivityLogAlert Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}

func (*ActivityLogAlertList) DeepCopy

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

func (*ActivityLogAlertList) DeepCopyInto

func (in *ActivityLogAlertList) DeepCopyInto(out *ActivityLogAlertList)

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

func (*ActivityLogAlertList) DeepCopyObject

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

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

type ActivityLogAlertOperatorSpec

type ActivityLogAlertOperatorSpec struct {
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`
	PropertyBag          genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	SecretExpressions    []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

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

func (*ActivityLogAlertOperatorSpec) DeepCopy

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

func (*ActivityLogAlertOperatorSpec) DeepCopyInto

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

type ActivityLogAlert_STATUS

type ActivityLogAlert_STATUS struct {
	Actions     *ActionList_STATUS              `json:"actions,omitempty"`
	Condition   *AlertRuleAllOfCondition_STATUS `json:"condition,omitempty"`
	Conditions  []conditions.Condition          `json:"conditions,omitempty"`
	Description *string                         `json:"description,omitempty"`
	Enabled     *bool                           `json:"enabled,omitempty"`
	Id          *string                         `json:"id,omitempty"`
	Location    *string                         `json:"location,omitempty"`
	Name        *string                         `json:"name,omitempty"`
	PropertyBag genruntime.PropertyBag          `json:"$propertyBag,omitempty"`
	Scopes      []string                        `json:"scopes,omitempty"`
	Tags        map[string]string               `json:"tags,omitempty"`
	Type        *string                         `json:"type,omitempty"`
}

Storage version of v1api20201001.ActivityLogAlert_STATUS

func (*ActivityLogAlert_STATUS) ConvertStatusFrom

func (alert *ActivityLogAlert_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ActivityLogAlert_STATUS from the provided source

func (*ActivityLogAlert_STATUS) ConvertStatusTo

func (alert *ActivityLogAlert_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ActivityLogAlert_STATUS

func (*ActivityLogAlert_STATUS) DeepCopy

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

func (*ActivityLogAlert_STATUS) DeepCopyInto

func (in *ActivityLogAlert_STATUS) DeepCopyInto(out *ActivityLogAlert_STATUS)

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

type ActivityLogAlert_Spec

type ActivityLogAlert_Spec struct {
	Actions *ActionList `json:"actions,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"`
	Condition       *AlertRuleAllOfCondition      `json:"condition,omitempty"`
	Description     *string                       `json:"description,omitempty"`
	Enabled         *bool                         `json:"enabled,omitempty"`
	Location        *string                       `json:"location,omitempty"`
	OperatorSpec    *ActivityLogAlertOperatorSpec `json:"operatorSpec,omitempty"`
	OriginalVersion string                        `json:"originalVersion,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"`
	Tags             map[string]string                  `json:"tags,omitempty"`
}

Storage version of v1api20201001.ActivityLogAlert_Spec

func (*ActivityLogAlert_Spec) ConvertSpecFrom

func (alert *ActivityLogAlert_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ActivityLogAlert_Spec from the provided source

func (*ActivityLogAlert_Spec) ConvertSpecTo

func (alert *ActivityLogAlert_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ActivityLogAlert_Spec

func (*ActivityLogAlert_Spec) DeepCopy

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

func (*ActivityLogAlert_Spec) DeepCopyInto

func (in *ActivityLogAlert_Spec) DeepCopyInto(out *ActivityLogAlert_Spec)

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

type AlertRuleAllOfCondition

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

Storage version of v1api20201001.AlertRuleAllOfCondition An Activity Log Alert rule condition that is met when all its member conditions are met.

func (*AlertRuleAllOfCondition) DeepCopy

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

func (*AlertRuleAllOfCondition) DeepCopyInto

func (in *AlertRuleAllOfCondition) DeepCopyInto(out *AlertRuleAllOfCondition)

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

type AlertRuleAllOfCondition_STATUS

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

Storage version of v1api20201001.AlertRuleAllOfCondition_STATUS An Activity Log Alert rule condition that is met when all its member conditions are met.

func (*AlertRuleAllOfCondition_STATUS) DeepCopy

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

func (*AlertRuleAllOfCondition_STATUS) DeepCopyInto

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

type AlertRuleAnyOfOrLeafCondition

type AlertRuleAnyOfOrLeafCondition struct {
	AnyOf       []AlertRuleLeafCondition `json:"anyOf,omitempty"`
	ContainsAny []string                 `json:"containsAny,omitempty"`
	Equals      *string                  `json:"equals,omitempty"`
	Field       *string                  `json:"field,omitempty"`
	PropertyBag genruntime.PropertyBag   `json:"$propertyBag,omitempty"`
}

Storage version of v1api20201001.AlertRuleAnyOfOrLeafCondition An Activity Log Alert rule condition that is met when all its member conditions are met. Each condition can be of one of the following types: __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition. * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'. _Please note, 'anyOf' should __not__ be set in a Leaf Condition._ * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions). _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._

func (*AlertRuleAnyOfOrLeafCondition) DeepCopy

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

func (*AlertRuleAnyOfOrLeafCondition) DeepCopyInto

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

type AlertRuleAnyOfOrLeafCondition_STATUS

type AlertRuleAnyOfOrLeafCondition_STATUS struct {
	AnyOf       []AlertRuleLeafCondition_STATUS `json:"anyOf,omitempty"`
	ContainsAny []string                        `json:"containsAny,omitempty"`
	Equals      *string                         `json:"equals,omitempty"`
	Field       *string                         `json:"field,omitempty"`
	PropertyBag genruntime.PropertyBag          `json:"$propertyBag,omitempty"`
}

Storage version of v1api20201001.AlertRuleAnyOfOrLeafCondition_STATUS An Activity Log Alert rule condition that is met when all its member conditions are met. Each condition can be of one of the following types: __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition. * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'. _Please note, 'anyOf' should __not__ be set in a Leaf Condition._ * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions). _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._

func (*AlertRuleAnyOfOrLeafCondition_STATUS) DeepCopy

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

func (*AlertRuleAnyOfOrLeafCondition_STATUS) DeepCopyInto

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

type AlertRuleLeafCondition

type AlertRuleLeafCondition struct {
	ContainsAny []string               `json:"containsAny,omitempty"`
	Equals      *string                `json:"equals,omitempty"`
	Field       *string                `json:"field,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20201001.AlertRuleLeafCondition An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event. This condition must contain 'field' and either 'equals' or 'containsAny'.

func (*AlertRuleLeafCondition) DeepCopy

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

func (*AlertRuleLeafCondition) DeepCopyInto

func (in *AlertRuleLeafCondition) DeepCopyInto(out *AlertRuleLeafCondition)

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

type AlertRuleLeafCondition_STATUS

type AlertRuleLeafCondition_STATUS struct {
	ContainsAny []string               `json:"containsAny,omitempty"`
	Equals      *string                `json:"equals,omitempty"`
	Field       *string                `json:"field,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20201001.AlertRuleLeafCondition_STATUS An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event. This condition must contain 'field' and either 'equals' or 'containsAny'.

func (*AlertRuleLeafCondition_STATUS) DeepCopy

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

func (*AlertRuleLeafCondition_STATUS) DeepCopyInto

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