v1beta1

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloud.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cloud.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	IdsEndpoint_Kind             = "IdsEndpoint"
	IdsEndpoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IdsEndpoint_Kind}.String()
	IdsEndpoint_KindAPIVersion   = IdsEndpoint_Kind + "." + CRDGroupVersion.String()
	IdsEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(IdsEndpoint_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdsEndpoint

type IdsEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.severity) || (has(self.initProvider) && has(self.initProvider.severity))",message="spec.forProvider.severity is a required parameter"
	Spec   IdsEndpointSpec   `json:"spec"`
	Status IdsEndpointStatus `json:"status,omitempty"`
}

IdsEndpoint is the Schema for the IdsEndpoints API. Cloud IDS is an intrusion detection service that provides threat detection for intrusions, malware, spyware, and command-and-control attacks on your network. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*IdsEndpoint) DeepCopy

func (in *IdsEndpoint) DeepCopy() *IdsEndpoint

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

func (*IdsEndpoint) DeepCopyInto

func (in *IdsEndpoint) DeepCopyInto(out *IdsEndpoint)

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

func (*IdsEndpoint) DeepCopyObject

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

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

func (*IdsEndpoint) GetCondition

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

GetCondition of this IdsEndpoint.

func (*IdsEndpoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IdsEndpoint

func (*IdsEndpoint) GetDeletionPolicy

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

GetDeletionPolicy of this IdsEndpoint.

func (*IdsEndpoint) GetID

func (tr *IdsEndpoint) GetID() string

GetID returns ID of underlying Terraform resource of this IdsEndpoint

func (*IdsEndpoint) GetInitParameters added in v0.35.0

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

GetInitParameters of this IdsEndpoint

func (*IdsEndpoint) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this IdsEndpoint.

func (*IdsEndpoint) GetMergedParameters added in v0.40.0

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

GetInitParameters of this IdsEndpoint

func (*IdsEndpoint) GetObservation

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

GetObservation of this IdsEndpoint

func (*IdsEndpoint) GetParameters

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

GetParameters of this IdsEndpoint

func (*IdsEndpoint) GetProviderConfigReference

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

GetProviderConfigReference of this IdsEndpoint.

func (*IdsEndpoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IdsEndpoint.

func (*IdsEndpoint) GetTerraformResourceType

func (mg *IdsEndpoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IdsEndpoint

func (*IdsEndpoint) GetTerraformSchemaVersion

func (tr *IdsEndpoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IdsEndpoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IdsEndpoint.

func (*IdsEndpoint) Hub added in v0.41.2

func (tr *IdsEndpoint) Hub()

Hub marks this type as a conversion hub.

func (*IdsEndpoint) LateInitialize

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

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

func (*IdsEndpoint) ResolveReferences

func (mg *IdsEndpoint) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*IdsEndpoint) SetConditions

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

SetConditions of this IdsEndpoint.

func (*IdsEndpoint) SetDeletionPolicy

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

SetDeletionPolicy of this IdsEndpoint.

func (*IdsEndpoint) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this IdsEndpoint.

func (*IdsEndpoint) SetObservation

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

SetObservation for this IdsEndpoint

func (*IdsEndpoint) SetParameters

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

SetParameters for this IdsEndpoint

func (*IdsEndpoint) SetProviderConfigReference

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

SetProviderConfigReference of this IdsEndpoint.

func (*IdsEndpoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IdsEndpoint.

func (*IdsEndpoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IdsEndpoint.

type IdsEndpointInitParameters added in v0.35.0

type IdsEndpointInitParameters struct {

	// An optional description of the endpoint.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The location for the endpoint.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the VPC network that is connected to the IDS endpoint. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net").
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// Reference to a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The minimum alert severity level that is reported by the endpoint.
	// Possible values are: INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL.
	Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`

	// Configuration for threat IDs excluded from generating alerts. Limit: 99 IDs.
	ThreatExceptions []*string `json:"threatExceptions,omitempty" tf:"threat_exceptions,omitempty"`
}

func (*IdsEndpointInitParameters) DeepCopy added in v0.35.0

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

func (*IdsEndpointInitParameters) DeepCopyInto added in v0.35.0

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

type IdsEndpointList

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

IdsEndpointList contains a list of IdsEndpoints

func (*IdsEndpointList) DeepCopy

func (in *IdsEndpointList) DeepCopy() *IdsEndpointList

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

func (*IdsEndpointList) DeepCopyInto

func (in *IdsEndpointList) DeepCopyInto(out *IdsEndpointList)

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

func (*IdsEndpointList) DeepCopyObject

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

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

func (*IdsEndpointList) GetItems

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

GetItems of this IdsEndpointList.

type IdsEndpointObservation

type IdsEndpointObservation struct {

	// Creation timestamp in RFC 3339 text format.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// An optional description of the endpoint.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// URL of the endpoint's network address to which traffic is to be sent by Packet Mirroring.
	EndpointForwardingRule *string `json:"endpointForwardingRule,omitempty" tf:"endpoint_forwarding_rule,omitempty"`

	// Internal IP address of the endpoint's network entry point.
	EndpointIP *string `json:"endpointIp,omitempty" tf:"endpoint_ip,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/endpoints/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location for the endpoint.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the VPC network that is connected to the IDS endpoint. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net").
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The minimum alert severity level that is reported by the endpoint.
	// Possible values are: INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL.
	Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`

	// Configuration for threat IDs excluded from generating alerts. Limit: 99 IDs.
	ThreatExceptions []*string `json:"threatExceptions,omitempty" tf:"threat_exceptions,omitempty"`

	// Last update timestamp in RFC 3339 text format.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*IdsEndpointObservation) DeepCopy

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

func (*IdsEndpointObservation) DeepCopyInto

func (in *IdsEndpointObservation) DeepCopyInto(out *IdsEndpointObservation)

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

type IdsEndpointParameters

type IdsEndpointParameters struct {

	// An optional description of the endpoint.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The location for the endpoint.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the VPC network that is connected to the IDS endpoint. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net").
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// Reference to a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The minimum alert severity level that is reported by the endpoint.
	// Possible values are: INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL.
	// +kubebuilder:validation:Optional
	Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`

	// Configuration for threat IDs excluded from generating alerts. Limit: 99 IDs.
	// +kubebuilder:validation:Optional
	ThreatExceptions []*string `json:"threatExceptions,omitempty" tf:"threat_exceptions,omitempty"`
}

func (*IdsEndpointParameters) DeepCopy

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

func (*IdsEndpointParameters) DeepCopyInto

func (in *IdsEndpointParameters) DeepCopyInto(out *IdsEndpointParameters)

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

type IdsEndpointSpec

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

IdsEndpointSpec defines the desired state of IdsEndpoint

func (*IdsEndpointSpec) DeepCopy

func (in *IdsEndpointSpec) DeepCopy() *IdsEndpointSpec

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

func (*IdsEndpointSpec) DeepCopyInto

func (in *IdsEndpointSpec) DeepCopyInto(out *IdsEndpointSpec)

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

type IdsEndpointStatus

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

IdsEndpointStatus defines the observed state of IdsEndpoint.

func (*IdsEndpointStatus) DeepCopy

func (in *IdsEndpointStatus) DeepCopy() *IdsEndpointStatus

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

func (*IdsEndpointStatus) DeepCopyInto

func (in *IdsEndpointStatus) DeepCopyInto(out *IdsEndpointStatus)

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