storage

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 11 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=v1api20210501previewstorage

Index

Constants

View Source
const APIVersion_Value = APIVersion("2021-05-01-preview")

Variables

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

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

type DiagnosticSetting

type DiagnosticSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DiagnosticSetting_Spec   `json:"spec,omitempty"`
	Status            DiagnosticSetting_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 v1api20210501preview.DiagnosticSetting Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json - ARM URI: /{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}

func (*DiagnosticSetting) AzureName

func (setting *DiagnosticSetting) AzureName() string

AzureName returns the Azure name of the resource

func (*DiagnosticSetting) ConfigMapDestinationExpressions

func (setting *DiagnosticSetting) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*DiagnosticSetting) DeepCopy

func (in *DiagnosticSetting) DeepCopy() *DiagnosticSetting

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

func (*DiagnosticSetting) DeepCopyInto

func (in *DiagnosticSetting) DeepCopyInto(out *DiagnosticSetting)

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

func (*DiagnosticSetting) DeepCopyObject

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

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

func (DiagnosticSetting) GetAPIVersion

func (setting DiagnosticSetting) GetAPIVersion() string

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

func (*DiagnosticSetting) GetConditions

func (setting *DiagnosticSetting) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*DiagnosticSetting) GetResourceScope

func (setting *DiagnosticSetting) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*DiagnosticSetting) GetSpec

func (setting *DiagnosticSetting) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*DiagnosticSetting) GetStatus

func (setting *DiagnosticSetting) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*DiagnosticSetting) GetSupportedOperations

func (setting *DiagnosticSetting) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*DiagnosticSetting) GetType

func (setting *DiagnosticSetting) GetType() string

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

func (*DiagnosticSetting) Hub

func (setting *DiagnosticSetting) Hub()

Hub marks that this DiagnosticSetting is the hub type for conversion

func (*DiagnosticSetting) NewEmptyStatus

func (setting *DiagnosticSetting) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*DiagnosticSetting) OriginalGVK

func (setting *DiagnosticSetting) OriginalGVK() *schema.GroupVersionKind

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

func (*DiagnosticSetting) Owner

Owner returns the ResourceReference of the owner

func (*DiagnosticSetting) SecretDestinationExpressions

func (setting *DiagnosticSetting) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*DiagnosticSetting) SetConditions

func (setting *DiagnosticSetting) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*DiagnosticSetting) SetStatus

func (setting *DiagnosticSetting) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type DiagnosticSettingList

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

+kubebuilder:object:root=true Storage version of v1api20210501preview.DiagnosticSetting Generator information: - Generated from: /monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json - ARM URI: /{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}

func (*DiagnosticSettingList) DeepCopy

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

func (*DiagnosticSettingList) DeepCopyInto

func (in *DiagnosticSettingList) DeepCopyInto(out *DiagnosticSettingList)

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

func (*DiagnosticSettingList) DeepCopyObject

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

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

type DiagnosticSettingOperatorSpec

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

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

func (*DiagnosticSettingOperatorSpec) DeepCopy

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

func (*DiagnosticSettingOperatorSpec) DeepCopyInto

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

type DiagnosticSetting_STATUS

type DiagnosticSetting_STATUS struct {
	Conditions                  []conditions.Condition  `json:"conditions,omitempty"`
	EventHubAuthorizationRuleId *string                 `json:"eventHubAuthorizationRuleId,omitempty"`
	EventHubName                *string                 `json:"eventHubName,omitempty"`
	Id                          *string                 `json:"id,omitempty"`
	LogAnalyticsDestinationType *string                 `json:"logAnalyticsDestinationType,omitempty"`
	Logs                        []LogSettings_STATUS    `json:"logs,omitempty"`
	MarketplacePartnerId        *string                 `json:"marketplacePartnerId,omitempty"`
	Metrics                     []MetricSettings_STATUS `json:"metrics,omitempty"`
	Name                        *string                 `json:"name,omitempty"`
	PropertyBag                 genruntime.PropertyBag  `json:"$propertyBag,omitempty"`
	ServiceBusRuleId            *string                 `json:"serviceBusRuleId,omitempty"`
	StorageAccountId            *string                 `json:"storageAccountId,omitempty"`
	SystemData                  *SystemData_STATUS      `json:"systemData,omitempty"`
	Type                        *string                 `json:"type,omitempty"`
	WorkspaceId                 *string                 `json:"workspaceId,omitempty"`
}

Storage version of v1api20210501preview.DiagnosticSetting_STATUS

func (*DiagnosticSetting_STATUS) ConvertStatusFrom

func (setting *DiagnosticSetting_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our DiagnosticSetting_STATUS from the provided source

func (*DiagnosticSetting_STATUS) ConvertStatusTo

func (setting *DiagnosticSetting_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our DiagnosticSetting_STATUS

func (*DiagnosticSetting_STATUS) DeepCopy

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

func (*DiagnosticSetting_STATUS) DeepCopyInto

func (in *DiagnosticSetting_STATUS) DeepCopyInto(out *DiagnosticSetting_STATUS)

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

type DiagnosticSetting_Spec

type DiagnosticSetting_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"`

	// EventHubAuthorizationRuleReference: The resource Id for the event hub authorization rule.
	EventHubAuthorizationRuleReference *genruntime.ResourceReference `armReference:"EventHubAuthorizationRuleId" json:"eventHubAuthorizationRuleReference,omitempty"`
	EventHubName                       *string                       `json:"eventHubName,omitempty"`
	LogAnalyticsDestinationType        *string                       `json:"logAnalyticsDestinationType,omitempty"`
	Logs                               []LogSettings                 `json:"logs,omitempty"`

	// MarketplacePartnerReference: The full ARM resource ID of the Marketplace resource to which you would like to send
	// Diagnostic Logs.
	MarketplacePartnerReference *genruntime.ResourceReference  `armReference:"MarketplacePartnerId" json:"marketplacePartnerReference,omitempty"`
	Metrics                     []MetricSettings               `json:"metrics,omitempty"`
	OperatorSpec                *DiagnosticSettingOperatorSpec `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. This resource is an
	// extension resource, which means that any other Azure resource can be its owner.
	Owner            *genruntime.ArbitraryOwnerReference `json:"owner,omitempty"`
	PropertyBag      genruntime.PropertyBag              `json:"$propertyBag,omitempty"`
	ServiceBusRuleId *string                             `json:"serviceBusRuleId,omitempty"`

	// StorageAccountReference: The resource ID of the storage account to which you would like to send Diagnostic Logs.
	StorageAccountReference *genruntime.ResourceReference `armReference:"StorageAccountId" json:"storageAccountReference,omitempty"`

	// WorkspaceReference: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic
	// Logs. Example:
	// /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
	WorkspaceReference *genruntime.ResourceReference `armReference:"WorkspaceId" json:"workspaceReference,omitempty"`
}

Storage version of v1api20210501preview.DiagnosticSetting_Spec

func (*DiagnosticSetting_Spec) ConvertSpecFrom

func (setting *DiagnosticSetting_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our DiagnosticSetting_Spec from the provided source

func (*DiagnosticSetting_Spec) ConvertSpecTo

func (setting *DiagnosticSetting_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our DiagnosticSetting_Spec

func (*DiagnosticSetting_Spec) DeepCopy

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

func (*DiagnosticSetting_Spec) DeepCopyInto

func (in *DiagnosticSetting_Spec) DeepCopyInto(out *DiagnosticSetting_Spec)

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

type LogSettings

type LogSettings struct {
	Category        *string                `json:"category,omitempty"`
	CategoryGroup   *string                `json:"categoryGroup,omitempty"`
	Enabled         *bool                  `json:"enabled,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	RetentionPolicy *RetentionPolicy       `json:"retentionPolicy,omitempty"`
}

Storage version of v1api20210501preview.LogSettings Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (*LogSettings) DeepCopy

func (in *LogSettings) DeepCopy() *LogSettings

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

func (*LogSettings) DeepCopyInto

func (in *LogSettings) DeepCopyInto(out *LogSettings)

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

type LogSettings_STATUS

type LogSettings_STATUS struct {
	Category        *string                 `json:"category,omitempty"`
	CategoryGroup   *string                 `json:"categoryGroup,omitempty"`
	Enabled         *bool                   `json:"enabled,omitempty"`
	PropertyBag     genruntime.PropertyBag  `json:"$propertyBag,omitempty"`
	RetentionPolicy *RetentionPolicy_STATUS `json:"retentionPolicy,omitempty"`
}

Storage version of v1api20210501preview.LogSettings_STATUS Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (*LogSettings_STATUS) DeepCopy

func (in *LogSettings_STATUS) DeepCopy() *LogSettings_STATUS

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

func (*LogSettings_STATUS) DeepCopyInto

func (in *LogSettings_STATUS) DeepCopyInto(out *LogSettings_STATUS)

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

type MetricSettings

type MetricSettings struct {
	Category        *string                `json:"category,omitempty"`
	Enabled         *bool                  `json:"enabled,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	RetentionPolicy *RetentionPolicy       `json:"retentionPolicy,omitempty"`
	TimeGrain       *string                `json:"timeGrain,omitempty"`
}

Storage version of v1api20210501preview.MetricSettings Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.

func (*MetricSettings) DeepCopy

func (in *MetricSettings) DeepCopy() *MetricSettings

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

func (*MetricSettings) DeepCopyInto

func (in *MetricSettings) DeepCopyInto(out *MetricSettings)

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

type MetricSettings_STATUS

type MetricSettings_STATUS struct {
	Category        *string                 `json:"category,omitempty"`
	Enabled         *bool                   `json:"enabled,omitempty"`
	PropertyBag     genruntime.PropertyBag  `json:"$propertyBag,omitempty"`
	RetentionPolicy *RetentionPolicy_STATUS `json:"retentionPolicy,omitempty"`
	TimeGrain       *string                 `json:"timeGrain,omitempty"`
}

Storage version of v1api20210501preview.MetricSettings_STATUS Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.

func (*MetricSettings_STATUS) DeepCopy

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

func (*MetricSettings_STATUS) DeepCopyInto

func (in *MetricSettings_STATUS) DeepCopyInto(out *MetricSettings_STATUS)

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

type RetentionPolicy

type RetentionPolicy struct {
	Days        *int                   `json:"days,omitempty"`
	Enabled     *bool                  `json:"enabled,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210501preview.RetentionPolicy Specifies the retention policy for the log.

func (*RetentionPolicy) DeepCopy

func (in *RetentionPolicy) DeepCopy() *RetentionPolicy

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

func (*RetentionPolicy) DeepCopyInto

func (in *RetentionPolicy) DeepCopyInto(out *RetentionPolicy)

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

type RetentionPolicy_STATUS

type RetentionPolicy_STATUS struct {
	Days        *int                   `json:"days,omitempty"`
	Enabled     *bool                  `json:"enabled,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210501preview.RetentionPolicy_STATUS Specifies the retention policy for the log.

func (*RetentionPolicy_STATUS) DeepCopy

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

func (*RetentionPolicy_STATUS) DeepCopyInto

func (in *RetentionPolicy_STATUS) DeepCopyInto(out *RetentionPolicy_STATUS)

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 v1api20210501preview.SystemData_STATUS Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

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.

Jump to

Keyboard shortcuts

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