v1api20221001

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 16 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 v1api20221001 contains API Schema definitions for the insights v1api20221001 API group +groupName=insights.azure.com

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

Index

Constants

View Source
const (
	PredictiveAutoscalePolicy_ScaleMode_Disabled     = PredictiveAutoscalePolicy_ScaleMode("Disabled")
	PredictiveAutoscalePolicy_ScaleMode_Enabled      = PredictiveAutoscalePolicy_ScaleMode("Enabled")
	PredictiveAutoscalePolicy_ScaleMode_ForecastOnly = PredictiveAutoscalePolicy_ScaleMode("ForecastOnly")
)
View Source
const (
	PredictiveAutoscalePolicy_ScaleMode_STATUS_Disabled     = PredictiveAutoscalePolicy_ScaleMode_STATUS("Disabled")
	PredictiveAutoscalePolicy_ScaleMode_STATUS_Enabled      = PredictiveAutoscalePolicy_ScaleMode_STATUS("Enabled")
	PredictiveAutoscalePolicy_ScaleMode_STATUS_ForecastOnly = PredictiveAutoscalePolicy_ScaleMode_STATUS("ForecastOnly")
)
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 (
	Recurrence_Frequency_Day    = Recurrence_Frequency("Day")
	Recurrence_Frequency_Hour   = Recurrence_Frequency("Hour")
	Recurrence_Frequency_Minute = Recurrence_Frequency("Minute")
	Recurrence_Frequency_Month  = Recurrence_Frequency("Month")
	Recurrence_Frequency_None   = Recurrence_Frequency("None")
	Recurrence_Frequency_Second = Recurrence_Frequency("Second")
	Recurrence_Frequency_Week   = Recurrence_Frequency("Week")
	Recurrence_Frequency_Year   = Recurrence_Frequency("Year")
)
View Source
const (
	Recurrence_Frequency_STATUS_Day    = Recurrence_Frequency_STATUS("Day")
	Recurrence_Frequency_STATUS_Hour   = Recurrence_Frequency_STATUS("Hour")
	Recurrence_Frequency_STATUS_Minute = Recurrence_Frequency_STATUS("Minute")
	Recurrence_Frequency_STATUS_Month  = Recurrence_Frequency_STATUS("Month")
	Recurrence_Frequency_STATUS_None   = Recurrence_Frequency_STATUS("None")
	Recurrence_Frequency_STATUS_Second = Recurrence_Frequency_STATUS("Second")
	Recurrence_Frequency_STATUS_Week   = Recurrence_Frequency_STATUS("Week")
	Recurrence_Frequency_STATUS_Year   = Recurrence_Frequency_STATUS("Year")
)
View Source
const (
	MetricTrigger_Operator_Equals             = MetricTrigger_Operator("Equals")
	MetricTrigger_Operator_GreaterThan        = MetricTrigger_Operator("GreaterThan")
	MetricTrigger_Operator_GreaterThanOrEqual = MetricTrigger_Operator("GreaterThanOrEqual")
	MetricTrigger_Operator_LessThan           = MetricTrigger_Operator("LessThan")
	MetricTrigger_Operator_LessThanOrEqual    = MetricTrigger_Operator("LessThanOrEqual")
	MetricTrigger_Operator_NotEquals          = MetricTrigger_Operator("NotEquals")
)
View Source
const (
	MetricTrigger_Operator_STATUS_Equals             = MetricTrigger_Operator_STATUS("Equals")
	MetricTrigger_Operator_STATUS_GreaterThan        = MetricTrigger_Operator_STATUS("GreaterThan")
	MetricTrigger_Operator_STATUS_GreaterThanOrEqual = MetricTrigger_Operator_STATUS("GreaterThanOrEqual")
	MetricTrigger_Operator_STATUS_LessThan           = MetricTrigger_Operator_STATUS("LessThan")
	MetricTrigger_Operator_STATUS_LessThanOrEqual    = MetricTrigger_Operator_STATUS("LessThanOrEqual")
	MetricTrigger_Operator_STATUS_NotEquals          = MetricTrigger_Operator_STATUS("NotEquals")
)
View Source
const (
	MetricTrigger_Statistic_Average = MetricTrigger_Statistic("Average")
	MetricTrigger_Statistic_Count   = MetricTrigger_Statistic("Count")
	MetricTrigger_Statistic_Max     = MetricTrigger_Statistic("Max")
	MetricTrigger_Statistic_Min     = MetricTrigger_Statistic("Min")
	MetricTrigger_Statistic_Sum     = MetricTrigger_Statistic("Sum")
)
View Source
const (
	MetricTrigger_Statistic_STATUS_Average = MetricTrigger_Statistic_STATUS("Average")
	MetricTrigger_Statistic_STATUS_Count   = MetricTrigger_Statistic_STATUS("Count")
	MetricTrigger_Statistic_STATUS_Max     = MetricTrigger_Statistic_STATUS("Max")
	MetricTrigger_Statistic_STATUS_Min     = MetricTrigger_Statistic_STATUS("Min")
	MetricTrigger_Statistic_STATUS_Sum     = MetricTrigger_Statistic_STATUS("Sum")
)
View Source
const (
	MetricTrigger_TimeAggregation_Average = MetricTrigger_TimeAggregation("Average")
	MetricTrigger_TimeAggregation_Count   = MetricTrigger_TimeAggregation("Count")
	MetricTrigger_TimeAggregation_Last    = MetricTrigger_TimeAggregation("Last")
	MetricTrigger_TimeAggregation_Maximum = MetricTrigger_TimeAggregation("Maximum")
	MetricTrigger_TimeAggregation_Minimum = MetricTrigger_TimeAggregation("Minimum")
	MetricTrigger_TimeAggregation_Total   = MetricTrigger_TimeAggregation("Total")
)
View Source
const (
	MetricTrigger_TimeAggregation_STATUS_Average = MetricTrigger_TimeAggregation_STATUS("Average")
	MetricTrigger_TimeAggregation_STATUS_Count   = MetricTrigger_TimeAggregation_STATUS("Count")
	MetricTrigger_TimeAggregation_STATUS_Last    = MetricTrigger_TimeAggregation_STATUS("Last")
	MetricTrigger_TimeAggregation_STATUS_Maximum = MetricTrigger_TimeAggregation_STATUS("Maximum")
	MetricTrigger_TimeAggregation_STATUS_Minimum = MetricTrigger_TimeAggregation_STATUS("Minimum")
	MetricTrigger_TimeAggregation_STATUS_Total   = MetricTrigger_TimeAggregation_STATUS("Total")
)
View Source
const (
	ScaleAction_Direction_Decrease = ScaleAction_Direction("Decrease")
	ScaleAction_Direction_Increase = ScaleAction_Direction("Increase")
	ScaleAction_Direction_None     = ScaleAction_Direction("None")
)
View Source
const (
	ScaleAction_Direction_STATUS_Decrease = ScaleAction_Direction_STATUS("Decrease")
	ScaleAction_Direction_STATUS_Increase = ScaleAction_Direction_STATUS("Increase")
	ScaleAction_Direction_STATUS_None     = ScaleAction_Direction_STATUS("None")
)
View Source
const (
	ScaleAction_Type_ChangeCount             = ScaleAction_Type("ChangeCount")
	ScaleAction_Type_ExactCount              = ScaleAction_Type("ExactCount")
	ScaleAction_Type_PercentChangeCount      = ScaleAction_Type("PercentChangeCount")
	ScaleAction_Type_ServiceAllowedNextValue = ScaleAction_Type("ServiceAllowedNextValue")
)
View Source
const (
	ScaleAction_Type_STATUS_ChangeCount             = ScaleAction_Type_STATUS("ChangeCount")
	ScaleAction_Type_STATUS_ExactCount              = ScaleAction_Type_STATUS("ExactCount")
	ScaleAction_Type_STATUS_PercentChangeCount      = ScaleAction_Type_STATUS("PercentChangeCount")
	ScaleAction_Type_STATUS_ServiceAllowedNextValue = ScaleAction_Type_STATUS("ServiceAllowedNextValue")
)
View Source
const (
	ScaleRuleMetricDimension_Operator_Equals    = ScaleRuleMetricDimension_Operator("Equals")
	ScaleRuleMetricDimension_Operator_NotEquals = ScaleRuleMetricDimension_Operator("NotEquals")
)
View Source
const (
	ScaleRuleMetricDimension_Operator_STATUS_Equals    = ScaleRuleMetricDimension_Operator_STATUS("Equals")
	ScaleRuleMetricDimension_Operator_STATUS_NotEquals = ScaleRuleMetricDimension_Operator_STATUS("NotEquals")
)
View Source
const APIVersion_Value = APIVersion("2022-10-01")
View Source
const AutoscaleNotification_Operation_STATUS_Scale = AutoscaleNotification_Operation_STATUS("Scale")
View Source
const AutoscaleNotification_Operation_Scale = AutoscaleNotification_Operation("Scale")

Variables

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

	// 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={"2022-10-01"}

type AutoscaleNotification

type AutoscaleNotification struct {
	// Email: the email notification.
	Email *EmailNotification `json:"email,omitempty"`

	// +kubebuilder:validation:Required
	// Operation: the operation associated with the notification and its value must be "scale"
	Operation *AutoscaleNotification_Operation `json:"operation,omitempty"`

	// Webhooks: the collection of webhook notifications.
	Webhooks []WebhookNotification `json:"webhooks,omitempty"`
}

Autoscale notification.

func (*AutoscaleNotification) AssignProperties_From_AutoscaleNotification

func (notification *AutoscaleNotification) AssignProperties_From_AutoscaleNotification(source *storage.AutoscaleNotification) error

AssignProperties_From_AutoscaleNotification populates our AutoscaleNotification from the provided source AutoscaleNotification

func (*AutoscaleNotification) AssignProperties_To_AutoscaleNotification

func (notification *AutoscaleNotification) AssignProperties_To_AutoscaleNotification(destination *storage.AutoscaleNotification) error

AssignProperties_To_AutoscaleNotification populates the provided destination AutoscaleNotification from our AutoscaleNotification

func (*AutoscaleNotification) ConvertToARM

func (notification *AutoscaleNotification) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*AutoscaleNotification) DeepCopy

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

func (*AutoscaleNotification) DeepCopyInto

func (in *AutoscaleNotification) DeepCopyInto(out *AutoscaleNotification)

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

func (*AutoscaleNotification) Initialize_From_AutoscaleNotification_STATUS

func (notification *AutoscaleNotification) Initialize_From_AutoscaleNotification_STATUS(source *AutoscaleNotification_STATUS) error

Initialize_From_AutoscaleNotification_STATUS populates our AutoscaleNotification from the provided source AutoscaleNotification_STATUS

func (*AutoscaleNotification) NewEmptyARMValue

func (notification *AutoscaleNotification) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AutoscaleNotification) PopulateFromARM

func (notification *AutoscaleNotification) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AutoscaleNotification_Operation

type AutoscaleNotification_Operation string

+kubebuilder:validation:Enum={"Scale"}

type AutoscaleNotification_Operation_STATUS

type AutoscaleNotification_Operation_STATUS string

type AutoscaleNotification_STATUS

type AutoscaleNotification_STATUS struct {
	// Email: the email notification.
	Email *EmailNotification_STATUS `json:"email,omitempty"`

	// Operation: the operation associated with the notification and its value must be "scale"
	Operation *AutoscaleNotification_Operation_STATUS `json:"operation,omitempty"`

	// Webhooks: the collection of webhook notifications.
	Webhooks []WebhookNotification_STATUS `json:"webhooks,omitempty"`
}

Autoscale notification.

func (*AutoscaleNotification_STATUS) AssignProperties_From_AutoscaleNotification_STATUS

func (notification *AutoscaleNotification_STATUS) AssignProperties_From_AutoscaleNotification_STATUS(source *storage.AutoscaleNotification_STATUS) error

AssignProperties_From_AutoscaleNotification_STATUS populates our AutoscaleNotification_STATUS from the provided source AutoscaleNotification_STATUS

func (*AutoscaleNotification_STATUS) AssignProperties_To_AutoscaleNotification_STATUS

func (notification *AutoscaleNotification_STATUS) AssignProperties_To_AutoscaleNotification_STATUS(destination *storage.AutoscaleNotification_STATUS) error

AssignProperties_To_AutoscaleNotification_STATUS populates the provided destination AutoscaleNotification_STATUS from our AutoscaleNotification_STATUS

func (*AutoscaleNotification_STATUS) DeepCopy

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

func (*AutoscaleNotification_STATUS) DeepCopyInto

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

func (*AutoscaleNotification_STATUS) NewEmptyARMValue

func (notification *AutoscaleNotification_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AutoscaleNotification_STATUS) PopulateFromARM

func (notification *AutoscaleNotification_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AutoscaleProfile

type AutoscaleProfile struct {
	// +kubebuilder:validation:Required
	// Capacity: the number of instances that can be used during this profile.
	Capacity *ScaleCapacity `json:"capacity,omitempty"`

	// FixedDate: the specific date-time for the profile. This element is not used if the Recurrence element is used.
	FixedDate *TimeWindow `json:"fixedDate,omitempty"`

	// +kubebuilder:validation:Required
	// Name: the name of the profile.
	Name *string `json:"name,omitempty"`

	// Recurrence: the repeating times at which this profile begins. This element is not used if the FixedDate element is used.
	Recurrence *Recurrence `json:"recurrence,omitempty"`

	// +kubebuilder:validation:Required
	// Rules: the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules
	// can be specified.
	Rules []ScaleRule `json:"rules,omitempty"`
}

Autoscale profile.

func (*AutoscaleProfile) AssignProperties_From_AutoscaleProfile

func (profile *AutoscaleProfile) AssignProperties_From_AutoscaleProfile(source *storage.AutoscaleProfile) error

AssignProperties_From_AutoscaleProfile populates our AutoscaleProfile from the provided source AutoscaleProfile

func (*AutoscaleProfile) AssignProperties_To_AutoscaleProfile

func (profile *AutoscaleProfile) AssignProperties_To_AutoscaleProfile(destination *storage.AutoscaleProfile) error

AssignProperties_To_AutoscaleProfile populates the provided destination AutoscaleProfile from our AutoscaleProfile

func (*AutoscaleProfile) ConvertToARM

func (profile *AutoscaleProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*AutoscaleProfile) DeepCopy

func (in *AutoscaleProfile) DeepCopy() *AutoscaleProfile

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

func (*AutoscaleProfile) DeepCopyInto

func (in *AutoscaleProfile) DeepCopyInto(out *AutoscaleProfile)

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

func (*AutoscaleProfile) Initialize_From_AutoscaleProfile_STATUS

func (profile *AutoscaleProfile) Initialize_From_AutoscaleProfile_STATUS(source *AutoscaleProfile_STATUS) error

Initialize_From_AutoscaleProfile_STATUS populates our AutoscaleProfile from the provided source AutoscaleProfile_STATUS

func (*AutoscaleProfile) NewEmptyARMValue

func (profile *AutoscaleProfile) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AutoscaleProfile) PopulateFromARM

func (profile *AutoscaleProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AutoscaleProfile_STATUS

type AutoscaleProfile_STATUS struct {
	// +kubebuilder:validation:Required
	// Capacity: the number of instances that can be used during this profile.
	Capacity *ScaleCapacity_STATUS `json:"capacity,omitempty"`

	// FixedDate: the specific date-time for the profile. This element is not used if the Recurrence element is used.
	FixedDate *TimeWindow_STATUS `json:"fixedDate,omitempty"`

	// +kubebuilder:validation:Required
	// Name: the name of the profile.
	Name *string `json:"name,omitempty"`

	// Recurrence: the repeating times at which this profile begins. This element is not used if the FixedDate element is used.
	Recurrence *Recurrence_STATUS `json:"recurrence,omitempty"`

	// +kubebuilder:validation:Required
	// Rules: the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules
	// can be specified.
	Rules []ScaleRule_STATUS `json:"rules,omitempty"`
}

Autoscale profile.

func (*AutoscaleProfile_STATUS) AssignProperties_From_AutoscaleProfile_STATUS

func (profile *AutoscaleProfile_STATUS) AssignProperties_From_AutoscaleProfile_STATUS(source *storage.AutoscaleProfile_STATUS) error

AssignProperties_From_AutoscaleProfile_STATUS populates our AutoscaleProfile_STATUS from the provided source AutoscaleProfile_STATUS

func (*AutoscaleProfile_STATUS) AssignProperties_To_AutoscaleProfile_STATUS

func (profile *AutoscaleProfile_STATUS) AssignProperties_To_AutoscaleProfile_STATUS(destination *storage.AutoscaleProfile_STATUS) error

AssignProperties_To_AutoscaleProfile_STATUS populates the provided destination AutoscaleProfile_STATUS from our AutoscaleProfile_STATUS

func (*AutoscaleProfile_STATUS) DeepCopy

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

func (*AutoscaleProfile_STATUS) DeepCopyInto

func (in *AutoscaleProfile_STATUS) DeepCopyInto(out *AutoscaleProfile_STATUS)

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

func (*AutoscaleProfile_STATUS) NewEmptyARMValue

func (profile *AutoscaleProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AutoscaleProfile_STATUS) PopulateFromARM

func (profile *AutoscaleProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AutoscaleSetting

type AutoscaleSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AutoscaleSetting_Spec   `json:"spec,omitempty"`
	Status            Autoscalesetting_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: /monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/autoscale_API.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}

func (*AutoscaleSetting) AssignProperties_From_AutoscaleSetting

func (setting *AutoscaleSetting) AssignProperties_From_AutoscaleSetting(source *storage.AutoscaleSetting) error

AssignProperties_From_AutoscaleSetting populates our AutoscaleSetting from the provided source AutoscaleSetting

func (*AutoscaleSetting) AssignProperties_To_AutoscaleSetting

func (setting *AutoscaleSetting) AssignProperties_To_AutoscaleSetting(destination *storage.AutoscaleSetting) error

AssignProperties_To_AutoscaleSetting populates the provided destination AutoscaleSetting from our AutoscaleSetting

func (*AutoscaleSetting) AzureName

func (setting *AutoscaleSetting) AzureName() string

AzureName returns the Azure name of the resource

func (*AutoscaleSetting) ConfigMapDestinationExpressions

func (setting *AutoscaleSetting) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*AutoscaleSetting) ConvertFrom

func (setting *AutoscaleSetting) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our AutoscaleSetting from the provided hub AutoscaleSetting

func (*AutoscaleSetting) ConvertTo

func (setting *AutoscaleSetting) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub AutoscaleSetting from our AutoscaleSetting

func (*AutoscaleSetting) DeepCopy

func (in *AutoscaleSetting) DeepCopy() *AutoscaleSetting

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

func (*AutoscaleSetting) DeepCopyInto

func (in *AutoscaleSetting) DeepCopyInto(out *AutoscaleSetting)

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

func (*AutoscaleSetting) DeepCopyObject

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

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

func (*AutoscaleSetting) Default

func (setting *AutoscaleSetting) Default()

Default applies defaults to the AutoscaleSetting resource

func (AutoscaleSetting) GetAPIVersion

func (setting AutoscaleSetting) GetAPIVersion() string

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

func (*AutoscaleSetting) GetConditions

func (setting *AutoscaleSetting) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*AutoscaleSetting) GetResourceScope

func (setting *AutoscaleSetting) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*AutoscaleSetting) GetSpec

func (setting *AutoscaleSetting) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*AutoscaleSetting) GetStatus

func (setting *AutoscaleSetting) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*AutoscaleSetting) GetSupportedOperations

func (setting *AutoscaleSetting) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*AutoscaleSetting) GetType

func (setting *AutoscaleSetting) GetType() string

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

func (*AutoscaleSetting) InitializeSpec

func (setting *AutoscaleSetting) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*AutoscaleSetting) NewEmptyStatus

func (setting *AutoscaleSetting) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*AutoscaleSetting) OriginalGVK

func (setting *AutoscaleSetting) OriginalGVK() *schema.GroupVersionKind

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

func (*AutoscaleSetting) Owner

func (setting *AutoscaleSetting) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*AutoscaleSetting) SecretDestinationExpressions

func (setting *AutoscaleSetting) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*AutoscaleSetting) SetConditions

func (setting *AutoscaleSetting) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*AutoscaleSetting) SetStatus

func (setting *AutoscaleSetting) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*AutoscaleSetting) ValidateCreate

func (setting *AutoscaleSetting) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*AutoscaleSetting) ValidateDelete

func (setting *AutoscaleSetting) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*AutoscaleSetting) ValidateUpdate

func (setting *AutoscaleSetting) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type AutoscaleSettingList

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

+kubebuilder:object:root=true Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/autoscale_API.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}

func (*AutoscaleSettingList) DeepCopy

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

func (*AutoscaleSettingList) DeepCopyInto

func (in *AutoscaleSettingList) DeepCopyInto(out *AutoscaleSettingList)

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

func (*AutoscaleSettingList) DeepCopyObject

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

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

type AutoscaleSettingOperatorSpec

type AutoscaleSettingOperatorSpec 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 (*AutoscaleSettingOperatorSpec) AssignProperties_From_AutoscaleSettingOperatorSpec

func (operator *AutoscaleSettingOperatorSpec) AssignProperties_From_AutoscaleSettingOperatorSpec(source *storage.AutoscaleSettingOperatorSpec) error

AssignProperties_From_AutoscaleSettingOperatorSpec populates our AutoscaleSettingOperatorSpec from the provided source AutoscaleSettingOperatorSpec

func (*AutoscaleSettingOperatorSpec) AssignProperties_To_AutoscaleSettingOperatorSpec

func (operator *AutoscaleSettingOperatorSpec) AssignProperties_To_AutoscaleSettingOperatorSpec(destination *storage.AutoscaleSettingOperatorSpec) error

AssignProperties_To_AutoscaleSettingOperatorSpec populates the provided destination AutoscaleSettingOperatorSpec from our AutoscaleSettingOperatorSpec

func (*AutoscaleSettingOperatorSpec) DeepCopy

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

func (*AutoscaleSettingOperatorSpec) DeepCopyInto

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

type AutoscaleSetting_Spec

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

	// Enabled: the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.
	Enabled *bool `json:"enabled,omitempty"`

	// +kubebuilder:validation:Required
	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// Name: the name of the autoscale setting.
	Name *string `json:"name,omitempty"`

	// Notifications: the collection of notifications.
	Notifications []AutoscaleNotification `json:"notifications,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *AutoscaleSettingOperatorSpec `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"`

	// PredictiveAutoscalePolicy: the predictive autoscale policy mode.
	PredictiveAutoscalePolicy *PredictiveAutoscalePolicy `json:"predictiveAutoscalePolicy,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxItems=20
	// Profiles: the collection of automatic scaling profiles that specify different scaling parameters for different time
	// periods. A maximum of 20 profiles can be specified.
	Profiles []AutoscaleProfile `json:"profiles,omitempty"`

	// Tags: Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping
	// this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no
	// greater in length than 128 characters and a value no greater in length than 256 characters.
	Tags map[string]string `json:"tags,omitempty"`

	// TargetResourceLocation: the location of the resource that the autoscale setting should be added to.
	TargetResourceLocation *string `json:"targetResourceLocation,omitempty"`

	// TargetResourceUriReference: the resource identifier of the resource that the autoscale setting should be added to.
	TargetResourceUriReference *genruntime.ResourceReference `armReference:"TargetResourceUri" json:"targetResourceUriReference,omitempty"`
}

func (*AutoscaleSetting_Spec) AssignProperties_From_AutoscaleSetting_Spec

func (setting *AutoscaleSetting_Spec) AssignProperties_From_AutoscaleSetting_Spec(source *storage.AutoscaleSetting_Spec) error

AssignProperties_From_AutoscaleSetting_Spec populates our AutoscaleSetting_Spec from the provided source AutoscaleSetting_Spec

func (*AutoscaleSetting_Spec) AssignProperties_To_AutoscaleSetting_Spec

func (setting *AutoscaleSetting_Spec) AssignProperties_To_AutoscaleSetting_Spec(destination *storage.AutoscaleSetting_Spec) error

AssignProperties_To_AutoscaleSetting_Spec populates the provided destination AutoscaleSetting_Spec from our AutoscaleSetting_Spec

func (*AutoscaleSetting_Spec) ConvertSpecFrom

func (setting *AutoscaleSetting_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our AutoscaleSetting_Spec from the provided source

func (*AutoscaleSetting_Spec) ConvertSpecTo

func (setting *AutoscaleSetting_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our AutoscaleSetting_Spec

func (*AutoscaleSetting_Spec) ConvertToARM

func (setting *AutoscaleSetting_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*AutoscaleSetting_Spec) DeepCopy

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

func (*AutoscaleSetting_Spec) DeepCopyInto

func (in *AutoscaleSetting_Spec) DeepCopyInto(out *AutoscaleSetting_Spec)

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

func (*AutoscaleSetting_Spec) Initialize_From_Autoscalesetting_STATUS

func (setting *AutoscaleSetting_Spec) Initialize_From_Autoscalesetting_STATUS(source *Autoscalesetting_STATUS) error

Initialize_From_Autoscalesetting_STATUS populates our AutoscaleSetting_Spec from the provided source Autoscalesetting_STATUS

func (*AutoscaleSetting_Spec) NewEmptyARMValue

func (setting *AutoscaleSetting_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AutoscaleSetting_Spec) OriginalVersion

func (setting *AutoscaleSetting_Spec) OriginalVersion() string

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

func (*AutoscaleSetting_Spec) PopulateFromARM

func (setting *AutoscaleSetting_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*AutoscaleSetting_Spec) SetAzureName

func (setting *AutoscaleSetting_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Autoscalesetting_STATUS

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

	// Enabled: the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.
	Enabled *bool `json:"enabled,omitempty"`

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

	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// Name: Azure resource name
	Name *string `json:"name,omitempty"`

	// Notifications: the collection of notifications.
	Notifications []AutoscaleNotification_STATUS `json:"notifications,omitempty"`

	// PredictiveAutoscalePolicy: the predictive autoscale policy mode.
	PredictiveAutoscalePolicy *PredictiveAutoscalePolicy_STATUS `json:"predictiveAutoscalePolicy,omitempty"`

	// Profiles: the collection of automatic scaling profiles that specify different scaling parameters for different time
	// periods. A maximum of 20 profiles can be specified.
	Profiles []AutoscaleProfile_STATUS `json:"profiles,omitempty"`

	// PropertiesName: the name of the autoscale setting.
	PropertiesName *string `json:"properties_name,omitempty"`

	// SystemData: The system metadata related to the response.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Tags: Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping
	// this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no
	// greater in length than 128 characters and a value no greater in length than 256 characters.
	Tags map[string]string `json:"tags,omitempty"`

	// TargetResourceLocation: the location of the resource that the autoscale setting should be added to.
	TargetResourceLocation *string `json:"targetResourceLocation,omitempty"`

	// TargetResourceUri: the resource identifier of the resource that the autoscale setting should be added to.
	TargetResourceUri *string `json:"targetResourceUri,omitempty"`

	// Type: Azure resource type
	Type *string `json:"type,omitempty"`
}

func (*Autoscalesetting_STATUS) AssignProperties_From_Autoscalesetting_STATUS

func (autoscalesetting *Autoscalesetting_STATUS) AssignProperties_From_Autoscalesetting_STATUS(source *storage.Autoscalesetting_STATUS) error

AssignProperties_From_Autoscalesetting_STATUS populates our Autoscalesetting_STATUS from the provided source Autoscalesetting_STATUS

func (*Autoscalesetting_STATUS) AssignProperties_To_Autoscalesetting_STATUS

func (autoscalesetting *Autoscalesetting_STATUS) AssignProperties_To_Autoscalesetting_STATUS(destination *storage.Autoscalesetting_STATUS) error

AssignProperties_To_Autoscalesetting_STATUS populates the provided destination Autoscalesetting_STATUS from our Autoscalesetting_STATUS

func (*Autoscalesetting_STATUS) ConvertStatusFrom

func (autoscalesetting *Autoscalesetting_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Autoscalesetting_STATUS from the provided source

func (*Autoscalesetting_STATUS) ConvertStatusTo

func (autoscalesetting *Autoscalesetting_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Autoscalesetting_STATUS

func (*Autoscalesetting_STATUS) DeepCopy

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

func (*Autoscalesetting_STATUS) DeepCopyInto

func (in *Autoscalesetting_STATUS) DeepCopyInto(out *Autoscalesetting_STATUS)

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

func (*Autoscalesetting_STATUS) NewEmptyARMValue

func (autoscalesetting *Autoscalesetting_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Autoscalesetting_STATUS) PopulateFromARM

func (autoscalesetting *Autoscalesetting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EmailNotification

type EmailNotification struct {
	// CustomEmails: the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
	CustomEmails []string `json:"customEmails,omitempty"`

	// SendToSubscriptionAdministrator: a value indicating whether to send email to subscription administrator.
	SendToSubscriptionAdministrator *bool `json:"sendToSubscriptionAdministrator,omitempty"`

	// SendToSubscriptionCoAdministrators: a value indicating whether to send email to subscription co-administrators.
	SendToSubscriptionCoAdministrators *bool `json:"sendToSubscriptionCoAdministrators,omitempty"`
}

Email notification of an autoscale event.

func (*EmailNotification) AssignProperties_From_EmailNotification

func (notification *EmailNotification) AssignProperties_From_EmailNotification(source *storage.EmailNotification) error

AssignProperties_From_EmailNotification populates our EmailNotification from the provided source EmailNotification

func (*EmailNotification) AssignProperties_To_EmailNotification

func (notification *EmailNotification) AssignProperties_To_EmailNotification(destination *storage.EmailNotification) error

AssignProperties_To_EmailNotification populates the provided destination EmailNotification from our EmailNotification

func (*EmailNotification) ConvertToARM

func (notification *EmailNotification) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*EmailNotification) DeepCopy

func (in *EmailNotification) DeepCopy() *EmailNotification

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

func (*EmailNotification) DeepCopyInto

func (in *EmailNotification) DeepCopyInto(out *EmailNotification)

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

func (*EmailNotification) Initialize_From_EmailNotification_STATUS

func (notification *EmailNotification) Initialize_From_EmailNotification_STATUS(source *EmailNotification_STATUS) error

Initialize_From_EmailNotification_STATUS populates our EmailNotification from the provided source EmailNotification_STATUS

func (*EmailNotification) NewEmptyARMValue

func (notification *EmailNotification) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*EmailNotification) PopulateFromARM

func (notification *EmailNotification) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EmailNotification_STATUS

type EmailNotification_STATUS struct {
	// CustomEmails: the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
	CustomEmails []string `json:"customEmails,omitempty"`

	// SendToSubscriptionAdministrator: a value indicating whether to send email to subscription administrator.
	SendToSubscriptionAdministrator *bool `json:"sendToSubscriptionAdministrator,omitempty"`

	// SendToSubscriptionCoAdministrators: a value indicating whether to send email to subscription co-administrators.
	SendToSubscriptionCoAdministrators *bool `json:"sendToSubscriptionCoAdministrators,omitempty"`
}

Email notification of an autoscale event.

func (*EmailNotification_STATUS) AssignProperties_From_EmailNotification_STATUS

func (notification *EmailNotification_STATUS) AssignProperties_From_EmailNotification_STATUS(source *storage.EmailNotification_STATUS) error

AssignProperties_From_EmailNotification_STATUS populates our EmailNotification_STATUS from the provided source EmailNotification_STATUS

func (*EmailNotification_STATUS) AssignProperties_To_EmailNotification_STATUS

func (notification *EmailNotification_STATUS) AssignProperties_To_EmailNotification_STATUS(destination *storage.EmailNotification_STATUS) error

AssignProperties_To_EmailNotification_STATUS populates the provided destination EmailNotification_STATUS from our EmailNotification_STATUS

func (*EmailNotification_STATUS) DeepCopy

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

func (*EmailNotification_STATUS) DeepCopyInto

func (in *EmailNotification_STATUS) DeepCopyInto(out *EmailNotification_STATUS)

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

func (*EmailNotification_STATUS) NewEmptyARMValue

func (notification *EmailNotification_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*EmailNotification_STATUS) PopulateFromARM

func (notification *EmailNotification_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricTrigger

type MetricTrigger struct {
	// Dimensions: List of dimension conditions. For example:
	// [{"DimensionName":"AppName","Operator":"Equals","Values":["App1"]},{"DimensionName":"Deployment","Operator":"Equals","Values":["default"]}].
	Dimensions []ScaleRuleMetricDimension `json:"dimensions,omitempty"`

	// DividePerInstance: a value indicating whether metric should divide per instance.
	DividePerInstance *bool `json:"dividePerInstance,omitempty"`

	// +kubebuilder:validation:Required
	// MetricName: the name of the metric that defines what the rule monitors.
	MetricName *string `json:"metricName,omitempty"`

	// MetricNamespace: the namespace of the metric that defines what the rule monitors.
	MetricNamespace *string `json:"metricNamespace,omitempty"`

	// MetricResourceLocation: the location of the resource the rule monitors.
	MetricResourceLocation *string `json:"metricResourceLocation,omitempty"`

	// +kubebuilder:validation:Required
	// MetricResourceUriReference: the resource identifier of the resource the rule monitors.
	MetricResourceUriReference *genruntime.ResourceReference `armReference:"MetricResourceUri" json:"metricResourceUriReference,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: the operator that is used to compare the metric data and the threshold.
	Operator *MetricTrigger_Operator `json:"operator,omitempty"`

	// +kubebuilder:validation:Required
	// Statistic: the metric statistic type. How the metrics from multiple instances are combined.
	Statistic *MetricTrigger_Statistic `json:"statistic,omitempty"`

	// +kubebuilder:validation:Required
	// Threshold: the threshold of the metric that triggers the scale action.
	Threshold *float64 `json:"threshold,omitempty"`

	// +kubebuilder:validation:Required
	// TimeAggregation: time aggregation type. How the data that is collected should be combined over time. The default value
	// is Average.
	TimeAggregation *MetricTrigger_TimeAggregation `json:"timeAggregation,omitempty"`

	// +kubebuilder:validation:Required
	// TimeGrain: the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric
	// definitions for the metric. Must be between 12 hours and 1 minute.
	TimeGrain *string `json:"timeGrain,omitempty"`

	// +kubebuilder:validation:Required
	// TimeWindow: the range of time in which instance data is collected. This value must be greater than the delay in metric
	// collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.
	TimeWindow *string `json:"timeWindow,omitempty"`
}

The trigger that results in a scaling action.

func (*MetricTrigger) AssignProperties_From_MetricTrigger

func (trigger *MetricTrigger) AssignProperties_From_MetricTrigger(source *storage.MetricTrigger) error

AssignProperties_From_MetricTrigger populates our MetricTrigger from the provided source MetricTrigger

func (*MetricTrigger) AssignProperties_To_MetricTrigger

func (trigger *MetricTrigger) AssignProperties_To_MetricTrigger(destination *storage.MetricTrigger) error

AssignProperties_To_MetricTrigger populates the provided destination MetricTrigger from our MetricTrigger

func (*MetricTrigger) ConvertToARM

func (trigger *MetricTrigger) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MetricTrigger) DeepCopy

func (in *MetricTrigger) DeepCopy() *MetricTrigger

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

func (*MetricTrigger) DeepCopyInto

func (in *MetricTrigger) DeepCopyInto(out *MetricTrigger)

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

func (*MetricTrigger) Initialize_From_MetricTrigger_STATUS

func (trigger *MetricTrigger) Initialize_From_MetricTrigger_STATUS(source *MetricTrigger_STATUS) error

Initialize_From_MetricTrigger_STATUS populates our MetricTrigger from the provided source MetricTrigger_STATUS

func (*MetricTrigger) NewEmptyARMValue

func (trigger *MetricTrigger) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricTrigger) PopulateFromARM

func (trigger *MetricTrigger) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricTrigger_Operator

type MetricTrigger_Operator string

+kubebuilder:validation:Enum={"Equals","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual","NotEquals"}

type MetricTrigger_Operator_STATUS

type MetricTrigger_Operator_STATUS string

+kubebuilder:validation:Enum={"Equals","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual","NotEquals"}

type MetricTrigger_STATUS

type MetricTrigger_STATUS struct {
	// Dimensions: List of dimension conditions. For example:
	// [{"DimensionName":"AppName","Operator":"Equals","Values":["App1"]},{"DimensionName":"Deployment","Operator":"Equals","Values":["default"]}].
	Dimensions []ScaleRuleMetricDimension_STATUS `json:"dimensions,omitempty"`

	// DividePerInstance: a value indicating whether metric should divide per instance.
	DividePerInstance *bool `json:"dividePerInstance,omitempty"`

	// +kubebuilder:validation:Required
	// MetricName: the name of the metric that defines what the rule monitors.
	MetricName *string `json:"metricName,omitempty"`

	// MetricNamespace: the namespace of the metric that defines what the rule monitors.
	MetricNamespace *string `json:"metricNamespace,omitempty"`

	// MetricResourceLocation: the location of the resource the rule monitors.
	MetricResourceLocation *string `json:"metricResourceLocation,omitempty"`

	// +kubebuilder:validation:Required
	// MetricResourceUri: the resource identifier of the resource the rule monitors.
	MetricResourceUri *string `json:"metricResourceUri,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: the operator that is used to compare the metric data and the threshold.
	Operator *MetricTrigger_Operator_STATUS `json:"operator,omitempty"`

	// +kubebuilder:validation:Required
	// Statistic: the metric statistic type. How the metrics from multiple instances are combined.
	Statistic *MetricTrigger_Statistic_STATUS `json:"statistic,omitempty"`

	// +kubebuilder:validation:Required
	// Threshold: the threshold of the metric that triggers the scale action.
	Threshold *float64 `json:"threshold,omitempty"`

	// +kubebuilder:validation:Required
	// TimeAggregation: time aggregation type. How the data that is collected should be combined over time. The default value
	// is Average.
	TimeAggregation *MetricTrigger_TimeAggregation_STATUS `json:"timeAggregation,omitempty"`

	// +kubebuilder:validation:Required
	// TimeGrain: the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric
	// definitions for the metric. Must be between 12 hours and 1 minute.
	TimeGrain *string `json:"timeGrain,omitempty"`

	// +kubebuilder:validation:Required
	// TimeWindow: the range of time in which instance data is collected. This value must be greater than the delay in metric
	// collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.
	TimeWindow *string `json:"timeWindow,omitempty"`
}

The trigger that results in a scaling action.

func (*MetricTrigger_STATUS) AssignProperties_From_MetricTrigger_STATUS

func (trigger *MetricTrigger_STATUS) AssignProperties_From_MetricTrigger_STATUS(source *storage.MetricTrigger_STATUS) error

AssignProperties_From_MetricTrigger_STATUS populates our MetricTrigger_STATUS from the provided source MetricTrigger_STATUS

func (*MetricTrigger_STATUS) AssignProperties_To_MetricTrigger_STATUS

func (trigger *MetricTrigger_STATUS) AssignProperties_To_MetricTrigger_STATUS(destination *storage.MetricTrigger_STATUS) error

AssignProperties_To_MetricTrigger_STATUS populates the provided destination MetricTrigger_STATUS from our MetricTrigger_STATUS

func (*MetricTrigger_STATUS) DeepCopy

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

func (*MetricTrigger_STATUS) DeepCopyInto

func (in *MetricTrigger_STATUS) DeepCopyInto(out *MetricTrigger_STATUS)

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

func (*MetricTrigger_STATUS) NewEmptyARMValue

func (trigger *MetricTrigger_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricTrigger_STATUS) PopulateFromARM

func (trigger *MetricTrigger_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricTrigger_Statistic

type MetricTrigger_Statistic string

+kubebuilder:validation:Enum={"Average","Count","Max","Min","Sum"}

type MetricTrigger_Statistic_STATUS

type MetricTrigger_Statistic_STATUS string

+kubebuilder:validation:Enum={"Average","Count","Max","Min","Sum"}

type MetricTrigger_TimeAggregation

type MetricTrigger_TimeAggregation string

+kubebuilder:validation:Enum={"Average","Count","Last","Maximum","Minimum","Total"}

type MetricTrigger_TimeAggregation_STATUS

type MetricTrigger_TimeAggregation_STATUS string

+kubebuilder:validation:Enum={"Average","Count","Last","Maximum","Minimum","Total"}

type PredictiveAutoscalePolicy

type PredictiveAutoscalePolicy struct {
	// ScaleLookAheadTime: the amount of time to specify by which instances are launched in advance. It must be between 1
	// minute and 60 minutes in ISO 8601 format.
	ScaleLookAheadTime *string `json:"scaleLookAheadTime,omitempty"`

	// +kubebuilder:validation:Required
	// ScaleMode: the predictive autoscale mode
	ScaleMode *PredictiveAutoscalePolicy_ScaleMode `json:"scaleMode,omitempty"`
}

The parameters for enabling predictive autoscale.

func (*PredictiveAutoscalePolicy) AssignProperties_From_PredictiveAutoscalePolicy

func (policy *PredictiveAutoscalePolicy) AssignProperties_From_PredictiveAutoscalePolicy(source *storage.PredictiveAutoscalePolicy) error

AssignProperties_From_PredictiveAutoscalePolicy populates our PredictiveAutoscalePolicy from the provided source PredictiveAutoscalePolicy

func (*PredictiveAutoscalePolicy) AssignProperties_To_PredictiveAutoscalePolicy

func (policy *PredictiveAutoscalePolicy) AssignProperties_To_PredictiveAutoscalePolicy(destination *storage.PredictiveAutoscalePolicy) error

AssignProperties_To_PredictiveAutoscalePolicy populates the provided destination PredictiveAutoscalePolicy from our PredictiveAutoscalePolicy

func (*PredictiveAutoscalePolicy) ConvertToARM

func (policy *PredictiveAutoscalePolicy) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*PredictiveAutoscalePolicy) DeepCopy

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

func (*PredictiveAutoscalePolicy) DeepCopyInto

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

func (*PredictiveAutoscalePolicy) Initialize_From_PredictiveAutoscalePolicy_STATUS

func (policy *PredictiveAutoscalePolicy) Initialize_From_PredictiveAutoscalePolicy_STATUS(source *PredictiveAutoscalePolicy_STATUS) error

Initialize_From_PredictiveAutoscalePolicy_STATUS populates our PredictiveAutoscalePolicy from the provided source PredictiveAutoscalePolicy_STATUS

func (*PredictiveAutoscalePolicy) NewEmptyARMValue

func (policy *PredictiveAutoscalePolicy) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PredictiveAutoscalePolicy) PopulateFromARM

func (policy *PredictiveAutoscalePolicy) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PredictiveAutoscalePolicy_STATUS

type PredictiveAutoscalePolicy_STATUS struct {
	// ScaleLookAheadTime: the amount of time to specify by which instances are launched in advance. It must be between 1
	// minute and 60 minutes in ISO 8601 format.
	ScaleLookAheadTime *string `json:"scaleLookAheadTime,omitempty"`

	// ScaleMode: the predictive autoscale mode
	ScaleMode *PredictiveAutoscalePolicy_ScaleMode_STATUS `json:"scaleMode,omitempty"`
}

The parameters for enabling predictive autoscale.

func (*PredictiveAutoscalePolicy_STATUS) AssignProperties_From_PredictiveAutoscalePolicy_STATUS

func (policy *PredictiveAutoscalePolicy_STATUS) AssignProperties_From_PredictiveAutoscalePolicy_STATUS(source *storage.PredictiveAutoscalePolicy_STATUS) error

AssignProperties_From_PredictiveAutoscalePolicy_STATUS populates our PredictiveAutoscalePolicy_STATUS from the provided source PredictiveAutoscalePolicy_STATUS

func (*PredictiveAutoscalePolicy_STATUS) AssignProperties_To_PredictiveAutoscalePolicy_STATUS

func (policy *PredictiveAutoscalePolicy_STATUS) AssignProperties_To_PredictiveAutoscalePolicy_STATUS(destination *storage.PredictiveAutoscalePolicy_STATUS) error

AssignProperties_To_PredictiveAutoscalePolicy_STATUS populates the provided destination PredictiveAutoscalePolicy_STATUS from our PredictiveAutoscalePolicy_STATUS

func (*PredictiveAutoscalePolicy_STATUS) DeepCopy

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

func (*PredictiveAutoscalePolicy_STATUS) DeepCopyInto

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

func (*PredictiveAutoscalePolicy_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PredictiveAutoscalePolicy_STATUS) PopulateFromARM

func (policy *PredictiveAutoscalePolicy_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PredictiveAutoscalePolicy_ScaleMode

type PredictiveAutoscalePolicy_ScaleMode string

+kubebuilder:validation:Enum={"Disabled","Enabled","ForecastOnly"}

type PredictiveAutoscalePolicy_ScaleMode_STATUS

type PredictiveAutoscalePolicy_ScaleMode_STATUS string

type Recurrence

type Recurrence struct {
	// +kubebuilder:validation:Required
	// Frequency: the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning
	// each week will have the same set of profiles. For example, to set a daily schedule, set schedule to every day of the
	// week. The frequency property specifies that the schedule is repeated weekly.
	Frequency *Recurrence_Frequency `json:"frequency,omitempty"`

	// +kubebuilder:validation:Required
	// Schedule: the scheduling constraints for when the profile begins.
	Schedule *RecurrentSchedule `json:"schedule,omitempty"`
}

The repeating times at which this profile begins. This element is not used if the FixedDate element is used.

func (*Recurrence) AssignProperties_From_Recurrence

func (recurrence *Recurrence) AssignProperties_From_Recurrence(source *storage.Recurrence) error

AssignProperties_From_Recurrence populates our Recurrence from the provided source Recurrence

func (*Recurrence) AssignProperties_To_Recurrence

func (recurrence *Recurrence) AssignProperties_To_Recurrence(destination *storage.Recurrence) error

AssignProperties_To_Recurrence populates the provided destination Recurrence from our Recurrence

func (*Recurrence) ConvertToARM

func (recurrence *Recurrence) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Recurrence) DeepCopy

func (in *Recurrence) DeepCopy() *Recurrence

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

func (*Recurrence) DeepCopyInto

func (in *Recurrence) DeepCopyInto(out *Recurrence)

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

func (*Recurrence) Initialize_From_Recurrence_STATUS

func (recurrence *Recurrence) Initialize_From_Recurrence_STATUS(source *Recurrence_STATUS) error

Initialize_From_Recurrence_STATUS populates our Recurrence from the provided source Recurrence_STATUS

func (*Recurrence) NewEmptyARMValue

func (recurrence *Recurrence) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Recurrence) PopulateFromARM

func (recurrence *Recurrence) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Recurrence_Frequency

type Recurrence_Frequency string

+kubebuilder:validation:Enum={"Day","Hour","Minute","Month","None","Second","Week","Year"}

type Recurrence_Frequency_STATUS

type Recurrence_Frequency_STATUS string

+kubebuilder:validation:Enum={"Day","Hour","Minute","Month","None","Second","Week","Year"}

type Recurrence_STATUS

type Recurrence_STATUS struct {
	// +kubebuilder:validation:Required
	// Frequency: the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning
	// each week will have the same set of profiles. For example, to set a daily schedule, set schedule to every day of the
	// week. The frequency property specifies that the schedule is repeated weekly.
	Frequency *Recurrence_Frequency_STATUS `json:"frequency,omitempty"`

	// +kubebuilder:validation:Required
	// Schedule: the scheduling constraints for when the profile begins.
	Schedule *RecurrentSchedule_STATUS `json:"schedule,omitempty"`
}

The repeating times at which this profile begins. This element is not used if the FixedDate element is used.

func (*Recurrence_STATUS) AssignProperties_From_Recurrence_STATUS

func (recurrence *Recurrence_STATUS) AssignProperties_From_Recurrence_STATUS(source *storage.Recurrence_STATUS) error

AssignProperties_From_Recurrence_STATUS populates our Recurrence_STATUS from the provided source Recurrence_STATUS

func (*Recurrence_STATUS) AssignProperties_To_Recurrence_STATUS

func (recurrence *Recurrence_STATUS) AssignProperties_To_Recurrence_STATUS(destination *storage.Recurrence_STATUS) error

AssignProperties_To_Recurrence_STATUS populates the provided destination Recurrence_STATUS from our Recurrence_STATUS

func (*Recurrence_STATUS) DeepCopy

func (in *Recurrence_STATUS) DeepCopy() *Recurrence_STATUS

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

func (*Recurrence_STATUS) DeepCopyInto

func (in *Recurrence_STATUS) DeepCopyInto(out *Recurrence_STATUS)

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

func (*Recurrence_STATUS) NewEmptyARMValue

func (recurrence *Recurrence_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Recurrence_STATUS) PopulateFromARM

func (recurrence *Recurrence_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RecurrentSchedule

type RecurrentSchedule struct {
	// +kubebuilder:validation:Required
	// Days: the collection of days that the profile takes effect on. Possible values are Sunday through Saturday.
	Days []string `json:"days,omitempty"`

	// +kubebuilder:validation:Required
	// Hours: A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM
	// times are not supported).
	Hours []int `json:"hours,omitempty"`

	// +kubebuilder:validation:Required
	// Minutes: A collection of minutes at which the profile takes effect at.
	Minutes []int `json:"minutes,omitempty"`

	// +kubebuilder:validation:Required
	// TimeZone: the timezone for the hours of the profile. Some examples of valid time zones are: Dateline Standard Time,
	// UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US
	// Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central
	// Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard
	// Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central
	// Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South
	// America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard
	// Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco
	// Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time,
	// Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan
	// Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe
	// Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad
	// Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard
	// Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3,
	// Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard
	// Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard
	// Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE
	// Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard
	// Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard
	// Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS
	// Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard
	// Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji
	// Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
	TimeZone *string `json:"timeZone,omitempty"`
}

The scheduling constraints for when the profile begins.

func (*RecurrentSchedule) AssignProperties_From_RecurrentSchedule

func (schedule *RecurrentSchedule) AssignProperties_From_RecurrentSchedule(source *storage.RecurrentSchedule) error

AssignProperties_From_RecurrentSchedule populates our RecurrentSchedule from the provided source RecurrentSchedule

func (*RecurrentSchedule) AssignProperties_To_RecurrentSchedule

func (schedule *RecurrentSchedule) AssignProperties_To_RecurrentSchedule(destination *storage.RecurrentSchedule) error

AssignProperties_To_RecurrentSchedule populates the provided destination RecurrentSchedule from our RecurrentSchedule

func (*RecurrentSchedule) ConvertToARM

func (schedule *RecurrentSchedule) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RecurrentSchedule) DeepCopy

func (in *RecurrentSchedule) DeepCopy() *RecurrentSchedule

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

func (*RecurrentSchedule) DeepCopyInto

func (in *RecurrentSchedule) DeepCopyInto(out *RecurrentSchedule)

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

func (*RecurrentSchedule) Initialize_From_RecurrentSchedule_STATUS

func (schedule *RecurrentSchedule) Initialize_From_RecurrentSchedule_STATUS(source *RecurrentSchedule_STATUS) error

Initialize_From_RecurrentSchedule_STATUS populates our RecurrentSchedule from the provided source RecurrentSchedule_STATUS

func (*RecurrentSchedule) NewEmptyARMValue

func (schedule *RecurrentSchedule) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RecurrentSchedule) PopulateFromARM

func (schedule *RecurrentSchedule) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RecurrentSchedule_STATUS

type RecurrentSchedule_STATUS struct {
	// +kubebuilder:validation:Required
	// Days: the collection of days that the profile takes effect on. Possible values are Sunday through Saturday.
	Days []string `json:"days,omitempty"`

	// +kubebuilder:validation:Required
	// Hours: A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM
	// times are not supported).
	Hours []int `json:"hours,omitempty"`

	// +kubebuilder:validation:Required
	// Minutes: A collection of minutes at which the profile takes effect at.
	Minutes []int `json:"minutes,omitempty"`

	// +kubebuilder:validation:Required
	// TimeZone: the timezone for the hours of the profile. Some examples of valid time zones are: Dateline Standard Time,
	// UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US
	// Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central
	// Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard
	// Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central
	// Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South
	// America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard
	// Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco
	// Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time,
	// Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan
	// Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe
	// Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad
	// Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard
	// Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3,
	// Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard
	// Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard
	// Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE
	// Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard
	// Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard
	// Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS
	// Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard
	// Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji
	// Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
	TimeZone *string `json:"timeZone,omitempty"`
}

The scheduling constraints for when the profile begins.

func (*RecurrentSchedule_STATUS) AssignProperties_From_RecurrentSchedule_STATUS

func (schedule *RecurrentSchedule_STATUS) AssignProperties_From_RecurrentSchedule_STATUS(source *storage.RecurrentSchedule_STATUS) error

AssignProperties_From_RecurrentSchedule_STATUS populates our RecurrentSchedule_STATUS from the provided source RecurrentSchedule_STATUS

func (*RecurrentSchedule_STATUS) AssignProperties_To_RecurrentSchedule_STATUS

func (schedule *RecurrentSchedule_STATUS) AssignProperties_To_RecurrentSchedule_STATUS(destination *storage.RecurrentSchedule_STATUS) error

AssignProperties_To_RecurrentSchedule_STATUS populates the provided destination RecurrentSchedule_STATUS from our RecurrentSchedule_STATUS

func (*RecurrentSchedule_STATUS) DeepCopy

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

func (*RecurrentSchedule_STATUS) DeepCopyInto

func (in *RecurrentSchedule_STATUS) DeepCopyInto(out *RecurrentSchedule_STATUS)

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

func (*RecurrentSchedule_STATUS) NewEmptyARMValue

func (schedule *RecurrentSchedule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RecurrentSchedule_STATUS) PopulateFromARM

func (schedule *RecurrentSchedule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleAction

type ScaleAction struct {
	// +kubebuilder:validation:Required
	// Cooldown: the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week
	// and 1 minute in ISO 8601 format.
	Cooldown *string `json:"cooldown,omitempty"`

	// +kubebuilder:validation:Required
	// Direction: the scale direction. Whether the scaling action increases or decreases the number of instances.
	Direction *ScaleAction_Direction `json:"direction,omitempty"`

	// +kubebuilder:validation:Required
	// Type: the type of action that should occur when the scale rule fires.
	Type *ScaleAction_Type `json:"type,omitempty"`

	// Value: the number of instances that are involved in the scaling action. This value must be 1 or greater. The default
	// value is 1.
	Value *string `json:"value,omitempty"`
}

The parameters for the scaling action.

func (*ScaleAction) AssignProperties_From_ScaleAction

func (action *ScaleAction) AssignProperties_From_ScaleAction(source *storage.ScaleAction) error

AssignProperties_From_ScaleAction populates our ScaleAction from the provided source ScaleAction

func (*ScaleAction) AssignProperties_To_ScaleAction

func (action *ScaleAction) AssignProperties_To_ScaleAction(destination *storage.ScaleAction) error

AssignProperties_To_ScaleAction populates the provided destination ScaleAction from our ScaleAction

func (*ScaleAction) ConvertToARM

func (action *ScaleAction) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScaleAction) DeepCopy

func (in *ScaleAction) DeepCopy() *ScaleAction

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

func (*ScaleAction) DeepCopyInto

func (in *ScaleAction) DeepCopyInto(out *ScaleAction)

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

func (*ScaleAction) Initialize_From_ScaleAction_STATUS

func (action *ScaleAction) Initialize_From_ScaleAction_STATUS(source *ScaleAction_STATUS) error

Initialize_From_ScaleAction_STATUS populates our ScaleAction from the provided source ScaleAction_STATUS

func (*ScaleAction) NewEmptyARMValue

func (action *ScaleAction) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleAction) PopulateFromARM

func (action *ScaleAction) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleAction_Direction

type ScaleAction_Direction string

+kubebuilder:validation:Enum={"Decrease","Increase","None"}

type ScaleAction_Direction_STATUS

type ScaleAction_Direction_STATUS string

+kubebuilder:validation:Enum={"Decrease","Increase","None"}

type ScaleAction_STATUS

type ScaleAction_STATUS struct {
	// +kubebuilder:validation:Required
	// Cooldown: the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week
	// and 1 minute in ISO 8601 format.
	Cooldown *string `json:"cooldown,omitempty"`

	// +kubebuilder:validation:Required
	// Direction: the scale direction. Whether the scaling action increases or decreases the number of instances.
	Direction *ScaleAction_Direction_STATUS `json:"direction,omitempty"`

	// +kubebuilder:validation:Required
	// Type: the type of action that should occur when the scale rule fires.
	Type *ScaleAction_Type_STATUS `json:"type,omitempty"`

	// Value: the number of instances that are involved in the scaling action. This value must be 1 or greater. The default
	// value is 1.
	Value *string `json:"value,omitempty"`
}

The parameters for the scaling action.

func (*ScaleAction_STATUS) AssignProperties_From_ScaleAction_STATUS

func (action *ScaleAction_STATUS) AssignProperties_From_ScaleAction_STATUS(source *storage.ScaleAction_STATUS) error

AssignProperties_From_ScaleAction_STATUS populates our ScaleAction_STATUS from the provided source ScaleAction_STATUS

func (*ScaleAction_STATUS) AssignProperties_To_ScaleAction_STATUS

func (action *ScaleAction_STATUS) AssignProperties_To_ScaleAction_STATUS(destination *storage.ScaleAction_STATUS) error

AssignProperties_To_ScaleAction_STATUS populates the provided destination ScaleAction_STATUS from our ScaleAction_STATUS

func (*ScaleAction_STATUS) DeepCopy

func (in *ScaleAction_STATUS) DeepCopy() *ScaleAction_STATUS

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

func (*ScaleAction_STATUS) DeepCopyInto

func (in *ScaleAction_STATUS) DeepCopyInto(out *ScaleAction_STATUS)

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

func (*ScaleAction_STATUS) NewEmptyARMValue

func (action *ScaleAction_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleAction_STATUS) PopulateFromARM

func (action *ScaleAction_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleAction_Type

type ScaleAction_Type string

+kubebuilder:validation:Enum={"ChangeCount","ExactCount","PercentChangeCount","ServiceAllowedNextValue"}

type ScaleAction_Type_STATUS

type ScaleAction_Type_STATUS string

+kubebuilder:validation:Enum={"ChangeCount","ExactCount","PercentChangeCount","ServiceAllowedNextValue"}

type ScaleCapacity

type ScaleCapacity struct {
	// +kubebuilder:validation:Required
	// Default: the number of instances that will be set if metrics are not available for evaluation. The default is only used
	// if the current instance count is lower than the default.
	Default *string `json:"default,omitempty"`

	// +kubebuilder:validation:Required
	// Maximum: the maximum number of instances for the resource. The actual maximum number of instances is limited by the
	// cores that are available in the subscription.
	Maximum *string `json:"maximum,omitempty"`

	// +kubebuilder:validation:Required
	// Minimum: the minimum number of instances for the resource.
	Minimum *string `json:"minimum,omitempty"`
}

The number of instances that can be used during this profile.

func (*ScaleCapacity) AssignProperties_From_ScaleCapacity

func (capacity *ScaleCapacity) AssignProperties_From_ScaleCapacity(source *storage.ScaleCapacity) error

AssignProperties_From_ScaleCapacity populates our ScaleCapacity from the provided source ScaleCapacity

func (*ScaleCapacity) AssignProperties_To_ScaleCapacity

func (capacity *ScaleCapacity) AssignProperties_To_ScaleCapacity(destination *storage.ScaleCapacity) error

AssignProperties_To_ScaleCapacity populates the provided destination ScaleCapacity from our ScaleCapacity

func (*ScaleCapacity) ConvertToARM

func (capacity *ScaleCapacity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScaleCapacity) DeepCopy

func (in *ScaleCapacity) DeepCopy() *ScaleCapacity

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

func (*ScaleCapacity) DeepCopyInto

func (in *ScaleCapacity) DeepCopyInto(out *ScaleCapacity)

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

func (*ScaleCapacity) Initialize_From_ScaleCapacity_STATUS

func (capacity *ScaleCapacity) Initialize_From_ScaleCapacity_STATUS(source *ScaleCapacity_STATUS) error

Initialize_From_ScaleCapacity_STATUS populates our ScaleCapacity from the provided source ScaleCapacity_STATUS

func (*ScaleCapacity) NewEmptyARMValue

func (capacity *ScaleCapacity) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleCapacity) PopulateFromARM

func (capacity *ScaleCapacity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleCapacity_STATUS

type ScaleCapacity_STATUS struct {
	// +kubebuilder:validation:Required
	// Default: the number of instances that will be set if metrics are not available for evaluation. The default is only used
	// if the current instance count is lower than the default.
	Default *string `json:"default,omitempty"`

	// +kubebuilder:validation:Required
	// Maximum: the maximum number of instances for the resource. The actual maximum number of instances is limited by the
	// cores that are available in the subscription.
	Maximum *string `json:"maximum,omitempty"`

	// +kubebuilder:validation:Required
	// Minimum: the minimum number of instances for the resource.
	Minimum *string `json:"minimum,omitempty"`
}

The number of instances that can be used during this profile.

func (*ScaleCapacity_STATUS) AssignProperties_From_ScaleCapacity_STATUS

func (capacity *ScaleCapacity_STATUS) AssignProperties_From_ScaleCapacity_STATUS(source *storage.ScaleCapacity_STATUS) error

AssignProperties_From_ScaleCapacity_STATUS populates our ScaleCapacity_STATUS from the provided source ScaleCapacity_STATUS

func (*ScaleCapacity_STATUS) AssignProperties_To_ScaleCapacity_STATUS

func (capacity *ScaleCapacity_STATUS) AssignProperties_To_ScaleCapacity_STATUS(destination *storage.ScaleCapacity_STATUS) error

AssignProperties_To_ScaleCapacity_STATUS populates the provided destination ScaleCapacity_STATUS from our ScaleCapacity_STATUS

func (*ScaleCapacity_STATUS) DeepCopy

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

func (*ScaleCapacity_STATUS) DeepCopyInto

func (in *ScaleCapacity_STATUS) DeepCopyInto(out *ScaleCapacity_STATUS)

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

func (*ScaleCapacity_STATUS) NewEmptyARMValue

func (capacity *ScaleCapacity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleCapacity_STATUS) PopulateFromARM

func (capacity *ScaleCapacity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleRule

type ScaleRule struct {
	// +kubebuilder:validation:Required
	// MetricTrigger: the trigger that results in a scaling action.
	MetricTrigger *MetricTrigger `json:"metricTrigger,omitempty"`

	// +kubebuilder:validation:Required
	// ScaleAction: the parameters for the scaling action.
	ScaleAction *ScaleAction `json:"scaleAction,omitempty"`
}

A rule that provide the triggers and parameters for the scaling action.

func (*ScaleRule) AssignProperties_From_ScaleRule

func (rule *ScaleRule) AssignProperties_From_ScaleRule(source *storage.ScaleRule) error

AssignProperties_From_ScaleRule populates our ScaleRule from the provided source ScaleRule

func (*ScaleRule) AssignProperties_To_ScaleRule

func (rule *ScaleRule) AssignProperties_To_ScaleRule(destination *storage.ScaleRule) error

AssignProperties_To_ScaleRule populates the provided destination ScaleRule from our ScaleRule

func (*ScaleRule) ConvertToARM

func (rule *ScaleRule) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScaleRule) DeepCopy

func (in *ScaleRule) DeepCopy() *ScaleRule

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

func (*ScaleRule) DeepCopyInto

func (in *ScaleRule) DeepCopyInto(out *ScaleRule)

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

func (*ScaleRule) Initialize_From_ScaleRule_STATUS

func (rule *ScaleRule) Initialize_From_ScaleRule_STATUS(source *ScaleRule_STATUS) error

Initialize_From_ScaleRule_STATUS populates our ScaleRule from the provided source ScaleRule_STATUS

func (*ScaleRule) NewEmptyARMValue

func (rule *ScaleRule) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleRule) PopulateFromARM

func (rule *ScaleRule) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleRuleMetricDimension

type ScaleRuleMetricDimension struct {
	// +kubebuilder:validation:Required
	// DimensionName: Name of the dimension.
	DimensionName *string `json:"DimensionName,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the
	// values. 'NotEquals' being not equal to all of the values
	Operator *ScaleRuleMetricDimension_Operator `json:"Operator,omitempty"`

	// +kubebuilder:validation:Required
	// Values: list of dimension values. For example: ["App1","App2"].
	Values []string `json:"Values,omitempty"`
}

Specifies an auto scale rule metric dimension.

func (*ScaleRuleMetricDimension) AssignProperties_From_ScaleRuleMetricDimension

func (dimension *ScaleRuleMetricDimension) AssignProperties_From_ScaleRuleMetricDimension(source *storage.ScaleRuleMetricDimension) error

AssignProperties_From_ScaleRuleMetricDimension populates our ScaleRuleMetricDimension from the provided source ScaleRuleMetricDimension

func (*ScaleRuleMetricDimension) AssignProperties_To_ScaleRuleMetricDimension

func (dimension *ScaleRuleMetricDimension) AssignProperties_To_ScaleRuleMetricDimension(destination *storage.ScaleRuleMetricDimension) error

AssignProperties_To_ScaleRuleMetricDimension populates the provided destination ScaleRuleMetricDimension from our ScaleRuleMetricDimension

func (*ScaleRuleMetricDimension) ConvertToARM

func (dimension *ScaleRuleMetricDimension) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScaleRuleMetricDimension) DeepCopy

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

func (*ScaleRuleMetricDimension) DeepCopyInto

func (in *ScaleRuleMetricDimension) DeepCopyInto(out *ScaleRuleMetricDimension)

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

func (*ScaleRuleMetricDimension) Initialize_From_ScaleRuleMetricDimension_STATUS

func (dimension *ScaleRuleMetricDimension) Initialize_From_ScaleRuleMetricDimension_STATUS(source *ScaleRuleMetricDimension_STATUS) error

Initialize_From_ScaleRuleMetricDimension_STATUS populates our ScaleRuleMetricDimension from the provided source ScaleRuleMetricDimension_STATUS

func (*ScaleRuleMetricDimension) NewEmptyARMValue

func (dimension *ScaleRuleMetricDimension) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleRuleMetricDimension) PopulateFromARM

func (dimension *ScaleRuleMetricDimension) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleRuleMetricDimension_Operator

type ScaleRuleMetricDimension_Operator string

+kubebuilder:validation:Enum={"Equals","NotEquals"}

type ScaleRuleMetricDimension_Operator_STATUS

type ScaleRuleMetricDimension_Operator_STATUS string

+kubebuilder:validation:Enum={"Equals","NotEquals"}

type ScaleRuleMetricDimension_STATUS

type ScaleRuleMetricDimension_STATUS struct {
	// +kubebuilder:validation:Required
	// DimensionName: Name of the dimension.
	DimensionName *string `json:"DimensionName,omitempty"`

	// +kubebuilder:validation:Required
	// Operator: the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the
	// values. 'NotEquals' being not equal to all of the values
	Operator *ScaleRuleMetricDimension_Operator_STATUS `json:"Operator,omitempty"`

	// +kubebuilder:validation:Required
	// Values: list of dimension values. For example: ["App1","App2"].
	Values []string `json:"Values,omitempty"`
}

Specifies an auto scale rule metric dimension.

func (*ScaleRuleMetricDimension_STATUS) AssignProperties_From_ScaleRuleMetricDimension_STATUS

func (dimension *ScaleRuleMetricDimension_STATUS) AssignProperties_From_ScaleRuleMetricDimension_STATUS(source *storage.ScaleRuleMetricDimension_STATUS) error

AssignProperties_From_ScaleRuleMetricDimension_STATUS populates our ScaleRuleMetricDimension_STATUS from the provided source ScaleRuleMetricDimension_STATUS

func (*ScaleRuleMetricDimension_STATUS) AssignProperties_To_ScaleRuleMetricDimension_STATUS

func (dimension *ScaleRuleMetricDimension_STATUS) AssignProperties_To_ScaleRuleMetricDimension_STATUS(destination *storage.ScaleRuleMetricDimension_STATUS) error

AssignProperties_To_ScaleRuleMetricDimension_STATUS populates the provided destination ScaleRuleMetricDimension_STATUS from our ScaleRuleMetricDimension_STATUS

func (*ScaleRuleMetricDimension_STATUS) DeepCopy

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

func (*ScaleRuleMetricDimension_STATUS) DeepCopyInto

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

func (*ScaleRuleMetricDimension_STATUS) NewEmptyARMValue

func (dimension *ScaleRuleMetricDimension_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleRuleMetricDimension_STATUS) PopulateFromARM

func (dimension *ScaleRuleMetricDimension_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScaleRule_STATUS

type ScaleRule_STATUS struct {
	// +kubebuilder:validation:Required
	// MetricTrigger: the trigger that results in a scaling action.
	MetricTrigger *MetricTrigger_STATUS `json:"metricTrigger,omitempty"`

	// +kubebuilder:validation:Required
	// ScaleAction: the parameters for the scaling action.
	ScaleAction *ScaleAction_STATUS `json:"scaleAction,omitempty"`
}

A rule that provide the triggers and parameters for the scaling action.

func (*ScaleRule_STATUS) AssignProperties_From_ScaleRule_STATUS

func (rule *ScaleRule_STATUS) AssignProperties_From_ScaleRule_STATUS(source *storage.ScaleRule_STATUS) error

AssignProperties_From_ScaleRule_STATUS populates our ScaleRule_STATUS from the provided source ScaleRule_STATUS

func (*ScaleRule_STATUS) AssignProperties_To_ScaleRule_STATUS

func (rule *ScaleRule_STATUS) AssignProperties_To_ScaleRule_STATUS(destination *storage.ScaleRule_STATUS) error

AssignProperties_To_ScaleRule_STATUS populates the provided destination ScaleRule_STATUS from our ScaleRule_STATUS

func (*ScaleRule_STATUS) DeepCopy

func (in *ScaleRule_STATUS) DeepCopy() *ScaleRule_STATUS

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

func (*ScaleRule_STATUS) DeepCopyInto

func (in *ScaleRule_STATUS) DeepCopyInto(out *ScaleRule_STATUS)

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

func (*ScaleRule_STATUS) NewEmptyARMValue

func (rule *ScaleRule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScaleRule_STATUS) PopulateFromARM

func (rule *ScaleRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

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

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

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

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

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

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

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

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

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

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

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type TimeWindow

type TimeWindow struct {
	// +kubebuilder:validation:Required
	// End: the end time for the profile in ISO 8601 format.
	End *string `json:"end,omitempty"`

	// +kubebuilder:validation:Required
	// Start: the start time for the profile in ISO 8601 format.
	Start *string `json:"start,omitempty"`

	// TimeZone: the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline
	// Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard
	// Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time,
	// Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern
	// Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time,
	// Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E.
	// South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo
	// Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time,
	// Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard
	// Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time,
	// Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe
	// Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad
	// Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard
	// Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3,
	// Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard
	// Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard
	// Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE
	// Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard
	// Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard
	// Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS
	// Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard
	// Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji
	// Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
	TimeZone *string `json:"timeZone,omitempty"`
}

A specific date-time for the profile.

func (*TimeWindow) AssignProperties_From_TimeWindow

func (window *TimeWindow) AssignProperties_From_TimeWindow(source *storage.TimeWindow) error

AssignProperties_From_TimeWindow populates our TimeWindow from the provided source TimeWindow

func (*TimeWindow) AssignProperties_To_TimeWindow

func (window *TimeWindow) AssignProperties_To_TimeWindow(destination *storage.TimeWindow) error

AssignProperties_To_TimeWindow populates the provided destination TimeWindow from our TimeWindow

func (*TimeWindow) ConvertToARM

func (window *TimeWindow) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*TimeWindow) DeepCopy

func (in *TimeWindow) DeepCopy() *TimeWindow

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

func (*TimeWindow) DeepCopyInto

func (in *TimeWindow) DeepCopyInto(out *TimeWindow)

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

func (*TimeWindow) Initialize_From_TimeWindow_STATUS

func (window *TimeWindow) Initialize_From_TimeWindow_STATUS(source *TimeWindow_STATUS) error

Initialize_From_TimeWindow_STATUS populates our TimeWindow from the provided source TimeWindow_STATUS

func (*TimeWindow) NewEmptyARMValue

func (window *TimeWindow) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*TimeWindow) PopulateFromARM

func (window *TimeWindow) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type TimeWindow_STATUS

type TimeWindow_STATUS struct {
	// +kubebuilder:validation:Required
	// End: the end time for the profile in ISO 8601 format.
	End *string `json:"end,omitempty"`

	// +kubebuilder:validation:Required
	// Start: the start time for the profile in ISO 8601 format.
	Start *string `json:"start,omitempty"`

	// TimeZone: the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline
	// Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard
	// Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time,
	// Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern
	// Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time,
	// Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E.
	// South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo
	// Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time,
	// Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard
	// Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time,
	// Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe
	// Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad
	// Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard
	// Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3,
	// Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard
	// Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard
	// Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE
	// Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard
	// Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard
	// Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS
	// Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard
	// Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji
	// Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
	TimeZone *string `json:"timeZone,omitempty"`
}

A specific date-time for the profile.

func (*TimeWindow_STATUS) AssignProperties_From_TimeWindow_STATUS

func (window *TimeWindow_STATUS) AssignProperties_From_TimeWindow_STATUS(source *storage.TimeWindow_STATUS) error

AssignProperties_From_TimeWindow_STATUS populates our TimeWindow_STATUS from the provided source TimeWindow_STATUS

func (*TimeWindow_STATUS) AssignProperties_To_TimeWindow_STATUS

func (window *TimeWindow_STATUS) AssignProperties_To_TimeWindow_STATUS(destination *storage.TimeWindow_STATUS) error

AssignProperties_To_TimeWindow_STATUS populates the provided destination TimeWindow_STATUS from our TimeWindow_STATUS

func (*TimeWindow_STATUS) DeepCopy

func (in *TimeWindow_STATUS) DeepCopy() *TimeWindow_STATUS

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

func (*TimeWindow_STATUS) DeepCopyInto

func (in *TimeWindow_STATUS) DeepCopyInto(out *TimeWindow_STATUS)

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

func (*TimeWindow_STATUS) NewEmptyARMValue

func (window *TimeWindow_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*TimeWindow_STATUS) PopulateFromARM

func (window *TimeWindow_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebhookNotification

type WebhookNotification struct {
	// Properties: a property bag of settings. This value can be empty.
	Properties map[string]string `json:"properties,omitempty"`

	// ServiceUri: the service address to receive the notification.
	ServiceUri *string `json:"serviceUri,omitempty"`
}

Webhook notification of an autoscale event.

func (*WebhookNotification) AssignProperties_From_WebhookNotification

func (notification *WebhookNotification) AssignProperties_From_WebhookNotification(source *storage.WebhookNotification) error

AssignProperties_From_WebhookNotification populates our WebhookNotification from the provided source WebhookNotification

func (*WebhookNotification) AssignProperties_To_WebhookNotification

func (notification *WebhookNotification) AssignProperties_To_WebhookNotification(destination *storage.WebhookNotification) error

AssignProperties_To_WebhookNotification populates the provided destination WebhookNotification from our WebhookNotification

func (*WebhookNotification) ConvertToARM

func (notification *WebhookNotification) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*WebhookNotification) DeepCopy

func (in *WebhookNotification) DeepCopy() *WebhookNotification

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

func (*WebhookNotification) DeepCopyInto

func (in *WebhookNotification) DeepCopyInto(out *WebhookNotification)

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

func (*WebhookNotification) Initialize_From_WebhookNotification_STATUS

func (notification *WebhookNotification) Initialize_From_WebhookNotification_STATUS(source *WebhookNotification_STATUS) error

Initialize_From_WebhookNotification_STATUS populates our WebhookNotification from the provided source WebhookNotification_STATUS

func (*WebhookNotification) NewEmptyARMValue

func (notification *WebhookNotification) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebhookNotification) PopulateFromARM

func (notification *WebhookNotification) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type WebhookNotification_STATUS

type WebhookNotification_STATUS struct {
	// Properties: a property bag of settings. This value can be empty.
	Properties map[string]string `json:"properties,omitempty"`

	// ServiceUri: the service address to receive the notification.
	ServiceUri *string `json:"serviceUri,omitempty"`
}

Webhook notification of an autoscale event.

func (*WebhookNotification_STATUS) AssignProperties_From_WebhookNotification_STATUS

func (notification *WebhookNotification_STATUS) AssignProperties_From_WebhookNotification_STATUS(source *storage.WebhookNotification_STATUS) error

AssignProperties_From_WebhookNotification_STATUS populates our WebhookNotification_STATUS from the provided source WebhookNotification_STATUS

func (*WebhookNotification_STATUS) AssignProperties_To_WebhookNotification_STATUS

func (notification *WebhookNotification_STATUS) AssignProperties_To_WebhookNotification_STATUS(destination *storage.WebhookNotification_STATUS) error

AssignProperties_To_WebhookNotification_STATUS populates the provided destination WebhookNotification_STATUS from our WebhookNotification_STATUS

func (*WebhookNotification_STATUS) DeepCopy

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

func (*WebhookNotification_STATUS) DeepCopyInto

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

func (*WebhookNotification_STATUS) NewEmptyARMValue

func (notification *WebhookNotification_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*WebhookNotification_STATUS) PopulateFromARM

func (notification *WebhookNotification_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.

Jump to

Keyboard shortcuts

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