v1alpha1

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=smn.huaweicloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "smn.huaweicloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Logtank_Kind             = "Logtank"
	Logtank_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Logtank_Kind}.String()
	Logtank_KindAPIVersion   = Logtank_Kind + "." + CRDGroupVersion.String()
	Logtank_GroupVersionKind = CRDGroupVersion.WithKind(Logtank_Kind)
)

Repository type metadata.

View Source
var (
	MessageDetection_Kind             = "MessageDetection"
	MessageDetection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MessageDetection_Kind}.String()
	MessageDetection_KindAPIVersion   = MessageDetection_Kind + "." + CRDGroupVersion.String()
	MessageDetection_GroupVersionKind = CRDGroupVersion.WithKind(MessageDetection_Kind)
)

Repository type metadata.

View Source
var (
	MessagePublish_Kind             = "MessagePublish"
	MessagePublish_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MessagePublish_Kind}.String()
	MessagePublish_KindAPIVersion   = MessagePublish_Kind + "." + CRDGroupVersion.String()
	MessagePublish_GroupVersionKind = CRDGroupVersion.WithKind(MessagePublish_Kind)
)

Repository type metadata.

View Source
var (
	MessageTemplate_Kind             = "MessageTemplate"
	MessageTemplate_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MessageTemplate_Kind}.String()
	MessageTemplate_KindAPIVersion   = MessageTemplate_Kind + "." + CRDGroupVersion.String()
	MessageTemplate_GroupVersionKind = CRDGroupVersion.WithKind(MessageTemplate_Kind)
)

Repository type metadata.

View Source
var (
	Subscription_Kind             = "Subscription"
	Subscription_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Subscription_Kind}.String()
	Subscription_KindAPIVersion   = Subscription_Kind + "." + CRDGroupVersion.String()
	Subscription_GroupVersionKind = CRDGroupVersion.WithKind(Subscription_Kind)
)

Repository type metadata.

View Source
var (
	SubscriptionFilterPolicy_Kind             = "SubscriptionFilterPolicy"
	SubscriptionFilterPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionFilterPolicy_Kind}.String()
	SubscriptionFilterPolicy_KindAPIVersion   = SubscriptionFilterPolicy_Kind + "." + CRDGroupVersion.String()
	SubscriptionFilterPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionFilterPolicy_Kind)
)

Repository type metadata.

View Source
var (
	Topic_Kind             = "Topic"
	Topic_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Topic_Kind}.String()
	Topic_KindAPIVersion   = Topic_Kind + "." + CRDGroupVersion.String()
	Topic_GroupVersionKind = CRDGroupVersion.WithKind(Topic_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ExtensionInitParameters

type ExtensionInitParameters struct {

	// Specifies the client ID. This field is the tenant ID field in
	// the WeLink subscription and is obtained by the tenant from WeLink. This field is mandatory when protocol
	// is set to welink. Changing this parameter will create a new resource.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Specifies the client secret. This field is the client secret
	// field obtained by the tenant from WeLink. This field is mandatory when protocol is set to welink.
	// Changing this parameter will create a new resource.
	ClientSecret *string `json:"clientSecret,omitempty" tf:"client_secret,omitempty"`

	// Specifies the keyword. When protocol is set to feishu,
	// either keyword or sign_secret must be specified. When you use keywords to configure a security policy
	// for the Lark or DingTalk chatbot on SMN, the keywords must have one of the keywords configured on the Lark
	// or DingTalk client. Changing this parameter will create a new resource.
	Keyword *string `json:"keyword,omitempty" tf:"keyword,omitempty"`

	// Specifies the key including signature. When protocol is set
	// to feishu or dingding, this field or keyword must be specified. The key configurations must be
	// the same as those on the Lark or DingTalk client. For example, if only key is configured on the Lark client,
	// enter the key field obtained from the Lark client. If only keyword is configured on the Lark client, skip this field.
	// Changing this parameter will create a new resource.
	SignSecret *string `json:"signSecret,omitempty" tf:"sign_secret,omitempty"`
}

func (*ExtensionInitParameters) DeepCopy

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

func (*ExtensionInitParameters) DeepCopyInto

func (in *ExtensionInitParameters) DeepCopyInto(out *ExtensionInitParameters)

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

type ExtensionObservation

type ExtensionObservation struct {

	// Specifies the client ID. This field is the tenant ID field in
	// the WeLink subscription and is obtained by the tenant from WeLink. This field is mandatory when protocol
	// is set to welink. Changing this parameter will create a new resource.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Specifies the client secret. This field is the client secret
	// field obtained by the tenant from WeLink. This field is mandatory when protocol is set to welink.
	// Changing this parameter will create a new resource.
	ClientSecret *string `json:"clientSecret,omitempty" tf:"client_secret,omitempty"`

	// Specifies the keyword. When protocol is set to feishu,
	// either keyword or sign_secret must be specified. When you use keywords to configure a security policy
	// for the Lark or DingTalk chatbot on SMN, the keywords must have one of the keywords configured on the Lark
	// or DingTalk client. Changing this parameter will create a new resource.
	Keyword *string `json:"keyword,omitempty" tf:"keyword,omitempty"`

	// Specifies the key including signature. When protocol is set
	// to feishu or dingding, this field or keyword must be specified. The key configurations must be
	// the same as those on the Lark or DingTalk client. For example, if only key is configured on the Lark client,
	// enter the key field obtained from the Lark client. If only keyword is configured on the Lark client, skip this field.
	// Changing this parameter will create a new resource.
	SignSecret *string `json:"signSecret,omitempty" tf:"sign_secret,omitempty"`
}

func (*ExtensionObservation) DeepCopy

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

func (*ExtensionObservation) DeepCopyInto

func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation)

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

type ExtensionParameters

type ExtensionParameters struct {

	// Specifies the client ID. This field is the tenant ID field in
	// the WeLink subscription and is obtained by the tenant from WeLink. This field is mandatory when protocol
	// is set to welink. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Specifies the client secret. This field is the client secret
	// field obtained by the tenant from WeLink. This field is mandatory when protocol is set to welink.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ClientSecret *string `json:"clientSecret,omitempty" tf:"client_secret,omitempty"`

	// Specifies the keyword. When protocol is set to feishu,
	// either keyword or sign_secret must be specified. When you use keywords to configure a security policy
	// for the Lark or DingTalk chatbot on SMN, the keywords must have one of the keywords configured on the Lark
	// or DingTalk client. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Keyword *string `json:"keyword,omitempty" tf:"keyword,omitempty"`

	// Specifies the key including signature. When protocol is set
	// to feishu or dingding, this field or keyword must be specified. The key configurations must be
	// the same as those on the Lark or DingTalk client. For example, if only key is configured on the Lark client,
	// enter the key field obtained from the Lark client. If only keyword is configured on the Lark client, skip this field.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	SignSecret *string `json:"signSecret,omitempty" tf:"sign_secret,omitempty"`
}

func (*ExtensionParameters) DeepCopy

func (in *ExtensionParameters) DeepCopy() *ExtensionParameters

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

func (*ExtensionParameters) DeepCopyInto

func (in *ExtensionParameters) DeepCopyInto(out *ExtensionParameters)

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

type FilterPoliciesInitParameters

type FilterPoliciesInitParameters struct {
}

func (*FilterPoliciesInitParameters) DeepCopy

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

func (*FilterPoliciesInitParameters) DeepCopyInto

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

type FilterPoliciesObservation

type FilterPoliciesObservation struct {

	// The filter policy name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The string array for exact match.
	StringEquals []*string `json:"stringEquals,omitempty" tf:"string_equals,omitempty"`
}

func (*FilterPoliciesObservation) DeepCopy

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

func (*FilterPoliciesObservation) DeepCopyInto

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

type FilterPoliciesParameters

type FilterPoliciesParameters struct {
}

func (*FilterPoliciesParameters) DeepCopy

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

func (*FilterPoliciesParameters) DeepCopyInto

func (in *FilterPoliciesParameters) DeepCopyInto(out *FilterPoliciesParameters)

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

type Logtank

type Logtank struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logGroupId) || (has(self.initProvider) && has(self.initProvider.logGroupId))",message="spec.forProvider.logGroupId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logStreamId) || (has(self.initProvider) && has(self.initProvider.logStreamId))",message="spec.forProvider.logStreamId is a required parameter"
	Spec   LogtankSpec   `json:"spec"`
	Status LogtankStatus `json:"status,omitempty"`
}

Logtank is the Schema for the Logtanks API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*Logtank) DeepCopy

func (in *Logtank) DeepCopy() *Logtank

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

func (*Logtank) DeepCopyInto

func (in *Logtank) DeepCopyInto(out *Logtank)

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

func (*Logtank) DeepCopyObject

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

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

func (*Logtank) GetCondition

func (mg *Logtank) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Logtank.

func (*Logtank) GetConnectionDetailsMapping

func (tr *Logtank) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Logtank

func (*Logtank) GetDeletionPolicy

func (mg *Logtank) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Logtank.

func (*Logtank) GetID

func (tr *Logtank) GetID() string

GetID returns ID of underlying Terraform resource of this Logtank

func (*Logtank) GetInitParameters

func (tr *Logtank) GetInitParameters() (map[string]any, error)

GetInitParameters of this Logtank

func (*Logtank) GetManagementPolicies

func (mg *Logtank) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Logtank.

func (*Logtank) GetMergedParameters

func (tr *Logtank) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Logtank

func (*Logtank) GetObservation

func (tr *Logtank) GetObservation() (map[string]any, error)

GetObservation of this Logtank

func (*Logtank) GetParameters

func (tr *Logtank) GetParameters() (map[string]any, error)

GetParameters of this Logtank

func (*Logtank) GetProviderConfigReference

func (mg *Logtank) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Logtank.

func (*Logtank) GetPublishConnectionDetailsTo

func (mg *Logtank) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Logtank.

func (*Logtank) GetTerraformResourceType

func (mg *Logtank) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Logtank

func (*Logtank) GetTerraformSchemaVersion

func (tr *Logtank) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Logtank) GetWriteConnectionSecretToReference

func (mg *Logtank) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Logtank.

func (*Logtank) Hub

func (tr *Logtank) Hub()

Hub marks this type as a conversion hub.

func (*Logtank) LateInitialize

func (tr *Logtank) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Logtank using its observed tfState. returns True if there are any spec changes for the resource.

func (*Logtank) ResolveReferences

func (mg *Logtank) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Logtank.

func (*Logtank) SetConditions

func (mg *Logtank) SetConditions(c ...xpv1.Condition)

SetConditions of this Logtank.

func (*Logtank) SetDeletionPolicy

func (mg *Logtank) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Logtank.

func (*Logtank) SetManagementPolicies

func (mg *Logtank) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Logtank.

func (*Logtank) SetObservation

func (tr *Logtank) SetObservation(obs map[string]any) error

SetObservation for this Logtank

func (*Logtank) SetParameters

func (tr *Logtank) SetParameters(params map[string]any) error

SetParameters for this Logtank

func (*Logtank) SetProviderConfigReference

func (mg *Logtank) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Logtank.

func (*Logtank) SetPublishConnectionDetailsTo

func (mg *Logtank) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Logtank.

func (*Logtank) SetWriteConnectionSecretToReference

func (mg *Logtank) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Logtank.

type LogtankInitParameters

type LogtankInitParameters struct {

	// The lts log group ID.
	LogGroupID *string `json:"logGroupId,omitempty" tf:"log_group_id,omitempty"`

	// The lts log stream ID.
	LogStreamID *string `json:"logStreamId,omitempty" tf:"log_stream_id,omitempty"`

	// The region in which to create the SMN logtank resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Resource identifier of a topic, which is unique.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*LogtankInitParameters) DeepCopy

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

func (*LogtankInitParameters) DeepCopyInto

func (in *LogtankInitParameters) DeepCopyInto(out *LogtankInitParameters)

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

type LogtankList

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

LogtankList contains a list of Logtanks

func (*LogtankList) DeepCopy

func (in *LogtankList) DeepCopy() *LogtankList

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

func (*LogtankList) DeepCopyInto

func (in *LogtankList) DeepCopyInto(out *LogtankList)

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

func (*LogtankList) DeepCopyObject

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

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

func (*LogtankList) GetItems

func (l *LogtankList) GetItems() []resource.Managed

GetItems of this LogtankList.

type LogtankObservation

type LogtankObservation struct {

	// Time when the logtank was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// The resource ID. The value is the topic URN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The lts log group ID.
	LogGroupID *string `json:"logGroupId,omitempty" tf:"log_group_id,omitempty"`

	// The lts log stream ID.
	LogStreamID *string `json:"logStreamId,omitempty" tf:"log_stream_id,omitempty"`

	// The ID of the logtank.
	LogtankID *string `json:"logtankId,omitempty" tf:"logtank_id,omitempty"`

	// The region in which to create the SMN logtank resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Resource identifier of a topic, which is unique.
	// Changing this parameter will create a new resource.
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Time when the logtank was updated.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*LogtankObservation) DeepCopy

func (in *LogtankObservation) DeepCopy() *LogtankObservation

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

func (*LogtankObservation) DeepCopyInto

func (in *LogtankObservation) DeepCopyInto(out *LogtankObservation)

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

type LogtankParameters

type LogtankParameters struct {

	// The lts log group ID.
	// +kubebuilder:validation:Optional
	LogGroupID *string `json:"logGroupId,omitempty" tf:"log_group_id,omitempty"`

	// The lts log stream ID.
	// +kubebuilder:validation:Optional
	LogStreamID *string `json:"logStreamId,omitempty" tf:"log_stream_id,omitempty"`

	// The region in which to create the SMN logtank resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Resource identifier of a topic, which is unique.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*LogtankParameters) DeepCopy

func (in *LogtankParameters) DeepCopy() *LogtankParameters

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

func (*LogtankParameters) DeepCopyInto

func (in *LogtankParameters) DeepCopyInto(out *LogtankParameters)

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

type LogtankSpec

type LogtankSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogtankParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider LogtankInitParameters `json:"initProvider,omitempty"`
}

LogtankSpec defines the desired state of Logtank

func (*LogtankSpec) DeepCopy

func (in *LogtankSpec) DeepCopy() *LogtankSpec

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

func (*LogtankSpec) DeepCopyInto

func (in *LogtankSpec) DeepCopyInto(out *LogtankSpec)

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

type LogtankStatus

type LogtankStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LogtankObservation `json:"atProvider,omitempty"`
}

LogtankStatus defines the observed state of Logtank.

func (*LogtankStatus) DeepCopy

func (in *LogtankStatus) DeepCopy() *LogtankStatus

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

func (*LogtankStatus) DeepCopyInto

func (in *LogtankStatus) DeepCopyInto(out *LogtankStatus)

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

type MessageAttributesInitParameters

type MessageAttributesInitParameters struct {

	// Specifies the property name.
	// Specifies the property name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the property type.
	// The value can be STRING, STRING_ARRAY or PROTOCOL.
	// Specifies the property type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the property value.
	// This parameter is valid only when the type set to STRING. The attribute value can only contain Chinese
	// and English, numbers, and underscores, and the length is 1 to 32 characters.
	// Specifies the property value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Specifies the property values.
	// This parameter is valid when the type set to STRING_ARRAY or PROTOCOL.
	// Specifies the property values.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*MessageAttributesInitParameters) DeepCopy

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

func (*MessageAttributesInitParameters) DeepCopyInto

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

type MessageAttributesObservation

type MessageAttributesObservation struct {

	// Specifies the property name.
	// Specifies the property name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the property type.
	// The value can be STRING, STRING_ARRAY or PROTOCOL.
	// Specifies the property type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the property value.
	// This parameter is valid only when the type set to STRING. The attribute value can only contain Chinese
	// and English, numbers, and underscores, and the length is 1 to 32 characters.
	// Specifies the property value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Specifies the property values.
	// This parameter is valid when the type set to STRING_ARRAY or PROTOCOL.
	// Specifies the property values.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*MessageAttributesObservation) DeepCopy

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

func (*MessageAttributesObservation) DeepCopyInto

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

type MessageAttributesParameters

type MessageAttributesParameters struct {

	// Specifies the property name.
	// Specifies the property name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the property type.
	// The value can be STRING, STRING_ARRAY or PROTOCOL.
	// Specifies the property type.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`

	// Specifies the property value.
	// This parameter is valid only when the type set to STRING. The attribute value can only contain Chinese
	// and English, numbers, and underscores, and the length is 1 to 32 characters.
	// Specifies the property value.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Specifies the property values.
	// This parameter is valid when the type set to STRING_ARRAY or PROTOCOL.
	// Specifies the property values.
	// +kubebuilder:validation:Optional
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*MessageAttributesParameters) DeepCopy

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

func (*MessageAttributesParameters) DeepCopyInto

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

type MessageDetection

type MessageDetection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpoint) || (has(self.initProvider) && has(self.initProvider.endpoint))",message="spec.forProvider.endpoint is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter"
	Spec   MessageDetectionSpec   `json:"spec"`
	Status MessageDetectionStatus `json:"status,omitempty"`
}

MessageDetection is the Schema for the MessageDetections API. Manages a SMN message detection resource within HuaweiCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*MessageDetection) DeepCopy

func (in *MessageDetection) DeepCopy() *MessageDetection

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

func (*MessageDetection) DeepCopyInto

func (in *MessageDetection) DeepCopyInto(out *MessageDetection)

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

func (*MessageDetection) DeepCopyObject

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

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

func (*MessageDetection) GetCondition

func (mg *MessageDetection) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this MessageDetection.

func (*MessageDetection) GetConnectionDetailsMapping

func (tr *MessageDetection) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MessageDetection

func (*MessageDetection) GetDeletionPolicy

func (mg *MessageDetection) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this MessageDetection.

func (*MessageDetection) GetID

func (tr *MessageDetection) GetID() string

GetID returns ID of underlying Terraform resource of this MessageDetection

func (*MessageDetection) GetInitParameters

func (tr *MessageDetection) GetInitParameters() (map[string]any, error)

GetInitParameters of this MessageDetection

func (*MessageDetection) GetManagementPolicies

func (mg *MessageDetection) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MessageDetection.

func (*MessageDetection) GetMergedParameters

func (tr *MessageDetection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MessageDetection

func (*MessageDetection) GetObservation

func (tr *MessageDetection) GetObservation() (map[string]any, error)

GetObservation of this MessageDetection

func (*MessageDetection) GetParameters

func (tr *MessageDetection) GetParameters() (map[string]any, error)

GetParameters of this MessageDetection

func (*MessageDetection) GetProviderConfigReference

func (mg *MessageDetection) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this MessageDetection.

func (*MessageDetection) GetPublishConnectionDetailsTo

func (mg *MessageDetection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this MessageDetection.

func (*MessageDetection) GetTerraformResourceType

func (mg *MessageDetection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MessageDetection

func (*MessageDetection) GetTerraformSchemaVersion

func (tr *MessageDetection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MessageDetection) GetWriteConnectionSecretToReference

func (mg *MessageDetection) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this MessageDetection.

func (*MessageDetection) Hub

func (tr *MessageDetection) Hub()

Hub marks this type as a conversion hub.

func (*MessageDetection) LateInitialize

func (tr *MessageDetection) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MessageDetection using its observed tfState. returns True if there are any spec changes for the resource.

func (*MessageDetection) ResolveReferences

func (mg *MessageDetection) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this MessageDetection.

func (*MessageDetection) SetConditions

func (mg *MessageDetection) SetConditions(c ...xpv1.Condition)

SetConditions of this MessageDetection.

func (*MessageDetection) SetDeletionPolicy

func (mg *MessageDetection) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this MessageDetection.

func (*MessageDetection) SetManagementPolicies

func (mg *MessageDetection) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MessageDetection.

func (*MessageDetection) SetObservation

func (tr *MessageDetection) SetObservation(obs map[string]any) error

SetObservation for this MessageDetection

func (*MessageDetection) SetParameters

func (tr *MessageDetection) SetParameters(params map[string]any) error

SetParameters for this MessageDetection

func (*MessageDetection) SetProviderConfigReference

func (mg *MessageDetection) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this MessageDetection.

func (*MessageDetection) SetPublishConnectionDetailsTo

func (mg *MessageDetection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this MessageDetection.

func (*MessageDetection) SetWriteConnectionSecretToReference

func (mg *MessageDetection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this MessageDetection.

type MessageDetectionInitParameters

type MessageDetectionInitParameters struct {
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the endpoint address to be detected.
	// The address must start with http:// or https:// and cannot be left blank.
	// Specifies the endpoint address to be detected.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the extended key/value for subscriptions over HTTP or HTTPS.
	// These key/value pairs will be carried as the request header when HTTP or HTTPS messages are sent.
	// The key/value must meet the following requirements:
	// Specifies the extended key/value for subscriptions over HTTP or HTTPS.
	// +mapType=granular
	Extension map[string]*string `json:"extension,omitempty" tf:"extension,omitempty"`

	// Specifies the protocol type. The value can be http or https.
	// Specifies the protocol type.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the resource identifier of a topic.
	// Specifies the resource identifier of a topic.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*MessageDetectionInitParameters) DeepCopy

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

func (*MessageDetectionInitParameters) DeepCopyInto

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

type MessageDetectionList

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

MessageDetectionList contains a list of MessageDetections

func (*MessageDetectionList) DeepCopy

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

func (*MessageDetectionList) DeepCopyInto

func (in *MessageDetectionList) DeepCopyInto(out *MessageDetectionList)

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

func (*MessageDetectionList) DeepCopyObject

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

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

func (*MessageDetectionList) GetItems

func (l *MessageDetectionList) GetItems() []resource.Managed

GetItems of this MessageDetectionList.

type MessageDetectionObservation

type MessageDetectionObservation struct {
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the endpoint address to be detected.
	// The address must start with http:// or https:// and cannot be left blank.
	// Specifies the endpoint address to be detected.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the extended key/value for subscriptions over HTTP or HTTPS.
	// These key/value pairs will be carried as the request header when HTTP or HTTPS messages are sent.
	// The key/value must meet the following requirements:
	// Specifies the extended key/value for subscriptions over HTTP or HTTPS.
	// +mapType=granular
	Extension map[string]*string `json:"extension,omitempty" tf:"extension,omitempty"`

	// The resource ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the protocol type. The value can be http or https.
	// Specifies the protocol type.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The message detection result.
	// The message detection result.
	Result *string `json:"result,omitempty" tf:"result,omitempty"`

	// Specifies the resource identifier of a topic.
	// Specifies the resource identifier of a topic.
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`
}

func (*MessageDetectionObservation) DeepCopy

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

func (*MessageDetectionObservation) DeepCopyInto

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

type MessageDetectionParameters

type MessageDetectionParameters struct {

	// +kubebuilder:validation:Optional
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the endpoint address to be detected.
	// The address must start with http:// or https:// and cannot be left blank.
	// Specifies the endpoint address to be detected.
	// +kubebuilder:validation:Optional
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the extended key/value for subscriptions over HTTP or HTTPS.
	// These key/value pairs will be carried as the request header when HTTP or HTTPS messages are sent.
	// The key/value must meet the following requirements:
	// Specifies the extended key/value for subscriptions over HTTP or HTTPS.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Extension map[string]*string `json:"extension,omitempty" tf:"extension,omitempty"`

	// Specifies the protocol type. The value can be http or https.
	// Specifies the protocol type.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the resource identifier of a topic.
	// Specifies the resource identifier of a topic.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*MessageDetectionParameters) DeepCopy

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

func (*MessageDetectionParameters) DeepCopyInto

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

type MessageDetectionSpec

type MessageDetectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MessageDetectionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MessageDetectionInitParameters `json:"initProvider,omitempty"`
}

MessageDetectionSpec defines the desired state of MessageDetection

func (*MessageDetectionSpec) DeepCopy

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

func (*MessageDetectionSpec) DeepCopyInto

func (in *MessageDetectionSpec) DeepCopyInto(out *MessageDetectionSpec)

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

type MessageDetectionStatus

type MessageDetectionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MessageDetectionObservation `json:"atProvider,omitempty"`
}

MessageDetectionStatus defines the observed state of MessageDetection.

func (*MessageDetectionStatus) DeepCopy

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

func (*MessageDetectionStatus) DeepCopyInto

func (in *MessageDetectionStatus) DeepCopyInto(out *MessageDetectionStatus)

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

type MessagePublish

type MessagePublish struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MessagePublishSpec   `json:"spec"`
	Status            MessagePublishStatus `json:"status,omitempty"`
}

MessagePublish is the Schema for the MessagePublishs API. Manages a SMN message publishment resource within HuaweiCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*MessagePublish) DeepCopy

func (in *MessagePublish) DeepCopy() *MessagePublish

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

func (*MessagePublish) DeepCopyInto

func (in *MessagePublish) DeepCopyInto(out *MessagePublish)

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

func (*MessagePublish) DeepCopyObject

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

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

func (*MessagePublish) GetCondition

func (mg *MessagePublish) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this MessagePublish.

func (*MessagePublish) GetConnectionDetailsMapping

func (tr *MessagePublish) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MessagePublish

func (*MessagePublish) GetDeletionPolicy

func (mg *MessagePublish) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this MessagePublish.

func (*MessagePublish) GetID

func (tr *MessagePublish) GetID() string

GetID returns ID of underlying Terraform resource of this MessagePublish

func (*MessagePublish) GetInitParameters

func (tr *MessagePublish) GetInitParameters() (map[string]any, error)

GetInitParameters of this MessagePublish

func (*MessagePublish) GetManagementPolicies

func (mg *MessagePublish) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MessagePublish.

func (*MessagePublish) GetMergedParameters

func (tr *MessagePublish) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MessagePublish

func (*MessagePublish) GetObservation

func (tr *MessagePublish) GetObservation() (map[string]any, error)

GetObservation of this MessagePublish

func (*MessagePublish) GetParameters

func (tr *MessagePublish) GetParameters() (map[string]any, error)

GetParameters of this MessagePublish

func (*MessagePublish) GetProviderConfigReference

func (mg *MessagePublish) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this MessagePublish.

func (*MessagePublish) GetPublishConnectionDetailsTo

func (mg *MessagePublish) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this MessagePublish.

func (*MessagePublish) GetTerraformResourceType

func (mg *MessagePublish) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MessagePublish

func (*MessagePublish) GetTerraformSchemaVersion

func (tr *MessagePublish) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MessagePublish) GetWriteConnectionSecretToReference

func (mg *MessagePublish) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this MessagePublish.

func (*MessagePublish) Hub

func (tr *MessagePublish) Hub()

Hub marks this type as a conversion hub.

func (*MessagePublish) LateInitialize

func (tr *MessagePublish) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MessagePublish using its observed tfState. returns True if there are any spec changes for the resource.

func (*MessagePublish) ResolveReferences

func (mg *MessagePublish) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this MessagePublish.

func (*MessagePublish) SetConditions

func (mg *MessagePublish) SetConditions(c ...xpv1.Condition)

SetConditions of this MessagePublish.

func (*MessagePublish) SetDeletionPolicy

func (mg *MessagePublish) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this MessagePublish.

func (*MessagePublish) SetManagementPolicies

func (mg *MessagePublish) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MessagePublish.

func (*MessagePublish) SetObservation

func (tr *MessagePublish) SetObservation(obs map[string]any) error

SetObservation for this MessagePublish

func (*MessagePublish) SetParameters

func (tr *MessagePublish) SetParameters(params map[string]any) error

SetParameters for this MessagePublish

func (*MessagePublish) SetProviderConfigReference

func (mg *MessagePublish) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this MessagePublish.

func (*MessagePublish) SetPublishConnectionDetailsTo

func (mg *MessagePublish) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this MessagePublish.

func (*MessagePublish) SetWriteConnectionSecretToReference

func (mg *MessagePublish) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this MessagePublish.

type MessagePublishInitParameters

type MessagePublishInitParameters struct {
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the message content.
	// Specifies the message content.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Specifies the message filter policies of a subscriber.
	// The message_attributes structure is documented below.
	// Specifies the message filter policies of a subscriber.
	MessageAttributes []MessageAttributesInitParameters `json:"messageAttributes,omitempty" tf:"message_attributes,omitempty"`

	// Specifies the message structure.
	// Specifies the message structure.
	MessageStructure *string `json:"messageStructure,omitempty" tf:"message_structure,omitempty"`

	// Specifies the message template name.
	// Specifies the message template name.
	MessageTemplateName *string `json:"messageTemplateName,omitempty" tf:"message_template_name,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the message title.
	// Specifies the message title.
	Subject *string `json:"subject,omitempty" tf:"subject,omitempty"`

	// Specifies a dictionary consisting of tag and parameters to replace the tag.
	// The value corresponding to the label in the message template. Message publishing using message template mode must
	// carry this parameter. The key in the dictionary is the parameter name in the message template, which should not
	// exceed 21 characters. The value in the dictionary is the value after replacing the parameters in the message
	// template, which does not exceed 1KB.
	// Specifies a dictionary consisting of tag and parameters to replace the tag.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the maximum retention time of the message within the SMN system.
	// After this retention time, the system will no longer send the message. The unit is second, and the default value
	// of the variable is 3600 second. The value is a positive integer and less than or equal to 3600*24.
	// Specifies the maximum retention time of the message within the SMN system.
	TimeToLive *string `json:"timeToLive,omitempty" tf:"time_to_live,omitempty"`

	// Specifies the resource identifier of a topic.
	// Specifies the resource identifier of a topic.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*MessagePublishInitParameters) DeepCopy

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

func (*MessagePublishInitParameters) DeepCopyInto

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

type MessagePublishList

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

MessagePublishList contains a list of MessagePublishs

func (*MessagePublishList) DeepCopy

func (in *MessagePublishList) DeepCopy() *MessagePublishList

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

func (*MessagePublishList) DeepCopyInto

func (in *MessagePublishList) DeepCopyInto(out *MessagePublishList)

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

func (*MessagePublishList) DeepCopyObject

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

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

func (*MessagePublishList) GetItems

func (l *MessagePublishList) GetItems() []resource.Managed

GetItems of this MessagePublishList.

type MessagePublishObservation

type MessagePublishObservation struct {
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// The resource ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the message content.
	// Specifies the message content.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Specifies the message filter policies of a subscriber.
	// The message_attributes structure is documented below.
	// Specifies the message filter policies of a subscriber.
	MessageAttributes []MessageAttributesObservation `json:"messageAttributes,omitempty" tf:"message_attributes,omitempty"`

	// Specifies the message structure.
	// Specifies the message structure.
	MessageStructure *string `json:"messageStructure,omitempty" tf:"message_structure,omitempty"`

	// Specifies the message template name.
	// Specifies the message template name.
	MessageTemplateName *string `json:"messageTemplateName,omitempty" tf:"message_template_name,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the message title.
	// Specifies the message title.
	Subject *string `json:"subject,omitempty" tf:"subject,omitempty"`

	// Specifies a dictionary consisting of tag and parameters to replace the tag.
	// The value corresponding to the label in the message template. Message publishing using message template mode must
	// carry this parameter. The key in the dictionary is the parameter name in the message template, which should not
	// exceed 21 characters. The value in the dictionary is the value after replacing the parameters in the message
	// template, which does not exceed 1KB.
	// Specifies a dictionary consisting of tag and parameters to replace the tag.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the maximum retention time of the message within the SMN system.
	// After this retention time, the system will no longer send the message. The unit is second, and the default value
	// of the variable is 3600 second. The value is a positive integer and less than or equal to 3600*24.
	// Specifies the maximum retention time of the message within the SMN system.
	TimeToLive *string `json:"timeToLive,omitempty" tf:"time_to_live,omitempty"`

	// Specifies the resource identifier of a topic.
	// Specifies the resource identifier of a topic.
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`
}

func (*MessagePublishObservation) DeepCopy

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

func (*MessagePublishObservation) DeepCopyInto

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

type MessagePublishParameters

type MessagePublishParameters struct {

	// +kubebuilder:validation:Optional
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the message content.
	// Specifies the message content.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Specifies the message filter policies of a subscriber.
	// The message_attributes structure is documented below.
	// Specifies the message filter policies of a subscriber.
	// +kubebuilder:validation:Optional
	MessageAttributes []MessageAttributesParameters `json:"messageAttributes,omitempty" tf:"message_attributes,omitempty"`

	// Specifies the message structure.
	// Specifies the message structure.
	// +kubebuilder:validation:Optional
	MessageStructure *string `json:"messageStructure,omitempty" tf:"message_structure,omitempty"`

	// Specifies the message template name.
	// Specifies the message template name.
	// +kubebuilder:validation:Optional
	MessageTemplateName *string `json:"messageTemplateName,omitempty" tf:"message_template_name,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the message title.
	// Specifies the message title.
	// +kubebuilder:validation:Optional
	Subject *string `json:"subject,omitempty" tf:"subject,omitempty"`

	// Specifies a dictionary consisting of tag and parameters to replace the tag.
	// The value corresponding to the label in the message template. Message publishing using message template mode must
	// carry this parameter. The key in the dictionary is the parameter name in the message template, which should not
	// exceed 21 characters. The value in the dictionary is the value after replacing the parameters in the message
	// template, which does not exceed 1KB.
	// Specifies a dictionary consisting of tag and parameters to replace the tag.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the maximum retention time of the message within the SMN system.
	// After this retention time, the system will no longer send the message. The unit is second, and the default value
	// of the variable is 3600 second. The value is a positive integer and less than or equal to 3600*24.
	// Specifies the maximum retention time of the message within the SMN system.
	// +kubebuilder:validation:Optional
	TimeToLive *string `json:"timeToLive,omitempty" tf:"time_to_live,omitempty"`

	// Specifies the resource identifier of a topic.
	// Specifies the resource identifier of a topic.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*MessagePublishParameters) DeepCopy

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

func (*MessagePublishParameters) DeepCopyInto

func (in *MessagePublishParameters) DeepCopyInto(out *MessagePublishParameters)

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

type MessagePublishSpec

type MessagePublishSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MessagePublishParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MessagePublishInitParameters `json:"initProvider,omitempty"`
}

MessagePublishSpec defines the desired state of MessagePublish

func (*MessagePublishSpec) DeepCopy

func (in *MessagePublishSpec) DeepCopy() *MessagePublishSpec

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

func (*MessagePublishSpec) DeepCopyInto

func (in *MessagePublishSpec) DeepCopyInto(out *MessagePublishSpec)

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

type MessagePublishStatus

type MessagePublishStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MessagePublishObservation `json:"atProvider,omitempty"`
}

MessagePublishStatus defines the observed state of MessagePublish.

func (*MessagePublishStatus) DeepCopy

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

func (*MessagePublishStatus) DeepCopyInto

func (in *MessagePublishStatus) DeepCopyInto(out *MessagePublishStatus)

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

type MessageTemplate

type MessageTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter"
	Spec   MessageTemplateSpec   `json:"spec"`
	Status MessageTemplateStatus `json:"status,omitempty"`
}

MessageTemplate is the Schema for the MessageTemplates API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*MessageTemplate) DeepCopy

func (in *MessageTemplate) DeepCopy() *MessageTemplate

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

func (*MessageTemplate) DeepCopyInto

func (in *MessageTemplate) DeepCopyInto(out *MessageTemplate)

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

func (*MessageTemplate) DeepCopyObject

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

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

func (*MessageTemplate) GetCondition

func (mg *MessageTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this MessageTemplate.

func (*MessageTemplate) GetConnectionDetailsMapping

func (tr *MessageTemplate) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MessageTemplate

func (*MessageTemplate) GetDeletionPolicy

func (mg *MessageTemplate) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this MessageTemplate.

func (*MessageTemplate) GetID

func (tr *MessageTemplate) GetID() string

GetID returns ID of underlying Terraform resource of this MessageTemplate

func (*MessageTemplate) GetInitParameters

func (tr *MessageTemplate) GetInitParameters() (map[string]any, error)

GetInitParameters of this MessageTemplate

func (*MessageTemplate) GetManagementPolicies

func (mg *MessageTemplate) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MessageTemplate.

func (*MessageTemplate) GetMergedParameters

func (tr *MessageTemplate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MessageTemplate

func (*MessageTemplate) GetObservation

func (tr *MessageTemplate) GetObservation() (map[string]any, error)

GetObservation of this MessageTemplate

func (*MessageTemplate) GetParameters

func (tr *MessageTemplate) GetParameters() (map[string]any, error)

GetParameters of this MessageTemplate

func (*MessageTemplate) GetProviderConfigReference

func (mg *MessageTemplate) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this MessageTemplate.

func (*MessageTemplate) GetPublishConnectionDetailsTo

func (mg *MessageTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this MessageTemplate.

func (*MessageTemplate) GetTerraformResourceType

func (mg *MessageTemplate) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MessageTemplate

func (*MessageTemplate) GetTerraformSchemaVersion

func (tr *MessageTemplate) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MessageTemplate) GetWriteConnectionSecretToReference

func (mg *MessageTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this MessageTemplate.

func (*MessageTemplate) Hub

func (tr *MessageTemplate) Hub()

Hub marks this type as a conversion hub.

func (*MessageTemplate) LateInitialize

func (tr *MessageTemplate) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MessageTemplate using its observed tfState. returns True if there are any spec changes for the resource.

func (*MessageTemplate) SetConditions

func (mg *MessageTemplate) SetConditions(c ...xpv1.Condition)

SetConditions of this MessageTemplate.

func (*MessageTemplate) SetDeletionPolicy

func (mg *MessageTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this MessageTemplate.

func (*MessageTemplate) SetManagementPolicies

func (mg *MessageTemplate) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MessageTemplate.

func (*MessageTemplate) SetObservation

func (tr *MessageTemplate) SetObservation(obs map[string]any) error

SetObservation for this MessageTemplate

func (*MessageTemplate) SetParameters

func (tr *MessageTemplate) SetParameters(params map[string]any) error

SetParameters for this MessageTemplate

func (*MessageTemplate) SetProviderConfigReference

func (mg *MessageTemplate) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this MessageTemplate.

func (*MessageTemplate) SetPublishConnectionDetailsTo

func (mg *MessageTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this MessageTemplate.

func (*MessageTemplate) SetWriteConnectionSecretToReference

func (mg *MessageTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this MessageTemplate.

type MessageTemplateInitParameters

type MessageTemplateInitParameters struct {

	// Specifies the template content, which supports plain text only.
	// The template content cannot be left blank or larger than 256 KB.
	// The fields within "{}" can be replaced based on the actual situation
	// when you use the template.
	// Specifies the template content, which supports plain text only.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Specifies the message template name.
	// A template name starts with a letter or digit, consists of 1 to 64 characters,
	// and can contain only letters, digits,  hyphens (-), and underscores (_).
	// Specifies the message template name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the protocol supported by the template. Value options:
	// Specifies the protocol supported by the template.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*MessageTemplateInitParameters) DeepCopy

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

func (*MessageTemplateInitParameters) DeepCopyInto

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

type MessageTemplateList

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

MessageTemplateList contains a list of MessageTemplates

func (*MessageTemplateList) DeepCopy

func (in *MessageTemplateList) DeepCopy() *MessageTemplateList

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

func (*MessageTemplateList) DeepCopyInto

func (in *MessageTemplateList) DeepCopyInto(out *MessageTemplateList)

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

func (*MessageTemplateList) DeepCopyObject

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

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

func (*MessageTemplateList) GetItems

func (l *MessageTemplateList) GetItems() []resource.Managed

GetItems of this MessageTemplateList.

type MessageTemplateObservation

type MessageTemplateObservation struct {

	// Specifies the template content, which supports plain text only.
	// The template content cannot be left blank or larger than 256 KB.
	// The fields within "{}" can be replaced based on the actual situation
	// when you use the template.
	// Specifies the template content, which supports plain text only.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The resource ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the message template name.
	// A template name starts with a letter or digit, consists of 1 to 64 characters,
	// and can contain only letters, digits,  hyphens (-), and underscores (_).
	// Specifies the message template name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the protocol supported by the template. Value options:
	// Specifies the protocol supported by the template.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Indicates the variable list. The variable name will be quoted in braces ({}) in the template.
	// When you use a template to send messages, you can replace the variable with any content.
	// Indicates the variable list.
	TagNames []*string `json:"tagNames,omitempty" tf:"tag_names,omitempty"`
}

func (*MessageTemplateObservation) DeepCopy

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

func (*MessageTemplateObservation) DeepCopyInto

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

type MessageTemplateParameters

type MessageTemplateParameters struct {

	// Specifies the template content, which supports plain text only.
	// The template content cannot be left blank or larger than 256 KB.
	// The fields within "{}" can be replaced based on the actual situation
	// when you use the template.
	// Specifies the template content, which supports plain text only.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Specifies the message template name.
	// A template name starts with a letter or digit, consists of 1 to 64 characters,
	// and can contain only letters, digits,  hyphens (-), and underscores (_).
	// Specifies the message template name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the protocol supported by the template. Value options:
	// Specifies the protocol supported by the template.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*MessageTemplateParameters) DeepCopy

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

func (*MessageTemplateParameters) DeepCopyInto

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

type MessageTemplateSpec

type MessageTemplateSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MessageTemplateParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MessageTemplateInitParameters `json:"initProvider,omitempty"`
}

MessageTemplateSpec defines the desired state of MessageTemplate

func (*MessageTemplateSpec) DeepCopy

func (in *MessageTemplateSpec) DeepCopy() *MessageTemplateSpec

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

func (*MessageTemplateSpec) DeepCopyInto

func (in *MessageTemplateSpec) DeepCopyInto(out *MessageTemplateSpec)

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

type MessageTemplateStatus

type MessageTemplateStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MessageTemplateObservation `json:"atProvider,omitempty"`
}

MessageTemplateStatus defines the observed state of MessageTemplate.

func (*MessageTemplateStatus) DeepCopy

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

func (*MessageTemplateStatus) DeepCopyInto

func (in *MessageTemplateStatus) DeepCopyInto(out *MessageTemplateStatus)

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

type Subscription

type Subscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpoint) || (has(self.initProvider) && has(self.initProvider.endpoint))",message="spec.forProvider.endpoint is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter"
	Spec   SubscriptionSpec   `json:"spec"`
	Status SubscriptionStatus `json:"status,omitempty"`
}

Subscription is the Schema for the Subscriptions API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject

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

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

func (*Subscription) GetCondition

func (mg *Subscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Subscription.

func (*Subscription) GetConnectionDetailsMapping

func (tr *Subscription) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Subscription

func (*Subscription) GetDeletionPolicy

func (mg *Subscription) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Subscription.

func (*Subscription) GetID

func (tr *Subscription) GetID() string

GetID returns ID of underlying Terraform resource of this Subscription

func (*Subscription) GetInitParameters

func (tr *Subscription) GetInitParameters() (map[string]any, error)

GetInitParameters of this Subscription

func (*Subscription) GetManagementPolicies

func (mg *Subscription) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Subscription.

func (*Subscription) GetMergedParameters

func (tr *Subscription) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Subscription

func (*Subscription) GetObservation

func (tr *Subscription) GetObservation() (map[string]any, error)

GetObservation of this Subscription

func (*Subscription) GetParameters

func (tr *Subscription) GetParameters() (map[string]any, error)

GetParameters of this Subscription

func (*Subscription) GetProviderConfigReference

func (mg *Subscription) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Subscription.

func (*Subscription) GetPublishConnectionDetailsTo

func (mg *Subscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Subscription.

func (*Subscription) GetTerraformResourceType

func (mg *Subscription) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Subscription

func (*Subscription) GetTerraformSchemaVersion

func (tr *Subscription) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Subscription) GetWriteConnectionSecretToReference

func (mg *Subscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Subscription.

func (*Subscription) Hub

func (tr *Subscription) Hub()

Hub marks this type as a conversion hub.

func (*Subscription) LateInitialize

func (tr *Subscription) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Subscription using its observed tfState. returns True if there are any spec changes for the resource.

func (*Subscription) ResolveReferences

func (mg *Subscription) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Subscription.

func (*Subscription) SetConditions

func (mg *Subscription) SetConditions(c ...xpv1.Condition)

SetConditions of this Subscription.

func (*Subscription) SetDeletionPolicy

func (mg *Subscription) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Subscription.

func (*Subscription) SetManagementPolicies

func (mg *Subscription) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Subscription.

func (*Subscription) SetObservation

func (tr *Subscription) SetObservation(obs map[string]any) error

SetObservation for this Subscription

func (*Subscription) SetParameters

func (tr *Subscription) SetParameters(params map[string]any) error

SetParameters for this Subscription

func (*Subscription) SetProviderConfigReference

func (mg *Subscription) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Subscription.

func (*Subscription) SetPublishConnectionDetailsTo

func (mg *Subscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Subscription.

func (*Subscription) SetWriteConnectionSecretToReference

func (mg *Subscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Subscription.

type SubscriptionFilterPolicy

type SubscriptionFilterPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filterPolicies) || (has(self.initProvider) && has(self.initProvider.filterPolicies))",message="spec.forProvider.filterPolicies is a required parameter"
	Spec   SubscriptionFilterPolicySpec   `json:"spec"`
	Status SubscriptionFilterPolicyStatus `json:"status,omitempty"`
}

SubscriptionFilterPolicy is the Schema for the SubscriptionFilterPolicys API. Manages an SMN subscription filter policy resource within HuaweiCloud. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*SubscriptionFilterPolicy) DeepCopy

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

func (*SubscriptionFilterPolicy) DeepCopyInto

func (in *SubscriptionFilterPolicy) DeepCopyInto(out *SubscriptionFilterPolicy)

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

func (*SubscriptionFilterPolicy) DeepCopyObject

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

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

func (*SubscriptionFilterPolicy) GetCondition

GetCondition of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) GetConnectionDetailsMapping

func (tr *SubscriptionFilterPolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetDeletionPolicy

func (mg *SubscriptionFilterPolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) GetID

func (tr *SubscriptionFilterPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetInitParameters

func (tr *SubscriptionFilterPolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetManagementPolicies

func (mg *SubscriptionFilterPolicy) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) GetMergedParameters

func (tr *SubscriptionFilterPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetObservation

func (tr *SubscriptionFilterPolicy) GetObservation() (map[string]any, error)

GetObservation of this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetParameters

func (tr *SubscriptionFilterPolicy) GetParameters() (map[string]any, error)

GetParameters of this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetProviderConfigReference

func (mg *SubscriptionFilterPolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) GetPublishConnectionDetailsTo

func (mg *SubscriptionFilterPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) GetTerraformResourceType

func (mg *SubscriptionFilterPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) GetTerraformSchemaVersion

func (tr *SubscriptionFilterPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubscriptionFilterPolicy) GetWriteConnectionSecretToReference

func (mg *SubscriptionFilterPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) Hub

func (tr *SubscriptionFilterPolicy) Hub()

Hub marks this type as a conversion hub.

func (*SubscriptionFilterPolicy) LateInitialize

func (tr *SubscriptionFilterPolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SubscriptionFilterPolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*SubscriptionFilterPolicy) ResolveReferences

func (mg *SubscriptionFilterPolicy) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) SetConditions

func (mg *SubscriptionFilterPolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) SetDeletionPolicy

func (mg *SubscriptionFilterPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) SetManagementPolicies

func (mg *SubscriptionFilterPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) SetObservation

func (tr *SubscriptionFilterPolicy) SetObservation(obs map[string]any) error

SetObservation for this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) SetParameters

func (tr *SubscriptionFilterPolicy) SetParameters(params map[string]any) error

SetParameters for this SubscriptionFilterPolicy

func (*SubscriptionFilterPolicy) SetProviderConfigReference

func (mg *SubscriptionFilterPolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) SetPublishConnectionDetailsTo

func (mg *SubscriptionFilterPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicy) SetWriteConnectionSecretToReference

func (mg *SubscriptionFilterPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SubscriptionFilterPolicy.

type SubscriptionFilterPolicyFilterPoliciesInitParameters

type SubscriptionFilterPolicyFilterPoliciesInitParameters struct {

	// Specifies the filter policy name. The policy name must be unique.
	// Specifies the filter policy name. The policy name must be unique.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the string array for exact match. The array can contain 1
	// to 10 strings. The array content must be unique. The string cannot be null or an empty string "".
	// A string can contain 1 to 32 characters, including letters, digits, and underscores (_).
	// Specifies the string array for exact match.
	// +listType=set
	StringEquals []*string `json:"stringEquals,omitempty" tf:"string_equals,omitempty"`
}

func (*SubscriptionFilterPolicyFilterPoliciesInitParameters) DeepCopy

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

func (*SubscriptionFilterPolicyFilterPoliciesInitParameters) DeepCopyInto

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

type SubscriptionFilterPolicyFilterPoliciesObservation

type SubscriptionFilterPolicyFilterPoliciesObservation struct {

	// Specifies the filter policy name. The policy name must be unique.
	// Specifies the filter policy name. The policy name must be unique.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the string array for exact match. The array can contain 1
	// to 10 strings. The array content must be unique. The string cannot be null or an empty string "".
	// A string can contain 1 to 32 characters, including letters, digits, and underscores (_).
	// Specifies the string array for exact match.
	// +listType=set
	StringEquals []*string `json:"stringEquals,omitempty" tf:"string_equals,omitempty"`
}

func (*SubscriptionFilterPolicyFilterPoliciesObservation) DeepCopy

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

func (*SubscriptionFilterPolicyFilterPoliciesObservation) DeepCopyInto

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

type SubscriptionFilterPolicyFilterPoliciesParameters

type SubscriptionFilterPolicyFilterPoliciesParameters struct {

	// Specifies the filter policy name. The policy name must be unique.
	// Specifies the filter policy name. The policy name must be unique.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the string array for exact match. The array can contain 1
	// to 10 strings. The array content must be unique. The string cannot be null or an empty string "".
	// A string can contain 1 to 32 characters, including letters, digits, and underscores (_).
	// Specifies the string array for exact match.
	// +kubebuilder:validation:Optional
	// +listType=set
	StringEquals []*string `json:"stringEquals" tf:"string_equals,omitempty"`
}

func (*SubscriptionFilterPolicyFilterPoliciesParameters) DeepCopy

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

func (*SubscriptionFilterPolicyFilterPoliciesParameters) DeepCopyInto

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

type SubscriptionFilterPolicyInitParameters

type SubscriptionFilterPolicyInitParameters struct {
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the message filter policies of a subscriber.
	// The filter_policies structure is documented below.
	// Specifies the message filter policies of a subscriber.
	FilterPolicies []SubscriptionFilterPolicyFilterPoliciesInitParameters `json:"filterPolicies,omitempty" tf:"filter_policies,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the resource identifier of the subscriber.
	// Specifies the resource identifier of the subscriber.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Subscription
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	SubscriptionUrn *string `json:"subscriptionUrn,omitempty" tf:"subscription_urn,omitempty"`

	// Reference to a Subscription in smn to populate subscriptionUrn.
	// +kubebuilder:validation:Optional
	SubscriptionUrnRef *v1.Reference `json:"subscriptionUrnRef,omitempty" tf:"-"`

	// Selector for a Subscription in smn to populate subscriptionUrn.
	// +kubebuilder:validation:Optional
	SubscriptionUrnSelector *v1.Selector `json:"subscriptionUrnSelector,omitempty" tf:"-"`
}

func (*SubscriptionFilterPolicyInitParameters) DeepCopy

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

func (*SubscriptionFilterPolicyInitParameters) DeepCopyInto

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

type SubscriptionFilterPolicyList

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

SubscriptionFilterPolicyList contains a list of SubscriptionFilterPolicys

func (*SubscriptionFilterPolicyList) DeepCopy

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

func (*SubscriptionFilterPolicyList) DeepCopyInto

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

func (*SubscriptionFilterPolicyList) DeepCopyObject

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

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

func (*SubscriptionFilterPolicyList) GetItems

GetItems of this SubscriptionFilterPolicyList.

type SubscriptionFilterPolicyObservation

type SubscriptionFilterPolicyObservation struct {
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the message filter policies of a subscriber.
	// The filter_policies structure is documented below.
	// Specifies the message filter policies of a subscriber.
	FilterPolicies []SubscriptionFilterPolicyFilterPoliciesObservation `json:"filterPolicies,omitempty" tf:"filter_policies,omitempty"`

	// The resource ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the resource identifier of the subscriber.
	// Specifies the resource identifier of the subscriber.
	SubscriptionUrn *string `json:"subscriptionUrn,omitempty" tf:"subscription_urn,omitempty"`
}

func (*SubscriptionFilterPolicyObservation) DeepCopy

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

func (*SubscriptionFilterPolicyObservation) DeepCopyInto

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

type SubscriptionFilterPolicyParameters

type SubscriptionFilterPolicyParameters struct {

	// +kubebuilder:validation:Optional
	EnableForceNew *string `json:"enableForceNew,omitempty" tf:"enable_force_new,omitempty"`

	// Specifies the message filter policies of a subscriber.
	// The filter_policies structure is documented below.
	// Specifies the message filter policies of a subscriber.
	// +kubebuilder:validation:Optional
	FilterPolicies []SubscriptionFilterPolicyFilterPoliciesParameters `json:"filterPolicies,omitempty" tf:"filter_policies,omitempty"`

	// Specifies the region in which to create the resource.
	// If omitted, the provider-level region will be used.
	// Changing this creates a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the resource identifier of the subscriber.
	// Specifies the resource identifier of the subscriber.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Subscription
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SubscriptionUrn *string `json:"subscriptionUrn,omitempty" tf:"subscription_urn,omitempty"`

	// Reference to a Subscription in smn to populate subscriptionUrn.
	// +kubebuilder:validation:Optional
	SubscriptionUrnRef *v1.Reference `json:"subscriptionUrnRef,omitempty" tf:"-"`

	// Selector for a Subscription in smn to populate subscriptionUrn.
	// +kubebuilder:validation:Optional
	SubscriptionUrnSelector *v1.Selector `json:"subscriptionUrnSelector,omitempty" tf:"-"`
}

func (*SubscriptionFilterPolicyParameters) DeepCopy

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

func (*SubscriptionFilterPolicyParameters) DeepCopyInto

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

type SubscriptionFilterPolicySpec

type SubscriptionFilterPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionFilterPolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SubscriptionFilterPolicyInitParameters `json:"initProvider,omitempty"`
}

SubscriptionFilterPolicySpec defines the desired state of SubscriptionFilterPolicy

func (*SubscriptionFilterPolicySpec) DeepCopy

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

func (*SubscriptionFilterPolicySpec) DeepCopyInto

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

type SubscriptionFilterPolicyStatus

type SubscriptionFilterPolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SubscriptionFilterPolicyObservation `json:"atProvider,omitempty"`
}

SubscriptionFilterPolicyStatus defines the observed state of SubscriptionFilterPolicy.

func (*SubscriptionFilterPolicyStatus) DeepCopy

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

func (*SubscriptionFilterPolicyStatus) DeepCopyInto

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

type SubscriptionInitParameters

type SubscriptionInitParameters struct {

	// Message endpoint. Changing this parameter will create a new resource.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the extension configurations.
	// The extension structure is documented below.
	// Changing this parameter will create a new resource.
	Extension []ExtensionInitParameters `json:"extension,omitempty" tf:"extension,omitempty"`

	// Specifies the protocol of the message endpoint. Currently, email,
	// sms, http, https, functionstage, functiongraph, callnotify, wechat, dingding,
	// feishu and welink are supported. Changing this parameter will create a new resource.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The region in which to create the SMN subscription resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Remark information. The remarks must be a UTF-8-coded character string
	// containing 128 bytes. Changing this parameter will create a new resource.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Specifies the resource identifier of a topic, which is unique.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*SubscriptionInitParameters) DeepCopy

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

func (*SubscriptionInitParameters) DeepCopyInto

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

type SubscriptionList

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

SubscriptionList contains a list of Subscriptions

func (*SubscriptionList) DeepCopy

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject

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

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

func (*SubscriptionList) GetItems

func (l *SubscriptionList) GetItems() []resource.Managed

GetItems of this SubscriptionList.

type SubscriptionObservation

type SubscriptionObservation struct {

	// Message endpoint. Changing this parameter will create a new resource.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the extension configurations.
	// The extension structure is documented below.
	// Changing this parameter will create a new resource.
	Extension []ExtensionObservation `json:"extension,omitempty" tf:"extension,omitempty"`

	// The message filter policies of a subscriber.
	// The filter_policies structure is documented below.
	// The message filter policies of a subscriber.
	FilterPolicies []FilterPoliciesObservation `json:"filterPolicies,omitempty" tf:"filter_policies,omitempty"`

	// The resource ID. The value is the subscription urn.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Project ID of the topic creator.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// Specifies the protocol of the message endpoint. Currently, email,
	// sms, http, https, functionstage, functiongraph, callnotify, wechat, dingding,
	// feishu and welink are supported. Changing this parameter will create a new resource.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The region in which to create the SMN subscription resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Remark information. The remarks must be a UTF-8-coded character string
	// containing 128 bytes. Changing this parameter will create a new resource.
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Subscription status.
	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

	// Resource identifier of a subscription, which is unique.
	SubscriptionUrn *string `json:"subscriptionUrn,omitempty" tf:"subscription_urn,omitempty"`

	// Specifies the resource identifier of a topic, which is unique.
	// Changing this parameter will create a new resource.
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`
}

func (*SubscriptionObservation) DeepCopy

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

func (*SubscriptionObservation) DeepCopyInto

func (in *SubscriptionObservation) DeepCopyInto(out *SubscriptionObservation)

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

type SubscriptionParameters

type SubscriptionParameters struct {

	// Message endpoint. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the extension configurations.
	// The extension structure is documented below.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Extension []ExtensionParameters `json:"extension,omitempty" tf:"extension,omitempty"`

	// Specifies the protocol of the message endpoint. Currently, email,
	// sms, http, https, functionstage, functiongraph, callnotify, wechat, dingding,
	// feishu and welink are supported. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The region in which to create the SMN subscription resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Remark information. The remarks must be a UTF-8-coded character string
	// containing 128 bytes. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Specifies the resource identifier of a topic, which is unique.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/huaweicloud/provider-huaweicloud/apis/smn/v1alpha1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Reference to a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnRef *v1.Reference `json:"topicUrnRef,omitempty" tf:"-"`

	// Selector for a Topic in smn to populate topicUrn.
	// +kubebuilder:validation:Optional
	TopicUrnSelector *v1.Selector `json:"topicUrnSelector,omitempty" tf:"-"`
}

func (*SubscriptionParameters) DeepCopy

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

func (*SubscriptionParameters) DeepCopyInto

func (in *SubscriptionParameters) DeepCopyInto(out *SubscriptionParameters)

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

type SubscriptionSpec

type SubscriptionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SubscriptionInitParameters `json:"initProvider,omitempty"`
}

SubscriptionSpec defines the desired state of Subscription

func (*SubscriptionSpec) DeepCopy

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

type SubscriptionStatus

type SubscriptionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SubscriptionObservation `json:"atProvider,omitempty"`
}

SubscriptionStatus defines the observed state of Subscription.

func (*SubscriptionStatus) DeepCopy

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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

type Topic

type Topic struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   TopicSpec   `json:"spec"`
	Status TopicStatus `json:"status,omitempty"`
}

Topic is the Schema for the Topics API. "" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,huaweicloud}

func (*Topic) DeepCopy

func (in *Topic) DeepCopy() *Topic

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

func (*Topic) DeepCopyInto

func (in *Topic) DeepCopyInto(out *Topic)

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

func (*Topic) DeepCopyObject

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

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

func (*Topic) GetCondition

func (mg *Topic) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Topic.

func (*Topic) GetConnectionDetailsMapping

func (tr *Topic) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Topic

func (*Topic) GetDeletionPolicy

func (mg *Topic) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Topic.

func (*Topic) GetID

func (tr *Topic) GetID() string

GetID returns ID of underlying Terraform resource of this Topic

func (*Topic) GetInitParameters

func (tr *Topic) GetInitParameters() (map[string]any, error)

GetInitParameters of this Topic

func (*Topic) GetManagementPolicies

func (mg *Topic) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Topic.

func (*Topic) GetMergedParameters

func (tr *Topic) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Topic

func (*Topic) GetObservation

func (tr *Topic) GetObservation() (map[string]any, error)

GetObservation of this Topic

func (*Topic) GetParameters

func (tr *Topic) GetParameters() (map[string]any, error)

GetParameters of this Topic

func (*Topic) GetProviderConfigReference

func (mg *Topic) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Topic.

func (*Topic) GetPublishConnectionDetailsTo

func (mg *Topic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Topic.

func (*Topic) GetTerraformResourceType

func (mg *Topic) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Topic

func (*Topic) GetTerraformSchemaVersion

func (tr *Topic) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Topic) GetWriteConnectionSecretToReference

func (mg *Topic) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Topic.

func (*Topic) Hub

func (tr *Topic) Hub()

Hub marks this type as a conversion hub.

func (*Topic) LateInitialize

func (tr *Topic) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Topic using its observed tfState. returns True if there are any spec changes for the resource.

func (*Topic) SetConditions

func (mg *Topic) SetConditions(c ...xpv1.Condition)

SetConditions of this Topic.

func (*Topic) SetDeletionPolicy

func (mg *Topic) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Topic.

func (*Topic) SetManagementPolicies

func (mg *Topic) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Topic.

func (*Topic) SetObservation

func (tr *Topic) SetObservation(obs map[string]any) error

SetObservation for this Topic

func (*Topic) SetParameters

func (tr *Topic) SetParameters(params map[string]any) error

SetParameters for this Topic

func (*Topic) SetProviderConfigReference

func (mg *Topic) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Topic.

func (*Topic) SetPublishConnectionDetailsTo

func (mg *Topic) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Topic.

func (*Topic) SetWriteConnectionSecretToReference

func (mg *Topic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Topic.

type TopicInitParameters

type TopicInitParameters struct {

	// schema: Internal
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// Specifies the topic display name, which is presented as the name of the email
	// sender in an email message. The name can contains of 0 to 192 characters.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies the enterprise project id of the SMN Topic, Value 0
	// indicates the default enterprise project. Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the introduction of the topic,
	// this will be contained in the subscription invitation.
	Introduction *string `json:"introduction,omitempty" tf:"introduction,omitempty"`

	// Specifies the name of the topic to be created. The name can contains of 1 to 255
	// characters and must start with a letter or digit, and can only contain letters, digits, underscores (_), and hyphens (-).
	// Changing this parameter will create a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The region in which to create the SMN topic resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the services that can publish messages to this topic
	// separated by comma(,). If left empty, that means no service allowed.
	ServicesPublishAllowed *string `json:"servicesPublishAllowed,omitempty" tf:"services_publish_allowed,omitempty"`

	// Specifies the tags of the SMN topic, key/value pair format.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the users who can publish messages to this topic.
	// The value can be * which indicates all users or user account URNs separated by comma(,). The format of
	// user account URN is urn:csp:iam::domainId:root. domainId indicates the account ID of another user.
	// If left empty, that means only the topic creator can publish messages.
	UsersPublishAllowed *string `json:"usersPublishAllowed,omitempty" tf:"users_publish_allowed,omitempty"`
}

func (*TopicInitParameters) DeepCopy

func (in *TopicInitParameters) DeepCopy() *TopicInitParameters

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

func (*TopicInitParameters) DeepCopyInto

func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters)

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

type TopicList

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

TopicList contains a list of Topics

func (*TopicList) DeepCopy

func (in *TopicList) DeepCopy() *TopicList

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

func (*TopicList) DeepCopyInto

func (in *TopicList) DeepCopyInto(out *TopicList)

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

func (*TopicList) DeepCopyObject

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

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

func (*TopicList) GetItems

func (l *TopicList) GetItems() []resource.Managed

GetItems of this TopicList.

type TopicObservation

type TopicObservation struct {

	// schema: Internal
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// Time when the topic was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Specifies the topic display name, which is presented as the name of the email
	// sender in an email message. The name can contains of 0 to 192 characters.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies the enterprise project id of the SMN Topic, Value 0
	// indicates the default enterprise project. Changing this parameter will create a new resource.
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// The resource ID. The value is the topic urn.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the introduction of the topic,
	// this will be contained in the subscription invitation.
	Introduction *string `json:"introduction,omitempty" tf:"introduction,omitempty"`

	// Specifies the name of the topic to be created. The name can contains of 1 to 255
	// characters and must start with a letter or digit, and can only contain letters, digits, underscores (_), and hyphens (-).
	// Changing this parameter will create a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Message pushing policy.
	PushPolicy *float64 `json:"pushPolicy,omitempty" tf:"push_policy,omitempty"`

	// The region in which to create the SMN topic resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the services that can publish messages to this topic
	// separated by comma(,). If left empty, that means no service allowed.
	ServicesPublishAllowed *string `json:"servicesPublishAllowed,omitempty" tf:"services_publish_allowed,omitempty"`

	// Specifies the tags of the SMN topic, key/value pair format.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Resource identifier of a topic, which is unique.
	TopicUrn *string `json:"topicUrn,omitempty" tf:"topic_urn,omitempty"`

	// Time when the topic was updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`

	// Specifies the users who can publish messages to this topic.
	// The value can be * which indicates all users or user account URNs separated by comma(,). The format of
	// user account URN is urn:csp:iam::domainId:root. domainId indicates the account ID of another user.
	// If left empty, that means only the topic creator can publish messages.
	UsersPublishAllowed *string `json:"usersPublishAllowed,omitempty" tf:"users_publish_allowed,omitempty"`
}

func (*TopicObservation) DeepCopy

func (in *TopicObservation) DeepCopy() *TopicObservation

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

func (*TopicObservation) DeepCopyInto

func (in *TopicObservation) DeepCopyInto(out *TopicObservation)

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

type TopicParameters

type TopicParameters struct {

	// schema: Internal
	// +kubebuilder:validation:Optional
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// Specifies the topic display name, which is presented as the name of the email
	// sender in an email message. The name can contains of 0 to 192 characters.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies the enterprise project id of the SMN Topic, Value 0
	// indicates the default enterprise project. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies the introduction of the topic,
	// this will be contained in the subscription invitation.
	// +kubebuilder:validation:Optional
	Introduction *string `json:"introduction,omitempty" tf:"introduction,omitempty"`

	// Specifies the name of the topic to be created. The name can contains of 1 to 255
	// characters and must start with a letter or digit, and can only contain letters, digits, underscores (_), and hyphens (-).
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The region in which to create the SMN topic resource. If omitted, the
	// provider-level region will be used. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the services that can publish messages to this topic
	// separated by comma(,). If left empty, that means no service allowed.
	// +kubebuilder:validation:Optional
	ServicesPublishAllowed *string `json:"servicesPublishAllowed,omitempty" tf:"services_publish_allowed,omitempty"`

	// Specifies the tags of the SMN topic, key/value pair format.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the users who can publish messages to this topic.
	// The value can be * which indicates all users or user account URNs separated by comma(,). The format of
	// user account URN is urn:csp:iam::domainId:root. domainId indicates the account ID of another user.
	// If left empty, that means only the topic creator can publish messages.
	// +kubebuilder:validation:Optional
	UsersPublishAllowed *string `json:"usersPublishAllowed,omitempty" tf:"users_publish_allowed,omitempty"`
}

func (*TopicParameters) DeepCopy

func (in *TopicParameters) DeepCopy() *TopicParameters

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

func (*TopicParameters) DeepCopyInto

func (in *TopicParameters) DeepCopyInto(out *TopicParameters)

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

type TopicSpec

type TopicSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TopicParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TopicInitParameters `json:"initProvider,omitempty"`
}

TopicSpec defines the desired state of Topic

func (*TopicSpec) DeepCopy

func (in *TopicSpec) DeepCopy() *TopicSpec

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

func (*TopicSpec) DeepCopyInto

func (in *TopicSpec) DeepCopyInto(out *TopicSpec)

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

type TopicStatus

type TopicStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        TopicObservation `json:"atProvider,omitempty"`
}

TopicStatus defines the observed state of Topic.

func (*TopicStatus) DeepCopy

func (in *TopicStatus) DeepCopy() *TopicStatus

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

func (*TopicStatus) DeepCopyInto

func (in *TopicStatus) DeepCopyInto(out *TopicStatus)

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