v1alpha1

package
v0.0.0-...-4b4ec10 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	PolicyIpsecVpnService_Kind             = "PolicyIpsecVpnService"
	PolicyIpsecVpnService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyIpsecVpnService_Kind}.String()
	PolicyIpsecVpnService_KindAPIVersion   = PolicyIpsecVpnService_Kind + "." + CRDGroupVersion.String()
	PolicyIpsecVpnService_GroupVersionKind = CRDGroupVersion.WithKind(PolicyIpsecVpnService_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BypassRuleObservation

type BypassRuleObservation struct {

	// PROTECT - Protect rules are defined per policy based IPSec VPN session. BYPASS - Bypass rules are defined per IPSec VPN service and affects all policy based IPSec VPN sessions. Bypass rules are prioritized over protect rules.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// List of remote subnets
	Destinations []*string `json:"destinations,omitempty" tf:"destinations,omitempty"`

	// NSX ID for this resource
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// List of local subnets. Specifying no value is interpreted as 0.0.0.0/0.
	Sources []*string `json:"sources,omitempty" tf:"sources,omitempty"`
}

type BypassRuleParameters

type BypassRuleParameters struct {

	// PROTECT - Protect rules are defined per policy based IPSec VPN session. BYPASS - Bypass rules are defined per IPSec VPN service and affects all policy based IPSec VPN sessions. Bypass rules are prioritized over protect rules.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// List of remote subnets
	// +kubebuilder:validation:Optional
	Destinations []*string `json:"destinations,omitempty" tf:"destinations,omitempty"`

	// List of local subnets. Specifying no value is interpreted as 0.0.0.0/0.
	// +kubebuilder:validation:Optional
	Sources []*string `json:"sources,omitempty" tf:"sources,omitempty"`
}

type PolicyIpsecVpnService

type PolicyIpsecVpnService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.displayName)",message="displayName is a required parameter"
	Spec   PolicyIpsecVpnServiceSpec   `json:"spec"`
	Status PolicyIpsecVpnServiceStatus `json:"status,omitempty"`
}

PolicyIpsecVpnService is the Schema for the PolicyIpsecVpnServices 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 (*PolicyIpsecVpnService) GetCondition

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

GetCondition of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) GetID

func (tr *PolicyIpsecVpnService) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) GetManagementPolicy

func (mg *PolicyIpsecVpnService) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) GetObservation

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

GetObservation of this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) GetParameters

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

GetParameters of this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) GetProviderReference

func (mg *PolicyIpsecVpnService) GetProviderReference() *xpv1.Reference

GetProviderReference of this PolicyIpsecVpnService. Deprecated: Use GetProviderConfigReference.

func (*PolicyIpsecVpnService) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) GetTerraformResourceType

func (mg *PolicyIpsecVpnService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) GetTerraformSchemaVersion

func (tr *PolicyIpsecVpnService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyIpsecVpnService) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) LateInitialize

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

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

func (*PolicyIpsecVpnService) SetConditions

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

SetConditions of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) SetManagementPolicy

func (mg *PolicyIpsecVpnService) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) SetObservation

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

SetObservation for this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) SetParameters

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

SetParameters for this PolicyIpsecVpnService

func (*PolicyIpsecVpnService) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) SetProviderReference

func (mg *PolicyIpsecVpnService) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this PolicyIpsecVpnService. Deprecated: Use SetProviderConfigReference.

func (*PolicyIpsecVpnService) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyIpsecVpnService.

func (*PolicyIpsecVpnService) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyIpsecVpnService.

type PolicyIpsecVpnServiceList

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

PolicyIpsecVpnServiceList contains a list of PolicyIpsecVpnServices

func (*PolicyIpsecVpnServiceList) GetItems

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

GetItems of this PolicyIpsecVpnServiceList.

type PolicyIpsecVpnServiceObservation

type PolicyIpsecVpnServiceObservation struct {

	// For policy-based IPsec VPNs, a security policy specifies as its action the VPN tunnel to be used for transit traffic that meets the policy match criteria
	BypassRule []BypassRuleObservation `json:"bypassRule,omitempty" tf:"bypass_rule,omitempty"`

	// Description for this resource
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Display name for this resource
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enable/Disable IPSec VPN service.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Policy path for the gateway.
	GatewayPath *string `json:"gatewayPath,omitempty" tf:"gateway_path,omitempty"`

	// Enable/Disable IPSec VPN service HA state sync.
	HaSync *bool `json:"haSync,omitempty" tf:"ha_sync,omitempty"`

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

	// Log level for internet key exchange (IKE).
	IkeLogLevel *string `json:"ikeLogLevel,omitempty" tf:"ike_log_level,omitempty"`

	// Polciy path for the locale service.
	LocaleServicePath *string `json:"localeServicePath,omitempty" tf:"locale_service_path,omitempty"`

	// NSX ID for this resource
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// Policy path for this resource
	Path *string `json:"path,omitempty" tf:"path,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"`

	// Set of opaque identifiers meaningful to the user
	Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"`
}

type PolicyIpsecVpnServiceParameters

type PolicyIpsecVpnServiceParameters struct {

	// For policy-based IPsec VPNs, a security policy specifies as its action the VPN tunnel to be used for transit traffic that meets the policy match criteria
	// +kubebuilder:validation:Optional
	BypassRule []BypassRuleParameters `json:"bypassRule,omitempty" tf:"bypass_rule,omitempty"`

	// Description for this resource
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Display name for this resource
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enable/Disable IPSec VPN service.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Policy path for the gateway.
	// +kubebuilder:validation:Optional
	GatewayPath *string `json:"gatewayPath,omitempty" tf:"gateway_path,omitempty"`

	// Enable/Disable IPSec VPN service HA state sync.
	// +kubebuilder:validation:Optional
	HaSync *bool `json:"haSync,omitempty" tf:"ha_sync,omitempty"`

	// Log level for internet key exchange (IKE).
	// +kubebuilder:validation:Optional
	IkeLogLevel *string `json:"ikeLogLevel,omitempty" tf:"ike_log_level,omitempty"`

	// Polciy path for the locale service.
	// +kubebuilder:validation:Optional
	LocaleServicePath *string `json:"localeServicePath,omitempty" tf:"locale_service_path,omitempty"`

	// NSX ID for this resource
	// +kubebuilder:validation:Optional
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// Set of opaque identifiers meaningful to the user
	// +kubebuilder:validation:Optional
	Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`
}

type PolicyIpsecVpnServiceSpec

type PolicyIpsecVpnServiceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyIpsecVpnServiceParameters `json:"forProvider"`
}

PolicyIpsecVpnServiceSpec defines the desired state of PolicyIpsecVpnService

type PolicyIpsecVpnServiceStatus

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

PolicyIpsecVpnServiceStatus defines the observed state of PolicyIpsecVpnService.

type TagObservation

type TagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

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"`
}

Jump to

Keyboard shortcuts

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