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: 7 Imported by: 0

Documentation

Overview

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

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

Variables

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

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

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 v1api20210601.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.

type Workspace

type Workspace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Workspace_Spec   `json:"spec,omitempty"`
	Status            Workspace_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 v1api20210601.Workspace Generator information: - Generated from: /operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Workspaces.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}

func (*Workspace) AzureName

func (workspace *Workspace) AzureName() string

AzureName returns the Azure name of the resource

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

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

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

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

func (*Workspace) DeepCopyObject

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

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

func (Workspace) GetAPIVersion

func (workspace Workspace) GetAPIVersion() string

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

func (*Workspace) GetConditions

func (workspace *Workspace) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Workspace) GetResourceScope

func (workspace *Workspace) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Workspace) GetSpec

func (workspace *Workspace) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Workspace) GetStatus

func (workspace *Workspace) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Workspace) GetSupportedOperations

func (workspace *Workspace) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Workspace) GetType

func (workspace *Workspace) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.OperationalInsights/workspaces"

func (*Workspace) Hub

func (workspace *Workspace) Hub()

Hub marks that this Workspace is the hub type for conversion

func (*Workspace) NewEmptyStatus

func (workspace *Workspace) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Workspace) OriginalGVK

func (workspace *Workspace) OriginalGVK() *schema.GroupVersionKind

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

func (*Workspace) Owner

func (workspace *Workspace) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Workspace) SetConditions

func (workspace *Workspace) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Workspace) SetStatus

func (workspace *Workspace) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type WorkspaceCapping

type WorkspaceCapping struct {
	DailyQuotaGb *float64               `json:"dailyQuotaGb,omitempty"`
	PropertyBag  genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210601.WorkspaceCapping The daily volume cap for ingestion.

func (*WorkspaceCapping) DeepCopy

func (in *WorkspaceCapping) DeepCopy() *WorkspaceCapping

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

func (*WorkspaceCapping) DeepCopyInto

func (in *WorkspaceCapping) DeepCopyInto(out *WorkspaceCapping)

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

type WorkspaceCapping_STATUS

type WorkspaceCapping_STATUS struct {
	DailyQuotaGb        *float64               `json:"dailyQuotaGb,omitempty"`
	DataIngestionStatus *string                `json:"dataIngestionStatus,omitempty"`
	PropertyBag         genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	QuotaNextResetTime  *string                `json:"quotaNextResetTime,omitempty"`
}

Storage version of v1api20210601.WorkspaceCapping_STATUS The daily volume cap for ingestion.

func (*WorkspaceCapping_STATUS) DeepCopy

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

func (*WorkspaceCapping_STATUS) DeepCopyInto

func (in *WorkspaceCapping_STATUS) DeepCopyInto(out *WorkspaceCapping_STATUS)

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

type WorkspaceFeatures

type WorkspaceFeatures struct {
	// ClusterResourceReference: Dedicated LA cluster resourceId that is linked to the workspaces.
	ClusterResourceReference                    *genruntime.ResourceReference `armReference:"ClusterResourceId" json:"clusterResourceReference,omitempty"`
	DisableLocalAuth                            *bool                         `json:"disableLocalAuth,omitempty"`
	EnableDataExport                            *bool                         `json:"enableDataExport,omitempty"`
	EnableLogAccessUsingOnlyResourcePermissions *bool                         `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"`
	ImmediatePurgeDataOn30Days                  *bool                         `json:"immediatePurgeDataOn30Days,omitempty"`
	PropertyBag                                 genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210601.WorkspaceFeatures Workspace features.

func (*WorkspaceFeatures) DeepCopy

func (in *WorkspaceFeatures) DeepCopy() *WorkspaceFeatures

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

func (*WorkspaceFeatures) DeepCopyInto

func (in *WorkspaceFeatures) DeepCopyInto(out *WorkspaceFeatures)

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

type WorkspaceFeatures_STATUS

type WorkspaceFeatures_STATUS struct {
	ClusterResourceId                           *string                `json:"clusterResourceId,omitempty"`
	DisableLocalAuth                            *bool                  `json:"disableLocalAuth,omitempty"`
	EnableDataExport                            *bool                  `json:"enableDataExport,omitempty"`
	EnableLogAccessUsingOnlyResourcePermissions *bool                  `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"`
	ImmediatePurgeDataOn30Days                  *bool                  `json:"immediatePurgeDataOn30Days,omitempty"`
	PropertyBag                                 genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210601.WorkspaceFeatures_STATUS Workspace features.

func (*WorkspaceFeatures_STATUS) DeepCopy

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

func (*WorkspaceFeatures_STATUS) DeepCopyInto

func (in *WorkspaceFeatures_STATUS) DeepCopyInto(out *WorkspaceFeatures_STATUS)

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

type WorkspaceList

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

+kubebuilder:object:root=true Storage version of v1api20210601.Workspace Generator information: - Generated from: /operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Workspaces.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}

func (*WorkspaceList) DeepCopy

func (in *WorkspaceList) DeepCopy() *WorkspaceList

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

func (*WorkspaceList) DeepCopyInto

func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)

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

func (*WorkspaceList) DeepCopyObject

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

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

type WorkspaceSku

type WorkspaceSku struct {
	CapacityReservationLevel *int                   `json:"capacityReservationLevel,omitempty"`
	Name                     *string                `json:"name,omitempty"`
	PropertyBag              genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210601.WorkspaceSku The SKU (tier) of a workspace.

func (*WorkspaceSku) DeepCopy

func (in *WorkspaceSku) DeepCopy() *WorkspaceSku

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

func (*WorkspaceSku) DeepCopyInto

func (in *WorkspaceSku) DeepCopyInto(out *WorkspaceSku)

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

type WorkspaceSku_STATUS

type WorkspaceSku_STATUS struct {
	CapacityReservationLevel *int                   `json:"capacityReservationLevel,omitempty"`
	LastSkuUpdate            *string                `json:"lastSkuUpdate,omitempty"`
	Name                     *string                `json:"name,omitempty"`
	PropertyBag              genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210601.WorkspaceSku_STATUS The SKU (tier) of a workspace.

func (*WorkspaceSku_STATUS) DeepCopy

func (in *WorkspaceSku_STATUS) DeepCopy() *WorkspaceSku_STATUS

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

func (*WorkspaceSku_STATUS) DeepCopyInto

func (in *WorkspaceSku_STATUS) DeepCopyInto(out *WorkspaceSku_STATUS)

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

type Workspace_STATUS

type Workspace_STATUS struct {
	Conditions                      []conditions.Condition             `json:"conditions,omitempty"`
	CreatedDate                     *string                            `json:"createdDate,omitempty"`
	CustomerId                      *string                            `json:"customerId,omitempty"`
	Etag                            *string                            `json:"etag,omitempty"`
	Features                        *WorkspaceFeatures_STATUS          `json:"features,omitempty"`
	ForceCmkForQuery                *bool                              `json:"forceCmkForQuery,omitempty"`
	Id                              *string                            `json:"id,omitempty"`
	Location                        *string                            `json:"location,omitempty"`
	ModifiedDate                    *string                            `json:"modifiedDate,omitempty"`
	Name                            *string                            `json:"name,omitempty"`
	PrivateLinkScopedResources      []PrivateLinkScopedResource_STATUS `json:"privateLinkScopedResources,omitempty"`
	PropertyBag                     genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	ProvisioningState               *string                            `json:"provisioningState,omitempty"`
	PublicNetworkAccessForIngestion *string                            `json:"publicNetworkAccessForIngestion,omitempty"`
	PublicNetworkAccessForQuery     *string                            `json:"publicNetworkAccessForQuery,omitempty"`
	RetentionInDays                 *int                               `json:"retentionInDays,omitempty"`
	Sku                             *WorkspaceSku_STATUS               `json:"sku,omitempty"`
	Tags                            map[string]string                  `json:"tags,omitempty"`
	Type                            *string                            `json:"type,omitempty"`
	WorkspaceCapping                *WorkspaceCapping_STATUS           `json:"workspaceCapping,omitempty"`
}

Storage version of v1api20210601.Workspace_STATUS The top level Workspace resource container.

func (*Workspace_STATUS) ConvertStatusFrom

func (workspace *Workspace_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Workspace_STATUS from the provided source

func (*Workspace_STATUS) ConvertStatusTo

func (workspace *Workspace_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Workspace_STATUS

func (*Workspace_STATUS) DeepCopy

func (in *Workspace_STATUS) DeepCopy() *Workspace_STATUS

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

func (*Workspace_STATUS) DeepCopyInto

func (in *Workspace_STATUS) DeepCopyInto(out *Workspace_STATUS)

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

type Workspace_Spec

type Workspace_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"`
	Etag             *string            `json:"etag,omitempty"`
	Features         *WorkspaceFeatures `json:"features,omitempty"`
	ForceCmkForQuery *bool              `json:"forceCmkForQuery,omitempty"`
	Location         *string            `json:"location,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"`
	ProvisioningState               *string                            `json:"provisioningState,omitempty"`
	PublicNetworkAccessForIngestion *string                            `json:"publicNetworkAccessForIngestion,omitempty"`
	PublicNetworkAccessForQuery     *string                            `json:"publicNetworkAccessForQuery,omitempty"`
	RetentionInDays                 *int                               `json:"retentionInDays,omitempty"`
	Sku                             *WorkspaceSku                      `json:"sku,omitempty"`
	Tags                            map[string]string                  `json:"tags,omitempty"`
	WorkspaceCapping                *WorkspaceCapping                  `json:"workspaceCapping,omitempty"`
}

Storage version of v1api20210601.Workspace_Spec

func (*Workspace_Spec) ConvertSpecFrom

func (workspace *Workspace_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Workspace_Spec from the provided source

func (*Workspace_Spec) ConvertSpecTo

func (workspace *Workspace_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Workspace_Spec

func (*Workspace_Spec) DeepCopy

func (in *Workspace_Spec) DeepCopy() *Workspace_Spec

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

func (*Workspace_Spec) DeepCopyInto

func (in *Workspace_Spec) DeepCopyInto(out *Workspace_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