Skip to content

compute.v1beta1.instanceFromTemplate

"InstanceFromTemplate is the Schema for the InstanceFromTemplates API. Manages a VM instance resource within GCE."

Index

Fields

fn new

new(name)

new returns an instance of InstanceFromTemplate

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"InstanceFromTemplateSpec defines the desired state of InstanceFromTemplate"

fn spec.withDeletionPolicy

withDeletionPolicy(deletionPolicy)

"DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either \"Delete\" or \"Orphan\" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223"

fn spec.withManagementPolicies

withManagementPolicies(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. 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"

fn spec.withManagementPoliciesMixin

withManagementPoliciesMixin(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. 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"

Note: This function appends passed data to existing values

obj spec.forProvider

fn spec.forProvider.withAdvancedMachineFeatures

withAdvancedMachineFeatures(advancedMachineFeatures)

fn spec.forProvider.withAdvancedMachineFeaturesMixin

withAdvancedMachineFeaturesMixin(advancedMachineFeatures)

Note: This function appends passed data to existing values

fn spec.forProvider.withAllowStoppingForUpdate

withAllowStoppingForUpdate(allowStoppingForUpdate)

"Default is 6 minutes."

fn spec.forProvider.withAttachedDisk

withAttachedDisk(attachedDisk)

fn spec.forProvider.withAttachedDiskMixin

withAttachedDiskMixin(attachedDisk)

Note: This function appends passed data to existing values

fn spec.forProvider.withBootDisk

withBootDisk(bootDisk)

fn spec.forProvider.withBootDiskMixin

withBootDiskMixin(bootDisk)

Note: This function appends passed data to existing values

fn spec.forProvider.withCanIpForward

withCanIpForward(canIpForward)

fn spec.forProvider.withConfidentialInstanceConfig

withConfidentialInstanceConfig(confidentialInstanceConfig)

fn spec.forProvider.withConfidentialInstanceConfigMixin

withConfidentialInstanceConfigMixin(confidentialInstanceConfig)

Note: This function appends passed data to existing values

fn spec.forProvider.withDeletionProtection

withDeletionProtection(deletionProtection)

fn spec.forProvider.withDescription

withDescription(description)

fn spec.forProvider.withDesiredStatus

withDesiredStatus(desiredStatus)

fn spec.forProvider.withEnableDisplay

withEnableDisplay(enableDisplay)

fn spec.forProvider.withGuestAccelerator

withGuestAccelerator(guestAccelerator)

fn spec.forProvider.withGuestAcceleratorMixin

withGuestAcceleratorMixin(guestAccelerator)

Note: This function appends passed data to existing values

fn spec.forProvider.withHostname

withHostname(hostname)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.forProvider.withLabels

withLabels(labels)

fn spec.forProvider.withLabelsMixin

withLabelsMixin(labels)

Note: This function appends passed data to existing values

fn spec.forProvider.withMachineType

withMachineType(machineType)

fn spec.forProvider.withMetadata

withMetadata(metadata)

fn spec.forProvider.withMetadataMixin

withMetadataMixin(metadata)

Note: This function appends passed data to existing values

fn spec.forProvider.withMetadataStartupScript

withMetadataStartupScript(metadataStartupScript)

fn spec.forProvider.withMinCpuPlatform

withMinCpuPlatform(minCpuPlatform)

fn spec.forProvider.withName

withName(name)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.forProvider.withNetworkInterface

withNetworkInterface(networkInterface)

fn spec.forProvider.withNetworkInterfaceMixin

withNetworkInterfaceMixin(networkInterface)

Note: This function appends passed data to existing values

fn spec.forProvider.withProject

withProject(project)

fn spec.forProvider.withReservationAffinity

withReservationAffinity(reservationAffinity)

fn spec.forProvider.withReservationAffinityMixin

withReservationAffinityMixin(reservationAffinity)

Note: This function appends passed data to existing values

fn spec.forProvider.withResourcePolicies

withResourcePolicies(resourcePolicies)

fn spec.forProvider.withResourcePoliciesMixin

withResourcePoliciesMixin(resourcePolicies)

Note: This function appends passed data to existing values

fn spec.forProvider.withScheduling

withScheduling(scheduling)

fn spec.forProvider.withSchedulingMixin

withSchedulingMixin(scheduling)

Note: This function appends passed data to existing values

fn spec.forProvider.withScratchDisk

withScratchDisk(scratchDisk)

fn spec.forProvider.withScratchDiskMixin

withScratchDiskMixin(scratchDisk)

Note: This function appends passed data to existing values

fn spec.forProvider.withServiceAccount

withServiceAccount(serviceAccount)

fn spec.forProvider.withServiceAccountMixin

withServiceAccountMixin(serviceAccount)

Note: This function appends passed data to existing values

fn spec.forProvider.withShieldedInstanceConfig

withShieldedInstanceConfig(shieldedInstanceConfig)

fn spec.forProvider.withShieldedInstanceConfigMixin

withShieldedInstanceConfigMixin(shieldedInstanceConfig)

Note: This function appends passed data to existing values

fn spec.forProvider.withSourceInstanceTemplate

withSourceInstanceTemplate(sourceInstanceTemplate)

"Name or self link of an instance template to create the instance based on. It is recommended to reference instance templates through their unique id (self_link_unique attribute)."

fn spec.forProvider.withTags

withTags(tags)

fn spec.forProvider.withTagsMixin

withTagsMixin(tags)

Note: This function appends passed data to existing values

fn spec.forProvider.withZone

withZone(zone)

"The zone that the machine should be created in. If not set, the provider zone is used."

obj spec.forProvider.advancedMachineFeatures

fn spec.forProvider.advancedMachineFeatures.withEnableNestedVirtualization

withEnableNestedVirtualization(enableNestedVirtualization)

fn spec.forProvider.advancedMachineFeatures.withThreadsPerCore

withThreadsPerCore(threadsPerCore)

fn spec.forProvider.advancedMachineFeatures.withVisibleCoreCount

withVisibleCoreCount(visibleCoreCount)

obj spec.forProvider.attachedDisk

fn spec.forProvider.attachedDisk.withDeviceName

withDeviceName(deviceName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.forProvider.attachedDisk.withDiskEncryptionKeyRaw

withDiskEncryptionKeyRaw(diskEncryptionKeyRaw)

fn spec.forProvider.attachedDisk.withDiskEncryptionKeySha256

withDiskEncryptionKeySha256(diskEncryptionKeySha256)
withKmsKeySelfLink(kmsKeySelfLink)

fn spec.forProvider.attachedDisk.withMode

withMode(mode)

fn spec.forProvider.attachedDisk.withSource

withSource(source)

obj spec.forProvider.bootDisk

fn spec.forProvider.bootDisk.withAutoDelete

withAutoDelete(autoDelete)

"Default is 6 minutes."

fn spec.forProvider.bootDisk.withDeviceName

withDeviceName(deviceName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.forProvider.bootDisk.withInitializeParams

withInitializeParams(initializeParams)

fn spec.forProvider.bootDisk.withInitializeParamsMixin

withInitializeParamsMixin(initializeParams)

Note: This function appends passed data to existing values

withKmsKeySelfLink(kmsKeySelfLink)

fn spec.forProvider.bootDisk.withMode

withMode(mode)

fn spec.forProvider.bootDisk.withSource

withSource(source)

obj spec.forProvider.bootDisk.diskEncryptionKeyRawSecretRef

"A SecretKeySelector is a reference to a secret key in an arbitrary namespace."

fn spec.forProvider.bootDisk.diskEncryptionKeyRawSecretRef.withKey

withKey(key)

"The key to select."

fn spec.forProvider.bootDisk.diskEncryptionKeyRawSecretRef.withName

withName(name)

"Name of the secret."

fn spec.forProvider.bootDisk.diskEncryptionKeyRawSecretRef.withNamespace

withNamespace(namespace)

"Namespace of the secret."

obj spec.forProvider.bootDisk.initializeParams

fn spec.forProvider.bootDisk.initializeParams.withImage

withImage(image)

fn spec.forProvider.bootDisk.initializeParams.withLabels

withLabels(labels)

fn spec.forProvider.bootDisk.initializeParams.withLabelsMixin

withLabelsMixin(labels)

Note: This function appends passed data to existing values

fn spec.forProvider.bootDisk.initializeParams.withSize

withSize(size)

fn spec.forProvider.bootDisk.initializeParams.withType

withType(type)

obj spec.forProvider.confidentialInstanceConfig

fn spec.forProvider.confidentialInstanceConfig.withEnableConfidentialCompute

withEnableConfidentialCompute(enableConfidentialCompute)

obj spec.forProvider.guestAccelerator

fn spec.forProvider.guestAccelerator.withCount

withCount(count)

fn spec.forProvider.guestAccelerator.withType

withType(type)

obj spec.forProvider.networkInterface

fn spec.forProvider.networkInterface.withAccessConfig

withAccessConfig(accessConfig)

fn spec.forProvider.networkInterface.withAccessConfigMixin

withAccessConfigMixin(accessConfig)

Note: This function appends passed data to existing values

fn spec.forProvider.networkInterface.withAliasIpRange

withAliasIpRange(aliasIpRange)

fn spec.forProvider.networkInterface.withAliasIpRangeMixin

withAliasIpRangeMixin(aliasIpRange)

Note: This function appends passed data to existing values

fn spec.forProvider.networkInterface.withIpv6AccessConfig

withIpv6AccessConfig(ipv6AccessConfig)

fn spec.forProvider.networkInterface.withIpv6AccessConfigMixin

withIpv6AccessConfigMixin(ipv6AccessConfig)

Note: This function appends passed data to existing values

fn spec.forProvider.networkInterface.withNetwork

withNetwork(network)

fn spec.forProvider.networkInterface.withNetworkIp

withNetworkIp(networkIp)

fn spec.forProvider.networkInterface.withNicType

withNicType(nicType)

fn spec.forProvider.networkInterface.withQueueCount

withQueueCount(queueCount)

fn spec.forProvider.networkInterface.withStackType

withStackType(stackType)

fn spec.forProvider.networkInterface.withSubnetwork

withSubnetwork(subnetwork)

fn spec.forProvider.networkInterface.withSubnetworkProject

withSubnetworkProject(subnetworkProject)

obj spec.forProvider.networkInterface.accessConfig

fn spec.forProvider.networkInterface.accessConfig.withNatIp

withNatIp(natIp)

fn spec.forProvider.networkInterface.accessConfig.withNetworkTier

withNetworkTier(networkTier)

fn spec.forProvider.networkInterface.accessConfig.withPublicPtrDomainName

withPublicPtrDomainName(publicPtrDomainName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

obj spec.forProvider.networkInterface.aliasIpRange

fn spec.forProvider.networkInterface.aliasIpRange.withIpCidrRange

withIpCidrRange(ipCidrRange)

fn spec.forProvider.networkInterface.aliasIpRange.withSubnetworkRangeName

withSubnetworkRangeName(subnetworkRangeName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

obj spec.forProvider.networkInterface.ipv6AccessConfig

fn spec.forProvider.networkInterface.ipv6AccessConfig.withNetworkTier

withNetworkTier(networkTier)

fn spec.forProvider.networkInterface.ipv6AccessConfig.withPublicPtrDomainName

withPublicPtrDomainName(publicPtrDomainName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

obj spec.forProvider.networkInterface.networkRef

"Reference to a Network to populate network."

fn spec.forProvider.networkInterface.networkRef.withName

withName(name)

"Name of the referenced object."

obj spec.forProvider.networkInterface.networkRef.policy

"Policies for referencing."

fn spec.forProvider.networkInterface.networkRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.networkInterface.networkRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.networkInterface.networkSelector

"Selector for a Network to populate network."

fn spec.forProvider.networkInterface.networkSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."

fn spec.forProvider.networkInterface.networkSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.networkInterface.networkSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

obj spec.forProvider.networkInterface.networkSelector.policy

"Policies for selection."

fn spec.forProvider.networkInterface.networkSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.networkInterface.networkSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.networkInterface.subnetworkRef

"Reference to a Subnetwork to populate subnetwork."

fn spec.forProvider.networkInterface.subnetworkRef.withName

withName(name)

"Name of the referenced object."

obj spec.forProvider.networkInterface.subnetworkRef.policy

"Policies for referencing."

fn spec.forProvider.networkInterface.subnetworkRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.networkInterface.subnetworkRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.networkInterface.subnetworkSelector

"Selector for a Subnetwork to populate subnetwork."

fn spec.forProvider.networkInterface.subnetworkSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."

fn spec.forProvider.networkInterface.subnetworkSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.networkInterface.subnetworkSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

obj spec.forProvider.networkInterface.subnetworkSelector.policy

"Policies for selection."

fn spec.forProvider.networkInterface.subnetworkSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.networkInterface.subnetworkSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.reservationAffinity

fn spec.forProvider.reservationAffinity.withSpecificReservation

withSpecificReservation(specificReservation)

fn spec.forProvider.reservationAffinity.withSpecificReservationMixin

withSpecificReservationMixin(specificReservation)

Note: This function appends passed data to existing values

fn spec.forProvider.reservationAffinity.withType

withType(type)

obj spec.forProvider.reservationAffinity.specificReservation

fn spec.forProvider.reservationAffinity.specificReservation.withKey

withKey(key)

fn spec.forProvider.reservationAffinity.specificReservation.withValues

withValues(values)

fn spec.forProvider.reservationAffinity.specificReservation.withValuesMixin

withValuesMixin(values)

Note: This function appends passed data to existing values

obj spec.forProvider.scheduling

fn spec.forProvider.scheduling.withAutomaticRestart

withAutomaticRestart(automaticRestart)

fn spec.forProvider.scheduling.withInstanceTerminationAction

withInstanceTerminationAction(instanceTerminationAction)

fn spec.forProvider.scheduling.withMinNodeCpus

withMinNodeCpus(minNodeCpus)

fn spec.forProvider.scheduling.withNodeAffinities

withNodeAffinities(nodeAffinities)

fn spec.forProvider.scheduling.withNodeAffinitiesMixin

withNodeAffinitiesMixin(nodeAffinities)

Note: This function appends passed data to existing values

fn spec.forProvider.scheduling.withOnHostMaintenance

withOnHostMaintenance(onHostMaintenance)

fn spec.forProvider.scheduling.withPreemptible

withPreemptible(preemptible)

fn spec.forProvider.scheduling.withProvisioningModel

withProvisioningModel(provisioningModel)

obj spec.forProvider.scheduling.nodeAffinities

fn spec.forProvider.scheduling.nodeAffinities.withKey

withKey(key)

fn spec.forProvider.scheduling.nodeAffinities.withOperator

withOperator(operator)

fn spec.forProvider.scheduling.nodeAffinities.withValues

withValues(values)

fn spec.forProvider.scheduling.nodeAffinities.withValuesMixin

withValuesMixin(values)

Note: This function appends passed data to existing values

obj spec.forProvider.scratchDisk

fn spec.forProvider.scratchDisk.withInterface

withInterface(interface)

fn spec.forProvider.scratchDisk.withSize

withSize(size)

obj spec.forProvider.serviceAccount

fn spec.forProvider.serviceAccount.withEmail

withEmail(email)

fn spec.forProvider.serviceAccount.withScopes

withScopes(scopes)

fn spec.forProvider.serviceAccount.withScopesMixin

withScopesMixin(scopes)

Note: This function appends passed data to existing values

obj spec.forProvider.shieldedInstanceConfig

fn spec.forProvider.shieldedInstanceConfig.withEnableIntegrityMonitoring

withEnableIntegrityMonitoring(enableIntegrityMonitoring)

fn spec.forProvider.shieldedInstanceConfig.withEnableSecureBoot

withEnableSecureBoot(enableSecureBoot)

fn spec.forProvider.shieldedInstanceConfig.withEnableVtpm

withEnableVtpm(enableVtpm)

obj spec.forProvider.sourceInstanceTemplateRef

"Reference to a InstanceTemplate to populate sourceInstanceTemplate."

fn spec.forProvider.sourceInstanceTemplateRef.withName

withName(name)

"Name of the referenced object."

obj spec.forProvider.sourceInstanceTemplateRef.policy

"Policies for referencing."

fn spec.forProvider.sourceInstanceTemplateRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.sourceInstanceTemplateRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.sourceInstanceTemplateSelector

"Selector for a InstanceTemplate to populate sourceInstanceTemplate."

fn spec.forProvider.sourceInstanceTemplateSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."

fn spec.forProvider.sourceInstanceTemplateSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.sourceInstanceTemplateSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

obj spec.forProvider.sourceInstanceTemplateSelector.policy

"Policies for selection."

fn spec.forProvider.sourceInstanceTemplateSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.sourceInstanceTemplateSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.initProvider

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. 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."

fn spec.initProvider.withAdvancedMachineFeatures

withAdvancedMachineFeatures(advancedMachineFeatures)

fn spec.initProvider.withAdvancedMachineFeaturesMixin

withAdvancedMachineFeaturesMixin(advancedMachineFeatures)

Note: This function appends passed data to existing values

fn spec.initProvider.withAllowStoppingForUpdate

withAllowStoppingForUpdate(allowStoppingForUpdate)

"Default is 6 minutes."

fn spec.initProvider.withAttachedDisk

withAttachedDisk(attachedDisk)

fn spec.initProvider.withAttachedDiskMixin

withAttachedDiskMixin(attachedDisk)

Note: This function appends passed data to existing values

fn spec.initProvider.withBootDisk

withBootDisk(bootDisk)

fn spec.initProvider.withBootDiskMixin

withBootDiskMixin(bootDisk)

Note: This function appends passed data to existing values

fn spec.initProvider.withCanIpForward

withCanIpForward(canIpForward)

fn spec.initProvider.withConfidentialInstanceConfig

withConfidentialInstanceConfig(confidentialInstanceConfig)

fn spec.initProvider.withConfidentialInstanceConfigMixin

withConfidentialInstanceConfigMixin(confidentialInstanceConfig)

Note: This function appends passed data to existing values

fn spec.initProvider.withDeletionProtection

withDeletionProtection(deletionProtection)

fn spec.initProvider.withDescription

withDescription(description)

fn spec.initProvider.withDesiredStatus

withDesiredStatus(desiredStatus)

fn spec.initProvider.withEnableDisplay

withEnableDisplay(enableDisplay)

fn spec.initProvider.withGuestAccelerator

withGuestAccelerator(guestAccelerator)

fn spec.initProvider.withGuestAcceleratorMixin

withGuestAcceleratorMixin(guestAccelerator)

Note: This function appends passed data to existing values

fn spec.initProvider.withHostname

withHostname(hostname)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.initProvider.withLabels

withLabels(labels)

fn spec.initProvider.withLabelsMixin

withLabelsMixin(labels)

Note: This function appends passed data to existing values

fn spec.initProvider.withMachineType

withMachineType(machineType)

fn spec.initProvider.withMetadata

withMetadata(metadata)

fn spec.initProvider.withMetadataMixin

withMetadataMixin(metadata)

Note: This function appends passed data to existing values

fn spec.initProvider.withMetadataStartupScript

withMetadataStartupScript(metadataStartupScript)

fn spec.initProvider.withMinCpuPlatform

withMinCpuPlatform(minCpuPlatform)

fn spec.initProvider.withName

withName(name)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.initProvider.withNetworkInterface

withNetworkInterface(networkInterface)

fn spec.initProvider.withNetworkInterfaceMixin

withNetworkInterfaceMixin(networkInterface)

Note: This function appends passed data to existing values

fn spec.initProvider.withProject

withProject(project)

fn spec.initProvider.withReservationAffinity

withReservationAffinity(reservationAffinity)

fn spec.initProvider.withReservationAffinityMixin

withReservationAffinityMixin(reservationAffinity)

Note: This function appends passed data to existing values

fn spec.initProvider.withResourcePolicies

withResourcePolicies(resourcePolicies)

fn spec.initProvider.withResourcePoliciesMixin

withResourcePoliciesMixin(resourcePolicies)

Note: This function appends passed data to existing values

fn spec.initProvider.withScheduling

withScheduling(scheduling)

fn spec.initProvider.withSchedulingMixin

withSchedulingMixin(scheduling)

Note: This function appends passed data to existing values

fn spec.initProvider.withScratchDisk

withScratchDisk(scratchDisk)

fn spec.initProvider.withScratchDiskMixin

withScratchDiskMixin(scratchDisk)

Note: This function appends passed data to existing values

fn spec.initProvider.withServiceAccount

withServiceAccount(serviceAccount)

fn spec.initProvider.withServiceAccountMixin

withServiceAccountMixin(serviceAccount)

Note: This function appends passed data to existing values

fn spec.initProvider.withShieldedInstanceConfig

withShieldedInstanceConfig(shieldedInstanceConfig)

fn spec.initProvider.withShieldedInstanceConfigMixin

withShieldedInstanceConfigMixin(shieldedInstanceConfig)

Note: This function appends passed data to existing values

fn spec.initProvider.withTags

withTags(tags)

fn spec.initProvider.withTagsMixin

withTagsMixin(tags)

Note: This function appends passed data to existing values

fn spec.initProvider.withZone

withZone(zone)

"The zone that the machine should be created in. If not set, the provider zone is used."

obj spec.initProvider.advancedMachineFeatures

fn spec.initProvider.advancedMachineFeatures.withEnableNestedVirtualization

withEnableNestedVirtualization(enableNestedVirtualization)

fn spec.initProvider.advancedMachineFeatures.withThreadsPerCore

withThreadsPerCore(threadsPerCore)

fn spec.initProvider.advancedMachineFeatures.withVisibleCoreCount

withVisibleCoreCount(visibleCoreCount)

obj spec.initProvider.attachedDisk

fn spec.initProvider.attachedDisk.withDeviceName

withDeviceName(deviceName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.initProvider.attachedDisk.withDiskEncryptionKeyRaw

withDiskEncryptionKeyRaw(diskEncryptionKeyRaw)

fn spec.initProvider.attachedDisk.withDiskEncryptionKeySha256

withDiskEncryptionKeySha256(diskEncryptionKeySha256)
withKmsKeySelfLink(kmsKeySelfLink)

fn spec.initProvider.attachedDisk.withMode

withMode(mode)

fn spec.initProvider.attachedDisk.withSource

withSource(source)

obj spec.initProvider.bootDisk

fn spec.initProvider.bootDisk.withAutoDelete

withAutoDelete(autoDelete)

"Default is 6 minutes."

fn spec.initProvider.bootDisk.withDeviceName

withDeviceName(deviceName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

fn spec.initProvider.bootDisk.withInitializeParams

withInitializeParams(initializeParams)

fn spec.initProvider.bootDisk.withInitializeParamsMixin

withInitializeParamsMixin(initializeParams)

Note: This function appends passed data to existing values

withKmsKeySelfLink(kmsKeySelfLink)

fn spec.initProvider.bootDisk.withMode

withMode(mode)

fn spec.initProvider.bootDisk.withSource

withSource(source)

obj spec.initProvider.bootDisk.initializeParams

fn spec.initProvider.bootDisk.initializeParams.withImage

withImage(image)

fn spec.initProvider.bootDisk.initializeParams.withLabels

withLabels(labels)

fn spec.initProvider.bootDisk.initializeParams.withLabelsMixin

withLabelsMixin(labels)

Note: This function appends passed data to existing values

fn spec.initProvider.bootDisk.initializeParams.withSize

withSize(size)

fn spec.initProvider.bootDisk.initializeParams.withType

withType(type)

obj spec.initProvider.confidentialInstanceConfig

fn spec.initProvider.confidentialInstanceConfig.withEnableConfidentialCompute

withEnableConfidentialCompute(enableConfidentialCompute)

obj spec.initProvider.guestAccelerator

fn spec.initProvider.guestAccelerator.withCount

withCount(count)

fn spec.initProvider.guestAccelerator.withType

withType(type)

obj spec.initProvider.networkInterface

fn spec.initProvider.networkInterface.withAccessConfig

withAccessConfig(accessConfig)

fn spec.initProvider.networkInterface.withAccessConfigMixin

withAccessConfigMixin(accessConfig)

Note: This function appends passed data to existing values

fn spec.initProvider.networkInterface.withAliasIpRange

withAliasIpRange(aliasIpRange)

fn spec.initProvider.networkInterface.withAliasIpRangeMixin

withAliasIpRangeMixin(aliasIpRange)

Note: This function appends passed data to existing values

fn spec.initProvider.networkInterface.withIpv6AccessConfig

withIpv6AccessConfig(ipv6AccessConfig)

fn spec.initProvider.networkInterface.withIpv6AccessConfigMixin

withIpv6AccessConfigMixin(ipv6AccessConfig)

Note: This function appends passed data to existing values

fn spec.initProvider.networkInterface.withNetworkIp

withNetworkIp(networkIp)

fn spec.initProvider.networkInterface.withNicType

withNicType(nicType)

fn spec.initProvider.networkInterface.withQueueCount

withQueueCount(queueCount)

fn spec.initProvider.networkInterface.withStackType

withStackType(stackType)

fn spec.initProvider.networkInterface.withSubnetworkProject

withSubnetworkProject(subnetworkProject)

obj spec.initProvider.networkInterface.accessConfig

fn spec.initProvider.networkInterface.accessConfig.withNatIp

withNatIp(natIp)

fn spec.initProvider.networkInterface.accessConfig.withNetworkTier

withNetworkTier(networkTier)

fn spec.initProvider.networkInterface.accessConfig.withPublicPtrDomainName

withPublicPtrDomainName(publicPtrDomainName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

obj spec.initProvider.networkInterface.aliasIpRange

fn spec.initProvider.networkInterface.aliasIpRange.withIpCidrRange

withIpCidrRange(ipCidrRange)

fn spec.initProvider.networkInterface.aliasIpRange.withSubnetworkRangeName

withSubnetworkRangeName(subnetworkRangeName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

obj spec.initProvider.networkInterface.ipv6AccessConfig

fn spec.initProvider.networkInterface.ipv6AccessConfig.withNetworkTier

withNetworkTier(networkTier)

fn spec.initProvider.networkInterface.ipv6AccessConfig.withPublicPtrDomainName

withPublicPtrDomainName(publicPtrDomainName)

"A unique name for the resource, required by GCE. Changing this forces a new resource to be created."

obj spec.initProvider.reservationAffinity

fn spec.initProvider.reservationAffinity.withSpecificReservation

withSpecificReservation(specificReservation)

fn spec.initProvider.reservationAffinity.withSpecificReservationMixin

withSpecificReservationMixin(specificReservation)

Note: This function appends passed data to existing values

fn spec.initProvider.reservationAffinity.withType

withType(type)

obj spec.initProvider.reservationAffinity.specificReservation

fn spec.initProvider.reservationAffinity.specificReservation.withKey

withKey(key)

fn spec.initProvider.reservationAffinity.specificReservation.withValues

withValues(values)

fn spec.initProvider.reservationAffinity.specificReservation.withValuesMixin

withValuesMixin(values)

Note: This function appends passed data to existing values

obj spec.initProvider.scheduling

fn spec.initProvider.scheduling.withAutomaticRestart

withAutomaticRestart(automaticRestart)

fn spec.initProvider.scheduling.withInstanceTerminationAction

withInstanceTerminationAction(instanceTerminationAction)

fn spec.initProvider.scheduling.withMinNodeCpus

withMinNodeCpus(minNodeCpus)

fn spec.initProvider.scheduling.withNodeAffinities

withNodeAffinities(nodeAffinities)

fn spec.initProvider.scheduling.withNodeAffinitiesMixin

withNodeAffinitiesMixin(nodeAffinities)

Note: This function appends passed data to existing values

fn spec.initProvider.scheduling.withOnHostMaintenance

withOnHostMaintenance(onHostMaintenance)

fn spec.initProvider.scheduling.withPreemptible

withPreemptible(preemptible)

fn spec.initProvider.scheduling.withProvisioningModel

withProvisioningModel(provisioningModel)

obj spec.initProvider.scheduling.nodeAffinities

fn spec.initProvider.scheduling.nodeAffinities.withKey

withKey(key)

fn spec.initProvider.scheduling.nodeAffinities.withOperator

withOperator(operator)

fn spec.initProvider.scheduling.nodeAffinities.withValues

withValues(values)

fn spec.initProvider.scheduling.nodeAffinities.withValuesMixin

withValuesMixin(values)

Note: This function appends passed data to existing values

obj spec.initProvider.scratchDisk

fn spec.initProvider.scratchDisk.withInterface

withInterface(interface)

fn spec.initProvider.scratchDisk.withSize

withSize(size)

obj spec.initProvider.serviceAccount

fn spec.initProvider.serviceAccount.withEmail

withEmail(email)

fn spec.initProvider.serviceAccount.withScopes

withScopes(scopes)

fn spec.initProvider.serviceAccount.withScopesMixin

withScopesMixin(scopes)

Note: This function appends passed data to existing values

obj spec.initProvider.shieldedInstanceConfig

fn spec.initProvider.shieldedInstanceConfig.withEnableIntegrityMonitoring

withEnableIntegrityMonitoring(enableIntegrityMonitoring)

fn spec.initProvider.shieldedInstanceConfig.withEnableSecureBoot

withEnableSecureBoot(enableSecureBoot)

fn spec.initProvider.shieldedInstanceConfig.withEnableVtpm

withEnableVtpm(enableVtpm)

obj spec.providerConfigRef

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

fn spec.providerConfigRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerConfigRef.policy

"Policies for referencing."

fn spec.providerConfigRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.providerConfigRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.providerRef

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

fn spec.providerRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerRef.policy

"Policies for referencing."

fn spec.providerRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.providerRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.publishConnectionDetailsTo

"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."

fn spec.publishConnectionDetailsTo.withName

withName(name)

"Name is the name of the connection secret."

obj spec.publishConnectionDetailsTo.configRef

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

fn spec.publishConnectionDetailsTo.configRef.withName

withName(name)

"Name of the referenced object."

obj spec.publishConnectionDetailsTo.configRef.policy

"Policies for referencing."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.publishConnectionDetailsTo.metadata

"Metadata is the metadata for connection secret."

fn spec.publishConnectionDetailsTo.metadata.withAnnotations

withAnnotations(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withLabels

withLabels(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin

withLabelsMixin(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withType

withType(type)

"Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores."

obj spec.writeConnectionSecretToRef

"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."

fn spec.writeConnectionSecretToRef.withName

withName(name)

"Name of the secret."

fn spec.writeConnectionSecretToRef.withNamespace

withNamespace(namespace)

"Namespace of the secret."