v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=fw.openstack.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "fw.openstack.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	GroupV2_Kind             = "GroupV2"
	GroupV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GroupV2_Kind}.String()
	GroupV2_KindAPIVersion   = GroupV2_Kind + "." + CRDGroupVersion.String()
	GroupV2_GroupVersionKind = CRDGroupVersion.WithKind(GroupV2_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	PolicyV2_Kind             = "PolicyV2"
	PolicyV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyV2_Kind}.String()
	PolicyV2_KindAPIVersion   = PolicyV2_Kind + "." + CRDGroupVersion.String()
	PolicyV2_GroupVersionKind = CRDGroupVersion.WithKind(PolicyV2_Kind)
)

Repository type metadata.

View Source
var (
	RuleV2_Kind             = "RuleV2"
	RuleV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RuleV2_Kind}.String()
	RuleV2_KindAPIVersion   = RuleV2_Kind + "." + CRDGroupVersion.String()
	RuleV2_GroupVersionKind = CRDGroupVersion.WithKind(RuleV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type GroupV2

type GroupV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupV2Spec   `json:"spec"`
	Status            GroupV2Status `json:"status,omitempty"`
}

GroupV2 is the Schema for the GroupV2s API. Manages a v2 firewall group resource within OpenStack. +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,openstack}

func (*GroupV2) DeepCopy

func (in *GroupV2) DeepCopy() *GroupV2

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

func (*GroupV2) DeepCopyInto

func (in *GroupV2) DeepCopyInto(out *GroupV2)

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

func (*GroupV2) DeepCopyObject

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

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

func (*GroupV2) GetCondition

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

GetCondition of this GroupV2.

func (*GroupV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GroupV2

func (*GroupV2) GetDeletionPolicy

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

GetDeletionPolicy of this GroupV2.

func (*GroupV2) GetID

func (tr *GroupV2) GetID() string

GetID returns ID of underlying Terraform resource of this GroupV2

func (*GroupV2) GetInitParameters

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

GetInitParameters of this GroupV2

func (*GroupV2) GetManagementPolicies

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

GetManagementPolicies of this GroupV2.

func (*GroupV2) GetMergedParameters

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

GetInitParameters of this GroupV2

func (*GroupV2) GetObservation

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

GetObservation of this GroupV2

func (*GroupV2) GetParameters

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

GetParameters of this GroupV2

func (*GroupV2) GetProviderConfigReference

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

GetProviderConfigReference of this GroupV2.

func (*GroupV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GroupV2.

func (*GroupV2) GetTerraformResourceType

func (mg *GroupV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GroupV2

func (*GroupV2) GetTerraformSchemaVersion

func (tr *GroupV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GroupV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GroupV2.

func (*GroupV2) LateInitialize

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

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

func (*GroupV2) SetConditions

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

SetConditions of this GroupV2.

func (*GroupV2) SetDeletionPolicy

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

SetDeletionPolicy of this GroupV2.

func (*GroupV2) SetManagementPolicies

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

SetManagementPolicies of this GroupV2.

func (*GroupV2) SetObservation

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

SetObservation for this GroupV2

func (*GroupV2) SetParameters

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

SetParameters for this GroupV2

func (*GroupV2) SetProviderConfigReference

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

SetProviderConfigReference of this GroupV2.

func (*GroupV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GroupV2.

func (*GroupV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GroupV2.

type GroupV2InitParameters

type GroupV2InitParameters struct {

	// Administrative up/down status for the firewall
	// group (must be "true" or "false" if provided - defaults to "true").
	// Changing this updates the admin_state_up of an existing firewall group.
	AdminStateUp *bool `json:"adminStateUp,omitempty" tf:"admin_state_up,omitempty"`

	// A description for the firewall group. Changing this
	// updates the description of an existing firewall group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The egress firewall policy resource
	// id for the firewall group. Changing this updates the
	// egress_firewall_policy_id of an existing firewall group.
	EgressFirewallPolicyID *string `json:"egressFirewallPolicyId,omitempty" tf:"egress_firewall_policy_id,omitempty"`

	// The ingress firewall policy resource
	// id for the firewall group. Changing this updates the
	// ingress_firewall_policy_id of an existing firewall group.
	IngressFirewallPolicyID *string `json:"ingressFirewallPolicyId,omitempty" tf:"ingress_firewall_policy_id,omitempty"`

	// A name for the firewall group. Changing this
	// updates the name of an existing firewall.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Port(s) to associate this firewall group
	// with. Must be a list of strings. Changing this updates the associated ports
	// of an existing firewall group.
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`

	// - This argument conflicts and  is interchangeable
	// with tenant_id. The owner of the firewall group. Required if admin wants
	// to create a firewall group for another project. Changing this creates a new
	// firewall group.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall group. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall group.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Sharing status of the firewall group (must be "true"
	// or "false" if provided). If this is "true" the firewall group is visible to,
	// and can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall group. Only administrative users
	// can specify if the firewall group should be shared.
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// - This argument conflicts and is interchangeable with
	// project_id. The owner of the firewall group. Required if admin wants to
	// create a firewall group for another tenant. Changing this creates a new
	// firewall group.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*GroupV2InitParameters) DeepCopy

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

func (*GroupV2InitParameters) DeepCopyInto

func (in *GroupV2InitParameters) DeepCopyInto(out *GroupV2InitParameters)

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

type GroupV2List

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

GroupV2List contains a list of GroupV2s

func (*GroupV2List) DeepCopy

func (in *GroupV2List) DeepCopy() *GroupV2List

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

func (*GroupV2List) DeepCopyInto

func (in *GroupV2List) DeepCopyInto(out *GroupV2List)

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

func (*GroupV2List) DeepCopyObject

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

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

func (*GroupV2List) GetItems

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

GetItems of this GroupV2List.

type GroupV2Observation

type GroupV2Observation struct {

	// Administrative up/down status for the firewall
	// group (must be "true" or "false" if provided - defaults to "true").
	// Changing this updates the admin_state_up of an existing firewall group.
	AdminStateUp *bool `json:"adminStateUp,omitempty" tf:"admin_state_up,omitempty"`

	// A description for the firewall group. Changing this
	// updates the description of an existing firewall group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The egress firewall policy resource
	// id for the firewall group. Changing this updates the
	// egress_firewall_policy_id of an existing firewall group.
	EgressFirewallPolicyID *string `json:"egressFirewallPolicyId,omitempty" tf:"egress_firewall_policy_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ingress firewall policy resource
	// id for the firewall group. Changing this updates the
	// ingress_firewall_policy_id of an existing firewall group.
	IngressFirewallPolicyID *string `json:"ingressFirewallPolicyId,omitempty" tf:"ingress_firewall_policy_id,omitempty"`

	// A name for the firewall group. Changing this
	// updates the name of an existing firewall.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Port(s) to associate this firewall group
	// with. Must be a list of strings. Changing this updates the associated ports
	// of an existing firewall group.
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`

	// - This argument conflicts and  is interchangeable
	// with tenant_id. The owner of the firewall group. Required if admin wants
	// to create a firewall group for another project. Changing this creates a new
	// firewall group.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall group. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall group.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Sharing status of the firewall group (must be "true"
	// or "false" if provided). If this is "true" the firewall group is visible to,
	// and can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall group. Only administrative users
	// can specify if the firewall group should be shared.
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// The status of the firewall group.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// - This argument conflicts and is interchangeable with
	// project_id. The owner of the firewall group. Required if admin wants to
	// create a firewall group for another tenant. Changing this creates a new
	// firewall group.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*GroupV2Observation) DeepCopy

func (in *GroupV2Observation) DeepCopy() *GroupV2Observation

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

func (*GroupV2Observation) DeepCopyInto

func (in *GroupV2Observation) DeepCopyInto(out *GroupV2Observation)

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

type GroupV2Parameters

type GroupV2Parameters struct {

	// Administrative up/down status for the firewall
	// group (must be "true" or "false" if provided - defaults to "true").
	// Changing this updates the admin_state_up of an existing firewall group.
	// +kubebuilder:validation:Optional
	AdminStateUp *bool `json:"adminStateUp,omitempty" tf:"admin_state_up,omitempty"`

	// A description for the firewall group. Changing this
	// updates the description of an existing firewall group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The egress firewall policy resource
	// id for the firewall group. Changing this updates the
	// egress_firewall_policy_id of an existing firewall group.
	// +kubebuilder:validation:Optional
	EgressFirewallPolicyID *string `json:"egressFirewallPolicyId,omitempty" tf:"egress_firewall_policy_id,omitempty"`

	// The ingress firewall policy resource
	// id for the firewall group. Changing this updates the
	// ingress_firewall_policy_id of an existing firewall group.
	// +kubebuilder:validation:Optional
	IngressFirewallPolicyID *string `json:"ingressFirewallPolicyId,omitempty" tf:"ingress_firewall_policy_id,omitempty"`

	// A name for the firewall group. Changing this
	// updates the name of an existing firewall.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Port(s) to associate this firewall group
	// with. Must be a list of strings. Changing this updates the associated ports
	// of an existing firewall group.
	// +kubebuilder:validation:Optional
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`

	// - This argument conflicts and  is interchangeable
	// with tenant_id. The owner of the firewall group. Required if admin wants
	// to create a firewall group for another project. Changing this creates a new
	// firewall group.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall group. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall group.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Sharing status of the firewall group (must be "true"
	// or "false" if provided). If this is "true" the firewall group is visible to,
	// and can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall group. Only administrative users
	// can specify if the firewall group should be shared.
	// +kubebuilder:validation:Optional
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// - This argument conflicts and is interchangeable with
	// project_id. The owner of the firewall group. Required if admin wants to
	// create a firewall group for another tenant. Changing this creates a new
	// firewall group.
	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*GroupV2Parameters) DeepCopy

func (in *GroupV2Parameters) DeepCopy() *GroupV2Parameters

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

func (*GroupV2Parameters) DeepCopyInto

func (in *GroupV2Parameters) DeepCopyInto(out *GroupV2Parameters)

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

type GroupV2Spec

type GroupV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupV2Parameters `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 GroupV2InitParameters `json:"initProvider,omitempty"`
}

GroupV2Spec defines the desired state of GroupV2

func (*GroupV2Spec) DeepCopy

func (in *GroupV2Spec) DeepCopy() *GroupV2Spec

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

func (*GroupV2Spec) DeepCopyInto

func (in *GroupV2Spec) DeepCopyInto(out *GroupV2Spec)

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

type GroupV2Status

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

GroupV2Status defines the observed state of GroupV2.

func (*GroupV2Status) DeepCopy

func (in *GroupV2Status) DeepCopy() *GroupV2Status

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

func (*GroupV2Status) DeepCopyInto

func (in *GroupV2Status) DeepCopyInto(out *GroupV2Status)

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

type PolicyV2

type PolicyV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicyV2Spec   `json:"spec"`
	Status            PolicyV2Status `json:"status,omitempty"`
}

PolicyV2 is the Schema for the PolicyV2s API. Manages a v2 firewall policy resource within OpenStack. +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,openstack}

func (*PolicyV2) DeepCopy

func (in *PolicyV2) DeepCopy() *PolicyV2

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

func (*PolicyV2) DeepCopyInto

func (in *PolicyV2) DeepCopyInto(out *PolicyV2)

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

func (*PolicyV2) DeepCopyObject

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

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

func (*PolicyV2) GetCondition

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

GetCondition of this PolicyV2.

func (*PolicyV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyV2

func (*PolicyV2) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyV2.

func (*PolicyV2) GetID

func (tr *PolicyV2) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyV2

func (*PolicyV2) GetInitParameters

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

GetInitParameters of this PolicyV2

func (*PolicyV2) GetManagementPolicies

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

GetManagementPolicies of this PolicyV2.

func (*PolicyV2) GetMergedParameters

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

GetInitParameters of this PolicyV2

func (*PolicyV2) GetObservation

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

GetObservation of this PolicyV2

func (*PolicyV2) GetParameters

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

GetParameters of this PolicyV2

func (*PolicyV2) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyV2.

func (*PolicyV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyV2.

func (*PolicyV2) GetTerraformResourceType

func (mg *PolicyV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyV2

func (*PolicyV2) GetTerraformSchemaVersion

func (tr *PolicyV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyV2.

func (*PolicyV2) LateInitialize

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

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

func (*PolicyV2) SetConditions

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

SetConditions of this PolicyV2.

func (*PolicyV2) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyV2.

func (*PolicyV2) SetManagementPolicies

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

SetManagementPolicies of this PolicyV2.

func (*PolicyV2) SetObservation

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

SetObservation for this PolicyV2

func (*PolicyV2) SetParameters

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

SetParameters for this PolicyV2

func (*PolicyV2) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyV2.

func (*PolicyV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyV2.

func (*PolicyV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyV2.

type PolicyV2InitParameters

type PolicyV2InitParameters struct {

	// Audit status of the firewall policy
	// (must be "true" or "false" if provided - defaults to "false").
	// This status is set to "false" whenever the firewall policy or any of its
	// rules are changed. Changing this updates the audited status of an existing
	// firewall policy.
	Audited *bool `json:"audited,omitempty" tf:"audited,omitempty"`

	// A description for the firewall policy. Changing
	// this updates the description of an existing firewall policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A name for the firewall policy. Changing this
	// updates the name of an existing firewall policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// - This argument conflicts and is interchangeable
	// with tenant_id. The owner of the firewall policy. Required if admin wants
	// to create a firewall policy for another project. Changing this creates a new
	// firewall policy.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall policy. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall policy.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// An array of one or more firewall rules that comprise
	// the policy. Changing this results in adding/removing rules from the
	// existing firewall policy.
	Rules []*string `json:"rules,omitempty" tf:"rules,omitempty"`

	// Sharing status of the firewall policy (must be "true"
	// or "false" if provided). If this is "true" the policy is visible to, and
	// can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall policy. Only administrative users
	// can specify if the policy should be shared.
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// - This argument conflicts and is interchangeable
	// with project_id. The owner of the firewall policy. Required if admin wants
	// to create a firewall policy for another tenant. Changing this creates a new
	// firewall policy.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*PolicyV2InitParameters) DeepCopy

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

func (*PolicyV2InitParameters) DeepCopyInto

func (in *PolicyV2InitParameters) DeepCopyInto(out *PolicyV2InitParameters)

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

type PolicyV2List

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

PolicyV2List contains a list of PolicyV2s

func (*PolicyV2List) DeepCopy

func (in *PolicyV2List) DeepCopy() *PolicyV2List

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

func (*PolicyV2List) DeepCopyInto

func (in *PolicyV2List) DeepCopyInto(out *PolicyV2List)

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

func (*PolicyV2List) DeepCopyObject

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

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

func (*PolicyV2List) GetItems

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

GetItems of this PolicyV2List.

type PolicyV2Observation

type PolicyV2Observation struct {

	// Audit status of the firewall policy
	// (must be "true" or "false" if provided - defaults to "false").
	// This status is set to "false" whenever the firewall policy or any of its
	// rules are changed. Changing this updates the audited status of an existing
	// firewall policy.
	Audited *bool `json:"audited,omitempty" tf:"audited,omitempty"`

	// A description for the firewall policy. Changing
	// this updates the description of an existing firewall policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A name for the firewall policy. Changing this
	// updates the name of an existing firewall policy.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// - This argument conflicts and is interchangeable
	// with tenant_id. The owner of the firewall policy. Required if admin wants
	// to create a firewall policy for another project. Changing this creates a new
	// firewall policy.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall policy. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall policy.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// An array of one or more firewall rules that comprise
	// the policy. Changing this results in adding/removing rules from the
	// existing firewall policy.
	Rules []*string `json:"rules,omitempty" tf:"rules,omitempty"`

	// Sharing status of the firewall policy (must be "true"
	// or "false" if provided). If this is "true" the policy is visible to, and
	// can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall policy. Only administrative users
	// can specify if the policy should be shared.
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// - This argument conflicts and is interchangeable
	// with project_id. The owner of the firewall policy. Required if admin wants
	// to create a firewall policy for another tenant. Changing this creates a new
	// firewall policy.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*PolicyV2Observation) DeepCopy

func (in *PolicyV2Observation) DeepCopy() *PolicyV2Observation

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

func (*PolicyV2Observation) DeepCopyInto

func (in *PolicyV2Observation) DeepCopyInto(out *PolicyV2Observation)

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

type PolicyV2Parameters

type PolicyV2Parameters struct {

	// Audit status of the firewall policy
	// (must be "true" or "false" if provided - defaults to "false").
	// This status is set to "false" whenever the firewall policy or any of its
	// rules are changed. Changing this updates the audited status of an existing
	// firewall policy.
	// +kubebuilder:validation:Optional
	Audited *bool `json:"audited,omitempty" tf:"audited,omitempty"`

	// A description for the firewall policy. Changing
	// this updates the description of an existing firewall policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A name for the firewall policy. Changing this
	// updates the name of an existing firewall policy.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// - This argument conflicts and is interchangeable
	// with tenant_id. The owner of the firewall policy. Required if admin wants
	// to create a firewall policy for another project. Changing this creates a new
	// firewall policy.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall policy. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall policy.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// An array of one or more firewall rules that comprise
	// the policy. Changing this results in adding/removing rules from the
	// existing firewall policy.
	// +kubebuilder:validation:Optional
	Rules []*string `json:"rules,omitempty" tf:"rules,omitempty"`

	// Sharing status of the firewall policy (must be "true"
	// or "false" if provided). If this is "true" the policy is visible to, and
	// can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall policy. Only administrative users
	// can specify if the policy should be shared.
	// +kubebuilder:validation:Optional
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// - This argument conflicts and is interchangeable
	// with project_id. The owner of the firewall policy. Required if admin wants
	// to create a firewall policy for another tenant. Changing this creates a new
	// firewall policy.
	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*PolicyV2Parameters) DeepCopy

func (in *PolicyV2Parameters) DeepCopy() *PolicyV2Parameters

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

func (*PolicyV2Parameters) DeepCopyInto

func (in *PolicyV2Parameters) DeepCopyInto(out *PolicyV2Parameters)

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

type PolicyV2Spec

type PolicyV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyV2Parameters `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 PolicyV2InitParameters `json:"initProvider,omitempty"`
}

PolicyV2Spec defines the desired state of PolicyV2

func (*PolicyV2Spec) DeepCopy

func (in *PolicyV2Spec) DeepCopy() *PolicyV2Spec

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

func (*PolicyV2Spec) DeepCopyInto

func (in *PolicyV2Spec) DeepCopyInto(out *PolicyV2Spec)

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

type PolicyV2Status

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

PolicyV2Status defines the observed state of PolicyV2.

func (*PolicyV2Status) DeepCopy

func (in *PolicyV2Status) DeepCopy() *PolicyV2Status

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

func (*PolicyV2Status) DeepCopyInto

func (in *PolicyV2Status) DeepCopyInto(out *PolicyV2Status)

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

type RuleV2

type RuleV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RuleV2Spec   `json:"spec"`
	Status            RuleV2Status `json:"status,omitempty"`
}

RuleV2 is the Schema for the RuleV2s API. Manages a v2 firewall rule resource within OpenStack. +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,openstack}

func (*RuleV2) DeepCopy

func (in *RuleV2) DeepCopy() *RuleV2

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

func (*RuleV2) DeepCopyInto

func (in *RuleV2) DeepCopyInto(out *RuleV2)

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

func (*RuleV2) DeepCopyObject

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

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

func (*RuleV2) GetCondition

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

GetCondition of this RuleV2.

func (*RuleV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RuleV2

func (*RuleV2) GetDeletionPolicy

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

GetDeletionPolicy of this RuleV2.

func (*RuleV2) GetID

func (tr *RuleV2) GetID() string

GetID returns ID of underlying Terraform resource of this RuleV2

func (*RuleV2) GetInitParameters

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

GetInitParameters of this RuleV2

func (*RuleV2) GetManagementPolicies

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

GetManagementPolicies of this RuleV2.

func (*RuleV2) GetMergedParameters

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

GetInitParameters of this RuleV2

func (*RuleV2) GetObservation

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

GetObservation of this RuleV2

func (*RuleV2) GetParameters

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

GetParameters of this RuleV2

func (*RuleV2) GetProviderConfigReference

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

GetProviderConfigReference of this RuleV2.

func (*RuleV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RuleV2.

func (*RuleV2) GetTerraformResourceType

func (mg *RuleV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RuleV2

func (*RuleV2) GetTerraformSchemaVersion

func (tr *RuleV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RuleV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RuleV2.

func (*RuleV2) LateInitialize

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

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

func (*RuleV2) SetConditions

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

SetConditions of this RuleV2.

func (*RuleV2) SetDeletionPolicy

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

SetDeletionPolicy of this RuleV2.

func (*RuleV2) SetManagementPolicies

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

SetManagementPolicies of this RuleV2.

func (*RuleV2) SetObservation

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

SetObservation for this RuleV2

func (*RuleV2) SetParameters

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

SetParameters for this RuleV2

func (*RuleV2) SetProviderConfigReference

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

SetProviderConfigReference of this RuleV2.

func (*RuleV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RuleV2.

func (*RuleV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RuleV2.

type RuleV2InitParameters

type RuleV2InitParameters struct {

	// Action to be taken (must be "allow", "deny" or "reject")
	// when the firewall rule matches. Changing this updates the action of an
	// existing firewall rule. Default is deny.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// A description for the firewall rule. Changing this
	// updates the description of an existing firewall rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The destination IP address on which the
	// firewall rule operates. Changing this updates the destination_ip_address
	// of an existing firewall rule.
	DestinationIPAddress *string `json:"destinationIpAddress,omitempty" tf:"destination_ip_address,omitempty"`

	// The destination port on which the firewall
	// rule operates. Changing this updates the destination_port of an existing
	// firewall rule. Require not any or empty protocol.
	DestinationPort *string `json:"destinationPort,omitempty" tf:"destination_port,omitempty"`

	// Enabled status for the firewall rule (must be "true"
	// or "false" if provided - defaults to "true"). Changing this updates the
	// enabled status of an existing firewall rule.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// IP version, either 4 or 6. Changing this
	// updates the ip_version of an existing firewall rule. Default is 4.
	IPVersion *float64 `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`

	// A unique name for the firewall rule. Changing this
	// updates the name of an existing firewall rule.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// - This argument conflicts and is interchangeable
	// with tenant_id. The owner of the firewall rule. Required if admin wants
	// to create a firewall rule for another project. Changing this creates a new
	// firewall rule.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The protocol type on which the firewall rule operates.
	// Valid values are: tcp, udp, icmp, and any. Changing this updates the
	// protocol of an existing firewall rule. Default is any.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall rule. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall rule.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Sharing status of the firewall rule (must be "true"
	// or "false" if provided). If this is "true" the policy is visible to, and
	// can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall policy. On
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// The source IP address on which the firewall
	// rule operates. Changing this updates the source_ip_address of an existing
	// firewall rule.
	SourceIPAddress *string `json:"sourceIpAddress,omitempty" tf:"source_ip_address,omitempty"`

	// The source port on which the firewall
	// rule operates. Changing this updates the source_port of an existing
	// firewall rule. Require not any or empty protocol.
	SourcePort *string `json:"sourcePort,omitempty" tf:"source_port,omitempty"`

	// - This argument conflicts and is interchangeable
	// with project_id. The owner of the firewall rule. Required if admin wants
	// to create a firewall rule for another tenant. Changing this creates a new
	// firewall rule.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*RuleV2InitParameters) DeepCopy

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

func (*RuleV2InitParameters) DeepCopyInto

func (in *RuleV2InitParameters) DeepCopyInto(out *RuleV2InitParameters)

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

type RuleV2List

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

RuleV2List contains a list of RuleV2s

func (*RuleV2List) DeepCopy

func (in *RuleV2List) DeepCopy() *RuleV2List

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

func (*RuleV2List) DeepCopyInto

func (in *RuleV2List) DeepCopyInto(out *RuleV2List)

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

func (*RuleV2List) DeepCopyObject

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

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

func (*RuleV2List) GetItems

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

GetItems of this RuleV2List.

type RuleV2Observation

type RuleV2Observation struct {

	// Action to be taken (must be "allow", "deny" or "reject")
	// when the firewall rule matches. Changing this updates the action of an
	// existing firewall rule. Default is deny.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// A description for the firewall rule. Changing this
	// updates the description of an existing firewall rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The destination IP address on which the
	// firewall rule operates. Changing this updates the destination_ip_address
	// of an existing firewall rule.
	DestinationIPAddress *string `json:"destinationIpAddress,omitempty" tf:"destination_ip_address,omitempty"`

	// The destination port on which the firewall
	// rule operates. Changing this updates the destination_port of an existing
	// firewall rule. Require not any or empty protocol.
	DestinationPort *string `json:"destinationPort,omitempty" tf:"destination_port,omitempty"`

	// Enabled status for the firewall rule (must be "true"
	// or "false" if provided - defaults to "true"). Changing this updates the
	// enabled status of an existing firewall rule.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// IP version, either 4 or 6. Changing this
	// updates the ip_version of an existing firewall rule. Default is 4.
	IPVersion *float64 `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`

	// A unique name for the firewall rule. Changing this
	// updates the name of an existing firewall rule.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// - This argument conflicts and is interchangeable
	// with tenant_id. The owner of the firewall rule. Required if admin wants
	// to create a firewall rule for another project. Changing this creates a new
	// firewall rule.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The protocol type on which the firewall rule operates.
	// Valid values are: tcp, udp, icmp, and any. Changing this updates the
	// protocol of an existing firewall rule. Default is any.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall rule. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall rule.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Sharing status of the firewall rule (must be "true"
	// or "false" if provided). If this is "true" the policy is visible to, and
	// can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall policy. On
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// The source IP address on which the firewall
	// rule operates. Changing this updates the source_ip_address of an existing
	// firewall rule.
	SourceIPAddress *string `json:"sourceIpAddress,omitempty" tf:"source_ip_address,omitempty"`

	// The source port on which the firewall
	// rule operates. Changing this updates the source_port of an existing
	// firewall rule. Require not any or empty protocol.
	SourcePort *string `json:"sourcePort,omitempty" tf:"source_port,omitempty"`

	// - This argument conflicts and is interchangeable
	// with project_id. The owner of the firewall rule. Required if admin wants
	// to create a firewall rule for another tenant. Changing this creates a new
	// firewall rule.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*RuleV2Observation) DeepCopy

func (in *RuleV2Observation) DeepCopy() *RuleV2Observation

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

func (*RuleV2Observation) DeepCopyInto

func (in *RuleV2Observation) DeepCopyInto(out *RuleV2Observation)

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

type RuleV2Parameters

type RuleV2Parameters struct {

	// Action to be taken (must be "allow", "deny" or "reject")
	// when the firewall rule matches. Changing this updates the action of an
	// existing firewall rule. Default is deny.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// A description for the firewall rule. Changing this
	// updates the description of an existing firewall rule.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The destination IP address on which the
	// firewall rule operates. Changing this updates the destination_ip_address
	// of an existing firewall rule.
	// +kubebuilder:validation:Optional
	DestinationIPAddress *string `json:"destinationIpAddress,omitempty" tf:"destination_ip_address,omitempty"`

	// The destination port on which the firewall
	// rule operates. Changing this updates the destination_port of an existing
	// firewall rule. Require not any or empty protocol.
	// +kubebuilder:validation:Optional
	DestinationPort *string `json:"destinationPort,omitempty" tf:"destination_port,omitempty"`

	// Enabled status for the firewall rule (must be "true"
	// or "false" if provided - defaults to "true"). Changing this updates the
	// enabled status of an existing firewall rule.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// IP version, either 4 or 6. Changing this
	// updates the ip_version of an existing firewall rule. Default is 4.
	// +kubebuilder:validation:Optional
	IPVersion *float64 `json:"ipVersion,omitempty" tf:"ip_version,omitempty"`

	// A unique name for the firewall rule. Changing this
	// updates the name of an existing firewall rule.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// - This argument conflicts and is interchangeable
	// with tenant_id. The owner of the firewall rule. Required if admin wants
	// to create a firewall rule for another project. Changing this creates a new
	// firewall rule.
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The protocol type on which the firewall rule operates.
	// Valid values are: tcp, udp, icmp, and any. Changing this updates the
	// protocol of an existing firewall rule. Default is any.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The region in which to obtain the v2 networking client.
	// A networking client is needed to create a firewall rule. If omitted, the
	// region argument of the provider is used. Changing this creates a new
	// firewall rule.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Sharing status of the firewall rule (must be "true"
	// or "false" if provided). If this is "true" the policy is visible to, and
	// can be used in, firewalls in other tenants. Changing this updates the
	// shared status of an existing firewall policy. On
	// +kubebuilder:validation:Optional
	Shared *bool `json:"shared,omitempty" tf:"shared,omitempty"`

	// The source IP address on which the firewall
	// rule operates. Changing this updates the source_ip_address of an existing
	// firewall rule.
	// +kubebuilder:validation:Optional
	SourceIPAddress *string `json:"sourceIpAddress,omitempty" tf:"source_ip_address,omitempty"`

	// The source port on which the firewall
	// rule operates. Changing this updates the source_port of an existing
	// firewall rule. Require not any or empty protocol.
	// +kubebuilder:validation:Optional
	SourcePort *string `json:"sourcePort,omitempty" tf:"source_port,omitempty"`

	// - This argument conflicts and is interchangeable
	// with project_id. The owner of the firewall rule. Required if admin wants
	// to create a firewall rule for another tenant. Changing this creates a new
	// firewall rule.
	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*RuleV2Parameters) DeepCopy

func (in *RuleV2Parameters) DeepCopy() *RuleV2Parameters

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

func (*RuleV2Parameters) DeepCopyInto

func (in *RuleV2Parameters) DeepCopyInto(out *RuleV2Parameters)

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

type RuleV2Spec

type RuleV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleV2Parameters `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 RuleV2InitParameters `json:"initProvider,omitempty"`
}

RuleV2Spec defines the desired state of RuleV2

func (*RuleV2Spec) DeepCopy

func (in *RuleV2Spec) DeepCopy() *RuleV2Spec

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

func (*RuleV2Spec) DeepCopyInto

func (in *RuleV2Spec) DeepCopyInto(out *RuleV2Spec)

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

type RuleV2Status

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

RuleV2Status defines the observed state of RuleV2.

func (*RuleV2Status) DeepCopy

func (in *RuleV2Status) DeepCopy() *RuleV2Status

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

func (*RuleV2Status) DeepCopyInto

func (in *RuleV2Status) DeepCopyInto(out *RuleV2Status)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL