storage

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: 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=v1api20230601storage

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("2023-06-01")

Variables

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

	// 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 v1api20230601.APIVersion +kubebuilder:validation:Enum={"2023-06-01"}

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	PropertyBag            genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	Type                   *string                       `json:"type,omitempty"`
	UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}

Storage version of v1api20230601.ManagedServiceIdentity Managed service identity (system assigned and/or user assigned identities)

func (*ManagedServiceIdentity) DeepCopy

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

func (*ManagedServiceIdentity) DeepCopyInto

func (in *ManagedServiceIdentity) DeepCopyInto(out *ManagedServiceIdentity)

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

type ManagedServiceIdentity_STATUS

type ManagedServiceIdentity_STATUS struct {
	PrincipalId            *string                                `json:"principalId,omitempty"`
	PropertyBag            genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
	TenantId               *string                                `json:"tenantId,omitempty"`
	Type                   *string                                `json:"type,omitempty"`
	UserAssignedIdentities map[string]UserAssignedIdentity_STATUS `json:"userAssignedIdentities,omitempty"`
}

Storage version of v1api20230601.ManagedServiceIdentity_STATUS Managed service identity (system assigned and/or user assigned identities)

func (*ManagedServiceIdentity_STATUS) DeepCopy

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

func (*ManagedServiceIdentity_STATUS) DeepCopyInto

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

type SystemData_STATUS

type SystemData_STATUS struct {
	CreatedAt          *string                `json:"createdAt,omitempty"`
	CreatedBy          *string                `json:"createdBy,omitempty"`
	CreatedByType      *string                `json:"createdByType,omitempty"`
	LastModifiedAt     *string                `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string                `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *string                `json:"lastModifiedByType,omitempty"`
	PropertyBag        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20230601.SystemData_STATUS Metadata pertaining to creation and last modification of the resource.

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.

type UserAssignedIdentityDetails

type UserAssignedIdentityDetails struct {
	PropertyBag genruntime.PropertyBag       `json:"$propertyBag,omitempty"`
	Reference   genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}

Storage version of v1api20230601.UserAssignedIdentityDetails Information about the user assigned identity for the resource

func (*UserAssignedIdentityDetails) DeepCopy

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

func (*UserAssignedIdentityDetails) DeepCopyInto

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

type UserAssignedIdentity_STATUS

type UserAssignedIdentity_STATUS struct {
	ClientId    *string                `json:"clientId,omitempty"`
	PrincipalId *string                `json:"principalId,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20230601.UserAssignedIdentity_STATUS User assigned identity properties

func (*UserAssignedIdentity_STATUS) DeepCopy

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

func (*UserAssignedIdentity_STATUS) DeepCopyInto

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

type Workbook

type Workbook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Workbook_Spec   `json:"spec,omitempty"`
	Status            Workbook_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 v1api20230601.Workbook Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/workbooks_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}

func (*Workbook) AzureName

func (workbook *Workbook) AzureName() string

AzureName returns the Azure name of the resource

func (*Workbook) ConfigMapDestinationExpressions

func (workbook *Workbook) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*Workbook) DeepCopy

func (in *Workbook) DeepCopy() *Workbook

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

func (*Workbook) DeepCopyInto

func (in *Workbook) DeepCopyInto(out *Workbook)

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

func (*Workbook) DeepCopyObject

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

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

func (Workbook) GetAPIVersion

func (workbook Workbook) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2023-06-01"

func (*Workbook) GetConditions

func (workbook *Workbook) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Workbook) GetResourceScope

func (workbook *Workbook) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Workbook) GetSpec

func (workbook *Workbook) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Workbook) GetStatus

func (workbook *Workbook) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Workbook) GetSupportedOperations

func (workbook *Workbook) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Workbook) GetType

func (workbook *Workbook) GetType() string

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

func (*Workbook) Hub

func (workbook *Workbook) Hub()

Hub marks that this Workbook is the hub type for conversion

func (*Workbook) NewEmptyStatus

func (workbook *Workbook) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Workbook) OriginalGVK

func (workbook *Workbook) OriginalGVK() *schema.GroupVersionKind

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

func (*Workbook) Owner

func (workbook *Workbook) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Workbook) SecretDestinationExpressions

func (workbook *Workbook) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*Workbook) SetConditions

func (workbook *Workbook) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Workbook) SetStatus

func (workbook *Workbook) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type WorkbookList

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

+kubebuilder:object:root=true Storage version of v1api20230601.Workbook Generator information: - Generated from: /applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/workbooks_API.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}

func (*WorkbookList) DeepCopy

func (in *WorkbookList) DeepCopy() *WorkbookList

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

func (*WorkbookList) DeepCopyInto

func (in *WorkbookList) DeepCopyInto(out *WorkbookList)

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

func (*WorkbookList) DeepCopyObject

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

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

type WorkbookOperatorSpec

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

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

func (*WorkbookOperatorSpec) DeepCopy

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

func (*WorkbookOperatorSpec) DeepCopyInto

func (in *WorkbookOperatorSpec) DeepCopyInto(out *WorkbookOperatorSpec)

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

type Workbook_STATUS

type Workbook_STATUS struct {
	Category       *string                        `json:"category,omitempty"`
	Conditions     []conditions.Condition         `json:"conditions,omitempty"`
	Description    *string                        `json:"description,omitempty"`
	DisplayName    *string                        `json:"displayName,omitempty"`
	Etag           *string                        `json:"etag,omitempty"`
	Id             *string                        `json:"id,omitempty"`
	Identity       *ManagedServiceIdentity_STATUS `json:"identity,omitempty"`
	Kind           *string                        `json:"kind,omitempty"`
	Location       *string                        `json:"location,omitempty"`
	Name           *string                        `json:"name,omitempty"`
	PropertiesTags []string                       `json:"properties_tags,omitempty"`
	PropertyBag    genruntime.PropertyBag         `json:"$propertyBag,omitempty"`
	Revision       *string                        `json:"revision,omitempty"`
	SerializedData *string                        `json:"serializedData,omitempty"`
	SourceId       *string                        `json:"sourceId,omitempty"`
	StorageUri     *string                        `json:"storageUri,omitempty"`
	SystemData     *SystemData_STATUS             `json:"systemData,omitempty"`
	Tags           map[string]string              `json:"tags,omitempty"`
	TimeModified   *string                        `json:"timeModified,omitempty"`
	Type           *string                        `json:"type,omitempty"`
	UserId         *string                        `json:"userId,omitempty"`
	Version        *string                        `json:"version,omitempty"`
}

Storage version of v1api20230601.Workbook_STATUS A workbook definition.

func (*Workbook_STATUS) ConvertStatusFrom

func (workbook *Workbook_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Workbook_STATUS from the provided source

func (*Workbook_STATUS) ConvertStatusTo

func (workbook *Workbook_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Workbook_STATUS

func (*Workbook_STATUS) DeepCopy

func (in *Workbook_STATUS) DeepCopy() *Workbook_STATUS

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

func (*Workbook_STATUS) DeepCopyInto

func (in *Workbook_STATUS) DeepCopyInto(out *Workbook_STATUS)

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

type Workbook_Spec

type Workbook_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"`
	Category        *string                 `json:"category,omitempty"`
	Description     *string                 `json:"description,omitempty"`
	DisplayName     *string                 `json:"displayName,omitempty"`
	Identity        *ManagedServiceIdentity `json:"identity,omitempty"`
	Kind            *string                 `json:"kind,omitempty"`
	Location        *string                 `json:"location,omitempty"`
	OperatorSpec    *WorkbookOperatorSpec   `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"`
	PropertiesTags []string                           `json:"properties_tags,omitempty"`
	PropertyBag    genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	SerializedData *string                            `json:"serializedData,omitempty"`

	// SourceReference: ResourceId for a source resource.
	SourceReference *genruntime.ResourceReference `armReference:"SourceId" json:"sourceReference,omitempty"`

	// StorageUriReference: The resourceId to the storage account when bring your own storage is used
	StorageUriReference *genruntime.ResourceReference `armReference:"StorageUri" json:"storageUriReference,omitempty"`
	Tags                map[string]string             `json:"tags,omitempty"`
	Version             *string                       `json:"version,omitempty"`
}

Storage version of v1api20230601.Workbook_Spec

func (*Workbook_Spec) ConvertSpecFrom

func (workbook *Workbook_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Workbook_Spec from the provided source

func (*Workbook_Spec) ConvertSpecTo

func (workbook *Workbook_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Workbook_Spec

func (*Workbook_Spec) DeepCopy

func (in *Workbook_Spec) DeepCopy() *Workbook_Spec

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

func (*Workbook_Spec) DeepCopyInto

func (in *Workbook_Spec) DeepCopyInto(out *Workbook_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