Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=smn.huaweicloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ExtensionInitParameters
- type ExtensionObservation
- type ExtensionParameters
- type FilterPoliciesInitParameters
- type FilterPoliciesObservation
- type FilterPoliciesParameters
- type Logtank
- func (in *Logtank) DeepCopy() *Logtank
- func (in *Logtank) DeepCopyInto(out *Logtank)
- func (in *Logtank) DeepCopyObject() runtime.Object
- func (mg *Logtank) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Logtank) GetConnectionDetailsMapping() map[string]string
- func (mg *Logtank) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Logtank) GetID() string
- func (tr *Logtank) GetInitParameters() (map[string]any, error)
- func (mg *Logtank) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Logtank) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Logtank) GetObservation() (map[string]any, error)
- func (tr *Logtank) GetParameters() (map[string]any, error)
- func (mg *Logtank) GetProviderConfigReference() *xpv1.Reference
- func (mg *Logtank) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Logtank) GetTerraformResourceType() string
- func (tr *Logtank) GetTerraformSchemaVersion() int
- func (mg *Logtank) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Logtank) Hub()
- func (tr *Logtank) LateInitialize(attrs []byte) (bool, error)
- func (mg *Logtank) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Logtank) SetConditions(c ...xpv1.Condition)
- func (mg *Logtank) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Logtank) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Logtank) SetObservation(obs map[string]any) error
- func (tr *Logtank) SetParameters(params map[string]any) error
- func (mg *Logtank) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Logtank) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Logtank) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LogtankInitParameters
- type LogtankList
- type LogtankObservation
- type LogtankParameters
- type LogtankSpec
- type LogtankStatus
- type MessageAttributesInitParameters
- type MessageAttributesObservation
- type MessageAttributesParameters
- type MessageDetection
- func (in *MessageDetection) DeepCopy() *MessageDetection
- func (in *MessageDetection) DeepCopyInto(out *MessageDetection)
- func (in *MessageDetection) DeepCopyObject() runtime.Object
- func (mg *MessageDetection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MessageDetection) GetConnectionDetailsMapping() map[string]string
- func (mg *MessageDetection) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MessageDetection) GetID() string
- func (tr *MessageDetection) GetInitParameters() (map[string]any, error)
- func (mg *MessageDetection) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MessageDetection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MessageDetection) GetObservation() (map[string]any, error)
- func (tr *MessageDetection) GetParameters() (map[string]any, error)
- func (mg *MessageDetection) GetProviderConfigReference() *xpv1.Reference
- func (mg *MessageDetection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MessageDetection) GetTerraformResourceType() string
- func (tr *MessageDetection) GetTerraformSchemaVersion() int
- func (mg *MessageDetection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MessageDetection) Hub()
- func (tr *MessageDetection) LateInitialize(attrs []byte) (bool, error)
- func (mg *MessageDetection) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *MessageDetection) SetConditions(c ...xpv1.Condition)
- func (mg *MessageDetection) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MessageDetection) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MessageDetection) SetObservation(obs map[string]any) error
- func (tr *MessageDetection) SetParameters(params map[string]any) error
- func (mg *MessageDetection) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MessageDetection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MessageDetection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MessageDetectionInitParameters
- type MessageDetectionList
- type MessageDetectionObservation
- type MessageDetectionParameters
- type MessageDetectionSpec
- type MessageDetectionStatus
- type MessagePublish
- func (in *MessagePublish) DeepCopy() *MessagePublish
- func (in *MessagePublish) DeepCopyInto(out *MessagePublish)
- func (in *MessagePublish) DeepCopyObject() runtime.Object
- func (mg *MessagePublish) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MessagePublish) GetConnectionDetailsMapping() map[string]string
- func (mg *MessagePublish) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MessagePublish) GetID() string
- func (tr *MessagePublish) GetInitParameters() (map[string]any, error)
- func (mg *MessagePublish) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MessagePublish) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MessagePublish) GetObservation() (map[string]any, error)
- func (tr *MessagePublish) GetParameters() (map[string]any, error)
- func (mg *MessagePublish) GetProviderConfigReference() *xpv1.Reference
- func (mg *MessagePublish) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MessagePublish) GetTerraformResourceType() string
- func (tr *MessagePublish) GetTerraformSchemaVersion() int
- func (mg *MessagePublish) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MessagePublish) Hub()
- func (tr *MessagePublish) LateInitialize(attrs []byte) (bool, error)
- func (mg *MessagePublish) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *MessagePublish) SetConditions(c ...xpv1.Condition)
- func (mg *MessagePublish) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MessagePublish) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MessagePublish) SetObservation(obs map[string]any) error
- func (tr *MessagePublish) SetParameters(params map[string]any) error
- func (mg *MessagePublish) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MessagePublish) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MessagePublish) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MessagePublishInitParameters
- type MessagePublishList
- type MessagePublishObservation
- type MessagePublishParameters
- type MessagePublishSpec
- type MessagePublishStatus
- type MessageTemplate
- func (in *MessageTemplate) DeepCopy() *MessageTemplate
- func (in *MessageTemplate) DeepCopyInto(out *MessageTemplate)
- func (in *MessageTemplate) DeepCopyObject() runtime.Object
- func (mg *MessageTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MessageTemplate) GetConnectionDetailsMapping() map[string]string
- func (mg *MessageTemplate) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MessageTemplate) GetID() string
- func (tr *MessageTemplate) GetInitParameters() (map[string]any, error)
- func (mg *MessageTemplate) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MessageTemplate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MessageTemplate) GetObservation() (map[string]any, error)
- func (tr *MessageTemplate) GetParameters() (map[string]any, error)
- func (mg *MessageTemplate) GetProviderConfigReference() *xpv1.Reference
- func (mg *MessageTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MessageTemplate) GetTerraformResourceType() string
- func (tr *MessageTemplate) GetTerraformSchemaVersion() int
- func (mg *MessageTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MessageTemplate) Hub()
- func (tr *MessageTemplate) LateInitialize(attrs []byte) (bool, error)
- func (mg *MessageTemplate) SetConditions(c ...xpv1.Condition)
- func (mg *MessageTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MessageTemplate) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MessageTemplate) SetObservation(obs map[string]any) error
- func (tr *MessageTemplate) SetParameters(params map[string]any) error
- func (mg *MessageTemplate) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MessageTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MessageTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MessageTemplateInitParameters
- type MessageTemplateList
- type MessageTemplateObservation
- type MessageTemplateParameters
- type MessageTemplateSpec
- type MessageTemplateStatus
- type Subscription
- func (in *Subscription) DeepCopy() *Subscription
- func (in *Subscription) DeepCopyInto(out *Subscription)
- func (in *Subscription) DeepCopyObject() runtime.Object
- func (mg *Subscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Subscription) GetConnectionDetailsMapping() map[string]string
- func (mg *Subscription) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Subscription) GetID() string
- func (tr *Subscription) GetInitParameters() (map[string]any, error)
- func (mg *Subscription) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Subscription) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Subscription) GetObservation() (map[string]any, error)
- func (tr *Subscription) GetParameters() (map[string]any, error)
- func (mg *Subscription) GetProviderConfigReference() *xpv1.Reference
- func (mg *Subscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Subscription) GetTerraformResourceType() string
- func (tr *Subscription) GetTerraformSchemaVersion() int
- func (mg *Subscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Subscription) Hub()
- func (tr *Subscription) LateInitialize(attrs []byte) (bool, error)
- func (mg *Subscription) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Subscription) SetConditions(c ...xpv1.Condition)
- func (mg *Subscription) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Subscription) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Subscription) SetObservation(obs map[string]any) error
- func (tr *Subscription) SetParameters(params map[string]any) error
- func (mg *Subscription) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Subscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Subscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubscriptionFilterPolicy
- func (in *SubscriptionFilterPolicy) DeepCopy() *SubscriptionFilterPolicy
- func (in *SubscriptionFilterPolicy) DeepCopyInto(out *SubscriptionFilterPolicy)
- func (in *SubscriptionFilterPolicy) DeepCopyObject() runtime.Object
- func (mg *SubscriptionFilterPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SubscriptionFilterPolicy) GetConnectionDetailsMapping() map[string]string
- func (mg *SubscriptionFilterPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SubscriptionFilterPolicy) GetID() string
- func (tr *SubscriptionFilterPolicy) GetInitParameters() (map[string]any, error)
- func (mg *SubscriptionFilterPolicy) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SubscriptionFilterPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SubscriptionFilterPolicy) GetObservation() (map[string]any, error)
- func (tr *SubscriptionFilterPolicy) GetParameters() (map[string]any, error)
- func (mg *SubscriptionFilterPolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *SubscriptionFilterPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SubscriptionFilterPolicy) GetTerraformResourceType() string
- func (tr *SubscriptionFilterPolicy) GetTerraformSchemaVersion() int
- func (mg *SubscriptionFilterPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SubscriptionFilterPolicy) Hub()
- func (tr *SubscriptionFilterPolicy) LateInitialize(attrs []byte) (bool, error)
- func (mg *SubscriptionFilterPolicy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SubscriptionFilterPolicy) SetConditions(c ...xpv1.Condition)
- func (mg *SubscriptionFilterPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SubscriptionFilterPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SubscriptionFilterPolicy) SetObservation(obs map[string]any) error
- func (tr *SubscriptionFilterPolicy) SetParameters(params map[string]any) error
- func (mg *SubscriptionFilterPolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SubscriptionFilterPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SubscriptionFilterPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubscriptionFilterPolicyFilterPoliciesInitParameters
- type SubscriptionFilterPolicyFilterPoliciesObservation
- type SubscriptionFilterPolicyFilterPoliciesParameters
- type SubscriptionFilterPolicyInitParameters
- type SubscriptionFilterPolicyList
- func (in *SubscriptionFilterPolicyList) DeepCopy() *SubscriptionFilterPolicyList
- func (in *SubscriptionFilterPolicyList) DeepCopyInto(out *SubscriptionFilterPolicyList)
- func (in *SubscriptionFilterPolicyList) DeepCopyObject() runtime.Object
- func (l *SubscriptionFilterPolicyList) GetItems() []resource.Managed
- type SubscriptionFilterPolicyObservation
- type SubscriptionFilterPolicyParameters
- type SubscriptionFilterPolicySpec
- type SubscriptionFilterPolicyStatus
- type SubscriptionInitParameters
- type SubscriptionList
- type SubscriptionObservation
- type SubscriptionParameters
- type SubscriptionSpec
- type SubscriptionStatus
- type Topic
- func (in *Topic) DeepCopy() *Topic
- func (in *Topic) DeepCopyInto(out *Topic)
- func (in *Topic) DeepCopyObject() runtime.Object
- func (mg *Topic) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Topic) GetConnectionDetailsMapping() map[string]string
- func (mg *Topic) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Topic) GetID() string
- func (tr *Topic) GetInitParameters() (map[string]any, error)
- func (mg *Topic) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Topic) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Topic) GetObservation() (map[string]any, error)
- func (tr *Topic) GetParameters() (map[string]any, error)
- func (mg *Topic) GetProviderConfigReference() *xpv1.Reference
- func (mg *Topic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Topic) GetTerraformResourceType() string
- func (tr *Topic) GetTerraformSchemaVersion() int
- func (mg *Topic) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Topic) Hub()
- func (tr *Topic) LateInitialize(attrs []byte) (bool, error)
- func (mg *Topic) SetConditions(c ...xpv1.Condition)
- func (mg *Topic) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Topic) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Topic) SetObservation(obs map[string]any) error
- func (tr *Topic) SetParameters(params map[string]any) error
- func (mg *Topic) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Topic) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Topic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TopicInitParameters
- type TopicList
- type TopicObservation
- type TopicParameters
- type TopicSpec
- type TopicStatus
Constants ¶
const ( CRDGroup = "smn.huaweicloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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.
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.
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.
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.
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.
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.
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 ¶
func (in *ExtensionInitParameters) DeepCopy() *ExtensionInitParameters
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 ¶
func (in *ExtensionObservation) DeepCopy() *ExtensionObservation
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 ¶
func (in *FilterPoliciesInitParameters) DeepCopy() *FilterPoliciesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterPoliciesInitParameters.
func (*FilterPoliciesInitParameters) DeepCopyInto ¶
func (in *FilterPoliciesInitParameters) DeepCopyInto(out *FilterPoliciesInitParameters)
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 ¶
func (in *FilterPoliciesObservation) DeepCopy() *FilterPoliciesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterPoliciesObservation.
func (*FilterPoliciesObservation) DeepCopyInto ¶
func (in *FilterPoliciesObservation) DeepCopyInto(out *FilterPoliciesObservation)
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 ¶
func (in *FilterPoliciesParameters) DeepCopy() *FilterPoliciesParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Logtank.
func (*Logtank) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Logtank) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Logtank
func (*Logtank) GetDeletionPolicy ¶
func (mg *Logtank) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Logtank.
func (*Logtank) GetInitParameters ¶
GetInitParameters of this Logtank
func (*Logtank) GetManagementPolicies ¶
func (mg *Logtank) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Logtank.
func (*Logtank) GetMergedParameters ¶
GetInitParameters of this Logtank
func (*Logtank) GetObservation ¶
GetObservation of this Logtank
func (*Logtank) GetParameters ¶
GetParameters of this Logtank
func (*Logtank) GetProviderConfigReference ¶
GetProviderConfigReference of this Logtank.
func (*Logtank) GetPublishConnectionDetailsTo ¶
func (mg *Logtank) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Logtank.
func (*Logtank) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Logtank
func (*Logtank) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Logtank) GetWriteConnectionSecretToReference ¶
func (mg *Logtank) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Logtank.
func (*Logtank) LateInitialize ¶
LateInitialize this Logtank using its observed tfState. returns True if there are any spec changes for the resource.
func (*Logtank) ResolveReferences ¶
ResolveReferences of this Logtank.
func (*Logtank) SetConditions ¶
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 ¶
SetObservation for this Logtank
func (*Logtank) SetParameters ¶
SetParameters for this Logtank
func (*Logtank) SetProviderConfigReference ¶
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 ¶
func (in *LogtankInitParameters) DeepCopy() *LogtankInitParameters
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 ¶
func (in *MessageAttributesInitParameters) DeepCopy() *MessageAttributesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageAttributesInitParameters.
func (*MessageAttributesInitParameters) DeepCopyInto ¶
func (in *MessageAttributesInitParameters) DeepCopyInto(out *MessageAttributesInitParameters)
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 ¶
func (in *MessageAttributesObservation) DeepCopy() *MessageAttributesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageAttributesObservation.
func (*MessageAttributesObservation) DeepCopyInto ¶
func (in *MessageAttributesObservation) DeepCopyInto(out *MessageAttributesObservation)
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 ¶
func (in *MessageAttributesParameters) DeepCopy() *MessageAttributesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageAttributesParameters.
func (*MessageAttributesParameters) DeepCopyInto ¶
func (in *MessageAttributesParameters) DeepCopyInto(out *MessageAttributesParameters)
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 ¶
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 ¶
func (in *MessageDetectionInitParameters) DeepCopy() *MessageDetectionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageDetectionInitParameters.
func (*MessageDetectionInitParameters) DeepCopyInto ¶
func (in *MessageDetectionInitParameters) DeepCopyInto(out *MessageDetectionInitParameters)
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 ¶
func (in *MessageDetectionList) DeepCopy() *MessageDetectionList
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 ¶
func (in *MessageDetectionObservation) DeepCopy() *MessageDetectionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageDetectionObservation.
func (*MessageDetectionObservation) DeepCopyInto ¶
func (in *MessageDetectionObservation) DeepCopyInto(out *MessageDetectionObservation)
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 ¶
func (in *MessageDetectionParameters) DeepCopy() *MessageDetectionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageDetectionParameters.
func (*MessageDetectionParameters) DeepCopyInto ¶
func (in *MessageDetectionParameters) DeepCopyInto(out *MessageDetectionParameters)
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 ¶
func (in *MessageDetectionSpec) DeepCopy() *MessageDetectionSpec
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 ¶
func (in *MessageDetectionStatus) DeepCopy() *MessageDetectionStatus
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 ¶
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 ¶
func (in *MessagePublishInitParameters) DeepCopy() *MessagePublishInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagePublishInitParameters.
func (*MessagePublishInitParameters) DeepCopyInto ¶
func (in *MessagePublishInitParameters) DeepCopyInto(out *MessagePublishInitParameters)
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 ¶
func (in *MessagePublishObservation) DeepCopy() *MessagePublishObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagePublishObservation.
func (*MessagePublishObservation) DeepCopyInto ¶
func (in *MessagePublishObservation) DeepCopyInto(out *MessagePublishObservation)
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 ¶
func (in *MessagePublishParameters) DeepCopy() *MessagePublishParameters
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 ¶
func (in *MessagePublishStatus) DeepCopy() *MessagePublishStatus
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 ¶
func (in *MessageTemplateInitParameters) DeepCopy() *MessageTemplateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateInitParameters.
func (*MessageTemplateInitParameters) DeepCopyInto ¶
func (in *MessageTemplateInitParameters) DeepCopyInto(out *MessageTemplateInitParameters)
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 ¶
func (in *MessageTemplateObservation) DeepCopy() *MessageTemplateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateObservation.
func (*MessageTemplateObservation) DeepCopyInto ¶
func (in *MessageTemplateObservation) DeepCopyInto(out *MessageTemplateObservation)
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 ¶
func (in *MessageTemplateParameters) DeepCopy() *MessageTemplateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplateParameters.
func (*MessageTemplateParameters) DeepCopyInto ¶
func (in *MessageTemplateParameters) DeepCopyInto(out *MessageTemplateParameters)
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 ¶
func (in *MessageTemplateStatus) DeepCopy() *MessageTemplateStatus
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) 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 ¶
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 ¶
func (in *SubscriptionFilterPolicy) DeepCopy() *SubscriptionFilterPolicy
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 ¶
func (mg *SubscriptionFilterPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
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 ¶
func (in *SubscriptionFilterPolicyFilterPoliciesInitParameters) DeepCopy() *SubscriptionFilterPolicyFilterPoliciesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyFilterPoliciesInitParameters.
func (*SubscriptionFilterPolicyFilterPoliciesInitParameters) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyFilterPoliciesInitParameters) DeepCopyInto(out *SubscriptionFilterPolicyFilterPoliciesInitParameters)
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 ¶
func (in *SubscriptionFilterPolicyFilterPoliciesObservation) DeepCopy() *SubscriptionFilterPolicyFilterPoliciesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyFilterPoliciesObservation.
func (*SubscriptionFilterPolicyFilterPoliciesObservation) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyFilterPoliciesObservation) DeepCopyInto(out *SubscriptionFilterPolicyFilterPoliciesObservation)
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 ¶
func (in *SubscriptionFilterPolicyFilterPoliciesParameters) DeepCopy() *SubscriptionFilterPolicyFilterPoliciesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyFilterPoliciesParameters.
func (*SubscriptionFilterPolicyFilterPoliciesParameters) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyFilterPoliciesParameters) DeepCopyInto(out *SubscriptionFilterPolicyFilterPoliciesParameters)
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 ¶
func (in *SubscriptionFilterPolicyInitParameters) DeepCopy() *SubscriptionFilterPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyInitParameters.
func (*SubscriptionFilterPolicyInitParameters) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyInitParameters) DeepCopyInto(out *SubscriptionFilterPolicyInitParameters)
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 ¶
func (in *SubscriptionFilterPolicyList) DeepCopy() *SubscriptionFilterPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyList.
func (*SubscriptionFilterPolicyList) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyList) DeepCopyInto(out *SubscriptionFilterPolicyList)
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 ¶
func (l *SubscriptionFilterPolicyList) GetItems() []resource.Managed
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 ¶
func (in *SubscriptionFilterPolicyObservation) DeepCopy() *SubscriptionFilterPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyObservation.
func (*SubscriptionFilterPolicyObservation) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyObservation) DeepCopyInto(out *SubscriptionFilterPolicyObservation)
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 ¶
func (in *SubscriptionFilterPolicyParameters) DeepCopy() *SubscriptionFilterPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyParameters.
func (*SubscriptionFilterPolicyParameters) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyParameters) DeepCopyInto(out *SubscriptionFilterPolicyParameters)
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 ¶
func (in *SubscriptionFilterPolicySpec) DeepCopy() *SubscriptionFilterPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicySpec.
func (*SubscriptionFilterPolicySpec) DeepCopyInto ¶
func (in *SubscriptionFilterPolicySpec) DeepCopyInto(out *SubscriptionFilterPolicySpec)
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 ¶
func (in *SubscriptionFilterPolicyStatus) DeepCopy() *SubscriptionFilterPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilterPolicyStatus.
func (*SubscriptionFilterPolicyStatus) DeepCopyInto ¶
func (in *SubscriptionFilterPolicyStatus) DeepCopyInto(out *SubscriptionFilterPolicyStatus)
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 ¶
func (in *SubscriptionInitParameters) DeepCopy() *SubscriptionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionInitParameters.
func (*SubscriptionInitParameters) DeepCopyInto ¶
func (in *SubscriptionInitParameters) DeepCopyInto(out *SubscriptionInitParameters)
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 ¶
func (in *SubscriptionObservation) DeepCopy() *SubscriptionObservation
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 ¶
func (in *SubscriptionParameters) DeepCopy() *SubscriptionParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topic.
func (*Topic) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Topic) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Topic
func (*Topic) GetDeletionPolicy ¶
func (mg *Topic) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Topic.
func (*Topic) GetInitParameters ¶
GetInitParameters of this Topic
func (*Topic) GetManagementPolicies ¶
func (mg *Topic) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Topic.
func (*Topic) GetMergedParameters ¶
GetInitParameters of this Topic
func (*Topic) GetObservation ¶
GetObservation of this Topic
func (*Topic) GetParameters ¶
GetParameters of this Topic
func (*Topic) GetProviderConfigReference ¶
GetProviderConfigReference of this Topic.
func (*Topic) GetPublishConnectionDetailsTo ¶
func (mg *Topic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Topic.
func (*Topic) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Topic
func (*Topic) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Topic) GetWriteConnectionSecretToReference ¶
func (mg *Topic) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Topic.
func (*Topic) LateInitialize ¶
LateInitialize this Topic using its observed tfState. returns True if there are any spec changes for the resource.
func (*Topic) SetConditions ¶
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 ¶
SetObservation for this Topic
func (*Topic) SetParameters ¶
SetParameters for this Topic
func (*Topic) SetProviderConfigReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicList.
func (*TopicList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TopicList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicSpec.
func (*TopicSpec) DeepCopyInto ¶
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.
Source Files
¶
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_logtank_terraformed.go
- zz_logtank_types.go
- zz_messagedetection_terraformed.go
- zz_messagedetection_types.go
- zz_messagepublish_terraformed.go
- zz_messagepublish_types.go
- zz_messagetemplate_terraformed.go
- zz_messagetemplate_types.go
- zz_subscription_terraformed.go
- zz_subscription_types.go
- zz_subscriptionfilterpolicy_terraformed.go
- zz_subscriptionfilterpolicy_types.go
- zz_topic_terraformed.go
- zz_topic_types.go