Device is the Schema for the Devices API.
Type
CRD
Group
metal.equinix.jet.crossplane.io
Version
v1alpha1
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Device
DeviceSpec defines the desired state of Device
No description provided.
(Block List, Max: 1) (see below for nested schema)
(List of String) List of attributes that are allowed to change without recreating the instance. Supported attributes: custom_data, user_data
List of attributes that are allowed to change without recreating the instance. Supported attributes: custom_data
, user_data
place instead of recreated.
A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If reinstall
is specified or behavior.allow_changes
includes "custom_data"
, the device will be updated in-place instead of recreated.
(List of String, Deprecated) List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response. Conflicts with metro List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response. Conflicts with metro
(Block List) A list of IP address types for the device (structure is documented below) (see below for nested schema) A list of IP address types for the device (structure is documented below)
(List of String) IDs of reservations to pick the blocks from IDs of reservations to pick the blocks from
Reference to a Project in metal to populate projectId.
Policies for referencing.
Selector for a Project in metal to populate projectId.
Policies for selection.
(List of String) Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix_metal_project_ssh_key resource Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix_metal_project_ssh_key resource
References to ProjectSSHKey in metal to populate projectSshKeyIds.
Policies for referencing.
Selector for a list of ProjectSSHKey in metal to populate projectSshKeyIds.
Policies for selection.
(Block List, Max: 1) (see below for nested schema)
(List of String) Tags attached to the device Tags attached to the device
place instead of recreated.
A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If reinstall
is specified or behavior.allow_changes
includes "user_data"
, the device will be updated in-place instead of recreated.
(List of String) Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix_metal_ssh_key resource Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix_metal_ssh_key resource
References to SSHKey in metal to populate userSshKeyIds.
Policies for referencing.
Selector for a list of SSHKey in metal to populate userSshKeyIds.
Policies for selection.
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.
(Block List, Max: 1) (see below for nested schema)
(List of String) List of attributes that are allowed to change without recreating the instance. Supported attributes: custom_data, user_data
List of attributes that are allowed to change without recreating the instance. Supported attributes: custom_data
, user_data
place instead of recreated.
A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If reinstall
is specified or behavior.allow_changes
includes "custom_data"
, the device will be updated in-place instead of recreated.
(List of String, Deprecated) List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response. Conflicts with metro List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response. Conflicts with metro
(Block List) A list of IP address types for the device (structure is documented below) (see below for nested schema) A list of IP address types for the device (structure is documented below)
(List of String) IDs of reservations to pick the blocks from IDs of reservations to pick the blocks from
Reference to a Project in metal to populate projectId.
Policies for referencing.
Selector for a Project in metal to populate projectId.
Policies for selection.
(List of String) Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix_metal_project_ssh_key resource Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix_metal_project_ssh_key resource
References to ProjectSSHKey in metal to populate projectSshKeyIds.
Policies for referencing.
Selector for a list of ProjectSSHKey in metal to populate projectSshKeyIds.
Policies for selection.
(Block List, Max: 1) (see below for nested schema)
(List of String) Tags attached to the device Tags attached to the device
place instead of recreated.
A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If reinstall
is specified or behavior.allow_changes
includes "user_data"
, the device will be updated in-place instead of recreated.
(List of String) Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix_metal_ssh_key resource Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix_metal_ssh_key resource
References to SSHKey in metal to populate userSshKeyIds.
Policies for referencing.
Selector for a list of SSHKey in metal to populate userSshKeyIds.
Policies for selection.
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
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
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.
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.
DeviceStatus defines the observed state of Device.
No description provided.
(Block List, Max: 1) (see below for nested schema)
(List of String) List of attributes that are allowed to change without recreating the instance. Supported attributes: custom_data, user_data
List of attributes that are allowed to change without recreating the instance. Supported attributes: custom_data
, user_data
(List of String, Deprecated) List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response. Conflicts with metro List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility code, visit Facilities API docs, set your API auth token in the top of the page and see JSON from the API response. Conflicts with metro
(Block List) A list of IP address types for the device (structure is documented below) (see below for nested schema) A list of IP address types for the device (structure is documented below)
(List of String) IDs of reservations to pick the blocks from IDs of reservations to pick the blocks from
(List of Object) The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 addresses: public ipv4, private ipv4 and ipv6 (see below for nested schema) The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 addresses: public ipv4, private ipv4 and ipv6
(List of String) Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix_metal_project_ssh_key resource Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix_metal_project_ssh_key resource
(Block List, Max: 1) (see below for nested schema)
(List of String) List of IDs of SSH keys deployed in the device, can be both user and project SSH keys List of IDs of SSH keys deployed in the device, can be both user and project SSH keys
(List of String) Tags attached to the device Tags attached to the device
(List of String) Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix_metal_ssh_key resource Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix_metal_ssh_key resource
Conditions of the resource.
upjet-example
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Device
metadata:
name: upjet-example
spec:
forProvider:
billingCycle: hourly
hostname: upjet-example
metro: da
operatingSystem: ubuntu_20_04
plan: t3.small.x86
projectIdRef:
name: upjet-example-project
tags:
- crossplane
providerConfigRef:
name: default
writeConnectionSecretToRef:
name: upjet-example
namespace: crossplane-system
© 2024 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.