v1beta1

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=compute.gcp-beta.max4t.xyz +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "compute.gcp-beta.max4t.xyz"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	ForwardingRule_Kind             = "ForwardingRule"
	ForwardingRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ForwardingRule_Kind}.String()
	ForwardingRule_KindAPIVersion   = ForwardingRule_Kind + "." + CRDGroupVersion.String()
	ForwardingRule_GroupVersionKind = CRDGroupVersion.WithKind(ForwardingRule_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 (
	RegionTargetTCPProxy_Kind             = "RegionTargetTCPProxy"
	RegionTargetTCPProxy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RegionTargetTCPProxy_Kind}.String()
	RegionTargetTCPProxy_KindAPIVersion   = RegionTargetTCPProxy_Kind + "." + CRDGroupVersion.String()
	RegionTargetTCPProxy_GroupVersionKind = CRDGroupVersion.WithKind(RegionTargetTCPProxy_Kind)
)

Repository type metadata.

View Source
var (
	Subnetwork_Kind             = "Subnetwork"
	Subnetwork_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Subnetwork_Kind}.String()
	Subnetwork_KindAPIVersion   = Subnetwork_Kind + "." + CRDGroupVersion.String()
	Subnetwork_GroupVersionKind = CRDGroupVersion.WithKind(Subnetwork_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ForwardingRule

type ForwardingRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ForwardingRuleSpec   `json:"spec"`
	Status            ForwardingRuleStatus `json:"status,omitempty"`
}

ForwardingRule is the Schema for the ForwardingRules API. A ForwardingRule resource. +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,gcp-beta}

func (*ForwardingRule) DeepCopy

func (in *ForwardingRule) DeepCopy() *ForwardingRule

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

func (*ForwardingRule) DeepCopyInto

func (in *ForwardingRule) DeepCopyInto(out *ForwardingRule)

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

func (*ForwardingRule) DeepCopyObject

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

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

func (*ForwardingRule) GetCondition

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

GetCondition of this ForwardingRule.

func (*ForwardingRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ForwardingRule

func (*ForwardingRule) GetDeletionPolicy

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

GetDeletionPolicy of this ForwardingRule.

func (*ForwardingRule) GetID

func (tr *ForwardingRule) GetID() string

GetID returns ID of underlying Terraform resource of this ForwardingRule

func (*ForwardingRule) GetObservation

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

GetObservation of this ForwardingRule

func (*ForwardingRule) GetParameters

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

GetParameters of this ForwardingRule

func (*ForwardingRule) GetProviderConfigReference

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

GetProviderConfigReference of this ForwardingRule.

func (*ForwardingRule) GetProviderReference

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

GetProviderReference of this ForwardingRule. Deprecated: Use GetProviderConfigReference.

func (*ForwardingRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ForwardingRule.

func (*ForwardingRule) GetTerraformResourceType

func (mg *ForwardingRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ForwardingRule

func (*ForwardingRule) GetTerraformSchemaVersion

func (tr *ForwardingRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ForwardingRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ForwardingRule.

func (*ForwardingRule) LateInitialize

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

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

func (*ForwardingRule) ResolveReferences

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

ResolveReferences of this ForwardingRule.

func (*ForwardingRule) SetConditions

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

SetConditions of this ForwardingRule.

func (*ForwardingRule) SetDeletionPolicy

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

SetDeletionPolicy of this ForwardingRule.

func (*ForwardingRule) SetObservation

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

SetObservation for this ForwardingRule

func (*ForwardingRule) SetParameters

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

SetParameters for this ForwardingRule

func (*ForwardingRule) SetProviderConfigReference

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

SetProviderConfigReference of this ForwardingRule.

func (*ForwardingRule) SetProviderReference

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

SetProviderReference of this ForwardingRule. Deprecated: Use SetProviderConfigReference.

func (*ForwardingRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ForwardingRule.

func (*ForwardingRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ForwardingRule.

type ForwardingRuleList

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

ForwardingRuleList contains a list of ForwardingRules

func (*ForwardingRuleList) DeepCopy

func (in *ForwardingRuleList) DeepCopy() *ForwardingRuleList

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

func (*ForwardingRuleList) DeepCopyInto

func (in *ForwardingRuleList) DeepCopyInto(out *ForwardingRuleList)

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

func (*ForwardingRuleList) DeepCopyObject

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

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

func (*ForwardingRuleList) GetItems

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

GetItems of this ForwardingRuleList.

type ForwardingRuleObservation

type ForwardingRuleObservation struct {

	// Creation timestamp in RFC3339 text format.
	CreationTimestamp *string `json:"creationTimestamp,omitempty" tf:"creation_timestamp,omitempty"`

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

	// (Beta)
	// The fingerprint used for optimistic locking of this resource.  Used
	// internally during updates.
	LabelFingerprint *string `json:"labelFingerprint,omitempty" tf:"label_fingerprint,omitempty"`

	// The PSC connection id of the PSC Forwarding Rule.
	PscConnectionID *string `json:"pscConnectionId,omitempty" tf:"psc_connection_id,omitempty"`

	// The PSC connection status of the PSC Forwarding Rule. Possible values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED
	PscConnectionStatus *string `json:"pscConnectionStatus,omitempty" tf:"psc_connection_status,omitempty"`

	// The URI of the created resource.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`

	// The internal fully qualified service name for this Forwarding Rule.
	// This field is only used for INTERNAL load balancing.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ForwardingRuleObservation) DeepCopy

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

func (*ForwardingRuleObservation) DeepCopyInto

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

type ForwardingRuleParameters

type ForwardingRuleParameters struct {

	// This field can be used with internal load balancer or network load balancer
	// when the forwarding rule references a backend service, or with the target
	// field when it references a TargetInstance. Set this to true to
	// allow packets addressed to any ports to be forwarded to the backends configured
	// with this forwarding rule. This can be used when the protocol is TCP/UDP, and it
	// must be set to true when the protocol is set to L3_DEFAULT.
	// Cannot be set if port or portRange are set.
	// +kubebuilder:validation:Optional
	AllPorts *bool `json:"allPorts,omitempty" tf:"all_ports,omitempty"`

	// If true, clients can access ILB from all regions.
	// Otherwise only allows from the local region the ILB is located at.
	// +kubebuilder:validation:Optional
	AllowGlobalAccess *bool `json:"allowGlobalAccess,omitempty" tf:"allow_global_access,omitempty"`

	// A BackendService to receive the matched traffic. This is used only
	// for INTERNAL load balancing.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.BackendService
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
	// +kubebuilder:validation:Optional
	BackendService *string `json:"backendService,omitempty" tf:"backend_service,omitempty"`

	// Reference to a BackendService in compute to populate backendService.
	// +kubebuilder:validation:Optional
	BackendServiceRef *v1.Reference `json:"backendServiceRef,omitempty" tf:"-"`

	// Selector for a BackendService in compute to populate backendService.
	// +kubebuilder:validation:Optional
	BackendServiceSelector *v1.Selector `json:"backendServiceSelector,omitempty" tf:"-"`

	// An optional description of this resource. Provide this property when
	// you create the resource.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The IP address that this forwarding rule serves. When a client sends
	// traffic to this IP address, the forwarding rule directs the traffic to
	// the target that you specify in the forwarding rule. The
	// loadBalancingScheme and the forwarding rule's target determine the
	// type of IP address that you can use. For detailed information, refer
	// to IP address specifications.
	// An address can be specified either by a literal IP address or a
	// reference to an existing Address resource. If you don't specify a
	// reserved IP address, an ephemeral IP address is assigned.
	// The value must be set to 0.0.0.0 when the target is a targetGrpcProxy
	// that has validateForProxyless field set to true.
	// For Private Service Connect forwarding rules that forward traffic to
	// Google APIs, IP address must be provided.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Address
	// +crossplane:generate:reference:extractor=github.com/max4t/provider-gcp-beta/config/common.IDExtractor()
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Reference to a Address in compute to populate ipAddress.
	// +kubebuilder:validation:Optional
	IPAddressRef *v1.Reference `json:"ipAddressRef,omitempty" tf:"-"`

	// Selector for a Address in compute to populate ipAddress.
	// +kubebuilder:validation:Optional
	IPAddressSelector *v1.Selector `json:"ipAddressSelector,omitempty" tf:"-"`

	// The IP protocol to which this rule applies.
	// When the load balancing scheme is INTERNAL, only TCP and UDP are
	// valid.
	// Possible values are TCP, UDP, ESP, AH, SCTP, ICMP, and L3_DEFAULT.
	// +kubebuilder:validation:Optional
	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	// Indicates whether or not this load balancer can be used
	// as a collector for packet mirroring. To prevent mirroring loops,
	// instances behind this load balancer will not have their traffic
	// mirrored even if a PacketMirroring rule applies to them. This
	// can only be set to true for load balancers that have their
	// loadBalancingScheme set to INTERNAL.
	// +kubebuilder:validation:Optional
	IsMirroringCollector *bool `json:"isMirroringCollector,omitempty" tf:"is_mirroring_collector,omitempty"`

	// Labels to apply to this forwarding rule.  A list of key->value pairs.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// This signifies what the ForwardingRule will be used for and can be
	// EXTERNAL, EXTERNAL_MANAGED, INTERNAL, or INTERNAL_MANAGED. EXTERNAL is used for Classic
	// Cloud VPN gateways, protocol forwarding to VMs from an external IP address,
	// and HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP load balancers.
	// INTERNAL is used for protocol forwarding to VMs from an internal IP address,
	// and internal TCP/UDP load balancers.
	// EXTERNAL_MANAGED is used for regional external HTTP(S) load balancers.
	// INTERNAL_MANAGED is used for internal HTTP(S) load balancers.
	// Default value is EXTERNAL.
	// Possible values are EXTERNAL, EXTERNAL_MANAGED, INTERNAL, and INTERNAL_MANAGED.
	// +kubebuilder:validation:Optional
	LoadBalancingScheme *string `json:"loadBalancingScheme,omitempty" tf:"load_balancing_scheme,omitempty"`

	// For internal load balancing, this field identifies the network that
	// the load balanced IP should belong to for this Forwarding Rule. If
	// this field is not specified, the default network will be used.
	// This field is only used for INTERNAL load balancing.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +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 networking tier used for configuring this address. If this field is not
	// specified, it is assumed to be PREMIUM.
	// Possible values are PREMIUM and STANDARD.
	// +kubebuilder:validation:Optional
	NetworkTier *string `json:"networkTier,omitempty" tf:"network_tier,omitempty"`

	// This field is used along with the target field for TargetHttpProxy,
	// TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway,
	// TargetPool, TargetInstance.
	// Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets
	// addressed to ports in the specified range will be forwarded to target.
	// Forwarding rules with the same [IPAddress, IPProtocol] pair must have
	// disjoint port ranges.
	// Some types of forwarding target have constraints on the acceptable
	// ports:
	// +kubebuilder:validation:Optional
	PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`

	// This field is used along with internal load balancing and network
	// load balancer when the forwarding rule references a backend service
	// and when protocol is not L3_DEFAULT.
	// A single port or a comma separated list of ports can be configured.
	// Only packets addressed to these ports will be forwarded to the backends
	// configured with this forwarding rule.
	// You can only use one of ports and portRange, or allPorts.
	// The three are mutually exclusive.
	// You may specify a maximum of up to 5 ports, which can be non-contiguous.
	// +kubebuilder:validation:Optional
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`

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

	// A reference to the region where the regional forwarding rule resides.
	// This field is not applicable to global forwarding rules.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// Service Directory resources to register this forwarding rule with. Currently,
	// only supports a single Service Directory resource.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ServiceDirectoryRegistrations []ServiceDirectoryRegistrationsParameters `json:"serviceDirectoryRegistrations,omitempty" tf:"service_directory_registrations,omitempty"`

	// An optional prefix to the service name for this Forwarding Rule.
	// If specified, will be the first label of the fully qualified service
	// name.
	// The label must be 1-63 characters long, and comply with RFC1035.
	// Specifically, the label must be 1-63 characters long and match the
	// regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
	// character must be a lowercase letter, and all following characters
	// must be a dash, lowercase letter, or digit, except the last
	// character, which cannot be a dash.
	// This field is only used for INTERNAL load balancing.
	// +kubebuilder:validation:Optional
	ServiceLabel *string `json:"serviceLabel,omitempty" tf:"service_label,omitempty"`

	// The subnetwork that the load balanced IP should belong to for this
	// Forwarding Rule.  This field is only used for INTERNAL load balancing.
	// If the network specified is in auto subnet mode, this field is
	// optional. However, if the network is in custom subnet mode, a
	// subnetwork must be specified.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Subnetwork
	// +kubebuilder:validation:Optional
	Subnetwork *string `json:"subnetwork,omitempty" tf:"subnetwork,omitempty"`

	// Reference to a Subnetwork in compute to populate subnetwork.
	// +kubebuilder:validation:Optional
	SubnetworkRef *v1.Reference `json:"subnetworkRef,omitempty" tf:"-"`

	// Selector for a Subnetwork in compute to populate subnetwork.
	// +kubebuilder:validation:Optional
	SubnetworkSelector *v1.Selector `json:"subnetworkSelector,omitempty" tf:"-"`

	// The URL of the target resource to receive the matched traffic.
	// The target must live in the same region as the forwarding rule.
	// The forwarded traffic must be of a type appropriate to the target
	// object.
	// +crossplane:generate:reference:type=RegionTargetTCPProxy
	// +crossplane:generate:reference:extractor=github.com/max4t/provider-gcp-beta/config/common.IDExtractor()
	// +kubebuilder:validation:Optional
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Reference to a RegionTargetTCPProxy to populate target.
	// +kubebuilder:validation:Optional
	TargetRef *v1.Reference `json:"targetRef,omitempty" tf:"-"`

	// Selector for a RegionTargetTCPProxy to populate target.
	// +kubebuilder:validation:Optional
	TargetSelector *v1.Selector `json:"targetSelector,omitempty" tf:"-"`
}

func (*ForwardingRuleParameters) DeepCopy

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

func (*ForwardingRuleParameters) DeepCopyInto

func (in *ForwardingRuleParameters) DeepCopyInto(out *ForwardingRuleParameters)

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

type ForwardingRuleSpec

type ForwardingRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ForwardingRuleParameters `json:"forProvider"`
}

ForwardingRuleSpec defines the desired state of ForwardingRule

func (*ForwardingRuleSpec) DeepCopy

func (in *ForwardingRuleSpec) DeepCopy() *ForwardingRuleSpec

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

func (*ForwardingRuleSpec) DeepCopyInto

func (in *ForwardingRuleSpec) DeepCopyInto(out *ForwardingRuleSpec)

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

type ForwardingRuleStatus

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

ForwardingRuleStatus defines the observed state of ForwardingRule.

func (*ForwardingRuleStatus) DeepCopy

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

func (*ForwardingRuleStatus) DeepCopyInto

func (in *ForwardingRuleStatus) DeepCopyInto(out *ForwardingRuleStatus)

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

type LogConfigObservation added in v0.0.10

type LogConfigObservation struct {
}

func (*LogConfigObservation) DeepCopy added in v0.0.10

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

func (*LogConfigObservation) DeepCopyInto added in v0.0.10

func (in *LogConfigObservation) DeepCopyInto(out *LogConfigObservation)

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

type LogConfigParameters added in v0.0.10

type LogConfigParameters struct {

	// Can only be specified if VPC flow logging for this subnetwork is enabled.
	// Toggles the aggregation interval for collecting flow logs. Increasing the
	// interval time will reduce the amount of generated flow logs for long
	// lasting connections. Default is an interval of 5 seconds per connection.
	// Default value is INTERVAL_5_SEC.
	// Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, and INTERVAL_15_MIN.
	// +kubebuilder:validation:Optional
	AggregationInterval *string `json:"aggregationInterval,omitempty" tf:"aggregation_interval,omitempty"`

	// Export filter used to define which VPC flow logs should be logged, as as CEL expression. See
	// https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field.
	// The default value is 'true', which evaluates to include everything.
	// +kubebuilder:validation:Optional
	FilterExpr *string `json:"filterExpr,omitempty" tf:"filter_expr,omitempty"`

	// Can only be specified if VPC flow logging for this subnetwork is enabled.
	// The value of the field must be in [0, 1]. Set the sampling rate of VPC
	// flow logs within the subnetwork where 1.0 means all collected logs are
	// reported and 0.0 means no logs are reported. Default is 0.5 which means
	// half of all collected logs are reported.
	// +kubebuilder:validation:Optional
	FlowSampling *float64 `json:"flowSampling,omitempty" tf:"flow_sampling,omitempty"`

	// Can only be specified if VPC flow logging for this subnetwork is enabled.
	// Configures whether metadata fields should be added to the reported VPC
	// flow logs.
	// Default value is INCLUDE_ALL_METADATA.
	// Possible values are EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA, and CUSTOM_METADATA.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// List of metadata fields that should be added to reported logs.
	// Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA.
	// +kubebuilder:validation:Optional
	MetadataFields []*string `json:"metadataFields,omitempty" tf:"metadata_fields,omitempty"`
}

func (*LogConfigParameters) DeepCopy added in v0.0.10

func (in *LogConfigParameters) DeepCopy() *LogConfigParameters

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

func (*LogConfigParameters) DeepCopyInto added in v0.0.10

func (in *LogConfigParameters) DeepCopyInto(out *LogConfigParameters)

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

type RegionTargetTCPProxy

type RegionTargetTCPProxy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RegionTargetTCPProxySpec   `json:"spec"`
	Status            RegionTargetTCPProxyStatus `json:"status,omitempty"`
}

RegionTargetTCPProxy is the Schema for the RegionTargetTCPProxys API. Represents a RegionTargetTcpProxy resource, which is used by one or more forwarding rules to route incoming TCP requests to a regional TCP proxy load balancer. +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,gcp-beta}

func (*RegionTargetTCPProxy) DeepCopy

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

func (*RegionTargetTCPProxy) DeepCopyInto

func (in *RegionTargetTCPProxy) DeepCopyInto(out *RegionTargetTCPProxy)

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

func (*RegionTargetTCPProxy) DeepCopyObject

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

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

func (*RegionTargetTCPProxy) GetCondition

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

GetCondition of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) GetDeletionPolicy

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

GetDeletionPolicy of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) GetID

func (tr *RegionTargetTCPProxy) GetID() string

GetID returns ID of underlying Terraform resource of this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) GetObservation

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

GetObservation of this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) GetParameters

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

GetParameters of this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) GetProviderConfigReference

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

GetProviderConfigReference of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) GetProviderReference

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

GetProviderReference of this RegionTargetTCPProxy. Deprecated: Use GetProviderConfigReference.

func (*RegionTargetTCPProxy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) GetTerraformResourceType

func (mg *RegionTargetTCPProxy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) GetTerraformSchemaVersion

func (tr *RegionTargetTCPProxy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RegionTargetTCPProxy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) LateInitialize

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

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

func (*RegionTargetTCPProxy) ResolveReferences

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

ResolveReferences of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) SetConditions

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

SetConditions of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) SetDeletionPolicy

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

SetDeletionPolicy of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) SetObservation

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

SetObservation for this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) SetParameters

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

SetParameters for this RegionTargetTCPProxy

func (*RegionTargetTCPProxy) SetProviderConfigReference

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

SetProviderConfigReference of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) SetProviderReference

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

SetProviderReference of this RegionTargetTCPProxy. Deprecated: Use SetProviderConfigReference.

func (*RegionTargetTCPProxy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RegionTargetTCPProxy.

func (*RegionTargetTCPProxy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RegionTargetTCPProxy.

type RegionTargetTCPProxyList

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

RegionTargetTCPProxyList contains a list of RegionTargetTCPProxys

func (*RegionTargetTCPProxyList) DeepCopy

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

func (*RegionTargetTCPProxyList) DeepCopyInto

func (in *RegionTargetTCPProxyList) DeepCopyInto(out *RegionTargetTCPProxyList)

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

func (*RegionTargetTCPProxyList) DeepCopyObject

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

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

func (*RegionTargetTCPProxyList) GetItems

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

GetItems of this RegionTargetTCPProxyList.

type RegionTargetTCPProxyObservation

type RegionTargetTCPProxyObservation struct {

	// Creation timestamp in RFC3339 text format.
	CreationTimestamp *string `json:"creationTimestamp,omitempty" tf:"creation_timestamp,omitempty"`

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

	// The unique identifier for the resource.
	ProxyID *float64 `json:"proxyId,omitempty" tf:"proxy_id,omitempty"`

	// The URI of the created resource.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`
}

func (*RegionTargetTCPProxyObservation) DeepCopy

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

func (*RegionTargetTCPProxyObservation) DeepCopyInto

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

type RegionTargetTCPProxyParameters

type RegionTargetTCPProxyParameters struct {

	// A reference to the BackendService resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.RegionBackendService
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
	// +kubebuilder:validation:Optional
	BackendService *string `json:"backendService,omitempty" tf:"backend_service,omitempty"`

	// Reference to a RegionBackendService in compute to populate backendService.
	// +kubebuilder:validation:Optional
	BackendServiceRef *v1.Reference `json:"backendServiceRef,omitempty" tf:"-"`

	// Selector for a RegionBackendService in compute to populate backendService.
	// +kubebuilder:validation:Optional
	BackendServiceSelector *v1.Selector `json:"backendServiceSelector,omitempty" tf:"-"`

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

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

	// This field only applies when the forwarding rule that references
	// this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
	// +kubebuilder:validation:Optional
	ProxyBind *bool `json:"proxyBind,omitempty" tf:"proxy_bind,omitempty"`

	// Specifies the type of proxy header to append before sending data to
	// the backend.
	// Default value is NONE.
	// Possible values are NONE and PROXY_V1.
	// +kubebuilder:validation:Optional
	ProxyHeader *string `json:"proxyHeader,omitempty" tf:"proxy_header,omitempty"`

	// The Region in which the created target TCP proxy should reside.
	// If it is not provided, the provider region is used.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`
}

func (*RegionTargetTCPProxyParameters) DeepCopy

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

func (*RegionTargetTCPProxyParameters) DeepCopyInto

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

type RegionTargetTCPProxySpec

type RegionTargetTCPProxySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RegionTargetTCPProxyParameters `json:"forProvider"`
}

RegionTargetTCPProxySpec defines the desired state of RegionTargetTCPProxy

func (*RegionTargetTCPProxySpec) DeepCopy

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

func (*RegionTargetTCPProxySpec) DeepCopyInto

func (in *RegionTargetTCPProxySpec) DeepCopyInto(out *RegionTargetTCPProxySpec)

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

type RegionTargetTCPProxyStatus

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

RegionTargetTCPProxyStatus defines the observed state of RegionTargetTCPProxy.

func (*RegionTargetTCPProxyStatus) DeepCopy

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

func (*RegionTargetTCPProxyStatus) DeepCopyInto

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

type SecondaryIPRangeObservation added in v0.0.10

type SecondaryIPRangeObservation struct {
}

func (*SecondaryIPRangeObservation) DeepCopy added in v0.0.10

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

func (*SecondaryIPRangeObservation) DeepCopyInto added in v0.0.10

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

type SecondaryIPRangeParameters added in v0.0.10

type SecondaryIPRangeParameters struct {

	// The range of IP addresses belonging to this subnetwork secondary
	// range. Provide this property when you create the subnetwork.
	// Ranges must be unique and non-overlapping with all primary and
	// secondary IP ranges within a network. Only IPv4 is supported.
	// +kubebuilder:validation:Optional
	IPCidrRange *string `json:"ipCidrRange,omitempty" tf:"ip_cidr_range"`

	// The name associated with this subnetwork secondary range, used
	// when adding an alias IP range to a VM instance. The name must
	// be 1-63 characters long, and comply with RFC1035. The name
	// must be unique within the subnetwork.
	// +kubebuilder:validation:Optional
	RangeName *string `json:"rangeName,omitempty" tf:"range_name"`
}

func (*SecondaryIPRangeParameters) DeepCopy added in v0.0.10

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

func (*SecondaryIPRangeParameters) DeepCopyInto added in v0.0.10

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

type ServiceDirectoryRegistrationsObservation

type ServiceDirectoryRegistrationsObservation struct {
}

func (*ServiceDirectoryRegistrationsObservation) DeepCopy

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

func (*ServiceDirectoryRegistrationsObservation) DeepCopyInto

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

type ServiceDirectoryRegistrationsParameters

type ServiceDirectoryRegistrationsParameters struct {

	// Service Directory namespace to register the forwarding rule under.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Service Directory service to register the forwarding rule under.
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*ServiceDirectoryRegistrationsParameters) DeepCopy

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

func (*ServiceDirectoryRegistrationsParameters) DeepCopyInto

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

type Subnetwork added in v0.0.10

type Subnetwork struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SubnetworkSpec   `json:"spec"`
	Status            SubnetworkStatus `json:"status,omitempty"`
}

Subnetwork is the Schema for the Subnetworks API. A VPC network is a virtual version of the traditional physical networks that exist within and between physical data centers. +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,gcp-beta}

func (*Subnetwork) DeepCopy added in v0.0.10

func (in *Subnetwork) DeepCopy() *Subnetwork

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

func (*Subnetwork) DeepCopyInto added in v0.0.10

func (in *Subnetwork) DeepCopyInto(out *Subnetwork)

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

func (*Subnetwork) DeepCopyObject added in v0.0.10

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

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

func (*Subnetwork) GetCondition added in v0.0.10

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

GetCondition of this Subnetwork.

func (*Subnetwork) GetConnectionDetailsMapping added in v0.0.10

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

GetConnectionDetailsMapping for this Subnetwork

func (*Subnetwork) GetDeletionPolicy added in v0.0.10

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

GetDeletionPolicy of this Subnetwork.

func (*Subnetwork) GetID added in v0.0.10

func (tr *Subnetwork) GetID() string

GetID returns ID of underlying Terraform resource of this Subnetwork

func (*Subnetwork) GetObservation added in v0.0.10

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

GetObservation of this Subnetwork

func (*Subnetwork) GetParameters added in v0.0.10

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

GetParameters of this Subnetwork

func (*Subnetwork) GetProviderConfigReference added in v0.0.10

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

GetProviderConfigReference of this Subnetwork.

func (*Subnetwork) GetProviderReference added in v0.0.10

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

GetProviderReference of this Subnetwork. Deprecated: Use GetProviderConfigReference.

func (*Subnetwork) GetPublishConnectionDetailsTo added in v0.0.10

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

GetPublishConnectionDetailsTo of this Subnetwork.

func (*Subnetwork) GetTerraformResourceType added in v0.0.10

func (mg *Subnetwork) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Subnetwork

func (*Subnetwork) GetTerraformSchemaVersion added in v0.0.10

func (tr *Subnetwork) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Subnetwork) GetWriteConnectionSecretToReference added in v0.0.10

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

GetWriteConnectionSecretToReference of this Subnetwork.

func (*Subnetwork) LateInitialize added in v0.0.10

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

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

func (*Subnetwork) ResolveReferences added in v0.0.10

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

ResolveReferences of this Subnetwork.

func (*Subnetwork) SetConditions added in v0.0.10

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

SetConditions of this Subnetwork.

func (*Subnetwork) SetDeletionPolicy added in v0.0.10

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

SetDeletionPolicy of this Subnetwork.

func (*Subnetwork) SetObservation added in v0.0.10

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

SetObservation for this Subnetwork

func (*Subnetwork) SetParameters added in v0.0.10

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

SetParameters for this Subnetwork

func (*Subnetwork) SetProviderConfigReference added in v0.0.10

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

SetProviderConfigReference of this Subnetwork.

func (*Subnetwork) SetProviderReference added in v0.0.10

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

SetProviderReference of this Subnetwork. Deprecated: Use SetProviderConfigReference.

func (*Subnetwork) SetPublishConnectionDetailsTo added in v0.0.10

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

SetPublishConnectionDetailsTo of this Subnetwork.

func (*Subnetwork) SetWriteConnectionSecretToReference added in v0.0.10

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

SetWriteConnectionSecretToReference of this Subnetwork.

type SubnetworkList added in v0.0.10

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

SubnetworkList contains a list of Subnetworks

func (*SubnetworkList) DeepCopy added in v0.0.10

func (in *SubnetworkList) DeepCopy() *SubnetworkList

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

func (*SubnetworkList) DeepCopyInto added in v0.0.10

func (in *SubnetworkList) DeepCopyInto(out *SubnetworkList)

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

func (*SubnetworkList) DeepCopyObject added in v0.0.10

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

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

func (*SubnetworkList) GetItems added in v0.0.10

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

GetItems of this SubnetworkList.

type SubnetworkObservation added in v0.0.10

type SubnetworkObservation struct {

	// Creation timestamp in RFC3339 text format.
	CreationTimestamp *string `json:"creationTimestamp,omitempty" tf:"creation_timestamp,omitempty"`

	// The range of external IPv6 addresses that are owned by this subnetwork.
	ExternalIPv6Prefix *string `json:"externalIpv6Prefix,omitempty" tf:"external_ipv6_prefix,omitempty"`

	Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"`

	// The gateway address for default routes to reach destination addresses
	// outside this subnetwork.
	GatewayAddress *string `json:"gatewayAddress,omitempty" tf:"gateway_address,omitempty"`

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

	// The range of internal IPv6 addresses that are owned by this subnetwork.
	IPv6CidrRange *string `json:"ipv6CidrRange,omitempty" tf:"ipv6_cidr_range,omitempty"`

	// The URI of the created resource.
	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`
}

func (*SubnetworkObservation) DeepCopy added in v0.0.10

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

func (*SubnetworkObservation) DeepCopyInto added in v0.0.10

func (in *SubnetworkObservation) DeepCopyInto(out *SubnetworkObservation)

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

type SubnetworkParameters added in v0.0.10

type SubnetworkParameters struct {

	// An optional description of this resource. Provide this property when
	// you create the resource. This field can be set only at resource
	// creation time.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The range of internal addresses that are owned by this subnetwork.
	// Provide this property when you create the subnetwork. For example,
	// 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and
	// non-overlapping within a network. Only IPv4 is supported.
	// +kubebuilder:validation:Required
	IPCidrRange *string `json:"ipCidrRange" tf:"ip_cidr_range,omitempty"`

	// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation
	// or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet
	// cannot enable direct path.
	// Possible values are EXTERNAL and INTERNAL.
	// +kubebuilder:validation:Optional
	IPv6AccessType *string `json:"ipv6AccessType,omitempty" tf:"ipv6_access_type,omitempty"`

	// Denotes the logging options for the subnetwork flow logs. If logging is enabled
	// logs will be exported to Stackdriver. This field cannot be set if the purpose of this
	// subnetwork is INTERNAL_HTTPS_LOAD_BALANCER
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	LogConfig []LogConfigParameters `json:"logConfig,omitempty" tf:"log_config,omitempty"`

	// The network this subnet belongs to.
	// Only networks that are in the distributed mode can have subnetworks.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/max4t/provider-gcp-beta/config/common.IDExtractor()
	// +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:"-"`

	// When enabled, VMs in this subnetwork without external IP addresses can
	// access Google APIs and services by using Private Google Access.
	// +kubebuilder:validation:Optional
	PrivateIPGoogleAccess *bool `json:"privateIpGoogleAccess,omitempty" tf:"private_ip_google_access,omitempty"`

	// The private IPv6 google access type for the VMs in this subnet.
	// +kubebuilder:validation:Optional
	PrivateIPv6GoogleAccess *string `json:"privateIpv6GoogleAccess,omitempty" tf:"private_ipv6_google_access,omitempty"`

	// 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 purpose of the resource. A subnetwork with purpose set to
	// INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is
	// reserved for Internal HTTP(S) Load Balancing.
	// If set to INTERNAL_HTTPS_LOAD_BALANCER you must also set the role field.
	// +kubebuilder:validation:Optional
	Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"`

	// The GCP region for this subnetwork.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The role of subnetwork. Currently, this field is only used when
	// purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE
	// or BACKUP. An ACTIVE subnetwork is one that is currently being used
	// for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that
	// is ready to be promoted to ACTIVE or is currently draining.
	// Possible values are ACTIVE and BACKUP.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// An array of configurations for secondary IP ranges for VM instances
	// contained in this subnetwork. The primary IP of such VM must belong
	// to the primary ipCidrRange of the subnetwork. The alias IPs may belong
	// to either primary or secondary ranges.
	// Note: This field uses attr-as-block mode to avoid
	// breaking users during the 0.12 upgrade. To explicitly send a list
	// of zero objects you must use the following syntax:
	// example=[]
	// For more details about this behavior, see this section.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	SecondaryIPRange []SecondaryIPRangeParameters `json:"secondaryIpRange,omitempty" tf:"secondary_ip_range,omitempty"`

	// The stack type for this subnet to identify whether the IPv6 feature is enabled or not.
	// If not specified IPV4_ONLY will be used.
	// Possible values are IPV4_ONLY and IPV4_IPV6.
	// +kubebuilder:validation:Optional
	StackType *string `json:"stackType,omitempty" tf:"stack_type,omitempty"`
}

func (*SubnetworkParameters) DeepCopy added in v0.0.10

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

func (*SubnetworkParameters) DeepCopyInto added in v0.0.10

func (in *SubnetworkParameters) DeepCopyInto(out *SubnetworkParameters)

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

type SubnetworkSpec added in v0.0.10

type SubnetworkSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubnetworkParameters `json:"forProvider"`
}

SubnetworkSpec defines the desired state of Subnetwork

func (*SubnetworkSpec) DeepCopy added in v0.0.10

func (in *SubnetworkSpec) DeepCopy() *SubnetworkSpec

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

func (*SubnetworkSpec) DeepCopyInto added in v0.0.10

func (in *SubnetworkSpec) DeepCopyInto(out *SubnetworkSpec)

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

type SubnetworkStatus added in v0.0.10

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

SubnetworkStatus defines the observed state of Subnetwork.

func (*SubnetworkStatus) DeepCopy added in v0.0.10

func (in *SubnetworkStatus) DeepCopy() *SubnetworkStatus

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

func (*SubnetworkStatus) DeepCopyInto added in v0.0.10

func (in *SubnetworkStatus) DeepCopyInto(out *SubnetworkStatus)

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