v1api20201001

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 14 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 v1api20201001 contains API Schema definitions for the insights v1api20201001 API group +groupName=insights.azure.com

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

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: "v1api20201001"}

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

	// WebhookProperties: the dictionary of custom properties to include with the post operation. These data are appended to
	// the webhook payload.
	WebhookProperties map[string]string `json:"webhookProperties,omitempty"`
}

A pointer to an Azure Action Group.

func (*ActionGroupReference) AssignProperties_From_ActionGroupReference

func (reference *ActionGroupReference) AssignProperties_From_ActionGroupReference(source *storage.ActionGroupReference) error

AssignProperties_From_ActionGroupReference populates our ActionGroupReference from the provided source ActionGroupReference

func (*ActionGroupReference) AssignProperties_To_ActionGroupReference

func (reference *ActionGroupReference) AssignProperties_To_ActionGroupReference(destination *storage.ActionGroupReference) error

AssignProperties_To_ActionGroupReference populates the provided destination ActionGroupReference from our ActionGroupReference

func (*ActionGroupReference) ConvertToARM

func (reference *ActionGroupReference) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*ActionGroupReference) Initialize_From_ActionGroup_STATUS

func (reference *ActionGroupReference) Initialize_From_ActionGroup_STATUS(source *ActionGroup_STATUS) error

Initialize_From_ActionGroup_STATUS populates our ActionGroupReference from the provided source ActionGroup_STATUS

func (*ActionGroupReference) NewEmptyARMValue

func (reference *ActionGroupReference) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActionGroupReference) PopulateFromARM

func (reference *ActionGroupReference) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ActionGroup_STATUS

type ActionGroup_STATUS struct {
	// ActionGroupId: The resource ID of the Action Group. This cannot be null or empty.
	ActionGroupId *string `json:"actionGroupId,omitempty"`

	// WebhookProperties: the dictionary of custom properties to include with the post operation. These data are appended to
	// the webhook payload.
	WebhookProperties map[string]string `json:"webhookProperties,omitempty"`
}

A pointer to an Azure Action Group.

func (*ActionGroup_STATUS) AssignProperties_From_ActionGroup_STATUS

func (group *ActionGroup_STATUS) AssignProperties_From_ActionGroup_STATUS(source *storage.ActionGroup_STATUS) error

AssignProperties_From_ActionGroup_STATUS populates our ActionGroup_STATUS from the provided source ActionGroup_STATUS

func (*ActionGroup_STATUS) AssignProperties_To_ActionGroup_STATUS

func (group *ActionGroup_STATUS) AssignProperties_To_ActionGroup_STATUS(destination *storage.ActionGroup_STATUS) error

AssignProperties_To_ActionGroup_STATUS populates the provided destination ActionGroup_STATUS from our ActionGroup_STATUS

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.

func (*ActionGroup_STATUS) NewEmptyARMValue

func (group *ActionGroup_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActionGroup_STATUS) PopulateFromARM

func (group *ActionGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ActionList

type ActionList struct {
	// ActionGroups: The list of the Action Groups.
	ActionGroups []ActionGroupReference `json:"actionGroups,omitempty"`
}

A list of Activity Log Alert rule actions.

func (*ActionList) AssignProperties_From_ActionList

func (list *ActionList) AssignProperties_From_ActionList(source *storage.ActionList) error

AssignProperties_From_ActionList populates our ActionList from the provided source ActionList

func (*ActionList) AssignProperties_To_ActionList

func (list *ActionList) AssignProperties_To_ActionList(destination *storage.ActionList) error

AssignProperties_To_ActionList populates the provided destination ActionList from our ActionList

func (*ActionList) ConvertToARM

func (list *ActionList) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*ActionList) Initialize_From_ActionList_STATUS

func (list *ActionList) Initialize_From_ActionList_STATUS(source *ActionList_STATUS) error

Initialize_From_ActionList_STATUS populates our ActionList from the provided source ActionList_STATUS

func (*ActionList) NewEmptyARMValue

func (list *ActionList) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActionList) PopulateFromARM

func (list *ActionList) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ActionList_STATUS

type ActionList_STATUS struct {
	// ActionGroups: The list of the Action Groups.
	ActionGroups []ActionGroup_STATUS `json:"actionGroups,omitempty"`
}

A list of Activity Log Alert rule actions.

func (*ActionList_STATUS) AssignProperties_From_ActionList_STATUS

func (list *ActionList_STATUS) AssignProperties_From_ActionList_STATUS(source *storage.ActionList_STATUS) error

AssignProperties_From_ActionList_STATUS populates our ActionList_STATUS from the provided source ActionList_STATUS

func (*ActionList_STATUS) AssignProperties_To_ActionList_STATUS

func (list *ActionList_STATUS) AssignProperties_To_ActionList_STATUS(destination *storage.ActionList_STATUS) error

AssignProperties_To_ActionList_STATUS populates the provided destination ActionList_STATUS from our ActionList_STATUS

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.

func (*ActionList_STATUS) NewEmptyARMValue

func (list *ActionList_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActionList_STATUS) PopulateFromARM

func (list *ActionList_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

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: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: /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) AssignProperties_From_ActivityLogAlert

func (alert *ActivityLogAlert) AssignProperties_From_ActivityLogAlert(source *storage.ActivityLogAlert) error

AssignProperties_From_ActivityLogAlert populates our ActivityLogAlert from the provided source ActivityLogAlert

func (*ActivityLogAlert) AssignProperties_To_ActivityLogAlert

func (alert *ActivityLogAlert) AssignProperties_To_ActivityLogAlert(destination *storage.ActivityLogAlert) error

AssignProperties_To_ActivityLogAlert populates the provided destination ActivityLogAlert from our ActivityLogAlert

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

func (alert *ActivityLogAlert) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ActivityLogAlert from the provided hub ActivityLogAlert

func (*ActivityLogAlert) ConvertTo

func (alert *ActivityLogAlert) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ActivityLogAlert from our ActivityLogAlert

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

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

InitializeSpec initializes the spec for this resource from the given status

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 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: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

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

func (*ActivityLogAlertOperatorSpec) AssignProperties_From_ActivityLogAlertOperatorSpec

func (operator *ActivityLogAlertOperatorSpec) AssignProperties_From_ActivityLogAlertOperatorSpec(source *storage.ActivityLogAlertOperatorSpec) error

AssignProperties_From_ActivityLogAlertOperatorSpec populates our ActivityLogAlertOperatorSpec from the provided source ActivityLogAlertOperatorSpec

func (*ActivityLogAlertOperatorSpec) AssignProperties_To_ActivityLogAlertOperatorSpec

func (operator *ActivityLogAlertOperatorSpec) AssignProperties_To_ActivityLogAlertOperatorSpec(destination *storage.ActivityLogAlertOperatorSpec) error

AssignProperties_To_ActivityLogAlertOperatorSpec populates the provided destination ActivityLogAlertOperatorSpec from our ActivityLogAlertOperatorSpec

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: The actions that will activate when the condition is met.
	Actions *ActionList_STATUS `json:"actions,omitempty"`

	// Condition: The condition that will cause this alert to activate.
	Condition *AlertRuleAllOfCondition_STATUS `json:"condition,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Description: A description of this Activity Log Alert rule.
	Description *string `json:"description,omitempty"`

	// Enabled: Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then
	// none of its actions will be activated.
	Enabled *bool `json:"enabled,omitempty"`

	// Id: The resource Id.
	Id *string `json:"id,omitempty"`

	// Location: The location of the resource. Azure Activity Log Alert rules are supported on Global, West Europe and North
	// Europe regions.
	Location *string `json:"location,omitempty"`

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

	// Scopes: A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with
	// resource IDs that fall under one of these prefixes. This list must include at least one item.
	Scopes []string `json:"scopes,omitempty"`

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

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

func (*ActivityLogAlert_STATUS) AssignProperties_From_ActivityLogAlert_STATUS

func (alert *ActivityLogAlert_STATUS) AssignProperties_From_ActivityLogAlert_STATUS(source *storage.ActivityLogAlert_STATUS) error

AssignProperties_From_ActivityLogAlert_STATUS populates our ActivityLogAlert_STATUS from the provided source ActivityLogAlert_STATUS

func (*ActivityLogAlert_STATUS) AssignProperties_To_ActivityLogAlert_STATUS

func (alert *ActivityLogAlert_STATUS) AssignProperties_To_ActivityLogAlert_STATUS(destination *storage.ActivityLogAlert_STATUS) error

AssignProperties_To_ActivityLogAlert_STATUS populates the provided destination ActivityLogAlert_STATUS from our 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.

func (*ActivityLogAlert_STATUS) NewEmptyARMValue

func (alert *ActivityLogAlert_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActivityLogAlert_STATUS) PopulateFromARM

func (alert *ActivityLogAlert_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ActivityLogAlert_Spec

type ActivityLogAlert_Spec struct {
	// +kubebuilder:validation:Required
	// Actions: The actions that will activate when the condition is met.
	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"`

	// +kubebuilder:validation:Required
	// Condition: The condition that will cause this alert to activate.
	Condition *AlertRuleAllOfCondition `json:"condition,omitempty"`

	// Description: A description of this Activity Log Alert rule.
	Description *string `json:"description,omitempty"`

	// Enabled: Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then
	// none of its actions will be activated.
	Enabled *bool `json:"enabled,omitempty"`

	// Location: The location of the resource. Azure Activity Log Alert rules are supported on Global, West Europe and North
	// Europe regions.
	Location *string `json:"location,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *ActivityLogAlertOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`

	// +kubebuilder:validation:Required
	// ScopesReferences: A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events
	// with resource IDs that fall under one of these prefixes. This list must include at least one item.
	ScopesReferences []genruntime.ResourceReference `armReference:"Scopes" json:"scopesReferences,omitempty"`

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

func (*ActivityLogAlert_Spec) AssignProperties_From_ActivityLogAlert_Spec

func (alert *ActivityLogAlert_Spec) AssignProperties_From_ActivityLogAlert_Spec(source *storage.ActivityLogAlert_Spec) error

AssignProperties_From_ActivityLogAlert_Spec populates our ActivityLogAlert_Spec from the provided source ActivityLogAlert_Spec

func (*ActivityLogAlert_Spec) AssignProperties_To_ActivityLogAlert_Spec

func (alert *ActivityLogAlert_Spec) AssignProperties_To_ActivityLogAlert_Spec(destination *storage.ActivityLogAlert_Spec) error

AssignProperties_To_ActivityLogAlert_Spec populates the provided destination ActivityLogAlert_Spec from our 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) ConvertToARM

func (alert *ActivityLogAlert_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*ActivityLogAlert_Spec) Initialize_From_ActivityLogAlert_STATUS

func (alert *ActivityLogAlert_Spec) Initialize_From_ActivityLogAlert_STATUS(source *ActivityLogAlert_STATUS) error

Initialize_From_ActivityLogAlert_STATUS populates our ActivityLogAlert_Spec from the provided source ActivityLogAlert_STATUS

func (*ActivityLogAlert_Spec) NewEmptyARMValue

func (alert *ActivityLogAlert_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ActivityLogAlert_Spec) OriginalVersion

func (alert *ActivityLogAlert_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*ActivityLogAlert_Spec) PopulateFromARM

func (alert *ActivityLogAlert_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ActivityLogAlert_Spec) SetAzureName

func (alert *ActivityLogAlert_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type AlertRuleAllOfCondition

type AlertRuleAllOfCondition struct {
	// +kubebuilder:validation:Required
	// AllOf: The list of Activity Log Alert rule conditions.
	AllOf []AlertRuleAnyOfOrLeafCondition `json:"allOf,omitempty"`
}

An Activity Log Alert rule condition that is met when all its member conditions are met.

func (*AlertRuleAllOfCondition) AssignProperties_From_AlertRuleAllOfCondition

func (condition *AlertRuleAllOfCondition) AssignProperties_From_AlertRuleAllOfCondition(source *storage.AlertRuleAllOfCondition) error

AssignProperties_From_AlertRuleAllOfCondition populates our AlertRuleAllOfCondition from the provided source AlertRuleAllOfCondition

func (*AlertRuleAllOfCondition) AssignProperties_To_AlertRuleAllOfCondition

func (condition *AlertRuleAllOfCondition) AssignProperties_To_AlertRuleAllOfCondition(destination *storage.AlertRuleAllOfCondition) error

AssignProperties_To_AlertRuleAllOfCondition populates the provided destination AlertRuleAllOfCondition from our AlertRuleAllOfCondition

func (*AlertRuleAllOfCondition) ConvertToARM

func (condition *AlertRuleAllOfCondition) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*AlertRuleAllOfCondition) Initialize_From_AlertRuleAllOfCondition_STATUS

func (condition *AlertRuleAllOfCondition) Initialize_From_AlertRuleAllOfCondition_STATUS(source *AlertRuleAllOfCondition_STATUS) error

Initialize_From_AlertRuleAllOfCondition_STATUS populates our AlertRuleAllOfCondition from the provided source AlertRuleAllOfCondition_STATUS

func (*AlertRuleAllOfCondition) NewEmptyARMValue

func (condition *AlertRuleAllOfCondition) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AlertRuleAllOfCondition) PopulateFromARM

func (condition *AlertRuleAllOfCondition) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AlertRuleAllOfCondition_STATUS

type AlertRuleAllOfCondition_STATUS struct {
	// AllOf: The list of Activity Log Alert rule conditions.
	AllOf []AlertRuleAnyOfOrLeafCondition_STATUS `json:"allOf,omitempty"`
}

An Activity Log Alert rule condition that is met when all its member conditions are met.

func (*AlertRuleAllOfCondition_STATUS) AssignProperties_From_AlertRuleAllOfCondition_STATUS

func (condition *AlertRuleAllOfCondition_STATUS) AssignProperties_From_AlertRuleAllOfCondition_STATUS(source *storage.AlertRuleAllOfCondition_STATUS) error

AssignProperties_From_AlertRuleAllOfCondition_STATUS populates our AlertRuleAllOfCondition_STATUS from the provided source AlertRuleAllOfCondition_STATUS

func (*AlertRuleAllOfCondition_STATUS) AssignProperties_To_AlertRuleAllOfCondition_STATUS

func (condition *AlertRuleAllOfCondition_STATUS) AssignProperties_To_AlertRuleAllOfCondition_STATUS(destination *storage.AlertRuleAllOfCondition_STATUS) error

AssignProperties_To_AlertRuleAllOfCondition_STATUS populates the provided destination AlertRuleAllOfCondition_STATUS from our AlertRuleAllOfCondition_STATUS

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.

func (*AlertRuleAllOfCondition_STATUS) NewEmptyARMValue

func (condition *AlertRuleAllOfCondition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AlertRuleAllOfCondition_STATUS) PopulateFromARM

func (condition *AlertRuleAllOfCondition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AlertRuleAnyOfOrLeafCondition

type AlertRuleAnyOfOrLeafCondition struct {
	// AnyOf: An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.
	AnyOf []AlertRuleLeafCondition `json:"anyOf,omitempty"`

	// ContainsAny: The value of the event's field will be compared to the values in this array (case-insensitive) to determine
	// if the condition is met.
	ContainsAny []string `json:"containsAny,omitempty"`

	// Equals: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition
	// is met.
	Equals *string `json:"equals,omitempty"`

	// Field: The name of the Activity Log event's field that this condition will examine.
	// The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName',
	// 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
	Field *string `json:"field,omitempty"`
}

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

func (condition *AlertRuleAnyOfOrLeafCondition) AssignProperties_From_AlertRuleAnyOfOrLeafCondition(source *storage.AlertRuleAnyOfOrLeafCondition) error

AssignProperties_From_AlertRuleAnyOfOrLeafCondition populates our AlertRuleAnyOfOrLeafCondition from the provided source AlertRuleAnyOfOrLeafCondition

func (*AlertRuleAnyOfOrLeafCondition) AssignProperties_To_AlertRuleAnyOfOrLeafCondition

func (condition *AlertRuleAnyOfOrLeafCondition) AssignProperties_To_AlertRuleAnyOfOrLeafCondition(destination *storage.AlertRuleAnyOfOrLeafCondition) error

AssignProperties_To_AlertRuleAnyOfOrLeafCondition populates the provided destination AlertRuleAnyOfOrLeafCondition from our AlertRuleAnyOfOrLeafCondition

func (*AlertRuleAnyOfOrLeafCondition) ConvertToARM

func (condition *AlertRuleAnyOfOrLeafCondition) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*AlertRuleAnyOfOrLeafCondition) Initialize_From_AlertRuleAnyOfOrLeafCondition_STATUS

func (condition *AlertRuleAnyOfOrLeafCondition) Initialize_From_AlertRuleAnyOfOrLeafCondition_STATUS(source *AlertRuleAnyOfOrLeafCondition_STATUS) error

Initialize_From_AlertRuleAnyOfOrLeafCondition_STATUS populates our AlertRuleAnyOfOrLeafCondition from the provided source AlertRuleAnyOfOrLeafCondition_STATUS

func (*AlertRuleAnyOfOrLeafCondition) NewEmptyARMValue

func (condition *AlertRuleAnyOfOrLeafCondition) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AlertRuleAnyOfOrLeafCondition) PopulateFromARM

func (condition *AlertRuleAnyOfOrLeafCondition) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AlertRuleAnyOfOrLeafCondition_STATUS

type AlertRuleAnyOfOrLeafCondition_STATUS struct {
	// AnyOf: An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.
	AnyOf []AlertRuleLeafCondition_STATUS `json:"anyOf,omitempty"`

	// ContainsAny: The value of the event's field will be compared to the values in this array (case-insensitive) to determine
	// if the condition is met.
	ContainsAny []string `json:"containsAny,omitempty"`

	// Equals: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition
	// is met.
	Equals *string `json:"equals,omitempty"`

	// Field: The name of the Activity Log event's field that this condition will examine.
	// The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName',
	// 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
	Field *string `json:"field,omitempty"`
}

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

func (condition *AlertRuleAnyOfOrLeafCondition_STATUS) AssignProperties_From_AlertRuleAnyOfOrLeafCondition_STATUS(source *storage.AlertRuleAnyOfOrLeafCondition_STATUS) error

AssignProperties_From_AlertRuleAnyOfOrLeafCondition_STATUS populates our AlertRuleAnyOfOrLeafCondition_STATUS from the provided source AlertRuleAnyOfOrLeafCondition_STATUS

func (*AlertRuleAnyOfOrLeafCondition_STATUS) AssignProperties_To_AlertRuleAnyOfOrLeafCondition_STATUS

func (condition *AlertRuleAnyOfOrLeafCondition_STATUS) AssignProperties_To_AlertRuleAnyOfOrLeafCondition_STATUS(destination *storage.AlertRuleAnyOfOrLeafCondition_STATUS) error

AssignProperties_To_AlertRuleAnyOfOrLeafCondition_STATUS populates the provided destination AlertRuleAnyOfOrLeafCondition_STATUS from our AlertRuleAnyOfOrLeafCondition_STATUS

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.

func (*AlertRuleAnyOfOrLeafCondition_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AlertRuleAnyOfOrLeafCondition_STATUS) PopulateFromARM

func (condition *AlertRuleAnyOfOrLeafCondition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AlertRuleLeafCondition

type AlertRuleLeafCondition struct {
	// ContainsAny: The value of the event's field will be compared to the values in this array (case-insensitive) to determine
	// if the condition is met.
	ContainsAny []string `json:"containsAny,omitempty"`

	// Equals: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition
	// is met.
	Equals *string `json:"equals,omitempty"`

	// Field: The name of the Activity Log event's field that this condition will examine.
	// The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName',
	// 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
	Field *string `json:"field,omitempty"`
}

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

func (condition *AlertRuleLeafCondition) AssignProperties_From_AlertRuleLeafCondition(source *storage.AlertRuleLeafCondition) error

AssignProperties_From_AlertRuleLeafCondition populates our AlertRuleLeafCondition from the provided source AlertRuleLeafCondition

func (*AlertRuleLeafCondition) AssignProperties_To_AlertRuleLeafCondition

func (condition *AlertRuleLeafCondition) AssignProperties_To_AlertRuleLeafCondition(destination *storage.AlertRuleLeafCondition) error

AssignProperties_To_AlertRuleLeafCondition populates the provided destination AlertRuleLeafCondition from our AlertRuleLeafCondition

func (*AlertRuleLeafCondition) ConvertToARM

func (condition *AlertRuleLeafCondition) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*AlertRuleLeafCondition) Initialize_From_AlertRuleLeafCondition_STATUS

func (condition *AlertRuleLeafCondition) Initialize_From_AlertRuleLeafCondition_STATUS(source *AlertRuleLeafCondition_STATUS) error

Initialize_From_AlertRuleLeafCondition_STATUS populates our AlertRuleLeafCondition from the provided source AlertRuleLeafCondition_STATUS

func (*AlertRuleLeafCondition) NewEmptyARMValue

func (condition *AlertRuleLeafCondition) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AlertRuleLeafCondition) PopulateFromARM

func (condition *AlertRuleLeafCondition) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AlertRuleLeafCondition_STATUS

type AlertRuleLeafCondition_STATUS struct {
	// ContainsAny: The value of the event's field will be compared to the values in this array (case-insensitive) to determine
	// if the condition is met.
	ContainsAny []string `json:"containsAny,omitempty"`

	// Equals: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition
	// is met.
	Equals *string `json:"equals,omitempty"`

	// Field: The name of the Activity Log event's field that this condition will examine.
	// The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName',
	// 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
	Field *string `json:"field,omitempty"`
}

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

func (condition *AlertRuleLeafCondition_STATUS) AssignProperties_From_AlertRuleLeafCondition_STATUS(source *storage.AlertRuleLeafCondition_STATUS) error

AssignProperties_From_AlertRuleLeafCondition_STATUS populates our AlertRuleLeafCondition_STATUS from the provided source AlertRuleLeafCondition_STATUS

func (*AlertRuleLeafCondition_STATUS) AssignProperties_To_AlertRuleLeafCondition_STATUS

func (condition *AlertRuleLeafCondition_STATUS) AssignProperties_To_AlertRuleLeafCondition_STATUS(destination *storage.AlertRuleLeafCondition_STATUS) error

AssignProperties_To_AlertRuleLeafCondition_STATUS populates the provided destination AlertRuleLeafCondition_STATUS from our AlertRuleLeafCondition_STATUS

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.

func (*AlertRuleLeafCondition_STATUS) NewEmptyARMValue

func (condition *AlertRuleLeafCondition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AlertRuleLeafCondition_STATUS) PopulateFromARM

func (condition *AlertRuleLeafCondition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

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