crossplane-contrib/provider-openstack@v0.4.0
InstanceV2
compute.openstack.crossplane.io
InstanceV2
crossplane-contrib/provider-openstack@v0.4.0compute.openstack.crossplane.io

InstanceV2 is the Schema for the InstanceV2s API. Manages a V2 VM instance resource within OpenStack.

Type

CRD

Group

compute.openstack.crossplane.io

Version

v1alpha1

apiVersion: compute.openstack.crossplane.io/v1alpha1

kind: InstanceV2

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

InstanceV2Spec defines the desired state of InstanceV2

forProvider
requiredobject
requiredobject

No description provided.

object

The administrative password to assign to the server. Changing this changes the root password on the existing server.

key
requiredstring
name
requiredstring
namespace
requiredstring
array

Configuration of block devices. The block_device structure is documented below. Changing this creates a new server. You can specify multiple block devices which will create an instance with multiple disks. This configuration is very flexible, so please see the following reference for more information.

flavorId
string
imageId
string
imageName
string
keyPair
string
object

Reference to a KeypairV2 to populate keyPair.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a KeypairV2 to populate keyPair.

policy
object
object

Policies for selection.

resolve
string
metadata
object
name
string
network
array
array

An array of one or more networks to attach to the instance. The network object structure is documented below. Changing this creates a new server.

fixedIpV4
string
fixedIpV6
string
name
string
port
string
uuid
string
array

Customize the personality of an instance by defining one or more files and their contents. The personality structure is described below. Changing this rebuilds the existing server.

content
string
file
string
region
string
array

Provide the Nova scheduler with hints on how the instance should be launched. The available hints are described below.

array

The names of cells where not to build the instance.

array

A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.

group
string
query
array
array

A conditional query that a compute node must pass in order to host an instance. The query must use the JsonFilter syntax which is described here. At this time, only simple queries are supported. Compound queries using and, or, or not are not supported. An example of a simple query is:

array

A list of instance UUIDs. The instance will be scheduled on the same host of those specified.

array

An array of one or more security group names to associate with the server. Changing this results in adding/removing security groups from the existing server. Note: When attaching the instance to networks using Ports, place the security groups on the Port and not the instance. Note: Names should be used and not ids, as ids trigger unnecessary updates.

array

References to SecgroupV2 to populate securityGroups.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecgroupV2 to populate securityGroups.

policy
object
object

Policies for selection.

resolve
string
tags
array
array

A set of string tags for the instance. Changing this updates the existing instance tags.

userData
string
array

Map of additional vendor-specific options. Supported options are described below.

volume
array
array

No description provided.

device
string
id
string
volumeId
string
object

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.

array

Configuration of block devices. The block_device structure is documented below. Changing this creates a new server. You can specify multiple block devices which will create an instance with multiple disks. This configuration is very flexible, so please see the following reference for more information.

flavorId
string
imageId
string
imageName
string
metadata
object
name
string
network
array
array

An array of one or more networks to attach to the instance. The network object structure is documented below. Changing this creates a new server.

fixedIpV4
string
fixedIpV6
string
name
string
port
string
uuid
string
array

Customize the personality of an instance by defining one or more files and their contents. The personality structure is described below. Changing this rebuilds the existing server.

content
string
file
string
region
string
array

Provide the Nova scheduler with hints on how the instance should be launched. The available hints are described below.

array

The names of cells where not to build the instance.

array

A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.

group
string
query
array
array

A conditional query that a compute node must pass in order to host an instance. The query must use the JsonFilter syntax which is described here. At this time, only simple queries are supported. Compound queries using and, or, or not are not supported. An example of a simple query is:

array

A list of instance UUIDs. The instance will be scheduled on the same host of those specified.

tags
array
array

A set of string tags for the instance. Changing this updates the existing instance tags.

userData
string
array

Map of additional vendor-specific options. Supported options are described below.

volume
array
array

No description provided.

device
string
id
string
volumeId
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

InstanceV2Status defines the observed state of InstanceV2.

object

No description provided.

allTags
array
array

The collection of tags assigned on the instance, which have been explicitly and implicitly added.

array

Configuration of block devices. The block_device structure is documented below. Changing this creates a new server. You can specify multiple block devices which will create an instance with multiple disks. This configuration is very flexible, so please see the following reference for more information.

created
string
flavorId
string
id
string
imageId
string
imageName
string
keyPair
string
metadata
object
name
string
network
array
array

An array of one or more networks to attach to the instance. The network object structure is documented below. Changing this creates a new server.

fixedIpV4
string
fixedIpV6
string
mac
string
name
string
port
string
uuid
string
array

Customize the personality of an instance by defining one or more files and their contents. The personality structure is described below. Changing this rebuilds the existing server.

content
string
file
string
region
string
array

Provide the Nova scheduler with hints on how the instance should be launched. The available hints are described below.

array

The names of cells where not to build the instance.

array

A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.

group
string
query
array
array

A conditional query that a compute node must pass in order to host an instance. The query must use the JsonFilter syntax which is described here. At this time, only simple queries are supported. Compound queries using and, or, or not are not supported. An example of a simple query is:

array

A list of instance UUIDs. The instance will be scheduled on the same host of those specified.

array

An array of one or more security group names to associate with the server. Changing this results in adding/removing security groups from the existing server. Note: When attaching the instance to networks using Ports, place the security groups on the Port and not the instance. Note: Names should be used and not ids, as ids trigger unnecessary updates.

tags
array
array

A set of string tags for the instance. Changing this updates the existing instance tags.

updated
string
userData
string
array

Map of additional vendor-specific options. Supported options are described below.

volume
array
array

No description provided.

device
string
id
string
volumeId
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions