Documentation ¶
Overview ¶
Package storage contains API Schema definitions for the alertsmanagement storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=alertsmanagement.azure.com +versionName=v1api20210401storage
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- Variables
- type APIVersion
- type ActionGroupsInformation
- type ActionGroupsInformation_STATUS
- type Detector
- type DetectorParameterDefinition_STATUS
- type Detector_STATUS
- type SmartDetectorAlertRule
- func (rule *SmartDetectorAlertRule) AzureName() string
- func (rule *SmartDetectorAlertRule) ConfigMapDestinationExpressions() []*core.DestinationExpression
- func (in *SmartDetectorAlertRule) DeepCopy() *SmartDetectorAlertRule
- func (in *SmartDetectorAlertRule) DeepCopyInto(out *SmartDetectorAlertRule)
- func (in *SmartDetectorAlertRule) DeepCopyObject() runtime.Object
- func (rule SmartDetectorAlertRule) GetAPIVersion() string
- func (rule *SmartDetectorAlertRule) GetConditions() conditions.Conditions
- func (rule *SmartDetectorAlertRule) GetResourceScope() genruntime.ResourceScope
- func (rule *SmartDetectorAlertRule) GetSpec() genruntime.ConvertibleSpec
- func (rule *SmartDetectorAlertRule) GetStatus() genruntime.ConvertibleStatus
- func (rule *SmartDetectorAlertRule) GetSupportedOperations() []genruntime.ResourceOperation
- func (rule *SmartDetectorAlertRule) GetType() string
- func (rule *SmartDetectorAlertRule) Hub()
- func (rule *SmartDetectorAlertRule) NewEmptyStatus() genruntime.ConvertibleStatus
- func (rule *SmartDetectorAlertRule) OriginalGVK() *schema.GroupVersionKind
- func (rule *SmartDetectorAlertRule) Owner() *genruntime.ResourceReference
- func (rule *SmartDetectorAlertRule) SecretDestinationExpressions() []*core.DestinationExpression
- func (rule *SmartDetectorAlertRule) SetConditions(conditions conditions.Conditions)
- func (rule *SmartDetectorAlertRule) SetStatus(status genruntime.ConvertibleStatus) error
- type SmartDetectorAlertRuleList
- type SmartDetectorAlertRuleOperatorSpec
- type SmartDetectorAlertRule_STATUS
- func (rule *SmartDetectorAlertRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
- func (rule *SmartDetectorAlertRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
- func (in *SmartDetectorAlertRule_STATUS) DeepCopy() *SmartDetectorAlertRule_STATUS
- func (in *SmartDetectorAlertRule_STATUS) DeepCopyInto(out *SmartDetectorAlertRule_STATUS)
- type SmartDetectorAlertRule_Spec
- func (rule *SmartDetectorAlertRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
- func (rule *SmartDetectorAlertRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
- func (in *SmartDetectorAlertRule_Spec) DeepCopy() *SmartDetectorAlertRule_Spec
- func (in *SmartDetectorAlertRule_Spec) DeepCopyInto(out *SmartDetectorAlertRule_Spec)
- type ThrottlingInformation
- type ThrottlingInformation_STATUS
Constants ¶
const APIVersion_Value = APIVersion("2021-04-01")
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "alertsmanagement.azure.com", Version: "v1api20210401storage"} // 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 v1api20210401.APIVersion +kubebuilder:validation:Enum={"2021-04-01"}
type ActionGroupsInformation ¶
type ActionGroupsInformation struct { CustomEmailSubject *string `json:"customEmailSubject,omitempty"` CustomWebhookPayload *string `json:"customWebhookPayload,omitempty"` GroupReferences []genruntime.ResourceReference `armReference:"GroupIds" json:"groupReferences,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` }
Storage version of v1api20210401.ActionGroupsInformation The Action Groups information, used by the alert rule.
func (*ActionGroupsInformation) DeepCopy ¶
func (in *ActionGroupsInformation) DeepCopy() *ActionGroupsInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupsInformation.
func (*ActionGroupsInformation) DeepCopyInto ¶
func (in *ActionGroupsInformation) DeepCopyInto(out *ActionGroupsInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionGroupsInformation_STATUS ¶
type ActionGroupsInformation_STATUS struct { CustomEmailSubject *string `json:"customEmailSubject,omitempty"` CustomWebhookPayload *string `json:"customWebhookPayload,omitempty"` GroupIds []string `json:"groupIds,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` }
Storage version of v1api20210401.ActionGroupsInformation_STATUS The Action Groups information, used by the alert rule.
func (*ActionGroupsInformation_STATUS) DeepCopy ¶
func (in *ActionGroupsInformation_STATUS) DeepCopy() *ActionGroupsInformation_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupsInformation_STATUS.
func (*ActionGroupsInformation_STATUS) DeepCopyInto ¶
func (in *ActionGroupsInformation_STATUS) DeepCopyInto(out *ActionGroupsInformation_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Detector ¶
type Detector struct { Id *string `json:"id,omitempty"` Parameters map[string]v1.JSON `json:"parameters,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` }
Storage version of v1api20210401.Detector The detector information. By default this is not populated, unless it's specified in expandDetector
func (*Detector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Detector.
func (*Detector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetectorParameterDefinition_STATUS ¶
type DetectorParameterDefinition_STATUS struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsMandatory *bool `json:"isMandatory,omitempty"` Name *string `json:"name,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` Type *string `json:"type,omitempty"` }
Storage version of v1api20210401.DetectorParameterDefinition_STATUS The detector parameter definition.
func (*DetectorParameterDefinition_STATUS) DeepCopy ¶
func (in *DetectorParameterDefinition_STATUS) DeepCopy() *DetectorParameterDefinition_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectorParameterDefinition_STATUS.
func (*DetectorParameterDefinition_STATUS) DeepCopyInto ¶
func (in *DetectorParameterDefinition_STATUS) DeepCopyInto(out *DetectorParameterDefinition_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Detector_STATUS ¶
type Detector_STATUS struct { Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` ImagePaths []string `json:"imagePaths,omitempty"` Name *string `json:"name,omitempty"` ParameterDefinitions []DetectorParameterDefinition_STATUS `json:"parameterDefinitions,omitempty"` Parameters map[string]v1.JSON `json:"parameters,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` SupportedCadences []int `json:"supportedCadences,omitempty"` SupportedResourceTypes []string `json:"supportedResourceTypes,omitempty"` }
Storage version of v1api20210401.Detector_STATUS The detector information. By default this is not populated, unless it's specified in expandDetector
func (*Detector_STATUS) DeepCopy ¶
func (in *Detector_STATUS) DeepCopy() *Detector_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Detector_STATUS.
func (*Detector_STATUS) DeepCopyInto ¶
func (in *Detector_STATUS) DeepCopyInto(out *Detector_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SmartDetectorAlertRule ¶
type SmartDetectorAlertRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SmartDetectorAlertRule_Spec `json:"spec,omitempty"` Status SmartDetectorAlertRule_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 v1api20210401.SmartDetectorAlertRule Generator information: - Generated from: /alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-04-01/SmartDetectorAlertRulesApi.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}
func (*SmartDetectorAlertRule) AzureName ¶
func (rule *SmartDetectorAlertRule) AzureName() string
AzureName returns the Azure name of the resource
func (*SmartDetectorAlertRule) ConfigMapDestinationExpressions ¶
func (rule *SmartDetectorAlertRule) ConfigMapDestinationExpressions() []*core.DestinationExpression
ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property
func (*SmartDetectorAlertRule) DeepCopy ¶
func (in *SmartDetectorAlertRule) DeepCopy() *SmartDetectorAlertRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRule.
func (*SmartDetectorAlertRule) DeepCopyInto ¶
func (in *SmartDetectorAlertRule) DeepCopyInto(out *SmartDetectorAlertRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SmartDetectorAlertRule) DeepCopyObject ¶
func (in *SmartDetectorAlertRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (SmartDetectorAlertRule) GetAPIVersion ¶
func (rule SmartDetectorAlertRule) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2021-04-01"
func (*SmartDetectorAlertRule) GetConditions ¶
func (rule *SmartDetectorAlertRule) GetConditions() conditions.Conditions
GetConditions returns the conditions of the resource
func (*SmartDetectorAlertRule) GetResourceScope ¶
func (rule *SmartDetectorAlertRule) GetResourceScope() genruntime.ResourceScope
GetResourceScope returns the scope of the resource
func (*SmartDetectorAlertRule) GetSpec ¶
func (rule *SmartDetectorAlertRule) GetSpec() genruntime.ConvertibleSpec
GetSpec returns the specification of this resource
func (*SmartDetectorAlertRule) GetStatus ¶
func (rule *SmartDetectorAlertRule) GetStatus() genruntime.ConvertibleStatus
GetStatus returns the status of this resource
func (*SmartDetectorAlertRule) GetSupportedOperations ¶
func (rule *SmartDetectorAlertRule) GetSupportedOperations() []genruntime.ResourceOperation
GetSupportedOperations returns the operations supported by the resource
func (*SmartDetectorAlertRule) GetType ¶
func (rule *SmartDetectorAlertRule) GetType() string
GetType returns the ARM Type of the resource. This is always "microsoft.alertsManagement/smartDetectorAlertRules"
func (*SmartDetectorAlertRule) Hub ¶
func (rule *SmartDetectorAlertRule) Hub()
Hub marks that this SmartDetectorAlertRule is the hub type for conversion
func (*SmartDetectorAlertRule) NewEmptyStatus ¶
func (rule *SmartDetectorAlertRule) NewEmptyStatus() genruntime.ConvertibleStatus
NewEmptyStatus returns a new empty (blank) status
func (*SmartDetectorAlertRule) OriginalGVK ¶
func (rule *SmartDetectorAlertRule) OriginalGVK() *schema.GroupVersionKind
OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (*SmartDetectorAlertRule) Owner ¶
func (rule *SmartDetectorAlertRule) Owner() *genruntime.ResourceReference
Owner returns the ResourceReference of the owner
func (*SmartDetectorAlertRule) SecretDestinationExpressions ¶
func (rule *SmartDetectorAlertRule) SecretDestinationExpressions() []*core.DestinationExpression
SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property
func (*SmartDetectorAlertRule) SetConditions ¶
func (rule *SmartDetectorAlertRule) SetConditions(conditions conditions.Conditions)
SetConditions sets the conditions on the resource status
func (*SmartDetectorAlertRule) SetStatus ¶
func (rule *SmartDetectorAlertRule) SetStatus(status genruntime.ConvertibleStatus) error
SetStatus sets the status of this resource
type SmartDetectorAlertRuleList ¶
type SmartDetectorAlertRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SmartDetectorAlertRule `json:"items"` }
+kubebuilder:object:root=true Storage version of v1api20210401.SmartDetectorAlertRule Generator information: - Generated from: /alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-04-01/SmartDetectorAlertRulesApi.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}
func (*SmartDetectorAlertRuleList) DeepCopy ¶
func (in *SmartDetectorAlertRuleList) DeepCopy() *SmartDetectorAlertRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleList.
func (*SmartDetectorAlertRuleList) DeepCopyInto ¶
func (in *SmartDetectorAlertRuleList) DeepCopyInto(out *SmartDetectorAlertRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SmartDetectorAlertRuleList) DeepCopyObject ¶
func (in *SmartDetectorAlertRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SmartDetectorAlertRuleOperatorSpec ¶
type SmartDetectorAlertRuleOperatorSpec struct { ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"` }
Storage version of v1api20210401.SmartDetectorAlertRuleOperatorSpec Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
func (*SmartDetectorAlertRuleOperatorSpec) DeepCopy ¶
func (in *SmartDetectorAlertRuleOperatorSpec) DeepCopy() *SmartDetectorAlertRuleOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleOperatorSpec.
func (*SmartDetectorAlertRuleOperatorSpec) DeepCopyInto ¶
func (in *SmartDetectorAlertRuleOperatorSpec) DeepCopyInto(out *SmartDetectorAlertRuleOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SmartDetectorAlertRule_STATUS ¶
type SmartDetectorAlertRule_STATUS struct { ActionGroups *ActionGroupsInformation_STATUS `json:"actionGroups,omitempty"` Conditions []conditions.Condition `json:"conditions,omitempty"` Description *string `json:"description,omitempty"` Detector *Detector_STATUS `json:"detector,omitempty"` Frequency *string `json:"frequency,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` Scope []string `json:"scope,omitempty"` Severity *string `json:"severity,omitempty"` State *string `json:"state,omitempty"` Tags map[string]string `json:"tags,omitempty"` Throttling *ThrottlingInformation_STATUS `json:"throttling,omitempty"` Type *string `json:"type,omitempty"` }
Storage version of v1api20210401.SmartDetectorAlertRule_STATUS
func (*SmartDetectorAlertRule_STATUS) ConvertStatusFrom ¶
func (rule *SmartDetectorAlertRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
ConvertStatusFrom populates our SmartDetectorAlertRule_STATUS from the provided source
func (*SmartDetectorAlertRule_STATUS) ConvertStatusTo ¶
func (rule *SmartDetectorAlertRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
ConvertStatusTo populates the provided destination from our SmartDetectorAlertRule_STATUS
func (*SmartDetectorAlertRule_STATUS) DeepCopy ¶
func (in *SmartDetectorAlertRule_STATUS) DeepCopy() *SmartDetectorAlertRule_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRule_STATUS.
func (*SmartDetectorAlertRule_STATUS) DeepCopyInto ¶
func (in *SmartDetectorAlertRule_STATUS) DeepCopyInto(out *SmartDetectorAlertRule_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SmartDetectorAlertRule_Spec ¶
type SmartDetectorAlertRule_Spec struct { ActionGroups *ActionGroupsInformation `json:"actionGroups,omitempty"` // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it // doesn't have to be. AzureName string `json:"azureName,omitempty"` Description *string `json:"description,omitempty"` Detector *Detector `json:"detector,omitempty"` Frequency *string `json:"frequency,omitempty"` Location *string `json:"location,omitempty"` OperatorSpec *SmartDetectorAlertRuleOperatorSpec `json:"operatorSpec,omitempty"` OriginalVersion string `json:"originalVersion,omitempty"` // +kubebuilder:validation:Required // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a // reference to a resources.azure.com/ResourceGroup resource Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` ScopeReferences []genruntime.ResourceReference `armReference:"Scope" json:"scopeReferences,omitempty"` Severity *string `json:"severity,omitempty"` State *string `json:"state,omitempty"` Tags map[string]string `json:"tags,omitempty"` Throttling *ThrottlingInformation `json:"throttling,omitempty"` }
Storage version of v1api20210401.SmartDetectorAlertRule_Spec
func (*SmartDetectorAlertRule_Spec) ConvertSpecFrom ¶
func (rule *SmartDetectorAlertRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
ConvertSpecFrom populates our SmartDetectorAlertRule_Spec from the provided source
func (*SmartDetectorAlertRule_Spec) ConvertSpecTo ¶
func (rule *SmartDetectorAlertRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
ConvertSpecTo populates the provided destination from our SmartDetectorAlertRule_Spec
func (*SmartDetectorAlertRule_Spec) DeepCopy ¶
func (in *SmartDetectorAlertRule_Spec) DeepCopy() *SmartDetectorAlertRule_Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRule_Spec.
func (*SmartDetectorAlertRule_Spec) DeepCopyInto ¶
func (in *SmartDetectorAlertRule_Spec) DeepCopyInto(out *SmartDetectorAlertRule_Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThrottlingInformation ¶
type ThrottlingInformation struct { Duration *string `json:"duration,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` }
Storage version of v1api20210401.ThrottlingInformation Optional throttling information for the alert rule.
func (*ThrottlingInformation) DeepCopy ¶
func (in *ThrottlingInformation) DeepCopy() *ThrottlingInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThrottlingInformation.
func (*ThrottlingInformation) DeepCopyInto ¶
func (in *ThrottlingInformation) DeepCopyInto(out *ThrottlingInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThrottlingInformation_STATUS ¶
type ThrottlingInformation_STATUS struct { Duration *string `json:"duration,omitempty"` PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` }
Storage version of v1api20210401.ThrottlingInformation_STATUS Optional throttling information for the alert rule.
func (*ThrottlingInformation_STATUS) DeepCopy ¶
func (in *ThrottlingInformation_STATUS) DeepCopy() *ThrottlingInformation_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThrottlingInformation_STATUS.
func (*ThrottlingInformation_STATUS) DeepCopyInto ¶
func (in *ThrottlingInformation_STATUS) DeepCopyInto(out *ThrottlingInformation_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.