storage

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const APIVersion_Value = APIVersion("2020-02-02")

Variables

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

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

type Component

type Component struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Component_Spec   `json:"spec,omitempty"`
	Status            Component_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +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 v1api20200202.Component Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}

func (*Component) AzureName

func (component *Component) AzureName() string

AzureName returns the Azure name of the resource

func (*Component) DeepCopy

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto

func (in *Component) DeepCopyInto(out *Component)

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

func (*Component) DeepCopyObject

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

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

func (*Component) ExportKubernetesResources

func (component *Component) ExportKubernetesResources(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error)

ExportKubernetesResources defines a resource which can create other resources in Kubernetes.

func (Component) GetAPIVersion

func (component Component) GetAPIVersion() string

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

func (*Component) GetConditions

func (component *Component) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Component) GetResourceScope

func (component *Component) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Component) GetSpec

func (component *Component) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Component) GetStatus

func (component *Component) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Component) GetSupportedOperations

func (component *Component) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Component) GetType

func (component *Component) GetType() string

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

func (*Component) Hub

func (component *Component) Hub()

Hub marks that this Component is the hub type for conversion

func (*Component) NewEmptyStatus

func (component *Component) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Component) OriginalGVK

func (component *Component) OriginalGVK() *schema.GroupVersionKind

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

func (*Component) Owner

func (component *Component) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Component) SetConditions

func (component *Component) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Component) SetStatus

func (component *Component) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ComponentList

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

+kubebuilder:object:root=true Storage version of v1api20200202.Component Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}

func (*ComponentList) DeepCopy

func (in *ComponentList) DeepCopy() *ComponentList

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

func (*ComponentList) DeepCopyInto

func (in *ComponentList) DeepCopyInto(out *ComponentList)

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

func (*ComponentList) DeepCopyObject

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

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

type ComponentOperatorConfigMaps

type ComponentOperatorConfigMaps struct {
	ConnectionString   *genruntime.ConfigMapDestination `json:"connectionString,omitempty"`
	InstrumentationKey *genruntime.ConfigMapDestination `json:"instrumentationKey,omitempty"`
	PropertyBag        genruntime.PropertyBag           `json:"$propertyBag,omitempty"`
}

Storage version of v1api20200202.ComponentOperatorConfigMaps

func (*ComponentOperatorConfigMaps) DeepCopy

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

func (*ComponentOperatorConfigMaps) DeepCopyInto

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

type ComponentOperatorSpec

type ComponentOperatorSpec struct {
	ConfigMaps  *ComponentOperatorConfigMaps `json:"configMaps,omitempty"`
	PropertyBag genruntime.PropertyBag       `json:"$propertyBag,omitempty"`
}

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

func (*ComponentOperatorSpec) DeepCopy

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

func (*ComponentOperatorSpec) DeepCopyInto

func (in *ComponentOperatorSpec) DeepCopyInto(out *ComponentOperatorSpec)

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

type Component_STATUS

type Component_STATUS struct {
	AppId                           *string                            `json:"AppId,omitempty"`
	ApplicationId                   *string                            `json:"ApplicationId,omitempty"`
	Application_Type                *string                            `json:"Application_Type,omitempty"`
	Conditions                      []conditions.Condition             `json:"conditions,omitempty"`
	ConnectionString                *string                            `json:"ConnectionString,omitempty"`
	CreationDate                    *string                            `json:"CreationDate,omitempty"`
	DisableIpMasking                *bool                              `json:"DisableIpMasking,omitempty"`
	DisableLocalAuth                *bool                              `json:"DisableLocalAuth,omitempty"`
	Etag                            *string                            `json:"etag,omitempty"`
	Flow_Type                       *string                            `json:"Flow_Type,omitempty"`
	ForceCustomerStorageForProfiler *bool                              `json:"ForceCustomerStorageForProfiler,omitempty"`
	HockeyAppId                     *string                            `json:"HockeyAppId,omitempty"`
	HockeyAppToken                  *string                            `json:"HockeyAppToken,omitempty"`
	Id                              *string                            `json:"id,omitempty"`
	ImmediatePurgeDataOn30Days      *bool                              `json:"ImmediatePurgeDataOn30Days,omitempty"`
	IngestionMode                   *string                            `json:"IngestionMode,omitempty"`
	InstrumentationKey              *string                            `json:"InstrumentationKey,omitempty"`
	Kind                            *string                            `json:"kind,omitempty"`
	LaMigrationDate                 *string                            `json:"LaMigrationDate,omitempty"`
	Location                        *string                            `json:"location,omitempty"`
	Name                            *string                            `json:"name,omitempty"`
	PrivateLinkScopedResources      []PrivateLinkScopedResource_STATUS `json:"PrivateLinkScopedResources,omitempty"`
	PropertiesName                  *string                            `json:"properties_name,omitempty"`
	PropertyBag                     genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	ProvisioningState               *string                            `json:"provisioningState,omitempty"`
	PublicNetworkAccessForIngestion *string                            `json:"publicNetworkAccessForIngestion,omitempty"`
	PublicNetworkAccessForQuery     *string                            `json:"publicNetworkAccessForQuery,omitempty"`
	Request_Source                  *string                            `json:"Request_Source,omitempty"`
	RetentionInDays                 *int                               `json:"RetentionInDays,omitempty"`
	SamplingPercentage              *float64                           `json:"SamplingPercentage,omitempty"`
	Tags                            map[string]string                  `json:"tags,omitempty"`
	TenantId                        *string                            `json:"TenantId,omitempty"`
	Type                            *string                            `json:"type,omitempty"`
	WorkspaceResourceId             *string                            `json:"WorkspaceResourceId,omitempty"`
}

Storage version of v1api20200202.Component_STATUS

func (*Component_STATUS) ConvertStatusFrom

func (component *Component_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Component_STATUS from the provided source

func (*Component_STATUS) ConvertStatusTo

func (component *Component_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Component_STATUS

func (*Component_STATUS) DeepCopy

func (in *Component_STATUS) DeepCopy() *Component_STATUS

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

func (*Component_STATUS) DeepCopyInto

func (in *Component_STATUS) DeepCopyInto(out *Component_STATUS)

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

type Component_Spec

type Component_Spec struct {
	Application_Type *string `json:"Application_Type,omitempty"`

	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName                       string                 `json:"azureName,omitempty"`
	DisableIpMasking                *bool                  `json:"DisableIpMasking,omitempty"`
	DisableLocalAuth                *bool                  `json:"DisableLocalAuth,omitempty"`
	Etag                            *string                `json:"etag,omitempty"`
	Flow_Type                       *string                `json:"Flow_Type,omitempty"`
	ForceCustomerStorageForProfiler *bool                  `json:"ForceCustomerStorageForProfiler,omitempty"`
	HockeyAppId                     *string                `json:"HockeyAppId,omitempty"`
	ImmediatePurgeDataOn30Days      *bool                  `json:"ImmediatePurgeDataOn30Days,omitempty"`
	IngestionMode                   *string                `json:"IngestionMode,omitempty"`
	Kind                            *string                `json:"kind,omitempty"`
	Location                        *string                `json:"location,omitempty"`
	OperatorSpec                    *ComponentOperatorSpec `json:"operatorSpec,omitempty"`
	OriginalVersion                 string                 `json:"originalVersion,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner                           *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`
	PropertyBag                     genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	PublicNetworkAccessForIngestion *string                            `json:"publicNetworkAccessForIngestion,omitempty"`
	PublicNetworkAccessForQuery     *string                            `json:"publicNetworkAccessForQuery,omitempty"`
	Request_Source                  *string                            `json:"Request_Source,omitempty"`
	RetentionInDays                 *int                               `json:"RetentionInDays,omitempty"`
	SamplingPercentage              *float64                           `json:"SamplingPercentage,omitempty"`
	Tags                            map[string]string                  `json:"tags,omitempty"`

	// WorkspaceResourceReference: Resource Id of the log analytics workspace which the data will be ingested to. This property
	// is required to create an application with this API version. Applications from older versions will not have this property.
	WorkspaceResourceReference *genruntime.ResourceReference `armReference:"WorkspaceResourceId" json:"workspaceResourceReference,omitempty"`
}

Storage version of v1api20200202.Component_Spec

func (*Component_Spec) ConvertSpecFrom

func (component *Component_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Component_Spec from the provided source

func (*Component_Spec) ConvertSpecTo

func (component *Component_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Component_Spec

func (*Component_Spec) DeepCopy

func (in *Component_Spec) DeepCopy() *Component_Spec

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

func (*Component_Spec) DeepCopyInto

func (in *Component_Spec) DeepCopyInto(out *Component_Spec)

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

type PrivateLinkScopedResource_STATUS

type PrivateLinkScopedResource_STATUS struct {
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	ResourceId  *string                `json:"ResourceId,omitempty"`
	ScopeId     *string                `json:"ScopeId,omitempty"`
}

Storage version of v1api20200202.PrivateLinkScopedResource_STATUS The private link scope resource reference.

func (*PrivateLinkScopedResource_STATUS) DeepCopy

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

func (*PrivateLinkScopedResource_STATUS) DeepCopyInto

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

Jump to

Keyboard shortcuts

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