Documentation ¶
Overview ¶
Package v1alpha1 contains the compute resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=compute.yandex-cloud.jet.crossplane.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=compute.yandex-cloud.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BootDiskObservation
- type BootDiskParameters
- type DNSRecordObservation
- type DNSRecordParameters
- type HostAffinityRulesObservation
- type HostAffinityRulesParameters
- type IPv6DNSRecordObservation
- type IPv6DNSRecordParameters
- type InitializeParamsObservation
- type InitializeParamsParameters
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetObservation() (map[string]interface{}, error)
- func (tr *Instance) GetParameters() (map[string]interface{}, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetProviderReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Instance) SetObservation(obs map[string]interface{}) error
- func (tr *Instance) SetParameters(params map[string]interface{}) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetProviderReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type LocalDiskObservation
- type LocalDiskParameters
- type NATDNSRecordObservation
- type NATDNSRecordParameters
- type NetworkInterfaceObservation
- type NetworkInterfaceParameters
- type PlacementPolicyObservation
- type PlacementPolicyParameters
- type ResourcesObservation
- type ResourcesParameters
- type SchedulingPolicyObservation
- type SchedulingPolicyParameters
- type SecondaryDiskObservation
- type SecondaryDiskParameters
Constants ¶
const ( CRDGroup = "compute.yandex-cloud.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BootDiskObservation ¶
type BootDiskObservation struct { }
func (*BootDiskObservation) DeepCopy ¶
func (in *BootDiskObservation) DeepCopy() *BootDiskObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiskObservation.
func (*BootDiskObservation) DeepCopyInto ¶
func (in *BootDiskObservation) DeepCopyInto(out *BootDiskObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootDiskParameters ¶
type BootDiskParameters struct { // +kubebuilder:validation:Optional // (Optional) Defines whether the disk will be auto-deleted when the instance AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"` // +kubebuilder:validation:Optional // (Optional) Name that can be used to access an attached disk. DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"` // +kubebuilder:validation:Optional // (Optional) The ID of the existing disk (such as those managed by DiskID *string `json:"diskId,omitempty" tf:"disk_id,omitempty"` // +kubebuilder:validation:Optional // (Optional) Parameters for a new disk that will be created InitializeParams []InitializeParamsParameters `json:"initializeParams,omitempty" tf:"initialize_params,omitempty"` // +kubebuilder:validation:Optional // (Optional) Type of access to the disk resource. By default, a disk is attached in `READ_WRITE` mode. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` }
func (*BootDiskParameters) DeepCopy ¶
func (in *BootDiskParameters) DeepCopy() *BootDiskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiskParameters.
func (*BootDiskParameters) DeepCopyInto ¶
func (in *BootDiskParameters) DeepCopyInto(out *BootDiskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSRecordObservation ¶
type DNSRecordObservation struct { }
func (*DNSRecordObservation) DeepCopy ¶
func (in *DNSRecordObservation) DeepCopy() *DNSRecordObservation
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 { // +kubebuilder:validation:Optional // (Optional) DNS zone ID (if not set, private zone used). DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"` // +kubebuilder:validation:Required // (Required) DNS record FQDN (must have a dot at the end). Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"` // +kubebuilder:validation:Optional // (Optional) When set to true, also create a PTR DNS record. Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"` // +kubebuilder:validation:Optional // (Optional) DNS record TTL. in seconds 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 HostAffinityRulesObservation ¶
type HostAffinityRulesObservation struct { }
func (*HostAffinityRulesObservation) DeepCopy ¶
func (in *HostAffinityRulesObservation) DeepCopy() *HostAffinityRulesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAffinityRulesObservation.
func (*HostAffinityRulesObservation) DeepCopyInto ¶
func (in *HostAffinityRulesObservation) DeepCopyInto(out *HostAffinityRulesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostAffinityRulesParameters ¶
type HostAffinityRulesParameters struct { // +kubebuilder:validation:Optional // (Required) Affinity label or one of reserved values - `yc.hostId`, `yc.hostGroupId`. Key *string `json:"key,omitempty" tf:"key"` // +kubebuilder:validation:Optional // (Required) Affinity action. The only value supported is `IN`. Op *string `json:"op,omitempty" tf:"op"` // +kubebuilder:validation:Optional Values []*string `json:"values,omitempty" tf:"values"` }
func (*HostAffinityRulesParameters) DeepCopy ¶
func (in *HostAffinityRulesParameters) DeepCopy() *HostAffinityRulesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAffinityRulesParameters.
func (*HostAffinityRulesParameters) DeepCopyInto ¶
func (in *HostAffinityRulesParameters) DeepCopyInto(out *HostAffinityRulesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPv6DNSRecordObservation ¶
type IPv6DNSRecordObservation struct { }
func (*IPv6DNSRecordObservation) DeepCopy ¶
func (in *IPv6DNSRecordObservation) DeepCopy() *IPv6DNSRecordObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6DNSRecordObservation.
func (*IPv6DNSRecordObservation) DeepCopyInto ¶
func (in *IPv6DNSRecordObservation) DeepCopyInto(out *IPv6DNSRecordObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPv6DNSRecordParameters ¶
type IPv6DNSRecordParameters struct { // +kubebuilder:validation:Optional // (Optional) DNS zone ID (if not set, private zone used). DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"` // +kubebuilder:validation:Required // (Required) DNS record FQDN (must have a dot at the end). Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"` // +kubebuilder:validation:Optional // (Optional) When set to true, also create a PTR DNS record. Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"` // +kubebuilder:validation:Optional // (Optional) DNS record TTL. in seconds TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` }
func (*IPv6DNSRecordParameters) DeepCopy ¶
func (in *IPv6DNSRecordParameters) DeepCopy() *IPv6DNSRecordParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6DNSRecordParameters.
func (*IPv6DNSRecordParameters) DeepCopyInto ¶
func (in *IPv6DNSRecordParameters) DeepCopyInto(out *IPv6DNSRecordParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitializeParamsObservation ¶
type InitializeParamsObservation struct { }
func (*InitializeParamsObservation) DeepCopy ¶
func (in *InitializeParamsObservation) DeepCopy() *InitializeParamsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializeParamsObservation.
func (*InitializeParamsObservation) DeepCopyInto ¶
func (in *InitializeParamsObservation) DeepCopyInto(out *InitializeParamsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitializeParamsParameters ¶
type InitializeParamsParameters struct { // +kubebuilder:validation:Optional BlockSize *float64 `json:"blockSize,omitempty" tf:"block_size,omitempty"` // +kubebuilder:validation:Optional // (Optional) Description of the instance. Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Optional // (Optional) A disk image to initialize this disk from. ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"` // +kubebuilder:validation:Optional // (Optional) Resource name. Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional // (Optional) Size of the disk in GB. Size *float64 `json:"size,omitempty" tf:"size,omitempty"` // +kubebuilder:validation:Optional // (Optional) A snapshot to initialize this disk from. SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"` // +kubebuilder:validation:Optional // (Optional) Disk type. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*InitializeParamsParameters) DeepCopy ¶
func (in *InitializeParamsParameters) DeepCopy() *InitializeParamsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializeParamsParameters.
func (*InitializeParamsParameters) DeepCopyInto ¶
func (in *InitializeParamsParameters) DeepCopyInto(out *InitializeParamsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetProviderReference ¶
GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
ResolveReferences of this Instance.
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetProviderReference ¶
SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { // Creation timestamp of the instance. CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` // (Required) DNS record FQDN (must have a dot at the end). Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Optional) List of local disks that are attached to the instance. Structure is documented below. LocalDisk []LocalDiskObservation `json:"localDisk,omitempty" tf:"local_disk,omitempty"` // (Required) Networks to attach to the instance. This can NetworkInterface []NetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"` // The status of this instance. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // +kubebuilder:validation:Optional AllowRecreate *bool `json:"allowRecreate,omitempty" tf:"allow_recreate,omitempty"` // +kubebuilder:validation:Optional // (Optional) If true, allows Terraform to stop the instance in order to update its properties. AllowStoppingForUpdate *bool `json:"allowStoppingForUpdate,omitempty" tf:"allow_stopping_for_update,omitempty"` // +kubebuilder:validation:Required // (Required) The boot disk for the instance. The structure is documented below. BootDisk []BootDiskParameters `json:"bootDisk" tf:"boot_disk,omitempty"` // +kubebuilder:validation:Optional // (Optional) Description of the instance. Description *string `json:"description,omitempty" tf:"description,omitempty"` // +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder // +kubebuilder:validation:Optional // (Optional) The ID of the folder that the resource belongs to. If it FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // +kubebuilder:validation:Optional FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional // (Optional) Host name for the instance. This field is used to generate the instance `fqdn` value. Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` // +kubebuilder:validation:Optional // (Optional) A set of key/value label pairs to assign to the instance. Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // +kubebuilder:validation:Optional // (Optional) List of local disks that are attached to the instance. Structure is documented below. LocalDisk []LocalDiskParameters `json:"localDisk,omitempty" tf:"local_disk,omitempty"` // +kubebuilder:validation:Optional // (Optional) Metadata key/value pairs to make available from Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // +kubebuilder:validation:Optional // (Optional) Resource name. Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional // (Optional) Type of network acceleration. The default is `standard`. Values: `standard`, `software_accelerated` NetworkAccelerationType *string `json:"networkAccelerationType,omitempty" tf:"network_acceleration_type,omitempty"` // +kubebuilder:validation:Required // (Required) Networks to attach to the instance. This can NetworkInterface []NetworkInterfaceParameters `json:"networkInterface" tf:"network_interface,omitempty"` // +kubebuilder:validation:Optional // (Optional) The placement policy configuration. The structure is documented below. PlacementPolicy []PlacementPolicyParameters `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"` // +kubebuilder:validation:Optional // (Optional) The type of virtual machine to create. The default is 'standard-v1'. PlatformID *string `json:"platformId,omitempty" tf:"platform_id,omitempty"` // +kubebuilder:validation:Required // (Required) Compute resources that are allocated for the instance. The structure is documented below. Resources []ResourcesParameters `json:"resources" tf:"resources,omitempty"` // +kubebuilder:validation:Optional // (Optional) Scheduling policy configuration. The structure is documented below. SchedulingPolicy []SchedulingPolicyParameters `json:"schedulingPolicy,omitempty" tf:"scheduling_policy,omitempty"` // +kubebuilder:validation:Optional // (Optional) A list of disks to attach to the instance. The structure is documented below. SecondaryDisk []SecondaryDiskParameters `json:"secondaryDisk,omitempty" tf:"secondary_disk,omitempty"` // +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/iam/v1alpha1.ServiceAccount // +kubebuilder:validation:Optional // (Optional) ID of the service account authorized for this instance. ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` // +kubebuilder:validation:Optional ServiceAccountIDRef *v1.Reference `json:"serviceAccountIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ServiceAccountIDSelector *v1.Selector `json:"serviceAccountIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional // (Optional) The availability zone where the virtual machine will be created. If it is not provided, Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalDiskObservation ¶
type LocalDiskObservation struct { // (Optional) Name that can be used to access an attached disk. DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"` }
func (*LocalDiskObservation) DeepCopy ¶
func (in *LocalDiskObservation) DeepCopy() *LocalDiskObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalDiskObservation.
func (*LocalDiskObservation) DeepCopyInto ¶
func (in *LocalDiskObservation) DeepCopyInto(out *LocalDiskObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalDiskParameters ¶
type LocalDiskParameters struct { // +kubebuilder:validation:Required // (Required) Size of the disk, specified in bytes. SizeBytes *float64 `json:"sizeBytes" tf:"size_bytes,omitempty"` }
func (*LocalDiskParameters) DeepCopy ¶
func (in *LocalDiskParameters) DeepCopy() *LocalDiskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalDiskParameters.
func (*LocalDiskParameters) DeepCopyInto ¶
func (in *LocalDiskParameters) DeepCopyInto(out *LocalDiskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NATDNSRecordObservation ¶
type NATDNSRecordObservation struct { }
func (*NATDNSRecordObservation) DeepCopy ¶
func (in *NATDNSRecordObservation) DeepCopy() *NATDNSRecordObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATDNSRecordObservation.
func (*NATDNSRecordObservation) DeepCopyInto ¶
func (in *NATDNSRecordObservation) DeepCopyInto(out *NATDNSRecordObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NATDNSRecordParameters ¶
type NATDNSRecordParameters struct { // +kubebuilder:validation:Optional // (Optional) DNS zone ID (if not set, private zone used). DNSZoneID *string `json:"dnsZoneId,omitempty" tf:"dns_zone_id,omitempty"` // +kubebuilder:validation:Required // (Required) DNS record FQDN (must have a dot at the end). Fqdn *string `json:"fqdn" tf:"fqdn,omitempty"` // +kubebuilder:validation:Optional // (Optional) When set to true, also create a PTR DNS record. Ptr *bool `json:"ptr,omitempty" tf:"ptr,omitempty"` // +kubebuilder:validation:Optional // (Optional) DNS record TTL. in seconds TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` }
func (*NATDNSRecordParameters) DeepCopy ¶
func (in *NATDNSRecordParameters) DeepCopy() *NATDNSRecordParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATDNSRecordParameters.
func (*NATDNSRecordParameters) DeepCopyInto ¶
func (in *NATDNSRecordParameters) DeepCopyInto(out *NATDNSRecordParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceObservation ¶
type NetworkInterfaceObservation struct { Index *float64 `json:"index,omitempty" tf:"index,omitempty"` MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` NATIPVersion *string `json:"natIpVersion,omitempty" tf:"nat_ip_version,omitempty"` }
func (*NetworkInterfaceObservation) DeepCopy ¶
func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation.
func (*NetworkInterfaceObservation) DeepCopyInto ¶
func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceParameters ¶
type NetworkInterfaceParameters struct { // +kubebuilder:validation:Optional // (Optional) List of configurations for creating ipv4 DNS records. The structure is documented below. DNSRecord []DNSRecordParameters `json:"dnsRecord,omitempty" tf:"dns_record,omitempty"` // +kubebuilder:validation:Optional // (Optional) The private IP address to assign to the instance. If IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // +kubebuilder:validation:Optional // (Optional) Allocate an IPv4 address for the interface. The default value is `true`. IPv4 *bool `json:"ipv4,omitempty" tf:"ipv4,omitempty"` // +kubebuilder:validation:Optional // (Optional) If true, allocate an IPv6 address for the interface. IPv6 *bool `json:"ipv6,omitempty" tf:"ipv6,omitempty"` // +kubebuilder:validation:Optional // (Optional) The private IPv6 address to assign to the instance. IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"` // +kubebuilder:validation:Optional // (Optional) List of configurations for creating ipv6 DNS records. The structure is documented below. IPv6DNSRecord []IPv6DNSRecordParameters `json:"ipv6DnsRecord,omitempty" tf:"ipv6_dns_record,omitempty"` // +kubebuilder:validation:Optional // (Optional) Provide a public address, for instance, to access the internet over NAT. NAT *bool `json:"nat,omitempty" tf:"nat,omitempty"` // +kubebuilder:validation:Optional // (Optional) List of configurations for creating ipv4 NAT DNS records. The structure is documented below. NATDNSRecord []NATDNSRecordParameters `json:"natDnsRecord,omitempty" tf:"nat_dns_record,omitempty"` // +kubebuilder:validation:Optional // (Optional) Provide a public address, for instance, to access the internet over NAT. Address should be already reserved in web UI. NATIPAddress *string `json:"natIpAddress,omitempty" tf:"nat_ip_address,omitempty"` // +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.SecurityGroup // +kubebuilder:validation:Optional // (Optional) Security group ids for network interface. SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` // +kubebuilder:validation:Optional SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"` // +kubebuilder:validation:Optional SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"` // +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Subnet // +kubebuilder:validation:Optional // (Required) ID of the subnet to attach this SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` }
func (*NetworkInterfaceParameters) DeepCopy ¶
func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters.
func (*NetworkInterfaceParameters) DeepCopyInto ¶
func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementPolicyObservation ¶
type PlacementPolicyObservation struct { }
func (*PlacementPolicyObservation) DeepCopy ¶
func (in *PlacementPolicyObservation) DeepCopy() *PlacementPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementPolicyObservation.
func (*PlacementPolicyObservation) DeepCopyInto ¶
func (in *PlacementPolicyObservation) DeepCopyInto(out *PlacementPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementPolicyParameters ¶
type PlacementPolicyParameters struct { // +kubebuilder:validation:Optional // (Optional) List of host affinity rules. The structure is documented below. HostAffinityRules []HostAffinityRulesParameters `json:"hostAffinityRules,omitempty" tf:"host_affinity_rules,omitempty"` // +kubebuilder:validation:Optional // (Optional) Specifies the id of the Placement Group to assign to the instance. PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"` }
func (*PlacementPolicyParameters) DeepCopy ¶
func (in *PlacementPolicyParameters) DeepCopy() *PlacementPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementPolicyParameters.
func (*PlacementPolicyParameters) DeepCopyInto ¶
func (in *PlacementPolicyParameters) DeepCopyInto(out *PlacementPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesObservation ¶
type ResourcesObservation struct { }
func (*ResourcesObservation) DeepCopy ¶
func (in *ResourcesObservation) DeepCopy() *ResourcesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesObservation.
func (*ResourcesObservation) DeepCopyInto ¶
func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesParameters ¶
type ResourcesParameters struct { // +kubebuilder:validation:Optional // (Optional) If provided, specifies baseline performance for a core as a percent. CoreFraction *float64 `json:"coreFraction,omitempty" tf:"core_fraction,omitempty"` // +kubebuilder:validation:Required // (Required) CPU cores for the instance. Cores *float64 `json:"cores" tf:"cores,omitempty"` // +kubebuilder:validation:Optional Gpus *float64 `json:"gpus,omitempty" tf:"gpus,omitempty"` // +kubebuilder:validation:Required // (Required) Memory size in GB. Memory *float64 `json:"memory" tf:"memory,omitempty"` }
func (*ResourcesParameters) DeepCopy ¶
func (in *ResourcesParameters) DeepCopy() *ResourcesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesParameters.
func (*ResourcesParameters) DeepCopyInto ¶
func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicyObservation ¶
type SchedulingPolicyObservation struct { }
func (*SchedulingPolicyObservation) DeepCopy ¶
func (in *SchedulingPolicyObservation) DeepCopy() *SchedulingPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyObservation.
func (*SchedulingPolicyObservation) DeepCopyInto ¶
func (in *SchedulingPolicyObservation) DeepCopyInto(out *SchedulingPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicyParameters ¶
type SchedulingPolicyParameters struct { // +kubebuilder:validation:Optional // (Optional) Specifies if the instance is preemptible. Defaults to false. Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"` }
func (*SchedulingPolicyParameters) DeepCopy ¶
func (in *SchedulingPolicyParameters) DeepCopy() *SchedulingPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyParameters.
func (*SchedulingPolicyParameters) DeepCopyInto ¶
func (in *SchedulingPolicyParameters) DeepCopyInto(out *SchedulingPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecondaryDiskObservation ¶
type SecondaryDiskObservation struct { }
func (*SecondaryDiskObservation) DeepCopy ¶
func (in *SecondaryDiskObservation) DeepCopy() *SecondaryDiskObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryDiskObservation.
func (*SecondaryDiskObservation) DeepCopyInto ¶
func (in *SecondaryDiskObservation) DeepCopyInto(out *SecondaryDiskObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecondaryDiskParameters ¶
type SecondaryDiskParameters struct { // +kubebuilder:validation:Optional // (Optional) Defines whether the disk will be auto-deleted when the instance AutoDelete *bool `json:"autoDelete,omitempty" tf:"auto_delete,omitempty"` // +kubebuilder:validation:Optional // (Optional) Name that can be used to access an attached disk. DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"` // +kubebuilder:validation:Required // (Optional) The ID of the existing disk (such as those managed by DiskID *string `json:"diskId" tf:"disk_id,omitempty"` // +kubebuilder:validation:Optional // (Optional) Type of access to the disk resource. By default, a disk is attached in `READ_WRITE` mode. Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` }
func (*SecondaryDiskParameters) DeepCopy ¶
func (in *SecondaryDiskParameters) DeepCopy() *SecondaryDiskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryDiskParameters.
func (*SecondaryDiskParameters) DeepCopyInto ¶
func (in *SecondaryDiskParameters) DeepCopyInto(out *SecondaryDiskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.