v1api20171001

package
v2.15.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1api20171001 contains API Schema definitions for the insights v1api20171001 API group +groupName=insights.azure.com

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

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

	// 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={"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: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: /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) AssignProperties_From_PricingPlan

func (plan *PricingPlan) AssignProperties_From_PricingPlan(source *storage.PricingPlan) error

AssignProperties_From_PricingPlan populates our PricingPlan from the provided source PricingPlan

func (*PricingPlan) AssignProperties_To_PricingPlan

func (plan *PricingPlan) AssignProperties_To_PricingPlan(destination *storage.PricingPlan) error

AssignProperties_To_PricingPlan populates the provided destination PricingPlan from our PricingPlan

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

func (plan *PricingPlan) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our PricingPlan from the provided hub PricingPlan

func (*PricingPlan) ConvertTo

func (plan *PricingPlan) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub PricingPlan from our PricingPlan

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

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

InitializeSpec initializes the spec for this resource from the given status

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 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: 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 (*PricingPlanOperatorSpec) AssignProperties_From_PricingPlanOperatorSpec

func (operator *PricingPlanOperatorSpec) AssignProperties_From_PricingPlanOperatorSpec(source *storage.PricingPlanOperatorSpec) error

AssignProperties_From_PricingPlanOperatorSpec populates our PricingPlanOperatorSpec from the provided source PricingPlanOperatorSpec

func (*PricingPlanOperatorSpec) AssignProperties_To_PricingPlanOperatorSpec

func (operator *PricingPlanOperatorSpec) AssignProperties_To_PricingPlanOperatorSpec(destination *storage.PricingPlanOperatorSpec) error

AssignProperties_To_PricingPlanOperatorSpec populates the provided destination PricingPlanOperatorSpec from our PricingPlanOperatorSpec

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: Daily data volume cap in GB.
	Cap *float64 `json:"cap,omitempty"`

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

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

	// MaxHistoryCap: Maximum daily data volume cap that the user can set for this component.
	MaxHistoryCap *float64 `json:"maxHistoryCap,omitempty"`

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

	// PlanType: Pricing Plan Type Name.
	PlanType *string `json:"planType,omitempty"`

	// ResetHour: Daily data volume cap UTC reset hour.
	ResetHour *int `json:"resetHour,omitempty"`

	// StopSendNotificationWhenHitCap: Do not send a notification email when the daily data volume cap is met.
	StopSendNotificationWhenHitCap *bool `json:"stopSendNotificationWhenHitCap,omitempty"`

	// StopSendNotificationWhenHitThreshold: Reserved, not used for now.
	StopSendNotificationWhenHitThreshold *bool `json:"stopSendNotificationWhenHitThreshold,omitempty"`

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

	// WarningThreshold: Reserved, not used for now.
	WarningThreshold *int `json:"warningThreshold,omitempty"`
}

func (*PricingPlan_STATUS) AssignProperties_From_PricingPlan_STATUS

func (plan *PricingPlan_STATUS) AssignProperties_From_PricingPlan_STATUS(source *storage.PricingPlan_STATUS) error

AssignProperties_From_PricingPlan_STATUS populates our PricingPlan_STATUS from the provided source PricingPlan_STATUS

func (*PricingPlan_STATUS) AssignProperties_To_PricingPlan_STATUS

func (plan *PricingPlan_STATUS) AssignProperties_To_PricingPlan_STATUS(destination *storage.PricingPlan_STATUS) error

AssignProperties_To_PricingPlan_STATUS populates the provided destination PricingPlan_STATUS from our 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.

func (*PricingPlan_STATUS) NewEmptyARMValue

func (plan *PricingPlan_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PricingPlan_STATUS) PopulateFromARM

func (plan *PricingPlan_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PricingPlan_Spec

type PricingPlan_Spec struct {
	// Cap: Daily data volume cap in GB.
	Cap *float64 `json:"cap,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *PricingPlanOperatorSpec `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 insights.azure.com/Component resource
	Owner *genruntime.KnownResourceReference `group:"insights.azure.com" json:"owner,omitempty" kind:"Component"`

	// PlanType: Pricing Plan Type Name.
	PlanType *string `json:"planType,omitempty"`

	// StopSendNotificationWhenHitCap: Do not send a notification email when the daily data volume cap is met.
	StopSendNotificationWhenHitCap *bool `json:"stopSendNotificationWhenHitCap,omitempty"`

	// StopSendNotificationWhenHitThreshold: Reserved, not used for now.
	StopSendNotificationWhenHitThreshold *bool `json:"stopSendNotificationWhenHitThreshold,omitempty"`

	// WarningThreshold: Reserved, not used for now.
	WarningThreshold *int `json:"warningThreshold,omitempty"`
}

func (*PricingPlan_Spec) AssignProperties_From_PricingPlan_Spec

func (plan *PricingPlan_Spec) AssignProperties_From_PricingPlan_Spec(source *storage.PricingPlan_Spec) error

AssignProperties_From_PricingPlan_Spec populates our PricingPlan_Spec from the provided source PricingPlan_Spec

func (*PricingPlan_Spec) AssignProperties_To_PricingPlan_Spec

func (plan *PricingPlan_Spec) AssignProperties_To_PricingPlan_Spec(destination *storage.PricingPlan_Spec) error

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

func (plan *PricingPlan_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*PricingPlan_Spec) Initialize_From_PricingPlan_STATUS

func (plan *PricingPlan_Spec) Initialize_From_PricingPlan_STATUS(source *PricingPlan_STATUS) error

Initialize_From_PricingPlan_STATUS populates our PricingPlan_Spec from the provided source PricingPlan_STATUS

func (*PricingPlan_Spec) NewEmptyARMValue

func (plan *PricingPlan_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PricingPlan_Spec) OriginalVersion

func (plan *PricingPlan_Spec) OriginalVersion() string

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

func (*PricingPlan_Spec) PopulateFromARM

func (plan *PricingPlan_Spec) 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.
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
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.
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