---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_vmmigration_clone_job{% #gcp_vmmigration_clone_job %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `compute_engine_disks_target_details`{% #compute_engine_disks_target_details %}

**Type**: `STRUCT`**Provider name**: `computeEngineDisksTargetDetails`**Description**: Output only. Details of the target Persistent Disks in Compute Engine.

- `disks`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `disks`**Description**: The details of each created Persistent Disk.

  - `disk_uri`**Type**: `STRING`**Provider name**: `diskUri`**Description**: The URI of the Persistent Disk.
  - `source_disk_number`**Type**: `INT32`**Provider name**: `sourceDiskNumber`**Description**: The ordinal number of the source VM disk.

- `disks_target_details`**Type**: `STRUCT`**Provider name**: `disksTargetDetails`**Description**: Details of the disks-only migration target.

- `vm_target_details`**Type**: `STRUCT`**Provider name**: `vmTargetDetails`**Description**: Details for the VM the migrated data disks are attached to.

  - `vm_uri`**Type**: `STRING`**Provider name**: `vmUri`**Description**: Output only. The URI of the Compute Engine VM.

## `compute_engine_target_details`{% #compute_engine_target_details %}

**Type**: `STRUCT`**Provider name**: `computeEngineTargetDetails`**Description**: Output only. Details of the target VM in Compute Engine.

- `additional_licenses`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `additionalLicenses`**Description**: Additional licenses to assign to the VM.
- `applied_license`**Type**: `STRUCT`**Provider name**: `appliedLicense`**Description**: The OS license returned from the adaptation module report.
  - `os_license`**Type**: `STRING`**Provider name**: `osLicense`**Description**: The OS license returned from the adaptation module's report.
  - `type`**Type**: `STRING`**Provider name**: `type`**Description**: The license type that was used in OS adaptation.**Possible values**:
    - `TYPE_UNSPECIFIED` - Unspecified license for the OS.
    - `NONE` - No license available for the OS.
    - `PAYG` - The license type is Pay As You Go license type.
    - `BYOL` - The license type is Bring Your Own License type.
- `boot_conversion`**Type**: `STRING`**Provider name**: `bootConversion`**Description**: Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.**Possible values**:
  - `BOOT_CONVERSION_UNSPECIFIED` - Unspecified conversion type.
  - `NONE` - No conversion.
  - `BIOS_TO_EFI` - Convert from BIOS to EFI.
- `boot_option`**Type**: `STRING`**Provider name**: `bootOption`**Description**: The VM Boot Option, as set in the source VM.**Possible values**:
  - `COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED` - The boot option is unknown.
  - `COMPUTE_ENGINE_BOOT_OPTION_EFI` - The boot option is EFI.
  - `COMPUTE_ENGINE_BOOT_OPTION_BIOS` - The boot option is BIOS.
- `compute_scheduling`**Type**: `STRUCT`**Provider name**: `computeScheduling`**Description**: Compute instance scheduling information (if empty default is used).
  - `min_node_cpus`**Type**: `INT32`**Provider name**: `minNodeCpus`**Description**: The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
  - `node_affinities`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `nodeAffinities`**Description**: A set of node affinity and anti-affinity configurations for sole tenant nodes.
    - `key`**Type**: `STRING`**Provider name**: `key`**Description**: The label key of Node resource to reference.
    - `operator`**Type**: `STRING`**Provider name**: `operator`**Description**: The operator to use for the node resources specified in the `values` parameter.**Possible values**:
      - `OPERATOR_UNSPECIFIED` - An unknown, unexpected behavior.
      - `IN` - The node resource group should be in these resources affinity.
      - `NOT_IN` - The node resource group should not be in these resources affinity.
    - `values`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `values`**Description**: Corresponds to the label values of Node resource.
  - `on_host_maintenance`**Type**: `STRING`**Provider name**: `onHostMaintenance`**Description**: How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.**Possible values**:
    - `ON_HOST_MAINTENANCE_UNSPECIFIED` - An unknown, unexpected behavior.
    - `TERMINATE` - Terminate the instance when the host machine undergoes maintenance.
    - `MIGRATE` - Migrate the instance when the host machine undergoes maintenance.
  - `restart_type`**Type**: `STRING`**Provider name**: `restartType`**Description**: Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.**Possible values**:
    - `RESTART_TYPE_UNSPECIFIED` - Unspecified behavior. This will use the default.
    - `AUTOMATIC_RESTART` - The Instance should be automatically restarted whenever it is terminated by Compute Engine.
    - `NO_AUTOMATIC_RESTART` - The Instance isn't automatically restarted whenever it is terminated by Compute Engine.
- `disk_type`**Type**: `STRING`**Provider name**: `diskType`**Description**: The disk type to use in the VM.**Possible values**:
  - `COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED` - An unspecified disk type. Will be used as STANDARD.
  - `COMPUTE_ENGINE_DISK_TYPE_STANDARD` - A Standard disk type.
  - `COMPUTE_ENGINE_DISK_TYPE_SSD` - SSD hard disk type.
  - `COMPUTE_ENGINE_DISK_TYPE_BALANCED` - An alternative to SSD persistent disks that balance performance and cost.
  - `COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED` - Hyperdisk balanced disk type.
- `enable_integrity_monitoring`**Type**: `BOOLEAN`**Provider name**: `enableIntegrityMonitoring`**Description**: Optional. Defines whether the instance has integrity monitoring enabled.
- `enable_vtpm`**Type**: `BOOLEAN`**Provider name**: `enableVtpm`**Description**: Optional. Defines whether the instance has vTPM enabled.
- `encryption`**Type**: `STRUCT`**Provider name**: `encryption`**Description**: Optional. The encryption to apply to the VM disks.
  - `kms_key`**Type**: `STRING`**Provider name**: `kmsKey`**Description**: Required. The name of the encryption key that is stored in Google Cloud KMS.
- `hostname`**Type**: `STRING`**Provider name**: `hostname`**Description**: The hostname to assign to the VM.
- `license_type`**Type**: `STRING`**Provider name**: `licenseType`**Description**: The license type to use in OS adaptation.**Possible values**:
  - `COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT` - The license type is the default for the OS.
  - `COMPUTE_ENGINE_LICENSE_TYPE_PAYG` - The license type is Pay As You Go license type.
  - `COMPUTE_ENGINE_LICENSE_TYPE_BYOL` - The license type is Bring Your Own License type.
- `machine_type`**Type**: `STRING`**Provider name**: `machineType`**Description**: The machine type to create the VM with.
- `machine_type_series`**Type**: `STRING`**Provider name**: `machineTypeSeries`**Description**: The machine type series to create the VM with.
- `network_interfaces`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `networkInterfaces`**Description**: List of NICs connected to this VM.
  - `external_ip`**Type**: `STRING`**Provider name**: `externalIp`**Description**: Optional. The external IP to define in the NIC.
  - `internal_ip`**Type**: `STRING`**Provider name**: `internalIp`**Description**: Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
  - `network`**Type**: `STRING`**Provider name**: `network`**Description**: The network to connect the NIC to.
  - `network_tier`**Type**: `STRING`**Provider name**: `networkTier`**Description**: Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.**Possible values**:
    - `COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED` - An unspecified network tier. Will be used as PREMIUM.
    - `NETWORK_TIER_STANDARD` - A standard network tier.
    - `NETWORK_TIER_PREMIUM` - A premium network tier.
  - `subnetwork`**Type**: `STRING`**Provider name**: `subnetwork`**Description**: Optional. The subnetwork to connect the NIC to.
- `network_tags`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `networkTags`**Description**: A list of network tags to associate with the VM.
- `project`**Type**: `STRING`**Provider name**: `project`**Description**: The Google Cloud target project ID or project name.
- `secure_boot`**Type**: `BOOLEAN`**Provider name**: `secureBoot`**Description**: Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
- `service_account`**Type**: `STRING`**Provider name**: `serviceAccount`**Description**: The service account to associate the VM with.
- `vm_name`**Type**: `STRING`**Provider name**: `vmName`**Description**: The name of the VM to create.
- `zone`**Type**: `STRING`**Provider name**: `zone`**Description**: The zone in which to create the VM.

## `create_time`{% #create_time %}

**Type**: `TIMESTAMP`**Provider name**: `createTime`**Description**: Output only. The time the clone job was created (as an API call, not when it was actually created in the target).

## `end_time`{% #end_time %}

**Type**: `TIMESTAMP`**Provider name**: `endTime`**Description**: Output only. The time the clone job was ended.

## `error`{% #error %}

**Type**: `STRUCT`**Provider name**: `error`**Description**: Output only. Provides details for the errors that led to the Clone Job's state.

- `code`**Type**: `INT32`**Provider name**: `code`**Description**: The status code, which should be an enum value of google.rpc.Code.
- `message`**Type**: `STRING`**Provider name**: `message`**Description**: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: Output only. The name of the clone.

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `region_id`{% #region_id %}

**Type**: `STRING`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `state`{% #state %}

**Type**: `STRING`**Provider name**: `state`**Description**: Output only. State of the clone job.**Possible values**:

- `STATE_UNSPECIFIED` - The state is unknown. This is used for API compatibility only and is not used by the system.
- `PENDING` - The clone job has not yet started.
- `ACTIVE` - The clone job is active and running.
- `FAILED` - The clone job finished with errors.
- `SUCCEEDED` - The clone job finished successfully.
- `CANCELLED` - The clone job was cancelled.
- `CANCELLING` - The clone job is being cancelled.
- `ADAPTING_OS` - OS adaptation is running as part of the clone job to generate license.

## `state_time`{% #state_time %}

**Type**: `TIMESTAMP`**Provider name**: `stateTime`**Description**: Output only. The time the state was last updated.

## `steps`{% #steps %}

**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `steps`**Description**: Output only. The clone steps list representing its progress.

- `adapting_os`**Type**: `STRUCT`**Provider name**: `adaptingOs`**Description**: Adapting OS step.

- `end_time`**Type**: `TIMESTAMP`**Provider name**: `endTime`**Description**: The time the step has ended.

- `instantiating_migrated_vm`**Type**: `STRUCT`**Provider name**: `instantiatingMigratedVm`**Description**: Instantiating migrated VM step.

- `preparing_vm_disks`**Type**: `STRUCT`**Provider name**: `preparingVmDisks`**Description**: Preparing VM disks step.

- `start_time`**Type**: `TIMESTAMP`**Provider name**: `startTime`**Description**: The time the step has started.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `zone_id`{% #zone_id %}

**Type**: `STRING`
