Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtfirewallsection.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AppliedToObservation
- type AppliedToParameters
- type DestinationObservation
- type DestinationParameters
- type FirewallSection
- func (in *FirewallSection) DeepCopy() *FirewallSection
- func (in *FirewallSection) DeepCopyInto(out *FirewallSection)
- func (in *FirewallSection) DeepCopyObject() runtime.Object
- func (mg *FirewallSection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *FirewallSection) GetConnectionDetailsMapping() map[string]string
- func (mg *FirewallSection) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *FirewallSection) GetID() string
- func (mg *FirewallSection) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *FirewallSection) GetObservation() (map[string]any, error)
- func (tr *FirewallSection) GetParameters() (map[string]any, error)
- func (mg *FirewallSection) GetProviderConfigReference() *xpv1.Reference
- func (mg *FirewallSection) GetProviderReference() *xpv1.Reference
- func (mg *FirewallSection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *FirewallSection) GetTerraformResourceType() string
- func (tr *FirewallSection) GetTerraformSchemaVersion() int
- func (mg *FirewallSection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *FirewallSection) LateInitialize(attrs []byte) (bool, error)
- func (mg *FirewallSection) SetConditions(c ...xpv1.Condition)
- func (mg *FirewallSection) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *FirewallSection) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *FirewallSection) SetObservation(obs map[string]any) error
- func (tr *FirewallSection) SetParameters(params map[string]any) error
- func (mg *FirewallSection) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *FirewallSection) SetProviderReference(r *xpv1.Reference)
- func (mg *FirewallSection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *FirewallSection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FirewallSectionList
- type FirewallSectionObservation
- type FirewallSectionParameters
- type FirewallSectionSpec
- type FirewallSectionStatus
- type RuleAppliedToObservation
- type RuleAppliedToParameters
- type RuleObservation
- type RuleParameters
- type ServiceObservation
- type ServiceParameters
- type SourceObservation
- type SourceParameters
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxtfirewallsection.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( FirewallSection_Kind = "FirewallSection" FirewallSection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallSection_Kind}.String() FirewallSection_KindAPIVersion = FirewallSection_Kind + "." + CRDGroupVersion.String() FirewallSection_GroupVersionKind = CRDGroupVersion.WithKind(FirewallSection_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 )
Functions ¶
This section is empty.
Types ¶
type AppliedToObservation ¶
type AppliedToObservation struct {
// A boolean flag which will be set to false if the referenced NSX resource has been deleted
IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`
// Display name of the NSX resource
TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`
// Identifier of the NSX resource
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*AppliedToObservation) DeepCopy ¶
func (in *AppliedToObservation) DeepCopy() *AppliedToObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedToObservation.
func (*AppliedToObservation) DeepCopyInto ¶
func (in *AppliedToObservation) DeepCopyInto(out *AppliedToObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppliedToParameters ¶
type AppliedToParameters struct {
// Identifier of the NSX resource
// +kubebuilder:validation:Optional
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
// +kubebuilder:validation:Optional
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*AppliedToParameters) DeepCopy ¶
func (in *AppliedToParameters) DeepCopy() *AppliedToParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedToParameters.
func (*AppliedToParameters) DeepCopyInto ¶
func (in *AppliedToParameters) DeepCopyInto(out *AppliedToParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationObservation ¶
type DestinationObservation struct {
// A boolean flag which will be set to false if the referenced NSX resource has been deleted
IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`
// Display name of the NSX resource
TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`
// Identifier of the NSX resource
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*DestinationObservation) DeepCopy ¶
func (in *DestinationObservation) DeepCopy() *DestinationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationObservation.
func (*DestinationObservation) DeepCopyInto ¶
func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationParameters ¶
type DestinationParameters struct {
// Identifier of the NSX resource
// +kubebuilder:validation:Optional
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
// +kubebuilder:validation:Optional
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*DestinationParameters) DeepCopy ¶
func (in *DestinationParameters) DeepCopy() *DestinationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationParameters.
func (*DestinationParameters) DeepCopyInto ¶
func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSection ¶
type FirewallSection struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.sectionType)",message="sectionType is a required parameter"
// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.stateful)",message="stateful is a required parameter"
Spec FirewallSectionSpec `json:"spec"`
Status FirewallSectionStatus `json:"status,omitempty"`
}
FirewallSection is the Schema for the FirewallSections API. <no value> +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,nsxt}
func (*FirewallSection) DeepCopy ¶
func (in *FirewallSection) DeepCopy() *FirewallSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSection.
func (*FirewallSection) DeepCopyInto ¶
func (in *FirewallSection) DeepCopyInto(out *FirewallSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallSection) DeepCopyObject ¶
func (in *FirewallSection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FirewallSection) GetCondition ¶
func (mg *FirewallSection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this FirewallSection.
func (*FirewallSection) GetConnectionDetailsMapping ¶
func (tr *FirewallSection) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this FirewallSection
func (*FirewallSection) GetDeletionPolicy ¶
func (mg *FirewallSection) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this FirewallSection.
func (*FirewallSection) GetID ¶
func (tr *FirewallSection) GetID() string
GetID returns ID of underlying Terraform resource of this FirewallSection
func (*FirewallSection) GetManagementPolicy ¶
func (mg *FirewallSection) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this FirewallSection.
func (*FirewallSection) GetObservation ¶
func (tr *FirewallSection) GetObservation() (map[string]any, error)
GetObservation of this FirewallSection
func (*FirewallSection) GetParameters ¶
func (tr *FirewallSection) GetParameters() (map[string]any, error)
GetParameters of this FirewallSection
func (*FirewallSection) GetProviderConfigReference ¶
func (mg *FirewallSection) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this FirewallSection.
func (*FirewallSection) GetProviderReference ¶
func (mg *FirewallSection) GetProviderReference() *xpv1.Reference
GetProviderReference of this FirewallSection. Deprecated: Use GetProviderConfigReference.
func (*FirewallSection) GetPublishConnectionDetailsTo ¶
func (mg *FirewallSection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this FirewallSection.
func (*FirewallSection) GetTerraformResourceType ¶
func (mg *FirewallSection) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this FirewallSection
func (*FirewallSection) GetTerraformSchemaVersion ¶
func (tr *FirewallSection) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*FirewallSection) GetWriteConnectionSecretToReference ¶
func (mg *FirewallSection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this FirewallSection.
func (*FirewallSection) LateInitialize ¶
func (tr *FirewallSection) LateInitialize(attrs []byte) (bool, error)
LateInitialize this FirewallSection using its observed tfState. returns True if there are any spec changes for the resource.
func (*FirewallSection) SetConditions ¶
func (mg *FirewallSection) SetConditions(c ...xpv1.Condition)
SetConditions of this FirewallSection.
func (*FirewallSection) SetDeletionPolicy ¶
func (mg *FirewallSection) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this FirewallSection.
func (*FirewallSection) SetManagementPolicy ¶
func (mg *FirewallSection) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this FirewallSection.
func (*FirewallSection) SetObservation ¶
func (tr *FirewallSection) SetObservation(obs map[string]any) error
SetObservation for this FirewallSection
func (*FirewallSection) SetParameters ¶
func (tr *FirewallSection) SetParameters(params map[string]any) error
SetParameters for this FirewallSection
func (*FirewallSection) SetProviderConfigReference ¶
func (mg *FirewallSection) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this FirewallSection.
func (*FirewallSection) SetProviderReference ¶
func (mg *FirewallSection) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this FirewallSection. Deprecated: Use SetProviderConfigReference.
func (*FirewallSection) SetPublishConnectionDetailsTo ¶
func (mg *FirewallSection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this FirewallSection.
func (*FirewallSection) SetWriteConnectionSecretToReference ¶
func (mg *FirewallSection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this FirewallSection.
type FirewallSectionList ¶
type FirewallSectionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []FirewallSection `json:"items"`
}
FirewallSectionList contains a list of FirewallSections
func (*FirewallSectionList) DeepCopy ¶
func (in *FirewallSectionList) DeepCopy() *FirewallSectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSectionList.
func (*FirewallSectionList) DeepCopyInto ¶
func (in *FirewallSectionList) DeepCopyInto(out *FirewallSectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallSectionList) DeepCopyObject ¶
func (in *FirewallSectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FirewallSectionList) GetItems ¶
func (l *FirewallSectionList) GetItems() []resource.Managed
GetItems of this FirewallSectionList.
type FirewallSectionObservation ¶
type FirewallSectionObservation struct {
// List of objects where the rules in this section will be enforced. This will take precedence over rule level appliedTo
AppliedTo []AppliedToObservation `json:"appliedTo,omitempty" tf:"applied_to,omitempty"`
// Description of this resource
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The display name of this resource. Defaults to ID if not set
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Id of section that should come after this one
InsertBefore *string `json:"insertBefore,omitempty" tf:"insert_before,omitempty"`
// A boolean flag which reflects whether a firewall section is default section or not
IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"`
// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected
Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"`
// List of firewall rules in the section. Only homogeneous rules are supported
Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`
// Type of the rules which a section can contain. Only homogeneous sections are supported
SectionType *string `json:"sectionType,omitempty" tf:"section_type,omitempty"`
// Stateful or Stateless nature of firewall section is enforced on all rules inside the section
Stateful *bool `json:"stateful,omitempty" tf:"stateful,omitempty"`
// Set of opaque identifiers meaningful to the user
Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"`
}
func (*FirewallSectionObservation) DeepCopy ¶
func (in *FirewallSectionObservation) DeepCopy() *FirewallSectionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSectionObservation.
func (*FirewallSectionObservation) DeepCopyInto ¶
func (in *FirewallSectionObservation) DeepCopyInto(out *FirewallSectionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSectionParameters ¶
type FirewallSectionParameters struct {
// List of objects where the rules in this section will be enforced. This will take precedence over rule level appliedTo
// +kubebuilder:validation:Optional
AppliedTo []AppliedToParameters `json:"appliedTo,omitempty" tf:"applied_to,omitempty"`
// Description of this resource
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The display name of this resource. Defaults to ID if not set
// +kubebuilder:validation:Optional
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// Id of section that should come after this one
// +kubebuilder:validation:Optional
InsertBefore *string `json:"insertBefore,omitempty" tf:"insert_before,omitempty"`
// List of firewall rules in the section. Only homogeneous rules are supported
// +kubebuilder:validation:Optional
Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"`
// Type of the rules which a section can contain. Only homogeneous sections are supported
// +kubebuilder:validation:Optional
SectionType *string `json:"sectionType,omitempty" tf:"section_type,omitempty"`
// Stateful or Stateless nature of firewall section is enforced on all rules inside the section
// +kubebuilder:validation:Optional
Stateful *bool `json:"stateful,omitempty" tf:"stateful,omitempty"`
// Set of opaque identifiers meaningful to the user
// +kubebuilder:validation:Optional
Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`
}
func (*FirewallSectionParameters) DeepCopy ¶
func (in *FirewallSectionParameters) DeepCopy() *FirewallSectionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSectionParameters.
func (*FirewallSectionParameters) DeepCopyInto ¶
func (in *FirewallSectionParameters) DeepCopyInto(out *FirewallSectionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSectionSpec ¶
type FirewallSectionSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider FirewallSectionParameters `json:"forProvider"`
}
FirewallSectionSpec defines the desired state of FirewallSection
func (*FirewallSectionSpec) DeepCopy ¶
func (in *FirewallSectionSpec) DeepCopy() *FirewallSectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSectionSpec.
func (*FirewallSectionSpec) DeepCopyInto ¶
func (in *FirewallSectionSpec) DeepCopyInto(out *FirewallSectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSectionStatus ¶
type FirewallSectionStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider FirewallSectionObservation `json:"atProvider,omitempty"`
}
FirewallSectionStatus defines the observed state of FirewallSection.
func (*FirewallSectionStatus) DeepCopy ¶
func (in *FirewallSectionStatus) DeepCopy() *FirewallSectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSectionStatus.
func (*FirewallSectionStatus) DeepCopyInto ¶
func (in *FirewallSectionStatus) DeepCopyInto(out *FirewallSectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleAppliedToObservation ¶
type RuleAppliedToObservation struct {
// A boolean flag which will be set to false if the referenced NSX resource has been deleted
IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`
// Display name of the NSX resource
TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`
// Identifier of the NSX resource
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*RuleAppliedToObservation) DeepCopy ¶
func (in *RuleAppliedToObservation) DeepCopy() *RuleAppliedToObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleAppliedToObservation.
func (*RuleAppliedToObservation) DeepCopyInto ¶
func (in *RuleAppliedToObservation) DeepCopyInto(out *RuleAppliedToObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleAppliedToParameters ¶
type RuleAppliedToParameters struct {
// Identifier of the NSX resource
// +kubebuilder:validation:Optional
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
// +kubebuilder:validation:Optional
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*RuleAppliedToParameters) DeepCopy ¶
func (in *RuleAppliedToParameters) DeepCopy() *RuleAppliedToParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleAppliedToParameters.
func (*RuleAppliedToParameters) DeepCopyInto ¶
func (in *RuleAppliedToParameters) DeepCopyInto(out *RuleAppliedToParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleObservation ¶
type RuleObservation struct {
// Action enforced on the packets which matches the firewall rule
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// List of objects where rule will be enforced. The section level field overrides this one. Null will be treated as any
AppliedTo []RuleAppliedToObservation `json:"appliedTo,omitempty" tf:"applied_to,omitempty"`
// Description of this resource
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// List of the destinations. Null will be treated as any
Destination []DestinationObservation `json:"destination,omitempty" tf:"destination,omitempty"`
// When this boolean flag is set to true, the rule destinations will be negated
DestinationsExcluded *bool `json:"destinationsExcluded,omitempty" tf:"destinations_excluded,omitempty"`
// Rule direction in case of stateless firewall rules. This will only be considered if section level parameter is set to stateless. Default to IN_OUT if not specified
Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`
// Flag to disable rule. Disabled will only be persisted but never provisioned/realized
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// Defaults to ID if not set
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// ID of this resource
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Type of IP packet that should be matched while enforcing the rule (IPV4, IPV6, IPV4_IPV6)
IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`
// Flag to enable packet logging. Default is disabled
Logged *bool `json:"logged,omitempty" tf:"logged,omitempty"`
// User notes specific to the rule
Notes *string `json:"notes,omitempty" tf:"notes,omitempty"`
// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected
Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"`
// User level field which will be printed in CLI and packet logs
RuleTag *string `json:"ruleTag,omitempty" tf:"rule_tag,omitempty"`
// List of the services. Null will be treated as any
Service []ServiceObservation `json:"service,omitempty" tf:"service,omitempty"`
// List of sources. Null will be treated as any
Source []SourceObservation `json:"source,omitempty" tf:"source,omitempty"`
// When this boolean flag is set to true, the rule sources will be negated
SourcesExcluded *bool `json:"sourcesExcluded,omitempty" tf:"sources_excluded,omitempty"`
}
func (*RuleObservation) DeepCopy ¶
func (in *RuleObservation) DeepCopy() *RuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation.
func (*RuleObservation) DeepCopyInto ¶
func (in *RuleObservation) DeepCopyInto(out *RuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleParameters ¶
type RuleParameters struct {
// Action enforced on the packets which matches the firewall rule
// +kubebuilder:validation:Required
Action *string `json:"action" tf:"action,omitempty"`
// List of objects where rule will be enforced. The section level field overrides this one. Null will be treated as any
// +kubebuilder:validation:Optional
AppliedTo []RuleAppliedToParameters `json:"appliedTo,omitempty" tf:"applied_to,omitempty"`
// Description of this resource
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// List of the destinations. Null will be treated as any
// +kubebuilder:validation:Optional
Destination []DestinationParameters `json:"destination,omitempty" tf:"destination,omitempty"`
// When this boolean flag is set to true, the rule destinations will be negated
// +kubebuilder:validation:Optional
DestinationsExcluded *bool `json:"destinationsExcluded,omitempty" tf:"destinations_excluded,omitempty"`
// Rule direction in case of stateless firewall rules. This will only be considered if section level parameter is set to stateless. Default to IN_OUT if not specified
// +kubebuilder:validation:Optional
Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`
// Flag to disable rule. Disabled will only be persisted but never provisioned/realized
// +kubebuilder:validation:Optional
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// Defaults to ID if not set
// +kubebuilder:validation:Optional
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// Type of IP packet that should be matched while enforcing the rule (IPV4, IPV6, IPV4_IPV6)
// +kubebuilder:validation:Optional
IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`
// Flag to enable packet logging. Default is disabled
// +kubebuilder:validation:Optional
Logged *bool `json:"logged,omitempty" tf:"logged,omitempty"`
// User notes specific to the rule
// +kubebuilder:validation:Optional
Notes *string `json:"notes,omitempty" tf:"notes,omitempty"`
// User level field which will be printed in CLI and packet logs
// +kubebuilder:validation:Optional
RuleTag *string `json:"ruleTag,omitempty" tf:"rule_tag,omitempty"`
// List of the services. Null will be treated as any
// +kubebuilder:validation:Optional
Service []ServiceParameters `json:"service,omitempty" tf:"service,omitempty"`
// List of sources. Null will be treated as any
// +kubebuilder:validation:Optional
Source []SourceParameters `json:"source,omitempty" tf:"source,omitempty"`
// When this boolean flag is set to true, the rule sources will be negated
// +kubebuilder:validation:Optional
SourcesExcluded *bool `json:"sourcesExcluded,omitempty" tf:"sources_excluded,omitempty"`
}
func (*RuleParameters) DeepCopy ¶
func (in *RuleParameters) DeepCopy() *RuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters.
func (*RuleParameters) DeepCopyInto ¶
func (in *RuleParameters) DeepCopyInto(out *RuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceObservation ¶
type ServiceObservation struct {
// A boolean flag which will be set to false if the referenced NSX resource has been deleted
IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`
// Display name of the NSX resource
TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`
// Identifier of the NSX resource
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*ServiceObservation) DeepCopy ¶
func (in *ServiceObservation) DeepCopy() *ServiceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation.
func (*ServiceObservation) DeepCopyInto ¶
func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceParameters ¶
type ServiceParameters struct {
// Identifier of the NSX resource
// +kubebuilder:validation:Optional
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
// +kubebuilder:validation:Optional
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*ServiceParameters) DeepCopy ¶
func (in *ServiceParameters) DeepCopy() *ServiceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters.
func (*ServiceParameters) DeepCopyInto ¶
func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceObservation ¶
type SourceObservation struct {
// A boolean flag which will be set to false if the referenced NSX resource has been deleted
IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`
// Display name of the NSX resource
TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`
// Identifier of the NSX resource
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*SourceObservation) DeepCopy ¶
func (in *SourceObservation) DeepCopy() *SourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation.
func (*SourceObservation) DeepCopyInto ¶
func (in *SourceObservation) DeepCopyInto(out *SourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceParameters ¶
type SourceParameters struct {
// Identifier of the NSX resource
// +kubebuilder:validation:Optional
TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`
// Type of the NSX resource
// +kubebuilder:validation:Optional
TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}
func (*SourceParameters) DeepCopy ¶
func (in *SourceParameters) DeepCopy() *SourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters.
func (*SourceParameters) DeepCopyInto ¶
func (in *SourceParameters) DeepCopyInto(out *SourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagObservation ¶
type TagObservation struct {
Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}
func (*TagObservation) DeepCopy ¶
func (in *TagObservation) DeepCopy() *TagObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.
func (*TagObservation) DeepCopyInto ¶
func (in *TagObservation) DeepCopyInto(out *TagObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagParameters ¶
type TagParameters struct {
// +kubebuilder:validation:Optional
Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
// +kubebuilder:validation:Optional
Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}
func (*TagParameters) DeepCopy ¶
func (in *TagParameters) DeepCopy() *TagParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.
func (*TagParameters) DeepCopyInto ¶
func (in *TagParameters) DeepCopyInto(out *TagParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.