storage

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

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

Index

Constants

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

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

Storage version of v1api20171001.APIVersion +kubebuilder:validation:Enum={"2017-10-01"}

type PricingPlan

type PricingPlan struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PricingPlan_Spec   `json:"spec,omitempty"`
	Status            PricingPlan_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,insights} +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Storage version of v1api20171001.PricingPlan Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/pricingPlans/current

func (*PricingPlan) AzureName

func (plan *PricingPlan) AzureName() string

AzureName returns the Azure name of the resource (always "current")

func (*PricingPlan) ConfigMapDestinationExpressions

func (plan *PricingPlan) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*PricingPlan) DeepCopy

func (in *PricingPlan) DeepCopy() *PricingPlan

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

func (*PricingPlan) DeepCopyInto

func (in *PricingPlan) DeepCopyInto(out *PricingPlan)

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

func (*PricingPlan) DeepCopyObject

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

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

func (PricingPlan) GetAPIVersion

func (plan PricingPlan) GetAPIVersion() string

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

func (*PricingPlan) GetConditions

func (plan *PricingPlan) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*PricingPlan) GetResourceScope

func (plan *PricingPlan) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*PricingPlan) GetSpec

func (plan *PricingPlan) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*PricingPlan) GetStatus

func (plan *PricingPlan) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*PricingPlan) GetSupportedOperations

func (plan *PricingPlan) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*PricingPlan) GetType

func (plan *PricingPlan) GetType() string

GetType returns the ARM Type of the resource. This is always "microsoft.insights/components/pricingPlans"

func (*PricingPlan) Hub

func (plan *PricingPlan) Hub()

Hub marks that this PricingPlan is the hub type for conversion

func (*PricingPlan) NewEmptyStatus

func (plan *PricingPlan) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*PricingPlan) OriginalGVK

func (plan *PricingPlan) OriginalGVK() *schema.GroupVersionKind

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

func (*PricingPlan) Owner

func (plan *PricingPlan) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*PricingPlan) SecretDestinationExpressions

func (plan *PricingPlan) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*PricingPlan) SetConditions

func (plan *PricingPlan) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*PricingPlan) SetStatus

func (plan *PricingPlan) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type PricingPlanList

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

+kubebuilder:object:root=true Storage version of v1api20171001.PricingPlan Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/pricingPlans/current

func (*PricingPlanList) DeepCopy

func (in *PricingPlanList) DeepCopy() *PricingPlanList

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

func (*PricingPlanList) DeepCopyInto

func (in *PricingPlanList) DeepCopyInto(out *PricingPlanList)

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

func (*PricingPlanList) DeepCopyObject

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

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

type PricingPlanOperatorSpec

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

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

func (*PricingPlanOperatorSpec) DeepCopy

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

func (*PricingPlanOperatorSpec) DeepCopyInto

func (in *PricingPlanOperatorSpec) DeepCopyInto(out *PricingPlanOperatorSpec)

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

type PricingPlan_STATUS

type PricingPlan_STATUS struct {
	Cap                                  *float64               `json:"cap,omitempty"`
	Conditions                           []conditions.Condition `json:"conditions,omitempty"`
	Id                                   *string                `json:"id,omitempty"`
	MaxHistoryCap                        *float64               `json:"maxHistoryCap,omitempty"`
	Name                                 *string                `json:"name,omitempty"`
	PlanType                             *string                `json:"planType,omitempty"`
	PropertyBag                          genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	ResetHour                            *int                   `json:"resetHour,omitempty"`
	StopSendNotificationWhenHitCap       *bool                  `json:"stopSendNotificationWhenHitCap,omitempty"`
	StopSendNotificationWhenHitThreshold *bool                  `json:"stopSendNotificationWhenHitThreshold,omitempty"`
	Type                                 *string                `json:"type,omitempty"`
	WarningThreshold                     *int                   `json:"warningThreshold,omitempty"`
}

Storage version of v1api20171001.PricingPlan_STATUS

func (*PricingPlan_STATUS) ConvertStatusFrom

func (plan *PricingPlan_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our PricingPlan_STATUS from the provided source

func (*PricingPlan_STATUS) ConvertStatusTo

func (plan *PricingPlan_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our PricingPlan_STATUS

func (*PricingPlan_STATUS) DeepCopy

func (in *PricingPlan_STATUS) DeepCopy() *PricingPlan_STATUS

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

func (*PricingPlan_STATUS) DeepCopyInto

func (in *PricingPlan_STATUS) DeepCopyInto(out *PricingPlan_STATUS)

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

type PricingPlan_Spec

type PricingPlan_Spec struct {
	Cap             *float64                 `json:"cap,omitempty"`
	OperatorSpec    *PricingPlanOperatorSpec `json:"operatorSpec,omitempty"`
	OriginalVersion string                   `json:"originalVersion,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a insights.azure.com/Component resource
	Owner                                *genruntime.KnownResourceReference `group:"insights.azure.com" json:"owner,omitempty" kind:"Component"`
	PlanType                             *string                            `json:"planType,omitempty"`
	PropertyBag                          genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	StopSendNotificationWhenHitCap       *bool                              `json:"stopSendNotificationWhenHitCap,omitempty"`
	StopSendNotificationWhenHitThreshold *bool                              `json:"stopSendNotificationWhenHitThreshold,omitempty"`
	WarningThreshold                     *int                               `json:"warningThreshold,omitempty"`
}

Storage version of v1api20171001.PricingPlan_Spec

func (*PricingPlan_Spec) ConvertSpecFrom

func (plan *PricingPlan_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our PricingPlan_Spec from the provided source

func (*PricingPlan_Spec) ConvertSpecTo

func (plan *PricingPlan_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our PricingPlan_Spec

func (*PricingPlan_Spec) DeepCopy

func (in *PricingPlan_Spec) DeepCopy() *PricingPlan_Spec

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

func (*PricingPlan_Spec) DeepCopyInto

func (in *PricingPlan_Spec) DeepCopyInto(out *PricingPlan_Spec)

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

Jump to

Keyboard shortcuts

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