Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=user.pagerduty.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ContactMethod
- func (in *ContactMethod) DeepCopy() *ContactMethod
- func (in *ContactMethod) DeepCopyInto(out *ContactMethod)
- func (in *ContactMethod) DeepCopyObject() runtime.Object
- func (mg *ContactMethod) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ContactMethod) GetConnectionDetailsMapping() map[string]string
- func (mg *ContactMethod) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ContactMethod) GetID() string
- func (tr *ContactMethod) GetInitParameters() (map[string]any, error)
- func (mg *ContactMethod) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ContactMethod) GetObservation() (map[string]any, error)
- func (tr *ContactMethod) GetParameters() (map[string]any, error)
- func (mg *ContactMethod) GetProviderConfigReference() *xpv1.Reference
- func (mg *ContactMethod) GetProviderReference() *xpv1.Reference
- func (mg *ContactMethod) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ContactMethod) GetTerraformResourceType() string
- func (tr *ContactMethod) GetTerraformSchemaVersion() int
- func (mg *ContactMethod) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ContactMethod) LateInitialize(attrs []byte) (bool, error)
- func (mg *ContactMethod) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ContactMethod) SetConditions(c ...xpv1.Condition)
- func (mg *ContactMethod) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ContactMethod) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ContactMethod) SetObservation(obs map[string]any) error
- func (tr *ContactMethod) SetParameters(params map[string]any) error
- func (mg *ContactMethod) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ContactMethod) SetProviderReference(r *xpv1.Reference)
- func (mg *ContactMethod) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ContactMethod) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ContactMethodInitParameters
- type ContactMethodList
- type ContactMethodObservation
- type ContactMethodParameters
- type ContactMethodSpec
- type ContactMethodStatus
- type NotificationRule
- func (in *NotificationRule) DeepCopy() *NotificationRule
- func (in *NotificationRule) DeepCopyInto(out *NotificationRule)
- func (in *NotificationRule) DeepCopyObject() runtime.Object
- func (mg *NotificationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *NotificationRule) GetConnectionDetailsMapping() map[string]string
- func (mg *NotificationRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *NotificationRule) GetID() string
- func (tr *NotificationRule) GetInitParameters() (map[string]any, error)
- func (mg *NotificationRule) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *NotificationRule) GetObservation() (map[string]any, error)
- func (tr *NotificationRule) GetParameters() (map[string]any, error)
- func (mg *NotificationRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *NotificationRule) GetProviderReference() *xpv1.Reference
- func (mg *NotificationRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *NotificationRule) GetTerraformResourceType() string
- func (tr *NotificationRule) GetTerraformSchemaVersion() int
- func (mg *NotificationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *NotificationRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *NotificationRule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *NotificationRule) SetConditions(c ...xpv1.Condition)
- func (mg *NotificationRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *NotificationRule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *NotificationRule) SetObservation(obs map[string]any) error
- func (tr *NotificationRule) SetParameters(params map[string]any) error
- func (mg *NotificationRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *NotificationRule) SetProviderReference(r *xpv1.Reference)
- func (mg *NotificationRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *NotificationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NotificationRuleInitParameters
- type NotificationRuleList
- type NotificationRuleObservation
- type NotificationRuleParameters
- type NotificationRuleSpec
- type NotificationRuleStatus
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (tr *User) GetInitParameters() (map[string]any, error)
- func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetProviderReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetProviderReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserInitParameters
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "user.pagerduty.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ContactMethod_Kind = "ContactMethod" ContactMethod_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ContactMethod_Kind}.String() ContactMethod_KindAPIVersion = ContactMethod_Kind + "." + CRDGroupVersion.String() ContactMethod_GroupVersionKind = CRDGroupVersion.WithKind(ContactMethod_Kind) )
Repository type metadata.
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 ( NotificationRule_Kind = "NotificationRule" NotificationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NotificationRule_Kind}.String() NotificationRule_KindAPIVersion = NotificationRule_Kind + "." + CRDGroupVersion.String() NotificationRule_GroupVersionKind = CRDGroupVersion.WithKind(NotificationRule_Kind) )
Repository type metadata.
var ( User_Kind = "User" User_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String() User_KindAPIVersion = User_Kind + "." + CRDGroupVersion.String() User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ContactMethod ¶
type ContactMethod 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.address) || has(self.initProvider.address)",message="address is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || has(self.initProvider.label)",message="label is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" Spec ContactMethodSpec `json:"spec"` Status ContactMethodStatus `json:"status,omitempty"` }
ContactMethod is the Schema for the ContactMethods API. Creates and manages contact methods for a user in PagerDuty. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
func (*ContactMethod) DeepCopy ¶
func (in *ContactMethod) DeepCopy() *ContactMethod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethod.
func (*ContactMethod) DeepCopyInto ¶
func (in *ContactMethod) DeepCopyInto(out *ContactMethod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactMethod) DeepCopyObject ¶
func (in *ContactMethod) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContactMethod) GetCondition ¶
func (mg *ContactMethod) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ContactMethod.
func (*ContactMethod) GetConnectionDetailsMapping ¶
func (tr *ContactMethod) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ContactMethod
func (*ContactMethod) GetDeletionPolicy ¶
func (mg *ContactMethod) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ContactMethod.
func (*ContactMethod) GetID ¶
func (tr *ContactMethod) GetID() string
GetID returns ID of underlying Terraform resource of this ContactMethod
func (*ContactMethod) GetInitParameters ¶ added in v0.5.0
func (tr *ContactMethod) GetInitParameters() (map[string]any, error)
GetInitParameters of this ContactMethod
func (*ContactMethod) GetManagementPolicies ¶ added in v0.5.0
func (mg *ContactMethod) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ContactMethod.
func (*ContactMethod) GetObservation ¶
func (tr *ContactMethod) GetObservation() (map[string]any, error)
GetObservation of this ContactMethod
func (*ContactMethod) GetParameters ¶
func (tr *ContactMethod) GetParameters() (map[string]any, error)
GetParameters of this ContactMethod
func (*ContactMethod) GetProviderConfigReference ¶
func (mg *ContactMethod) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ContactMethod.
func (*ContactMethod) GetProviderReference ¶
func (mg *ContactMethod) GetProviderReference() *xpv1.Reference
GetProviderReference of this ContactMethod. Deprecated: Use GetProviderConfigReference.
func (*ContactMethod) GetPublishConnectionDetailsTo ¶
func (mg *ContactMethod) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ContactMethod.
func (*ContactMethod) GetTerraformResourceType ¶
func (mg *ContactMethod) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ContactMethod
func (*ContactMethod) GetTerraformSchemaVersion ¶
func (tr *ContactMethod) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ContactMethod) GetWriteConnectionSecretToReference ¶
func (mg *ContactMethod) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ContactMethod.
func (*ContactMethod) LateInitialize ¶
func (tr *ContactMethod) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ContactMethod using its observed tfState. returns True if there are any spec changes for the resource.
func (*ContactMethod) ResolveReferences ¶
ResolveReferences of this ContactMethod.
func (*ContactMethod) SetConditions ¶
func (mg *ContactMethod) SetConditions(c ...xpv1.Condition)
SetConditions of this ContactMethod.
func (*ContactMethod) SetDeletionPolicy ¶
func (mg *ContactMethod) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ContactMethod.
func (*ContactMethod) SetManagementPolicies ¶ added in v0.5.0
func (mg *ContactMethod) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ContactMethod.
func (*ContactMethod) SetObservation ¶
func (tr *ContactMethod) SetObservation(obs map[string]any) error
SetObservation for this ContactMethod
func (*ContactMethod) SetParameters ¶
func (tr *ContactMethod) SetParameters(params map[string]any) error
SetParameters for this ContactMethod
func (*ContactMethod) SetProviderConfigReference ¶
func (mg *ContactMethod) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ContactMethod.
func (*ContactMethod) SetProviderReference ¶
func (mg *ContactMethod) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ContactMethod. Deprecated: Use SetProviderConfigReference.
func (*ContactMethod) SetPublishConnectionDetailsTo ¶
func (mg *ContactMethod) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ContactMethod.
func (*ContactMethod) SetWriteConnectionSecretToReference ¶
func (mg *ContactMethod) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ContactMethod.
type ContactMethodInitParameters ¶ added in v0.5.0
type ContactMethodInitParameters struct { // The "address" to deliver to: email, phone number, etc., depending on the type. Address *string `json:"address,omitempty" tf:"address,omitempty"` // The 1-to-3 digit country calling code. Required when using phone_contact_method or sms_contact_method. CountryCode *float64 `json:"countryCode,omitempty" tf:"country_code,omitempty"` // The label (e.g., "Work", "Mobile", etc.). Label *string `json:"label,omitempty" tf:"label,omitempty"` // Send an abbreviated email message instead of the standard email output. SendShortEmail *bool `json:"sendShortEmail,omitempty" tf:"send_short_email,omitempty"` // The contact method type. May be (email_contact_method, phone_contact_method, sms_contact_method, push_notification_contact_method). Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ContactMethodInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ContactMethodInitParameters) DeepCopy() *ContactMethodInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodInitParameters.
func (*ContactMethodInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ContactMethodInitParameters) DeepCopyInto(out *ContactMethodInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactMethodList ¶
type ContactMethodList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContactMethod `json:"items"` }
ContactMethodList contains a list of ContactMethods
func (*ContactMethodList) DeepCopy ¶
func (in *ContactMethodList) DeepCopy() *ContactMethodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodList.
func (*ContactMethodList) DeepCopyInto ¶
func (in *ContactMethodList) DeepCopyInto(out *ContactMethodList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactMethodList) DeepCopyObject ¶
func (in *ContactMethodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContactMethodList) GetItems ¶
func (l *ContactMethodList) GetItems() []resource.Managed
GetItems of this ContactMethodList.
type ContactMethodObservation ¶
type ContactMethodObservation struct { // The "address" to deliver to: email, phone number, etc., depending on the type. Address *string `json:"address,omitempty" tf:"address,omitempty"` // If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it. Blacklisted *bool `json:"blacklisted,omitempty" tf:"blacklisted,omitempty"` // The 1-to-3 digit country calling code. Required when using phone_contact_method or sms_contact_method. CountryCode *float64 `json:"countryCode,omitempty" tf:"country_code,omitempty"` // If true, this phone is capable of receiving SMS messages. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The ID of the contact method. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The label (e.g., "Work", "Mobile", etc.). Label *string `json:"label,omitempty" tf:"label,omitempty"` // Send an abbreviated email message instead of the standard email output. SendShortEmail *bool `json:"sendShortEmail,omitempty" tf:"send_short_email,omitempty"` // The contact method type. May be (email_contact_method, phone_contact_method, sms_contact_method, push_notification_contact_method). Type *string `json:"type,omitempty" tf:"type,omitempty"` // The ID of the user. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*ContactMethodObservation) DeepCopy ¶
func (in *ContactMethodObservation) DeepCopy() *ContactMethodObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodObservation.
func (*ContactMethodObservation) DeepCopyInto ¶
func (in *ContactMethodObservation) DeepCopyInto(out *ContactMethodObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactMethodParameters ¶
type ContactMethodParameters struct { // The "address" to deliver to: email, phone number, etc., depending on the type. // +kubebuilder:validation:Optional Address *string `json:"address,omitempty" tf:"address,omitempty"` // The 1-to-3 digit country calling code. Required when using phone_contact_method or sms_contact_method. // +kubebuilder:validation:Optional CountryCode *float64 `json:"countryCode,omitempty" tf:"country_code,omitempty"` // The label (e.g., "Work", "Mobile", etc.). // +kubebuilder:validation:Optional Label *string `json:"label,omitempty" tf:"label,omitempty"` // Send an abbreviated email message instead of the standard email output. // +kubebuilder:validation:Optional SendShortEmail *bool `json:"sendShortEmail,omitempty" tf:"send_short_email,omitempty"` // The contact method type. May be (email_contact_method, phone_contact_method, sms_contact_method, push_notification_contact_method). // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // The ID of the user. // +crossplane:generate:reference:type=User // +kubebuilder:validation:Optional UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User to populate userId. // +kubebuilder:validation:Optional UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"` // Selector for a User to populate userId. // +kubebuilder:validation:Optional UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"` }
func (*ContactMethodParameters) DeepCopy ¶
func (in *ContactMethodParameters) DeepCopy() *ContactMethodParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodParameters.
func (*ContactMethodParameters) DeepCopyInto ¶
func (in *ContactMethodParameters) DeepCopyInto(out *ContactMethodParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactMethodSpec ¶
type ContactMethodSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ContactMethodParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // 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 ContactMethodInitParameters `json:"initProvider,omitempty"` }
ContactMethodSpec defines the desired state of ContactMethod
func (*ContactMethodSpec) DeepCopy ¶
func (in *ContactMethodSpec) DeepCopy() *ContactMethodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodSpec.
func (*ContactMethodSpec) DeepCopyInto ¶
func (in *ContactMethodSpec) DeepCopyInto(out *ContactMethodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactMethodStatus ¶
type ContactMethodStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ContactMethodObservation `json:"atProvider,omitempty"` }
ContactMethodStatus defines the observed state of ContactMethod.
func (*ContactMethodStatus) DeepCopy ¶
func (in *ContactMethodStatus) DeepCopy() *ContactMethodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactMethodStatus.
func (*ContactMethodStatus) DeepCopyInto ¶
func (in *ContactMethodStatus) DeepCopyInto(out *ContactMethodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRule ¶
type NotificationRule 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.contactMethod) || has(self.initProvider.contactMethod)",message="contactMethod is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.startDelayInMinutes) || has(self.initProvider.startDelayInMinutes)",message="startDelayInMinutes is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.urgency) || has(self.initProvider.urgency)",message="urgency is a required parameter" Spec NotificationRuleSpec `json:"spec"` Status NotificationRuleStatus `json:"status,omitempty"` }
NotificationRule is the Schema for the NotificationRules API. Creates and manages notification rules for a user in PagerDuty. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
func (*NotificationRule) DeepCopy ¶
func (in *NotificationRule) DeepCopy() *NotificationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRule.
func (*NotificationRule) DeepCopyInto ¶
func (in *NotificationRule) DeepCopyInto(out *NotificationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRule) DeepCopyObject ¶
func (in *NotificationRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationRule) GetCondition ¶
func (mg *NotificationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this NotificationRule.
func (*NotificationRule) GetConnectionDetailsMapping ¶
func (tr *NotificationRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this NotificationRule
func (*NotificationRule) GetDeletionPolicy ¶
func (mg *NotificationRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this NotificationRule.
func (*NotificationRule) GetID ¶
func (tr *NotificationRule) GetID() string
GetID returns ID of underlying Terraform resource of this NotificationRule
func (*NotificationRule) GetInitParameters ¶ added in v0.5.0
func (tr *NotificationRule) GetInitParameters() (map[string]any, error)
GetInitParameters of this NotificationRule
func (*NotificationRule) GetManagementPolicies ¶ added in v0.5.0
func (mg *NotificationRule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this NotificationRule.
func (*NotificationRule) GetObservation ¶
func (tr *NotificationRule) GetObservation() (map[string]any, error)
GetObservation of this NotificationRule
func (*NotificationRule) GetParameters ¶
func (tr *NotificationRule) GetParameters() (map[string]any, error)
GetParameters of this NotificationRule
func (*NotificationRule) GetProviderConfigReference ¶
func (mg *NotificationRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this NotificationRule.
func (*NotificationRule) GetProviderReference ¶
func (mg *NotificationRule) GetProviderReference() *xpv1.Reference
GetProviderReference of this NotificationRule. Deprecated: Use GetProviderConfigReference.
func (*NotificationRule) GetPublishConnectionDetailsTo ¶
func (mg *NotificationRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this NotificationRule.
func (*NotificationRule) GetTerraformResourceType ¶
func (mg *NotificationRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this NotificationRule
func (*NotificationRule) GetTerraformSchemaVersion ¶
func (tr *NotificationRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*NotificationRule) GetWriteConnectionSecretToReference ¶
func (mg *NotificationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this NotificationRule.
func (*NotificationRule) LateInitialize ¶
func (tr *NotificationRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this NotificationRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*NotificationRule) ResolveReferences ¶
ResolveReferences of this NotificationRule.
func (*NotificationRule) SetConditions ¶
func (mg *NotificationRule) SetConditions(c ...xpv1.Condition)
SetConditions of this NotificationRule.
func (*NotificationRule) SetDeletionPolicy ¶
func (mg *NotificationRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this NotificationRule.
func (*NotificationRule) SetManagementPolicies ¶ added in v0.5.0
func (mg *NotificationRule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this NotificationRule.
func (*NotificationRule) SetObservation ¶
func (tr *NotificationRule) SetObservation(obs map[string]any) error
SetObservation for this NotificationRule
func (*NotificationRule) SetParameters ¶
func (tr *NotificationRule) SetParameters(params map[string]any) error
SetParameters for this NotificationRule
func (*NotificationRule) SetProviderConfigReference ¶
func (mg *NotificationRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this NotificationRule.
func (*NotificationRule) SetProviderReference ¶
func (mg *NotificationRule) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this NotificationRule. Deprecated: Use SetProviderConfigReference.
func (*NotificationRule) SetPublishConnectionDetailsTo ¶
func (mg *NotificationRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this NotificationRule.
func (*NotificationRule) SetWriteConnectionSecretToReference ¶
func (mg *NotificationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this NotificationRule.
type NotificationRuleInitParameters ¶ added in v0.5.0
type NotificationRuleInitParameters struct { // A contact method block, configured as a block described below. ContactMethod map[string]*string `json:"contactMethod,omitempty" tf:"contact_method,omitempty"` // The delay before firing the rule, in minutes. StartDelayInMinutes *float64 `json:"startDelayInMinutes,omitempty" tf:"start_delay_in_minutes,omitempty"` // Which incident urgency this rule is used for. Account must have the urgencies ability to have a low urgency notification rule. Can be high or low. Urgency *string `json:"urgency,omitempty" tf:"urgency,omitempty"` }
func (*NotificationRuleInitParameters) DeepCopy ¶ added in v0.5.0
func (in *NotificationRuleInitParameters) DeepCopy() *NotificationRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleInitParameters.
func (*NotificationRuleInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *NotificationRuleInitParameters) DeepCopyInto(out *NotificationRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleList ¶
type NotificationRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NotificationRule `json:"items"` }
NotificationRuleList contains a list of NotificationRules
func (*NotificationRuleList) DeepCopy ¶
func (in *NotificationRuleList) DeepCopy() *NotificationRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleList.
func (*NotificationRuleList) DeepCopyInto ¶
func (in *NotificationRuleList) DeepCopyInto(out *NotificationRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRuleList) DeepCopyObject ¶
func (in *NotificationRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationRuleList) GetItems ¶
func (l *NotificationRuleList) GetItems() []resource.Managed
GetItems of this NotificationRuleList.
type NotificationRuleObservation ¶
type NotificationRuleObservation struct { // A contact method block, configured as a block described below. ContactMethod map[string]*string `json:"contactMethod,omitempty" tf:"contact_method,omitempty"` // The id of the referenced contact method. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The delay before firing the rule, in minutes. StartDelayInMinutes *float64 `json:"startDelayInMinutes,omitempty" tf:"start_delay_in_minutes,omitempty"` // Which incident urgency this rule is used for. Account must have the urgencies ability to have a low urgency notification rule. Can be high or low. Urgency *string `json:"urgency,omitempty" tf:"urgency,omitempty"` // The ID of the user. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*NotificationRuleObservation) DeepCopy ¶
func (in *NotificationRuleObservation) DeepCopy() *NotificationRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleObservation.
func (*NotificationRuleObservation) DeepCopyInto ¶
func (in *NotificationRuleObservation) DeepCopyInto(out *NotificationRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleParameters ¶
type NotificationRuleParameters struct { // A contact method block, configured as a block described below. // +kubebuilder:validation:Optional ContactMethod map[string]*string `json:"contactMethod,omitempty" tf:"contact_method,omitempty"` // The delay before firing the rule, in minutes. // +kubebuilder:validation:Optional StartDelayInMinutes *float64 `json:"startDelayInMinutes,omitempty" tf:"start_delay_in_minutes,omitempty"` // Which incident urgency this rule is used for. Account must have the urgencies ability to have a low urgency notification rule. Can be high or low. // +kubebuilder:validation:Optional Urgency *string `json:"urgency,omitempty" tf:"urgency,omitempty"` // The ID of the user. // +crossplane:generate:reference:type=User // +kubebuilder:validation:Optional UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User to populate userId. // +kubebuilder:validation:Optional UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"` // Selector for a User to populate userId. // +kubebuilder:validation:Optional UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"` }
func (*NotificationRuleParameters) DeepCopy ¶
func (in *NotificationRuleParameters) DeepCopy() *NotificationRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleParameters.
func (*NotificationRuleParameters) DeepCopyInto ¶
func (in *NotificationRuleParameters) DeepCopyInto(out *NotificationRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleSpec ¶
type NotificationRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider NotificationRuleParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // 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 NotificationRuleInitParameters `json:"initProvider,omitempty"` }
NotificationRuleSpec defines the desired state of NotificationRule
func (*NotificationRuleSpec) DeepCopy ¶
func (in *NotificationRuleSpec) DeepCopy() *NotificationRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleSpec.
func (*NotificationRuleSpec) DeepCopyInto ¶
func (in *NotificationRuleSpec) DeepCopyInto(out *NotificationRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationRuleStatus ¶
type NotificationRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NotificationRuleObservation `json:"atProvider,omitempty"` }
NotificationRuleStatus defines the observed state of NotificationRule.
func (*NotificationRuleStatus) DeepCopy ¶
func (in *NotificationRuleStatus) DeepCopy() *NotificationRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRuleStatus.
func (*NotificationRuleStatus) DeepCopyInto ¶
func (in *NotificationRuleStatus) DeepCopyInto(out *NotificationRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User 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.email) || has(self.initProvider.email)",message="email 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.name)",message="name is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the Users API. Creates and manages a user in PagerDuty. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this User
func (*User) GetManagementPolicies ¶ added in v0.5.0
func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this User.
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetProviderReference ¶
GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetManagementPolicies ¶ added in v0.5.0
func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this User.
func (*User) SetObservation ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetProviderReference ¶
SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.
func (*User) SetPublishConnectionDetailsTo ¶
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserInitParameters ¶ added in v0.5.0
type UserInitParameters struct { // The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue. Color *string `json:"color,omitempty" tf:"color,omitempty"` // A human-friendly description of the user. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The user's email address. Email *string `json:"email,omitempty" tf:"email,omitempty"` // The user's title. JobTitle *string `json:"jobTitle,omitempty" tf:"job_title,omitempty"` // The license id assigned to the user. If provided the user's role must exist in the assigned license's valid_roles list. To reference purchased licenses' ids see data source pagerduty_licenses data source. License *string `json:"license,omitempty" tf:"license,omitempty"` // The name of the user. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The user role. Can be admin, limited_user, observer, owner, read_only_user, read_only_limited_user, restricted_access, or user. // Notes: Role *string `json:"role,omitempty" tf:"role,omitempty"` // The time zone of the user. Default is account default timezone. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` }
func (*UserInitParameters) DeepCopy ¶ added in v0.5.0
func (in *UserInitParameters) DeepCopy() *UserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.
func (*UserInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { // The URL of the user's avatar. AvatarURL *string `json:"avatarUrl,omitempty" tf:"avatar_url,omitempty"` // The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue. Color *string `json:"color,omitempty" tf:"color,omitempty"` // A human-friendly description of the user. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The user's email address. Email *string `json:"email,omitempty" tf:"email,omitempty"` // URL at which the entity is uniquely displayed in the Web app HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"` // The ID of the user. ID *string `json:"id,omitempty" tf:"id,omitempty"` // If true, the user has an outstanding invitation. InvitationSent *bool `json:"invitationSent,omitempty" tf:"invitation_sent,omitempty"` // The user's title. JobTitle *string `json:"jobTitle,omitempty" tf:"job_title,omitempty"` // The license id assigned to the user. If provided the user's role must exist in the assigned license's valid_roles list. To reference purchased licenses' ids see data source pagerduty_licenses data source. License *string `json:"license,omitempty" tf:"license,omitempty"` // The name of the user. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The user role. Can be admin, limited_user, observer, owner, read_only_user, read_only_limited_user, restricted_access, or user. // Notes: Role *string `json:"role,omitempty" tf:"role,omitempty"` // A list of teams the user should belong to. Please use pagerduty_team_membership instead. Teams []*string `json:"teams,omitempty" tf:"teams,omitempty"` // The time zone of the user. Default is account default timezone. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` }
func (*UserObservation) DeepCopy ¶
func (in *UserObservation) DeepCopy() *UserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.
func (*UserObservation) DeepCopyInto ¶
func (in *UserObservation) DeepCopyInto(out *UserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserParameters ¶
type UserParameters struct { // The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue. // +kubebuilder:validation:Optional Color *string `json:"color,omitempty" tf:"color,omitempty"` // A human-friendly description of the user. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The user's email address. // +kubebuilder:validation:Optional Email *string `json:"email,omitempty" tf:"email,omitempty"` // The user's title. // +kubebuilder:validation:Optional JobTitle *string `json:"jobTitle,omitempty" tf:"job_title,omitempty"` // The license id assigned to the user. If provided the user's role must exist in the assigned license's valid_roles list. To reference purchased licenses' ids see data source pagerduty_licenses data source. // +kubebuilder:validation:Optional License *string `json:"license,omitempty" tf:"license,omitempty"` // The name of the user. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The user role. Can be admin, limited_user, observer, owner, read_only_user, read_only_limited_user, restricted_access, or user. // Notes: // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` // The time zone of the user. Default is account default timezone. // +kubebuilder:validation:Optional TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` }
func (*UserParameters) DeepCopy ¶
func (in *UserParameters) DeepCopy() *UserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.
func (*UserParameters) DeepCopyInto ¶
func (in *UserParameters) DeepCopyInto(out *UserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { v1.ResourceSpec `json:",inline"` ForProvider UserParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // 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 UserInitParameters `json:"initProvider,omitempty"` }
UserSpec defines the desired state of User
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
UserStatus defines the observed state of User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.