v1alpha1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the vpc resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=vpc.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

+kubebuilder:object:generate=true +groupName=vpc.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "vpc.yandex-cloud.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Address_Kind             = "Address"
	Address_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Address_Kind}.String()
	Address_KindAPIVersion   = Address_Kind + "." + CRDGroupVersion.String()
	Address_GroupVersionKind = CRDGroupVersion.WithKind(Address_Kind)
)

Repository type metadata.

View Source
var (
	DefaultSecurityGroup_Kind             = "DefaultSecurityGroup"
	DefaultSecurityGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DefaultSecurityGroup_Kind}.String()
	DefaultSecurityGroup_KindAPIVersion   = DefaultSecurityGroup_Kind + "." + CRDGroupVersion.String()
	DefaultSecurityGroup_GroupVersionKind = CRDGroupVersion.WithKind(DefaultSecurityGroup_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 (
	Network_Kind             = "Network"
	Network_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Network_Kind}.String()
	Network_KindAPIVersion   = Network_Kind + "." + CRDGroupVersion.String()
	Network_GroupVersionKind = CRDGroupVersion.WithKind(Network_Kind)
)

Repository type metadata.

View Source
var (
	SecurityGroup_Kind             = "SecurityGroup"
	SecurityGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroup_Kind}.String()
	SecurityGroup_KindAPIVersion   = SecurityGroup_Kind + "." + CRDGroupVersion.String()
	SecurityGroup_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroup_Kind)
)

Repository type metadata.

View Source
var (
	SecurityGroupRule_Kind             = "SecurityGroupRule"
	SecurityGroupRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupRule_Kind}.String()
	SecurityGroupRule_KindAPIVersion   = SecurityGroupRule_Kind + "." + CRDGroupVersion.String()
	SecurityGroupRule_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupRule_Kind)
)

Repository type metadata.

View Source
var (
	Subnet_Kind             = "Subnet"
	Subnet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Subnet_Kind}.String()
	Subnet_KindAPIVersion   = Subnet_Kind + "." + CRDGroupVersion.String()
	Subnet_GroupVersionKind = CRDGroupVersion.WithKind(Subnet_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Address

type Address struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AddressSpec   `json:"spec"`
	Status            AddressStatus `json:"status,omitempty"`
}

Address is the Schema for the Addresss API. Manages a VPC address within Yandex.Cloud. +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,yandex-cloud}

func (*Address) DeepCopy

func (in *Address) DeepCopy() *Address

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

func (*Address) DeepCopyInto

func (in *Address) DeepCopyInto(out *Address)

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

func (*Address) DeepCopyObject

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

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

func (*Address) GetCondition

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

GetCondition of this Address.

func (*Address) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Address

func (*Address) GetDeletionPolicy

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

GetDeletionPolicy of this Address.

func (*Address) GetID

func (tr *Address) GetID() string

GetID returns ID of underlying Terraform resource of this Address

func (*Address) GetInitParameters

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

GetInitParameters of this Address

func (*Address) GetManagementPolicies

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

GetManagementPolicies of this Address.

func (*Address) GetMergedParameters

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

GetInitParameters of this Address

func (*Address) GetObservation

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

GetObservation of this Address

func (*Address) GetParameters

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

GetParameters of this Address

func (*Address) GetProviderConfigReference

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

GetProviderConfigReference of this Address.

func (*Address) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Address.

func (*Address) GetTerraformResourceType

func (mg *Address) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Address

func (*Address) GetTerraformSchemaVersion

func (tr *Address) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Address) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Address.

func (*Address) Hub

func (tr *Address) Hub()

Hub marks this type as a conversion hub.

func (*Address) LateInitialize

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

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

func (*Address) ResolveReferences

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

ResolveReferences of this Address.

func (*Address) SetConditions

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

SetConditions of this Address.

func (*Address) SetDeletionPolicy

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

SetDeletionPolicy of this Address.

func (*Address) SetManagementPolicies

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

SetManagementPolicies of this Address.

func (*Address) SetObservation

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

SetObservation for this Address

func (*Address) SetParameters

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

SetParameters for this Address

func (*Address) SetProviderConfigReference

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

SetProviderConfigReference of this Address.

func (*Address) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Address.

func (*Address) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Address.

type AddressInitParameters

type AddressInitParameters struct {

	// DNS record specification of address
	DNSRecord []DNSRecordInitParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// Flag that protects the address from accidental deletion.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

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

	// spec of IP v4 address
	ExternalIPv4Address []ExternalIPv4AddressInitParameters `json:"externalIpv4Address,omitempty" tf:"external_ipv4_address,omitempty"`

	// ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to apply to this resource. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the address. Provided by the client when the address is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AddressInitParameters) DeepCopy

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

func (*AddressInitParameters) DeepCopyInto

func (in *AddressInitParameters) DeepCopyInto(out *AddressInitParameters)

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

type AddressList

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

AddressList contains a list of Addresss

func (*AddressList) DeepCopy

func (in *AddressList) DeepCopy() *AddressList

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

func (*AddressList) DeepCopyInto

func (in *AddressList) DeepCopyInto(out *AddressList)

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

func (*AddressList) DeepCopyObject

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

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

func (*AddressList) GetItems

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

GetItems of this AddressList.

type AddressObservation

type AddressObservation struct {

	// Creation timestamp of the key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// DNS record specification of address
	DNSRecord []DNSRecordObservation `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// Flag that protects the address from accidental deletion.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

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

	// spec of IP v4 address
	ExternalIPv4Address []ExternalIPv4AddressObservation `json:"externalIpv4Address,omitempty" tf:"external_ipv4_address,omitempty"`

	// ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// Labels to apply to this resource. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the address. Provided by the client when the address is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// false means that address is ephemeral.
	Reserved *bool `json:"reserved,omitempty" tf:"reserved,omitempty"`

	// true if address is used.
	Used *bool `json:"used,omitempty" tf:"used,omitempty"`
}

func (*AddressObservation) DeepCopy

func (in *AddressObservation) DeepCopy() *AddressObservation

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

func (*AddressObservation) DeepCopyInto

func (in *AddressObservation) DeepCopyInto(out *AddressObservation)

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

type AddressParameters

type AddressParameters struct {

	// DNS record specification of address
	// +kubebuilder:validation:Optional
	DNSRecord []DNSRecordParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"`

	// Flag that protects the address from accidental deletion.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

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

	// spec of IP v4 address
	// +kubebuilder:validation:Optional
	ExternalIPv4Address []ExternalIPv4AddressParameters `json:"externalIpv4Address,omitempty" tf:"external_ipv4_address,omitempty"`

	// ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to apply to this resource. A list of key/value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the address. Provided by the client when the address is created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AddressParameters) DeepCopy

func (in *AddressParameters) DeepCopy() *AddressParameters

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

func (*AddressParameters) DeepCopyInto

func (in *AddressParameters) DeepCopyInto(out *AddressParameters)

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

type AddressSpec

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

AddressSpec defines the desired state of Address

func (*AddressSpec) DeepCopy

func (in *AddressSpec) DeepCopy() *AddressSpec

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

func (*AddressSpec) DeepCopyInto

func (in *AddressSpec) DeepCopyInto(out *AddressSpec)

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

type AddressStatus

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

AddressStatus defines the observed state of Address.

func (*AddressStatus) DeepCopy

func (in *AddressStatus) DeepCopy() *AddressStatus

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

func (*AddressStatus) DeepCopyInto

func (in *AddressStatus) DeepCopyInto(out *AddressStatus)

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

type DHCPOptionsInitParameters

type DHCPOptionsInitParameters struct {

	// Domain name.
	DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`

	// Domain name server IP addresses.
	DomainNameServers []*string `json:"domainNameServers,omitempty" tf:"domain_name_servers,omitempty"`

	// NTP server IP addresses.
	NtpServers []*string `json:"ntpServers,omitempty" tf:"ntp_servers,omitempty"`
}

func (*DHCPOptionsInitParameters) DeepCopy

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

func (*DHCPOptionsInitParameters) DeepCopyInto

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

type DHCPOptionsObservation

type DHCPOptionsObservation struct {

	// Domain name.
	DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`

	// Domain name server IP addresses.
	DomainNameServers []*string `json:"domainNameServers,omitempty" tf:"domain_name_servers,omitempty"`

	// NTP server IP addresses.
	NtpServers []*string `json:"ntpServers,omitempty" tf:"ntp_servers,omitempty"`
}

func (*DHCPOptionsObservation) DeepCopy

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

func (*DHCPOptionsObservation) DeepCopyInto

func (in *DHCPOptionsObservation) DeepCopyInto(out *DHCPOptionsObservation)

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

type DHCPOptionsParameters

type DHCPOptionsParameters struct {

	// Domain name.
	// +kubebuilder:validation:Optional
	DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`

	// Domain name server IP addresses.
	// +kubebuilder:validation:Optional
	DomainNameServers []*string `json:"domainNameServers,omitempty" tf:"domain_name_servers,omitempty"`

	// NTP server IP addresses.
	// +kubebuilder:validation:Optional
	NtpServers []*string `json:"ntpServers,omitempty" tf:"ntp_servers,omitempty"`
}

func (*DHCPOptionsParameters) DeepCopy

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

func (*DHCPOptionsParameters) DeepCopyInto

func (in *DHCPOptionsParameters) DeepCopyInto(out *DHCPOptionsParameters)

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

type DNSRecordInitParameters

type DNSRecordInitParameters struct {

	// DNS zone id to create record at.
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// FQDN for record to address
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// If PTR record is needed
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// TTL of DNS record
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*DNSRecordInitParameters) DeepCopy

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

func (*DNSRecordInitParameters) DeepCopyInto

func (in *DNSRecordInitParameters) DeepCopyInto(out *DNSRecordInitParameters)

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

type DNSRecordObservation

type DNSRecordObservation struct {

	// DNS zone id to create record at.
	DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"`

	// FQDN for record to address
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// If PTR record is needed
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// TTL of DNS record
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*DNSRecordObservation) DeepCopy

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

func (*DNSRecordObservation) DeepCopyInto

func (in *DNSRecordObservation) DeepCopyInto(out *DNSRecordObservation)

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

type DNSRecordParameters

type DNSRecordParameters struct {

	// DNS zone id to create record at.
	// +kubebuilder:validation:Optional
	DNSZoneID *string `json:"dnsZoneId" tf:"dns_zone_id,omitempty"`

	// FQDN for record to address
	// +kubebuilder:validation:Optional
	Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"`

	// If PTR record is needed
	// +kubebuilder:validation:Optional
	Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"`

	// TTL of DNS record
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*DNSRecordParameters) DeepCopy

func (in *DNSRecordParameters) DeepCopy() *DNSRecordParameters

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

func (*DNSRecordParameters) DeepCopyInto

func (in *DNSRecordParameters) DeepCopyInto(out *DNSRecordParameters)

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

type DefaultSecurityGroup

type DefaultSecurityGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DefaultSecurityGroupSpec   `json:"spec"`
	Status            DefaultSecurityGroupStatus `json:"status,omitempty"`
}

DefaultSecurityGroup is the Schema for the DefaultSecurityGroups API. Yandex VPC Default Security Group. +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,yandex-cloud}

func (*DefaultSecurityGroup) DeepCopy

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

func (*DefaultSecurityGroup) DeepCopyInto

func (in *DefaultSecurityGroup) DeepCopyInto(out *DefaultSecurityGroup)

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

func (*DefaultSecurityGroup) DeepCopyObject

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

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

func (*DefaultSecurityGroup) GetCondition

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

GetCondition of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetDeletionPolicy

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

GetDeletionPolicy of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) GetID

func (tr *DefaultSecurityGroup) GetID() string

GetID returns ID of underlying Terraform resource of this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetInitParameters

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

GetInitParameters of this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetManagementPolicies

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

GetManagementPolicies of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) GetMergedParameters

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

GetInitParameters of this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetObservation

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

GetObservation of this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetParameters

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

GetParameters of this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetProviderConfigReference

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

GetProviderConfigReference of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) GetTerraformResourceType

func (mg *DefaultSecurityGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DefaultSecurityGroup

func (*DefaultSecurityGroup) GetTerraformSchemaVersion

func (tr *DefaultSecurityGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DefaultSecurityGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) Hub

func (tr *DefaultSecurityGroup) Hub()

Hub marks this type as a conversion hub.

func (*DefaultSecurityGroup) LateInitialize

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

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

func (*DefaultSecurityGroup) ResolveReferences

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

ResolveReferences of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) SetConditions

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

SetConditions of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) SetDeletionPolicy

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

SetDeletionPolicy of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) SetManagementPolicies

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

SetManagementPolicies of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) SetObservation

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

SetObservation for this DefaultSecurityGroup

func (*DefaultSecurityGroup) SetParameters

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

SetParameters for this DefaultSecurityGroup

func (*DefaultSecurityGroup) SetProviderConfigReference

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

SetProviderConfigReference of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DefaultSecurityGroup.

func (*DefaultSecurityGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DefaultSecurityGroup.

type DefaultSecurityGroupInitParameters

type DefaultSecurityGroupInitParameters struct {

	// Description of the security group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of egress rules. The structure is documented below.
	Egress []EgressInitParameters `json:"egress,omitempty" tf:"egress,omitempty"`

	// ID of the folder this security group belongs to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A list of ingress rules.
	Ingress []IngressInitParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// ID of the network this security group belongs to.
	// +crossplane:generate:reference:type=Network
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`
}

func (*DefaultSecurityGroupInitParameters) DeepCopy

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

func (*DefaultSecurityGroupInitParameters) DeepCopyInto

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

type DefaultSecurityGroupList

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

DefaultSecurityGroupList contains a list of DefaultSecurityGroups

func (*DefaultSecurityGroupList) DeepCopy

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

func (*DefaultSecurityGroupList) DeepCopyInto

func (in *DefaultSecurityGroupList) DeepCopyInto(out *DefaultSecurityGroupList)

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

func (*DefaultSecurityGroupList) DeepCopyObject

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

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

func (*DefaultSecurityGroupList) GetItems

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

GetItems of this DefaultSecurityGroupList.

type DefaultSecurityGroupObservation

type DefaultSecurityGroupObservation struct {

	// Creation timestamp of this security group.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the security group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of egress rules. The structure is documented below.
	Egress []EgressObservation `json:"egress,omitempty" tf:"egress,omitempty"`

	// ID of the folder this security group belongs to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Id of the security group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A list of ingress rules.
	Ingress []IngressObservation `json:"ingress,omitempty" tf:"ingress,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of this security group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this security group belongs to.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Status of this security group.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DefaultSecurityGroupObservation) DeepCopy

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

func (*DefaultSecurityGroupObservation) DeepCopyInto

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

type DefaultSecurityGroupParameters

type DefaultSecurityGroupParameters struct {

	// Description of the security group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of egress rules. The structure is documented below.
	// +kubebuilder:validation:Optional
	Egress []EgressParameters `json:"egress,omitempty" tf:"egress,omitempty"`

	// ID of the folder this security group belongs to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A list of ingress rules.
	// +kubebuilder:validation:Optional
	Ingress []IngressParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`

	// Labels to assign to this security group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// ID of the network this security group belongs to.
	// +crossplane:generate:reference:type=Network
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`
}

func (*DefaultSecurityGroupParameters) DeepCopy

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

func (*DefaultSecurityGroupParameters) DeepCopyInto

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

type DefaultSecurityGroupSpec

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

DefaultSecurityGroupSpec defines the desired state of DefaultSecurityGroup

func (*DefaultSecurityGroupSpec) DeepCopy

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

func (*DefaultSecurityGroupSpec) DeepCopyInto

func (in *DefaultSecurityGroupSpec) DeepCopyInto(out *DefaultSecurityGroupSpec)

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

type DefaultSecurityGroupStatus

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

DefaultSecurityGroupStatus defines the observed state of DefaultSecurityGroup.

func (*DefaultSecurityGroupStatus) DeepCopy

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

func (*DefaultSecurityGroupStatus) DeepCopyInto

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

type EgressInitParameters

type EgressInitParameters struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*EgressInitParameters) DeepCopy

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

func (*EgressInitParameters) DeepCopyInto

func (in *EgressInitParameters) DeepCopyInto(out *EgressInitParameters)

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

type EgressObservation

type EgressObservation struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Id of the security group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*EgressObservation) DeepCopy

func (in *EgressObservation) DeepCopy() *EgressObservation

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

func (*EgressObservation) DeepCopyInto

func (in *EgressObservation) DeepCopyInto(out *EgressObservation)

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

type EgressParameters

type EgressParameters struct {

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

	// Minimum port number.
	// +kubebuilder:validation:Optional
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this security group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	// +kubebuilder:validation:Optional
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	// +kubebuilder:validation:Optional
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	// +kubebuilder:validation:Optional
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	// +kubebuilder:validation:Optional
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*EgressParameters) DeepCopy

func (in *EgressParameters) DeepCopy() *EgressParameters

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

func (*EgressParameters) DeepCopyInto

func (in *EgressParameters) DeepCopyInto(out *EgressParameters)

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

type ExternalIPv4AddressInitParameters

type ExternalIPv4AddressInitParameters struct {

	// Enable DDOS protection. Possible values are: "qrator"
	DdosProtectionProvider *string `json:"ddosProtectionProvider,omitempty" tf:"ddos_protection_provider,omitempty"`

	// Wanted outgoing smtp capability.
	OutgoingSMTPCapability *string `json:"outgoingSmtpCapability,omitempty" tf:"outgoing_smtp_capability,omitempty"`

	// Zone for allocating address.
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`
}

func (*ExternalIPv4AddressInitParameters) DeepCopy

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

func (*ExternalIPv4AddressInitParameters) DeepCopyInto

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

type ExternalIPv4AddressObservation

type ExternalIPv4AddressObservation struct {

	// Allocated IP address.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// Enable DDOS protection. Possible values are: "qrator"
	DdosProtectionProvider *string `json:"ddosProtectionProvider,omitempty" tf:"ddos_protection_provider,omitempty"`

	// Wanted outgoing smtp capability.
	OutgoingSMTPCapability *string `json:"outgoingSmtpCapability,omitempty" tf:"outgoing_smtp_capability,omitempty"`

	// Zone for allocating address.
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`
}

func (*ExternalIPv4AddressObservation) DeepCopy

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

func (*ExternalIPv4AddressObservation) DeepCopyInto

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

type ExternalIPv4AddressParameters

type ExternalIPv4AddressParameters struct {

	// Enable DDOS protection. Possible values are: "qrator"
	// +kubebuilder:validation:Optional
	DdosProtectionProvider *string `json:"ddosProtectionProvider,omitempty" tf:"ddos_protection_provider,omitempty"`

	// Wanted outgoing smtp capability.
	// +kubebuilder:validation:Optional
	OutgoingSMTPCapability *string `json:"outgoingSmtpCapability,omitempty" tf:"outgoing_smtp_capability,omitempty"`

	// Zone for allocating address.
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`
}

func (*ExternalIPv4AddressParameters) DeepCopy

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

func (*ExternalIPv4AddressParameters) DeepCopyInto

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

type IngressInitParameters

type IngressInitParameters struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this rule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*IngressInitParameters) DeepCopy

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

func (*IngressInitParameters) DeepCopyInto

func (in *IngressInitParameters) DeepCopyInto(out *IngressInitParameters)

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

type IngressObservation

type IngressObservation struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Id of the security group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this rule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*IngressObservation) DeepCopy

func (in *IngressObservation) DeepCopy() *IngressObservation

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

func (*IngressObservation) DeepCopyInto

func (in *IngressObservation) DeepCopyInto(out *IngressObservation)

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

type IngressParameters

type IngressParameters struct {

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

	// Minimum port number.
	// +kubebuilder:validation:Optional
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this rule.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	// +kubebuilder:validation:Optional
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	// +kubebuilder:validation:Optional
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	// +kubebuilder:validation:Optional
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	// +kubebuilder:validation:Optional
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*IngressParameters) DeepCopy

func (in *IngressParameters) DeepCopy() *IngressParameters

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

func (*IngressParameters) DeepCopyInto

func (in *IngressParameters) DeepCopyInto(out *IngressParameters)

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

type Network

type Network struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkSpec   `json:"spec"`
	Status            NetworkStatus `json:"status,omitempty"`
}

Network is the Schema for the Networks API. Manages a network within Yandex.Cloud. +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,yandex-cloud}

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

func (*Network) DeepCopyObject

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

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

func (*Network) GetCondition

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

GetCondition of this Network.

func (*Network) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Network

func (*Network) GetDeletionPolicy

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

GetDeletionPolicy of this Network.

func (*Network) GetID

func (tr *Network) GetID() string

GetID returns ID of underlying Terraform resource of this Network

func (*Network) GetInitParameters

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

GetInitParameters of this Network

func (*Network) GetManagementPolicies

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

GetManagementPolicies of this Network.

func (*Network) GetMergedParameters

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

GetInitParameters of this Network

func (*Network) GetObservation

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

GetObservation of this Network

func (*Network) GetParameters

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

GetParameters of this Network

func (*Network) GetProviderConfigReference

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

GetProviderConfigReference of this Network.

func (*Network) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Network.

func (*Network) GetTerraformResourceType

func (mg *Network) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Network

func (*Network) GetTerraformSchemaVersion

func (tr *Network) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Network) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Network.

func (*Network) Hub

func (tr *Network) Hub()

Hub marks this type as a conversion hub.

func (*Network) LateInitialize

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

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

func (*Network) ResolveReferences

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

ResolveReferences of this Network.

func (*Network) SetConditions

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

SetConditions of this Network.

func (*Network) SetDeletionPolicy

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

SetDeletionPolicy of this Network.

func (*Network) SetManagementPolicies

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

SetManagementPolicies of this Network.

func (*Network) SetObservation

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

SetObservation for this Network

func (*Network) SetParameters

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

SetParameters for this Network

func (*Network) SetProviderConfigReference

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

SetProviderConfigReference of this Network.

func (*Network) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Network.

func (*Network) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Network.

type NetworkInitParameters

type NetworkInitParameters struct {

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

	// ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to apply to this network. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the network. Provided by the client when the network is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*NetworkInitParameters) DeepCopy

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

func (*NetworkInitParameters) DeepCopyInto

func (in *NetworkInitParameters) DeepCopyInto(out *NetworkInitParameters)

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

type NetworkList

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

NetworkList contains a list of Networks

func (*NetworkList) DeepCopy

func (in *NetworkList) DeepCopy() *NetworkList

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

func (*NetworkList) DeepCopyInto

func (in *NetworkList) DeepCopyInto(out *NetworkList)

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

func (*NetworkList) DeepCopyObject

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

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

func (*NetworkList) GetItems

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

GetItems of this NetworkList.

type NetworkObservation

type NetworkObservation struct {

	// Creation timestamp of the key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// ID of default Security Group of this network.
	DefaultSecurityGroupID *string `json:"defaultSecurityGroupId,omitempty" tf:"default_security_group_id,omitempty"`

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

	// ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// Labels to apply to this network. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the network. Provided by the client when the network is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}

func (*NetworkObservation) DeepCopy

func (in *NetworkObservation) DeepCopy() *NetworkObservation

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

func (*NetworkObservation) DeepCopyInto

func (in *NetworkObservation) DeepCopyInto(out *NetworkObservation)

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

type NetworkParameters

type NetworkParameters struct {

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

	// ID of the folder that the resource belongs to. If it
	// is not provided, the default provider folder is used.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to apply to this network. A list of key/value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the network. Provided by the client when the network is created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*NetworkParameters) DeepCopy

func (in *NetworkParameters) DeepCopy() *NetworkParameters

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

func (*NetworkParameters) DeepCopyInto

func (in *NetworkParameters) DeepCopyInto(out *NetworkParameters)

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

type NetworkSpec

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

NetworkSpec defines the desired state of Network

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

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

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

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

type NetworkStatus

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

NetworkStatus defines the observed state of Network.

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

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

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

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

type SecurityGroup

type SecurityGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SecurityGroupSpec   `json:"spec"`
	Status            SecurityGroupStatus `json:"status,omitempty"`
}

SecurityGroup is the Schema for the SecurityGroups API. Yandex VPC Security Group. +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,yandex-cloud}

func (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

func (*SecurityGroup) DeepCopyObject

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

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

func (*SecurityGroup) GetCondition

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

GetCondition of this SecurityGroup.

func (*SecurityGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecurityGroup

func (*SecurityGroup) GetDeletionPolicy

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

GetDeletionPolicy of this SecurityGroup.

func (*SecurityGroup) GetID

func (tr *SecurityGroup) GetID() string

GetID returns ID of underlying Terraform resource of this SecurityGroup

func (*SecurityGroup) GetInitParameters

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

GetInitParameters of this SecurityGroup

func (*SecurityGroup) GetManagementPolicies

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

GetManagementPolicies of this SecurityGroup.

func (*SecurityGroup) GetMergedParameters

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

GetInitParameters of this SecurityGroup

func (*SecurityGroup) GetObservation

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

GetObservation of this SecurityGroup

func (*SecurityGroup) GetParameters

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

GetParameters of this SecurityGroup

func (*SecurityGroup) GetProviderConfigReference

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

GetProviderConfigReference of this SecurityGroup.

func (*SecurityGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecurityGroup.

func (*SecurityGroup) GetTerraformResourceType

func (mg *SecurityGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecurityGroup

func (*SecurityGroup) GetTerraformSchemaVersion

func (tr *SecurityGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecurityGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecurityGroup.

func (*SecurityGroup) Hub

func (tr *SecurityGroup) Hub()

Hub marks this type as a conversion hub.

func (*SecurityGroup) LateInitialize

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

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

func (*SecurityGroup) ResolveReferences

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

ResolveReferences of this SecurityGroup.

func (*SecurityGroup) SetConditions

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

SetConditions of this SecurityGroup.

func (*SecurityGroup) SetDeletionPolicy

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

SetDeletionPolicy of this SecurityGroup.

func (*SecurityGroup) SetManagementPolicies

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

SetManagementPolicies of this SecurityGroup.

func (*SecurityGroup) SetObservation

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

SetObservation for this SecurityGroup

func (*SecurityGroup) SetParameters

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

SetParameters for this SecurityGroup

func (*SecurityGroup) SetProviderConfigReference

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

SetProviderConfigReference of this SecurityGroup.

func (*SecurityGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecurityGroup.

func (*SecurityGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroup.

type SecurityGroupEgressInitParameters

type SecurityGroupEgressInitParameters struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupEgressInitParameters) DeepCopy

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

func (*SecurityGroupEgressInitParameters) DeepCopyInto

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

type SecurityGroupEgressObservation

type SecurityGroupEgressObservation struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Id of the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupEgressObservation) DeepCopy

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

func (*SecurityGroupEgressObservation) DeepCopyInto

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

type SecurityGroupEgressParameters

type SecurityGroupEgressParameters struct {

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

	// Minimum port number.
	// +kubebuilder:validation:Optional
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this security group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	// +kubebuilder:validation:Optional
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	// +kubebuilder:validation:Optional
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	// +kubebuilder:validation:Optional
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	// +kubebuilder:validation:Optional
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupEgressParameters) DeepCopy

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

func (*SecurityGroupEgressParameters) DeepCopyInto

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

type SecurityGroupIngressInitParameters

type SecurityGroupIngressInitParameters struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this rule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupIngressInitParameters) DeepCopy

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

func (*SecurityGroupIngressInitParameters) DeepCopyInto

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

type SecurityGroupIngressObservation

type SecurityGroupIngressObservation struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Id of the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this rule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupIngressObservation) DeepCopy

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

func (*SecurityGroupIngressObservation) DeepCopyInto

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

type SecurityGroupIngressParameters

type SecurityGroupIngressParameters struct {

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

	// Minimum port number.
	// +kubebuilder:validation:Optional
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this rule.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets. self_security_group refers to this particular security group. loadbalancer_healthchecks represents loadbalancer health check nodes.
	// +kubebuilder:validation:Optional
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol" tf:"protocol,omitempty"`

	// Target security group ID for this rule.
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	// +kubebuilder:validation:Optional
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	// +kubebuilder:validation:Optional
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	// +kubebuilder:validation:Optional
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupIngressParameters) DeepCopy

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

func (*SecurityGroupIngressParameters) DeepCopyInto

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

type SecurityGroupInitParameters

type SecurityGroupInitParameters struct {

	// Description of the security group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of egress rules. The structure is documented below.
	Egress []SecurityGroupEgressInitParameters `json:"egress,omitempty" tf:"egress,omitempty"`

	// ID of the folder this security group belongs to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A list of ingress rules.
	Ingress []SecurityGroupIngressInitParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the security group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this security group belongs to.
	// +crossplane:generate:reference:type=Network
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`
}

func (*SecurityGroupInitParameters) DeepCopy

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

func (*SecurityGroupInitParameters) DeepCopyInto

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

type SecurityGroupList

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

SecurityGroupList contains a list of SecurityGroups

func (*SecurityGroupList) DeepCopy

func (in *SecurityGroupList) DeepCopy() *SecurityGroupList

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

func (*SecurityGroupList) DeepCopyInto

func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList)

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

func (*SecurityGroupList) DeepCopyObject

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

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

func (*SecurityGroupList) GetItems

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

GetItems of this SecurityGroupList.

type SecurityGroupObservation

type SecurityGroupObservation struct {

	// Creation timestamp of this security group.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the security group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of egress rules. The structure is documented below.
	Egress []SecurityGroupEgressObservation `json:"egress,omitempty" tf:"egress,omitempty"`

	// ID of the folder this security group belongs to.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Id of the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A list of ingress rules.
	Ingress []SecurityGroupIngressObservation `json:"ingress,omitempty" tf:"ingress,omitempty"`

	// Labels to assign to this security group.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the security group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this security group belongs to.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Status of this security group.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*SecurityGroupObservation) DeepCopy

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

func (*SecurityGroupObservation) DeepCopyInto

func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation)

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

type SecurityGroupParameters

type SecurityGroupParameters struct {

	// Description of the security group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of egress rules. The structure is documented below.
	// +kubebuilder:validation:Optional
	Egress []SecurityGroupEgressParameters `json:"egress,omitempty" tf:"egress,omitempty"`

	// ID of the folder this security group belongs to.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A list of ingress rules.
	// +kubebuilder:validation:Optional
	Ingress []SecurityGroupIngressParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`

	// Labels to assign to this security group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the security group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this security group belongs to.
	// +crossplane:generate:reference:type=Network
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`
}

func (*SecurityGroupParameters) DeepCopy

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

func (*SecurityGroupParameters) DeepCopyInto

func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters)

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

type SecurityGroupRule

type SecurityGroupRule 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.direction) || (has(self.initProvider) && has(self.initProvider.direction))",message="spec.forProvider.direction is a required parameter"
	Spec   SecurityGroupRuleSpec   `json:"spec"`
	Status SecurityGroupRuleStatus `json:"status,omitempty"`
}

SecurityGroupRule is the Schema for the SecurityGroupRules API. Yandex VPC Security Group Rule. +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,yandex-cloud}

func (*SecurityGroupRule) DeepCopy

func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule

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

func (*SecurityGroupRule) DeepCopyInto

func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)

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

func (*SecurityGroupRule) DeepCopyObject

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

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

func (*SecurityGroupRule) GetCondition

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

GetCondition of this SecurityGroupRule.

func (*SecurityGroupRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecurityGroupRule

func (*SecurityGroupRule) GetDeletionPolicy

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

GetDeletionPolicy of this SecurityGroupRule.

func (*SecurityGroupRule) GetID

func (tr *SecurityGroupRule) GetID() string

GetID returns ID of underlying Terraform resource of this SecurityGroupRule

func (*SecurityGroupRule) GetInitParameters

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

GetInitParameters of this SecurityGroupRule

func (*SecurityGroupRule) GetManagementPolicies

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

GetManagementPolicies of this SecurityGroupRule.

func (*SecurityGroupRule) GetMergedParameters

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

GetInitParameters of this SecurityGroupRule

func (*SecurityGroupRule) GetObservation

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

GetObservation of this SecurityGroupRule

func (*SecurityGroupRule) GetParameters

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

GetParameters of this SecurityGroupRule

func (*SecurityGroupRule) GetProviderConfigReference

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

GetProviderConfigReference of this SecurityGroupRule.

func (*SecurityGroupRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecurityGroupRule.

func (*SecurityGroupRule) GetTerraformResourceType

func (mg *SecurityGroupRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecurityGroupRule

func (*SecurityGroupRule) GetTerraformSchemaVersion

func (tr *SecurityGroupRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecurityGroupRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecurityGroupRule.

func (*SecurityGroupRule) Hub

func (tr *SecurityGroupRule) Hub()

Hub marks this type as a conversion hub.

func (*SecurityGroupRule) LateInitialize

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

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

func (*SecurityGroupRule) ResolveReferences

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

ResolveReferences of this SecurityGroupRule.

func (*SecurityGroupRule) SetConditions

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

SetConditions of this SecurityGroupRule.

func (*SecurityGroupRule) SetDeletionPolicy

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

SetDeletionPolicy of this SecurityGroupRule.

func (*SecurityGroupRule) SetManagementPolicies

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

SetManagementPolicies of this SecurityGroupRule.

func (*SecurityGroupRule) SetObservation

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

SetObservation for this SecurityGroupRule

func (*SecurityGroupRule) SetParameters

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

SetParameters for this SecurityGroupRule

func (*SecurityGroupRule) SetProviderConfigReference

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

SetProviderConfigReference of this SecurityGroupRule.

func (*SecurityGroupRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecurityGroupRule.

func (*SecurityGroupRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroupRule.

type SecurityGroupRuleInitParameters

type SecurityGroupRuleInitParameters struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// direction of the rule. Can be ingress (inbound) or egress (outbound).
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this rule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets such as "self_security_group". See docs for possible options.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the security group this rule belongs to.
	// +crossplane:generate:reference:type=SecurityGroup
	SecurityGroupBinding *string `json:"securityGroupBinding,omitempty" tf:"security_group_binding,omitempty"`

	// Reference to a SecurityGroup to populate securityGroupBinding.
	// +kubebuilder:validation:Optional
	SecurityGroupBindingRef *v1.Reference `json:"securityGroupBindingRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup to populate securityGroupBinding.
	// +kubebuilder:validation:Optional
	SecurityGroupBindingSelector *v1.Selector `json:"securityGroupBindingSelector,omitempty" tf:"-"`

	// Target security group ID for this rule.
	// +crossplane:generate:reference:type=SecurityGroup
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Reference to a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupRuleInitParameters) DeepCopy

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

func (*SecurityGroupRuleInitParameters) DeepCopyInto

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

type SecurityGroupRuleList

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

SecurityGroupRuleList contains a list of SecurityGroupRules

func (*SecurityGroupRuleList) DeepCopy

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

func (*SecurityGroupRuleList) DeepCopyInto

func (in *SecurityGroupRuleList) DeepCopyInto(out *SecurityGroupRuleList)

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

func (*SecurityGroupRuleList) DeepCopyObject

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

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

func (*SecurityGroupRuleList) GetItems

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

GetItems of this SecurityGroupRuleList.

type SecurityGroupRuleObservation

type SecurityGroupRuleObservation struct {

	// Description of the rule.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// direction of the rule. Can be ingress (inbound) or egress (outbound).
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// Minimum port number.
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Id of the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to assign to this rule.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets such as "self_security_group". See docs for possible options.
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the security group this rule belongs to.
	SecurityGroupBinding *string `json:"securityGroupBinding,omitempty" tf:"security_group_binding,omitempty"`

	// Target security group ID for this rule.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Maximum port number.
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupRuleObservation) DeepCopy

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

func (*SecurityGroupRuleObservation) DeepCopyInto

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

type SecurityGroupRuleParameters

type SecurityGroupRuleParameters struct {

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

	// direction of the rule. Can be ingress (inbound) or egress (outbound).
	// +kubebuilder:validation:Optional
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// Minimum port number.
	// +kubebuilder:validation:Optional
	FromPort *float64 `json:"fromPort,omitempty" tf:"from_port,omitempty"`

	// Labels to assign to this rule.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Port number (if applied to a single port).
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Special-purpose targets such as "self_security_group". See docs for possible options.
	// +kubebuilder:validation:Optional
	PredefinedTarget *string `json:"predefinedTarget,omitempty" tf:"predefined_target,omitempty"`

	// One of ANY, TCP, UDP, ICMP, IPV6_ICMP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// ID of the security group this rule belongs to.
	// +crossplane:generate:reference:type=SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupBinding *string `json:"securityGroupBinding,omitempty" tf:"security_group_binding,omitempty"`

	// Reference to a SecurityGroup to populate securityGroupBinding.
	// +kubebuilder:validation:Optional
	SecurityGroupBindingRef *v1.Reference `json:"securityGroupBindingRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup to populate securityGroupBinding.
	// +kubebuilder:validation:Optional
	SecurityGroupBindingSelector *v1.Selector `json:"securityGroupBindingSelector,omitempty" tf:"-"`

	// Target security group ID for this rule.
	// +crossplane:generate:reference:type=SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Reference to a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// Maximum port number.
	// +kubebuilder:validation:Optional
	ToPort *float64 `json:"toPort,omitempty" tf:"to_port,omitempty"`

	// The blocks of IPv4 addresses for this rule.
	// +kubebuilder:validation:Optional
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// The blocks of IPv6 addresses for this rule. v6_cidr_blocks argument is currently not supported. It will be available in the future.
	// +kubebuilder:validation:Optional
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`
}

func (*SecurityGroupRuleParameters) DeepCopy

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

func (*SecurityGroupRuleParameters) DeepCopyInto

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

type SecurityGroupRuleSpec

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

SecurityGroupRuleSpec defines the desired state of SecurityGroupRule

func (*SecurityGroupRuleSpec) DeepCopy

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

func (*SecurityGroupRuleSpec) DeepCopyInto

func (in *SecurityGroupRuleSpec) DeepCopyInto(out *SecurityGroupRuleSpec)

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

type SecurityGroupRuleStatus

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

SecurityGroupRuleStatus defines the observed state of SecurityGroupRule.

func (*SecurityGroupRuleStatus) DeepCopy

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

func (*SecurityGroupRuleStatus) DeepCopyInto

func (in *SecurityGroupRuleStatus) DeepCopyInto(out *SecurityGroupRuleStatus)

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

type SecurityGroupSpec

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

SecurityGroupSpec defines the desired state of SecurityGroup

func (*SecurityGroupSpec) DeepCopy

func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec

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

func (*SecurityGroupSpec) DeepCopyInto

func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec)

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

type SecurityGroupStatus

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

SecurityGroupStatus defines the observed state of SecurityGroup.

func (*SecurityGroupStatus) DeepCopy

func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus

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

func (*SecurityGroupStatus) DeepCopyInto

func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)

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

type Subnet

type Subnet 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.v4CidrBlocks) || (has(self.initProvider) && has(self.initProvider.v4CidrBlocks))",message="spec.forProvider.v4CidrBlocks is a required parameter"
	Spec   SubnetSpec   `json:"spec"`
	Status SubnetStatus `json:"status,omitempty"`
}

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

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

func (*Subnet) DeepCopyObject

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

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

func (*Subnet) GetCondition

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

GetCondition of this Subnet.

func (*Subnet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Subnet

func (*Subnet) GetDeletionPolicy

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

GetDeletionPolicy of this Subnet.

func (*Subnet) GetID

func (tr *Subnet) GetID() string

GetID returns ID of underlying Terraform resource of this Subnet

func (*Subnet) GetInitParameters

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

GetInitParameters of this Subnet

func (*Subnet) GetManagementPolicies

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

GetManagementPolicies of this Subnet.

func (*Subnet) GetMergedParameters

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

GetInitParameters of this Subnet

func (*Subnet) GetObservation

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

GetObservation of this Subnet

func (*Subnet) GetParameters

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

GetParameters of this Subnet

func (*Subnet) GetProviderConfigReference

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

GetProviderConfigReference of this Subnet.

func (*Subnet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Subnet.

func (*Subnet) GetTerraformResourceType

func (mg *Subnet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Subnet

func (*Subnet) GetTerraformSchemaVersion

func (tr *Subnet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Subnet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) Hub

func (tr *Subnet) Hub()

Hub marks this type as a conversion hub.

func (*Subnet) LateInitialize

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

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

func (*Subnet) ResolveReferences

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

ResolveReferences of this Subnet.

func (*Subnet) SetConditions

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

SetConditions of this Subnet.

func (*Subnet) SetDeletionPolicy

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

SetDeletionPolicy of this Subnet.

func (*Subnet) SetManagementPolicies

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

SetManagementPolicies of this Subnet.

func (*Subnet) SetObservation

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

SetObservation for this Subnet

func (*Subnet) SetParameters

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

SetParameters for this Subnet

func (*Subnet) SetProviderConfigReference

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

SetProviderConfigReference of this Subnet.

func (*Subnet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Subnet.

func (*Subnet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subnet.

type SubnetInitParameters

type SubnetInitParameters struct {

	// Options for DHCP client. The structure is documented below.
	DHCPOptions []DHCPOptionsInitParameters `json:"dhcpOptions,omitempty" tf:"dhcp_options,omitempty"`

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

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to assign to this subnet. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the subnet. Provided by the client when the subnet is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this subnet belongs to.
	// Only networks that are in the distributed mode can have subnets.
	// +crossplane:generate:reference:type=Network
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// The ID of the route table to assign to this subnet. Assigned route table should
	// belong to the same network as this subnet.
	RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"`

	// A list of blocks of internal IPv4 addresses that are owned by this subnet.
	// Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16.
	// Blocks of addresses must be unique and non-overlapping within a network.
	// Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// Name of the Yandex.Cloud zone for this subnet.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*SubnetInitParameters) DeepCopy

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

func (*SubnetInitParameters) DeepCopyInto

func (in *SubnetInitParameters) DeepCopyInto(out *SubnetInitParameters)

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

type SubnetList

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

SubnetList contains a list of Subnets

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

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

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

func (*SubnetList) GetItems

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

GetItems of this SubnetList.

type SubnetObservation

type SubnetObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Options for DHCP client. The structure is documented below.
	DHCPOptions []DHCPOptionsObservation `json:"dhcpOptions,omitempty" tf:"dhcp_options,omitempty"`

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

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// Labels to assign to this subnet. A list of key/value pairs.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the subnet. Provided by the client when the subnet is created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this subnet belongs to.
	// Only networks that are in the distributed mode can have subnets.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// The ID of the route table to assign to this subnet. Assigned route table should
	// belong to the same network as this subnet.
	RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"`

	// A list of blocks of internal IPv4 addresses that are owned by this subnet.
	// Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16.
	// Blocks of addresses must be unique and non-overlapping within a network.
	// Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// An optional list of blocks of IPv6 addresses that are owned by this subnet.
	V6CidrBlocks []*string `json:"v6CidrBlocks,omitempty" tf:"v6_cidr_blocks,omitempty"`

	// Name of the Yandex.Cloud zone for this subnet.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*SubnetObservation) DeepCopy

func (in *SubnetObservation) DeepCopy() *SubnetObservation

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

func (*SubnetObservation) DeepCopyInto

func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation)

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

type SubnetParameters

type SubnetParameters struct {

	// Options for DHCP client. The structure is documented below.
	// +kubebuilder:validation:Optional
	DHCPOptions []DHCPOptionsParameters `json:"dhcpOptions,omitempty" tf:"dhcp_options,omitempty"`

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

	// The ID of the folder to which the resource belongs.
	// If omitted, the provider folder is used.
	// +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// Labels to assign to this subnet. A list of key/value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Name of the subnet. Provided by the client when the subnet is created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// ID of the network this subnet belongs to.
	// Only networks that are in the distributed mode can have subnets.
	// +crossplane:generate:reference:type=Network
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a Network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// The ID of the route table to assign to this subnet. Assigned route table should
	// belong to the same network as this subnet.
	// +kubebuilder:validation:Optional
	RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"`

	// A list of blocks of internal IPv4 addresses that are owned by this subnet.
	// Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16.
	// Blocks of addresses must be unique and non-overlapping within a network.
	// Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
	// +kubebuilder:validation:Optional
	V4CidrBlocks []*string `json:"v4CidrBlocks,omitempty" tf:"v4_cidr_blocks,omitempty"`

	// Name of the Yandex.Cloud zone for this subnet.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*SubnetParameters) DeepCopy

func (in *SubnetParameters) DeepCopy() *SubnetParameters

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

func (*SubnetParameters) DeepCopyInto

func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters)

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

type SubnetSpec

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

SubnetSpec defines the desired state of Subnet

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

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

SubnetStatus defines the observed state of Subnet.

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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