v1api20210501preview

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: 16 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 v1api20210501preview contains API Schema definitions for the insights v1api20210501preview API group +groupName=insights.azure.com

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

Index

Constants

View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
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: "v1api20210501preview"}

	// 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={"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: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: /monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json - ARM URI: /{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}

func (*DiagnosticSetting) AssignProperties_From_DiagnosticSetting

func (setting *DiagnosticSetting) AssignProperties_From_DiagnosticSetting(source *storage.DiagnosticSetting) error

AssignProperties_From_DiagnosticSetting populates our DiagnosticSetting from the provided source DiagnosticSetting

func (*DiagnosticSetting) AssignProperties_To_DiagnosticSetting

func (setting *DiagnosticSetting) AssignProperties_To_DiagnosticSetting(destination *storage.DiagnosticSetting) error

AssignProperties_To_DiagnosticSetting populates the provided destination DiagnosticSetting from our DiagnosticSetting

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

func (setting *DiagnosticSetting) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our DiagnosticSetting from the provided hub DiagnosticSetting

func (*DiagnosticSetting) ConvertTo

func (setting *DiagnosticSetting) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub DiagnosticSetting from our DiagnosticSetting

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

func (setting *DiagnosticSetting) Default()

Default applies defaults to the DiagnosticSetting resource

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

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

InitializeSpec initializes the spec for this resource from the given status

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

func (*DiagnosticSetting) ValidateCreate

func (setting *DiagnosticSetting) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*DiagnosticSetting) ValidateDelete

func (setting *DiagnosticSetting) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*DiagnosticSetting) ValidateUpdate

func (setting *DiagnosticSetting) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type DiagnosticSettingList

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

+kubebuilder:object:root=true 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: 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 (*DiagnosticSettingOperatorSpec) AssignProperties_From_DiagnosticSettingOperatorSpec

func (operator *DiagnosticSettingOperatorSpec) AssignProperties_From_DiagnosticSettingOperatorSpec(source *storage.DiagnosticSettingOperatorSpec) error

AssignProperties_From_DiagnosticSettingOperatorSpec populates our DiagnosticSettingOperatorSpec from the provided source DiagnosticSettingOperatorSpec

func (*DiagnosticSettingOperatorSpec) AssignProperties_To_DiagnosticSettingOperatorSpec

func (operator *DiagnosticSettingOperatorSpec) AssignProperties_To_DiagnosticSettingOperatorSpec(destination *storage.DiagnosticSettingOperatorSpec) error

AssignProperties_To_DiagnosticSettingOperatorSpec populates the provided destination DiagnosticSettingOperatorSpec from our DiagnosticSettingOperatorSpec

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: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// EventHubAuthorizationRuleId: The resource Id for the event hub authorization rule.
	EventHubAuthorizationRuleId *string `json:"eventHubAuthorizationRuleId,omitempty"`

	// EventHubName: The name of the event hub. If none is specified, the default event hub will be selected.
	EventHubName *string `json:"eventHubName,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// LogAnalyticsDestinationType: A string indicating whether the export to Log Analytics should use the default destination
	// type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized
	// category name>. Possible values are: Dedicated and null (null is default.)
	LogAnalyticsDestinationType *string `json:"logAnalyticsDestinationType,omitempty"`

	// Logs: The list of logs settings.
	Logs []LogSettings_STATUS `json:"logs,omitempty"`

	// MarketplacePartnerId: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic
	// Logs.
	MarketplacePartnerId *string `json:"marketplacePartnerId,omitempty"`

	// Metrics: The list of metric settings.
	Metrics []MetricSettings_STATUS `json:"metrics,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// ServiceBusRuleId: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
	ServiceBusRuleId *string `json:"serviceBusRuleId,omitempty"`

	// StorageAccountId: The resource ID of the storage account to which you would like to send Diagnostic Logs.
	StorageAccountId *string `json:"storageAccountId,omitempty"`

	// SystemData: The system metadata related to this resource.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// WorkspaceId: 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
	WorkspaceId *string `json:"workspaceId,omitempty"`
}

func (*DiagnosticSetting_STATUS) AssignProperties_From_DiagnosticSetting_STATUS

func (setting *DiagnosticSetting_STATUS) AssignProperties_From_DiagnosticSetting_STATUS(source *storage.DiagnosticSetting_STATUS) error

AssignProperties_From_DiagnosticSetting_STATUS populates our DiagnosticSetting_STATUS from the provided source DiagnosticSetting_STATUS

func (*DiagnosticSetting_STATUS) AssignProperties_To_DiagnosticSetting_STATUS

func (setting *DiagnosticSetting_STATUS) AssignProperties_To_DiagnosticSetting_STATUS(destination *storage.DiagnosticSetting_STATUS) error

AssignProperties_To_DiagnosticSetting_STATUS populates the provided destination DiagnosticSetting_STATUS from our 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.

func (*DiagnosticSetting_STATUS) NewEmptyARMValue

func (setting *DiagnosticSetting_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DiagnosticSetting_STATUS) PopulateFromARM

func (setting *DiagnosticSetting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

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: The name of the event hub. If none is specified, the default event hub will be selected.
	EventHubName *string `json:"eventHubName,omitempty"`

	// LogAnalyticsDestinationType: A string indicating whether the export to Log Analytics should use the default destination
	// type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized
	// category name>. Possible values are: Dedicated and null (null is default.)
	LogAnalyticsDestinationType *string `json:"logAnalyticsDestinationType,omitempty"`

	// Logs: The list of logs settings.
	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: The list of metric settings.
	Metrics []MetricSettings `json:"metrics,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *DiagnosticSettingOperatorSpec `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. This resource is an
	// extension resource, which means that any other Azure resource can be its owner.
	Owner *genruntime.ArbitraryOwnerReference `json:"owner,omitempty"`

	// ServiceBusRuleId: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
	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"`
}

func (*DiagnosticSetting_Spec) AssignProperties_From_DiagnosticSetting_Spec

func (setting *DiagnosticSetting_Spec) AssignProperties_From_DiagnosticSetting_Spec(source *storage.DiagnosticSetting_Spec) error

AssignProperties_From_DiagnosticSetting_Spec populates our DiagnosticSetting_Spec from the provided source DiagnosticSetting_Spec

func (*DiagnosticSetting_Spec) AssignProperties_To_DiagnosticSetting_Spec

func (setting *DiagnosticSetting_Spec) AssignProperties_To_DiagnosticSetting_Spec(destination *storage.DiagnosticSetting_Spec) error

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

func (setting *DiagnosticSetting_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*DiagnosticSetting_Spec) Initialize_From_DiagnosticSetting_STATUS

func (setting *DiagnosticSetting_Spec) Initialize_From_DiagnosticSetting_STATUS(source *DiagnosticSetting_STATUS) error

Initialize_From_DiagnosticSetting_STATUS populates our DiagnosticSetting_Spec from the provided source DiagnosticSetting_STATUS

func (*DiagnosticSetting_Spec) NewEmptyARMValue

func (setting *DiagnosticSetting_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DiagnosticSetting_Spec) OriginalVersion

func (setting *DiagnosticSetting_Spec) OriginalVersion() string

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

func (*DiagnosticSetting_Spec) PopulateFromARM

func (setting *DiagnosticSetting_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*DiagnosticSetting_Spec) SetAzureName

func (setting *DiagnosticSetting_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type LogSettings

type LogSettings struct {
	// Category: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of
	// Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	Category *string `json:"category,omitempty"`

	// CategoryGroup: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the
	// list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	CategoryGroup *string `json:"categoryGroup,omitempty"`

	// +kubebuilder:validation:Required
	// Enabled: a value indicating whether this log is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// RetentionPolicy: the retention policy for this log.
	RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (*LogSettings) AssignProperties_From_LogSettings

func (settings *LogSettings) AssignProperties_From_LogSettings(source *storage.LogSettings) error

AssignProperties_From_LogSettings populates our LogSettings from the provided source LogSettings

func (*LogSettings) AssignProperties_To_LogSettings

func (settings *LogSettings) AssignProperties_To_LogSettings(destination *storage.LogSettings) error

AssignProperties_To_LogSettings populates the provided destination LogSettings from our LogSettings

func (*LogSettings) ConvertToARM

func (settings *LogSettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*LogSettings) Initialize_From_LogSettings_STATUS

func (settings *LogSettings) Initialize_From_LogSettings_STATUS(source *LogSettings_STATUS) error

Initialize_From_LogSettings_STATUS populates our LogSettings from the provided source LogSettings_STATUS

func (*LogSettings) NewEmptyARMValue

func (settings *LogSettings) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*LogSettings) PopulateFromARM

func (settings *LogSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type LogSettings_STATUS

type LogSettings_STATUS struct {
	// Category: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of
	// Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	Category *string `json:"category,omitempty"`

	// CategoryGroup: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the
	// list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
	CategoryGroup *string `json:"categoryGroup,omitempty"`

	// Enabled: a value indicating whether this log is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// RetentionPolicy: the retention policy for this log.
	RetentionPolicy *RetentionPolicy_STATUS `json:"retentionPolicy,omitempty"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

func (*LogSettings_STATUS) AssignProperties_From_LogSettings_STATUS

func (settings *LogSettings_STATUS) AssignProperties_From_LogSettings_STATUS(source *storage.LogSettings_STATUS) error

AssignProperties_From_LogSettings_STATUS populates our LogSettings_STATUS from the provided source LogSettings_STATUS

func (*LogSettings_STATUS) AssignProperties_To_LogSettings_STATUS

func (settings *LogSettings_STATUS) AssignProperties_To_LogSettings_STATUS(destination *storage.LogSettings_STATUS) error

AssignProperties_To_LogSettings_STATUS populates the provided destination LogSettings_STATUS from our LogSettings_STATUS

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.

func (*LogSettings_STATUS) NewEmptyARMValue

func (settings *LogSettings_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*LogSettings_STATUS) PopulateFromARM

func (settings *LogSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricSettings

type MetricSettings struct {
	// Category: Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of
	// Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.
	Category *string `json:"category,omitempty"`

	// +kubebuilder:validation:Required
	// Enabled: a value indicating whether this category is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// RetentionPolicy: the retention policy for this category.
	RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`

	// TimeGrain: the timegrain of the metric in ISO8601 format.
	TimeGrain *string `json:"timeGrain,omitempty"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.

func (*MetricSettings) AssignProperties_From_MetricSettings

func (settings *MetricSettings) AssignProperties_From_MetricSettings(source *storage.MetricSettings) error

AssignProperties_From_MetricSettings populates our MetricSettings from the provided source MetricSettings

func (*MetricSettings) AssignProperties_To_MetricSettings

func (settings *MetricSettings) AssignProperties_To_MetricSettings(destination *storage.MetricSettings) error

AssignProperties_To_MetricSettings populates the provided destination MetricSettings from our MetricSettings

func (*MetricSettings) ConvertToARM

func (settings *MetricSettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*MetricSettings) Initialize_From_MetricSettings_STATUS

func (settings *MetricSettings) Initialize_From_MetricSettings_STATUS(source *MetricSettings_STATUS) error

Initialize_From_MetricSettings_STATUS populates our MetricSettings from the provided source MetricSettings_STATUS

func (*MetricSettings) NewEmptyARMValue

func (settings *MetricSettings) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricSettings) PopulateFromARM

func (settings *MetricSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MetricSettings_STATUS

type MetricSettings_STATUS struct {
	// Category: Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of
	// Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.
	Category *string `json:"category,omitempty"`

	// Enabled: a value indicating whether this category is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// RetentionPolicy: the retention policy for this category.
	RetentionPolicy *RetentionPolicy_STATUS `json:"retentionPolicy,omitempty"`

	// TimeGrain: the timegrain of the metric in ISO8601 format.
	TimeGrain *string `json:"timeGrain,omitempty"`
}

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.

func (*MetricSettings_STATUS) AssignProperties_From_MetricSettings_STATUS

func (settings *MetricSettings_STATUS) AssignProperties_From_MetricSettings_STATUS(source *storage.MetricSettings_STATUS) error

AssignProperties_From_MetricSettings_STATUS populates our MetricSettings_STATUS from the provided source MetricSettings_STATUS

func (*MetricSettings_STATUS) AssignProperties_To_MetricSettings_STATUS

func (settings *MetricSettings_STATUS) AssignProperties_To_MetricSettings_STATUS(destination *storage.MetricSettings_STATUS) error

AssignProperties_To_MetricSettings_STATUS populates the provided destination MetricSettings_STATUS from our MetricSettings_STATUS

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.

func (*MetricSettings_STATUS) NewEmptyARMValue

func (settings *MetricSettings_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MetricSettings_STATUS) PopulateFromARM

func (settings *MetricSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RetentionPolicy

type RetentionPolicy struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=0
	// Days: the number of days for the retention in days. A value of 0 will retain the events indefinitely.
	Days *int `json:"days,omitempty"`

	// +kubebuilder:validation:Required
	// Enabled: a value indicating whether the retention policy is enabled.
	Enabled *bool `json:"enabled,omitempty"`
}

Specifies the retention policy for the log.

func (*RetentionPolicy) AssignProperties_From_RetentionPolicy

func (policy *RetentionPolicy) AssignProperties_From_RetentionPolicy(source *storage.RetentionPolicy) error

AssignProperties_From_RetentionPolicy populates our RetentionPolicy from the provided source RetentionPolicy

func (*RetentionPolicy) AssignProperties_To_RetentionPolicy

func (policy *RetentionPolicy) AssignProperties_To_RetentionPolicy(destination *storage.RetentionPolicy) error

AssignProperties_To_RetentionPolicy populates the provided destination RetentionPolicy from our RetentionPolicy

func (*RetentionPolicy) ConvertToARM

func (policy *RetentionPolicy) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*RetentionPolicy) Initialize_From_RetentionPolicy_STATUS

func (policy *RetentionPolicy) Initialize_From_RetentionPolicy_STATUS(source *RetentionPolicy_STATUS) error

Initialize_From_RetentionPolicy_STATUS populates our RetentionPolicy from the provided source RetentionPolicy_STATUS

func (*RetentionPolicy) NewEmptyARMValue

func (policy *RetentionPolicy) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RetentionPolicy) PopulateFromARM

func (policy *RetentionPolicy) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RetentionPolicy_STATUS

type RetentionPolicy_STATUS struct {
	// Days: the number of days for the retention in days. A value of 0 will retain the events indefinitely.
	Days *int `json:"days,omitempty"`

	// Enabled: a value indicating whether the retention policy is enabled.
	Enabled *bool `json:"enabled,omitempty"`
}

Specifies the retention policy for the log.

func (*RetentionPolicy_STATUS) AssignProperties_From_RetentionPolicy_STATUS

func (policy *RetentionPolicy_STATUS) AssignProperties_From_RetentionPolicy_STATUS(source *storage.RetentionPolicy_STATUS) error

AssignProperties_From_RetentionPolicy_STATUS populates our RetentionPolicy_STATUS from the provided source RetentionPolicy_STATUS

func (*RetentionPolicy_STATUS) AssignProperties_To_RetentionPolicy_STATUS

func (policy *RetentionPolicy_STATUS) AssignProperties_To_RetentionPolicy_STATUS(destination *storage.RetentionPolicy_STATUS) error

AssignProperties_To_RetentionPolicy_STATUS populates the provided destination RetentionPolicy_STATUS from our RetentionPolicy_STATUS

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.

func (*RetentionPolicy_STATUS) NewEmptyARMValue

func (policy *RetentionPolicy_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RetentionPolicy_STATUS) PopulateFromARM

func (policy *RetentionPolicy_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

type SystemData_STATUS struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

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.

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) 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.
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