Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-gcp.Go to Latest
upbound/provider-gcp@v0.26.0
Instance
compute.gcp.upbound.io
Instance
upbound/provider-gcp@v0.26.0compute.gcp.upbound.io

Instance is the Schema for the Instances API. Manages a VM instance resource within GCE.

Type

CRD

Group

compute.gcp.upbound.io

Version

v1beta1

apiVersion: compute.gcp.upbound.io/v1beta1

kind: Instance

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

InstanceSpec defines the desired state of Instance

forProvider
requiredobject
requiredobject

No description provided.

array

Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below

array

Additional disks to attach to the instance. Can be repeated multiple times for multiple disks. Structure is documented below.

object

A 256-bit [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption), encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.

key
requiredstring
name
requiredstring
namespace
requiredstring
mode
string
source
requiredstring
bootDisk
requiredarray
requiredarray

The boot disk for the instance. Structure is documented below.

autoDelete
boolean
object

A 256-bit [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption), encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.

key
requiredstring
name
requiredstring
namespace
requiredstring
array

Parameters for a new disk that will be created alongside the new instance. Either initialize_params or source must be set. Structure is documented below.

image
string
imageRef
object
object

Reference to a Image to populate image.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Image to populate image.

policy
object
object

Policies for selection.

resolve
string
labels
object
size
number
type
string
mode
string
source
string
array

Enable Confidential Mode on this VM. Structure is documented below

array

List of the type and count of accelerator cards attached to the instance. Structure documented below. Note: GPU accelerators can only be used with on_host_maintenance option set to TERMINATE. Note: This field uses attr-as-block mode to avoid breaking users during the 0.12 upgrade. To explicitly send a list of zero objects you must use the following syntax: example=[] For more details about this behavior, see this section.

count
number
type
string
hostname
string
labels
object
machineType
requiredstring
metadata
object
networkInterface
requiredarray
requiredarray

Networks to attach to the instance. This can be specified multiple times. Structure is documented below.

array

Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.

array

An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.

ipCidrRange
requiredstring
array

An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. Structure documented below.

networkTier
requiredstring
network
string
networkIp
string
object

Reference to a Network to populate network.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Network to populate network.

policy
object
object

Policies for selection.

resolve
string
nicType
string
stackType
string
object

Reference to a Subnetwork to populate subnetwork.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Subnetwork to populate subnetwork.

policy
object
object

Policies for selection.

resolve
string
project
string
array

Specifies the reservations that this instance can consume from. Structure is documented below.

array

Specifies the label selector for the reservation to use.. Structure is documented below.

key
requiredstring
values
requiredarray
requiredarray

Corresponds to the label values of a reservation resource.

type
requiredstring
array
  • A list of self_links of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
array

The scheduling strategy to use. More details about this configuration option are detailed below.

array

Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems. Read more on sole-tenant node creation here. Structure documented below.

key
requiredstring
operator
requiredstring
values
requiredarray
requiredarray

Corresponds to the label values of a reservation resource.

array

Scratch disks to attach to the instance. This can be specified multiple times for multiple scratch disks. Structure is documented below.

interface
requiredstring
array

Service account to attach to the instance. Structure is documented below. Note: allow_stopping_for_update must be set to true or your instance must have a desired_status of TERMINATED in order to update this field.

email
string
emailRef
object
object

Reference to a ServiceAccount in cloudplatform to populate email.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a ServiceAccount in cloudplatform to populate email.

policy
object
object

Policies for selection.

resolve
string
scopes
requiredarray
requiredarray

A list of service scopes. Both OAuth2 URLs and gcloud short names are supported. To allow full access to all Cloud APIs, use the cloud-platform scope. See a complete list of scopes here. Note: allow_stopping_for_update must be set to true or your instance must have a desired_status of TERMINATED in order to update this field.

array

Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below. Note: shielded_instance_config can only be used with boot images with shielded vm support. See the complete list here. Note: allow_stopping_for_update must be set to true or your instance must have a desired_status of TERMINATED in order to update this field.

tags
array
array

A list of network tags to attach to the instance.

zone
requiredstring
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

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

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

InstanceStatus defines the observed state of Instance.

object

No description provided.

array

Additional disks to attach to the instance. Can be repeated multiple times for multiple disks. Structure is documented below.

array

The boot disk for the instance. Structure is documented below.

id
string
array

Networks to attach to the instance. This can be specified multiple times. Structure is documented below.

array

An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. Structure documented below.

name
string
selfLink
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.