Skip to content

Commit

Permalink
feat(vmmigration): update the API
Browse files Browse the repository at this point in the history
#### vmmigration:v1alpha1

The following keys were added:
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.flatPath
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.httpMethod
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.id
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameterOrder
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.location
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.pattern
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.required
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.type
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.path
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.request.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.response.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.scopes
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.flatPath
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.httpMethod
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.id
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameterOrder
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.location
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.pattern
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.required
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.type
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.path
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.request.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.response.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.scopes
- schemas.CancelDiskMigrationJobRequest.description
- schemas.CancelDiskMigrationJobRequest.id
- schemas.CancelDiskMigrationJobRequest.type
- schemas.ImageImport.properties.machineImageTargetDefaults.$ref
- schemas.ImageImport.properties.machineImageTargetDefaults.description
- schemas.ImageImportJob.properties.machineImageTargetDetails.$ref
- schemas.ImageImportJob.properties.machineImageTargetDetails.description
- schemas.ImageImportJob.properties.machineImageTargetDetails.readOnly
- schemas.MachineImageParametersOverrides.description
- schemas.MachineImageParametersOverrides.id
- schemas.MachineImageParametersOverrides.properties.machineType.description
- schemas.MachineImageParametersOverrides.properties.machineType.type
- schemas.MachineImageParametersOverrides.type
- schemas.MachineImageTargetDetails.description
- schemas.MachineImageTargetDetails.id
- schemas.MachineImageTargetDetails.properties.additionalLicenses.description
- schemas.MachineImageTargetDetails.properties.additionalLicenses.items.type
- schemas.MachineImageTargetDetails.properties.additionalLicenses.type
- schemas.MachineImageTargetDetails.properties.description.description
- schemas.MachineImageTargetDetails.properties.description.type
- schemas.MachineImageTargetDetails.properties.encryption.$ref
- schemas.MachineImageTargetDetails.properties.encryption.description
- schemas.MachineImageTargetDetails.properties.labels.additionalProperties.type
- schemas.MachineImageTargetDetails.properties.labels.description
- schemas.MachineImageTargetDetails.properties.labels.type
- schemas.MachineImageTargetDetails.properties.machineImageName.description
- schemas.MachineImageTargetDetails.properties.machineImageName.type
- schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.$ref
- schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.description
- schemas.MachineImageTargetDetails.properties.networkInterfaces.description
- schemas.MachineImageTargetDetails.properties.networkInterfaces.items.$ref
- schemas.MachineImageTargetDetails.properties.networkInterfaces.type
- schemas.MachineImageTargetDetails.properties.osAdaptationParameters.$ref
- schemas.MachineImageTargetDetails.properties.osAdaptationParameters.description
- schemas.MachineImageTargetDetails.properties.serviceAccount.$ref
- schemas.MachineImageTargetDetails.properties.serviceAccount.description
- schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.$ref
- schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.description
- schemas.MachineImageTargetDetails.properties.singleRegionStorage.description
- schemas.MachineImageTargetDetails.properties.singleRegionStorage.type
- schemas.MachineImageTargetDetails.properties.skipOsAdaptation.$ref
- schemas.MachineImageTargetDetails.properties.skipOsAdaptation.description
- schemas.MachineImageTargetDetails.properties.tags.description
- schemas.MachineImageTargetDetails.properties.tags.items.type
- schemas.MachineImageTargetDetails.properties.tags.type
- schemas.MachineImageTargetDetails.properties.targetProject.description
- schemas.MachineImageTargetDetails.properties.targetProject.type
- schemas.MachineImageTargetDetails.type
- schemas.NetworkInterface.properties.networkTier.description
- schemas.NetworkInterface.properties.networkTier.enum
- schemas.NetworkInterface.properties.networkTier.enumDescriptions
- schemas.NetworkInterface.properties.networkTier.type
- schemas.RunDiskMigrationJobRequest.description
- schemas.RunDiskMigrationJobRequest.id
- schemas.RunDiskMigrationJobRequest.type
- schemas.ServiceAccount.description
- schemas.ServiceAccount.id
- schemas.ServiceAccount.properties.email.description
- schemas.ServiceAccount.properties.email.type
- schemas.ServiceAccount.properties.scopes.description
- schemas.ServiceAccount.properties.scopes.items.type
- schemas.ServiceAccount.properties.scopes.type
- schemas.ServiceAccount.type
- schemas.ShieldedInstanceConfig.description
- schemas.ShieldedInstanceConfig.id
- schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.description
- schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.type
- schemas.ShieldedInstanceConfig.properties.enableVtpm.description
- schemas.ShieldedInstanceConfig.properties.enableVtpm.type
- schemas.ShieldedInstanceConfig.properties.secureBoot.description
- schemas.ShieldedInstanceConfig.properties.secureBoot.enum
- schemas.ShieldedInstanceConfig.properties.secureBoot.enumDescriptions
- schemas.ShieldedInstanceConfig.properties.secureBoot.type
- schemas.ShieldedInstanceConfig.type
- schemas.SkipOsAdaptation.description
- schemas.SkipOsAdaptation.id
- schemas.SkipOsAdaptation.type

The following keys were changed:
- schemas.BootDiskDefaults.properties.diskType.enum
- schemas.BootDiskDefaults.properties.diskType.enumDescriptions
- schemas.ComputeEngineTargetDefaults.properties.diskType.enum
- schemas.ComputeEngineTargetDefaults.properties.diskType.enumDescriptions
- schemas.ComputeEngineTargetDetails.properties.diskType.enum
- schemas.ComputeEngineTargetDetails.properties.diskType.enumDescriptions
- schemas.DiskImageTargetDetails.properties.additionalLicenses.description
- schemas.NetworkInterface.properties.subnetwork.description
- schemas.PersistentDiskDefaults.properties.diskType.enum
- schemas.PersistentDiskDefaults.properties.diskType.enumDescriptions
- schemas.PersistentDiskDefaults.properties.vmAttachmentDetails.description

#### vmmigration:v1

The following keys were added:
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.flatPath
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.httpMethod
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.id
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameterOrder
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.location
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.pattern
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.required
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.type
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.path
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.request.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.response.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.scopes
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.flatPath
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.httpMethod
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.id
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameterOrder
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.description
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.location
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.pattern
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.required
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.type
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.path
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.request.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.response.$ref
- resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.scopes
- schemas.CancelDiskMigrationJobRequest.description
- schemas.CancelDiskMigrationJobRequest.id
- schemas.CancelDiskMigrationJobRequest.type
- schemas.ImageImport.properties.machineImageTargetDefaults.$ref
- schemas.ImageImport.properties.machineImageTargetDefaults.description
- schemas.ImageImportJob.properties.machineImageTargetDetails.$ref
- schemas.ImageImportJob.properties.machineImageTargetDetails.description
- schemas.ImageImportJob.properties.machineImageTargetDetails.readOnly
- schemas.MachineImageParametersOverrides.description
- schemas.MachineImageParametersOverrides.id
- schemas.MachineImageParametersOverrides.properties.machineType.description
- schemas.MachineImageParametersOverrides.properties.machineType.type
- schemas.MachineImageParametersOverrides.type
- schemas.MachineImageTargetDetails.description
- schemas.MachineImageTargetDetails.id
- schemas.MachineImageTargetDetails.properties.additionalLicenses.description
- schemas.MachineImageTargetDetails.properties.additionalLicenses.items.type
- schemas.MachineImageTargetDetails.properties.additionalLicenses.type
- schemas.MachineImageTargetDetails.properties.description.description
- schemas.MachineImageTargetDetails.properties.description.type
- schemas.MachineImageTargetDetails.properties.encryption.$ref
- schemas.MachineImageTargetDetails.properties.encryption.description
- schemas.MachineImageTargetDetails.properties.labels.additionalProperties.type
- schemas.MachineImageTargetDetails.properties.labels.description
- schemas.MachineImageTargetDetails.properties.labels.type
- schemas.MachineImageTargetDetails.properties.machineImageName.description
- schemas.MachineImageTargetDetails.properties.machineImageName.type
- schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.$ref
- schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.description
- schemas.MachineImageTargetDetails.properties.networkInterfaces.description
- schemas.MachineImageTargetDetails.properties.networkInterfaces.items.$ref
- schemas.MachineImageTargetDetails.properties.networkInterfaces.type
- schemas.MachineImageTargetDetails.properties.osAdaptationParameters.$ref
- schemas.MachineImageTargetDetails.properties.osAdaptationParameters.description
- schemas.MachineImageTargetDetails.properties.serviceAccount.$ref
- schemas.MachineImageTargetDetails.properties.serviceAccount.description
- schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.$ref
- schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.description
- schemas.MachineImageTargetDetails.properties.singleRegionStorage.description
- schemas.MachineImageTargetDetails.properties.singleRegionStorage.type
- schemas.MachineImageTargetDetails.properties.skipOsAdaptation.$ref
- schemas.MachineImageTargetDetails.properties.skipOsAdaptation.description
- schemas.MachineImageTargetDetails.properties.tags.description
- schemas.MachineImageTargetDetails.properties.tags.items.type
- schemas.MachineImageTargetDetails.properties.tags.type
- schemas.MachineImageTargetDetails.properties.targetProject.description
- schemas.MachineImageTargetDetails.properties.targetProject.type
- schemas.MachineImageTargetDetails.type
- schemas.NetworkInterface.properties.networkTier.description
- schemas.NetworkInterface.properties.networkTier.enum
- schemas.NetworkInterface.properties.networkTier.enumDescriptions
- schemas.NetworkInterface.properties.networkTier.type
- schemas.RunDiskMigrationJobRequest.description
- schemas.RunDiskMigrationJobRequest.id
- schemas.RunDiskMigrationJobRequest.type
- schemas.ServiceAccount.description
- schemas.ServiceAccount.id
- schemas.ServiceAccount.properties.email.description
- schemas.ServiceAccount.properties.email.type
- schemas.ServiceAccount.properties.scopes.description
- schemas.ServiceAccount.properties.scopes.items.type
- schemas.ServiceAccount.properties.scopes.type
- schemas.ServiceAccount.type
- schemas.ShieldedInstanceConfig.description
- schemas.ShieldedInstanceConfig.id
- schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.description
- schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.type
- schemas.ShieldedInstanceConfig.properties.enableVtpm.description
- schemas.ShieldedInstanceConfig.properties.enableVtpm.type
- schemas.ShieldedInstanceConfig.properties.secureBoot.description
- schemas.ShieldedInstanceConfig.properties.secureBoot.enum
- schemas.ShieldedInstanceConfig.properties.secureBoot.enumDescriptions
- schemas.ShieldedInstanceConfig.properties.secureBoot.type
- schemas.ShieldedInstanceConfig.type
- schemas.SkipOsAdaptation.description
- schemas.SkipOsAdaptation.id
- schemas.SkipOsAdaptation.type

The following keys were changed:
- schemas.BootDiskDefaults.properties.diskType.enum
- schemas.BootDiskDefaults.properties.diskType.enumDescriptions
- schemas.ComputeEngineTargetDefaults.properties.diskType.enum
- schemas.ComputeEngineTargetDefaults.properties.diskType.enumDescriptions
- schemas.ComputeEngineTargetDetails.properties.diskType.enum
- schemas.ComputeEngineTargetDetails.properties.diskType.enumDescriptions
- schemas.DiskImageTargetDetails.properties.additionalLicenses.description
- schemas.NetworkInterface.properties.subnetwork.description
- schemas.PersistentDiskDefaults.properties.diskType.enum
- schemas.PersistentDiskDefaults.properties.diskType.enumDescriptions
- schemas.PersistentDiskDefaults.properties.vmAttachmentDetails.description
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 16, 2024
1 parent 8ffa3d0 commit 5eabdc7
Show file tree
Hide file tree
Showing 4 changed files with 1,182 additions and 30 deletions.
266 changes: 254 additions & 12 deletions discovery/vmmigration-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,66 @@
}
}
},
"diskMigrationJobs": {
"methods": {
"cancel": {
"description": "Cancels the disk migration job.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel",
"httpMethod": "POST",
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the DiskMigrationJob.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"request": {
"$ref": "CancelDiskMigrationJobRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"run": {
"description": "Runs the disk migration job.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run",
"httpMethod": "POST",
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.run",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the DiskMigrationJob.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:run",
"request": {
"$ref": "RunDiskMigrationJobRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"migratingVms": {
"methods": {
"create": {
Expand Down Expand Up @@ -2220,7 +2280,7 @@
}
}
},
"revision": "20240613",
"revision": "20240712",
"rootUrl": "https://vmmigration.googleapis.com/",
"schemas": {
"AccessKeyCredentials": {
Expand Down Expand Up @@ -2873,13 +2933,15 @@
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
"COMPUTE_ENGINE_DISK_TYPE_SSD",
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
],
"enumDescriptions": [
"An unspecified disk type. Will be used as STANDARD.",
"A Standard disk type.",
"SSD hard disk type.",
"An alternative to SSD persistent disks that balance performance and cost."
"An alternative to SSD persistent disks that balance performance and cost.",
"Hyperdisk balanced disk type."
],
"type": "string"
},
Expand All @@ -2906,6 +2968,12 @@
"properties": {},
"type": "object"
},
"CancelDiskMigrationJobRequest": {
"description": "Request message for 'CancelDiskMigrationJob' request.",
"id": "CancelDiskMigrationJobRequest",
"properties": {},
"type": "object"
},
"CancelImageImportJobRequest": {
"description": "Request message for 'CancelImageImportJob' request.",
"id": "CancelImageImportJobRequest",
Expand Down Expand Up @@ -3137,13 +3205,15 @@
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
"COMPUTE_ENGINE_DISK_TYPE_SSD",
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
],
"enumDescriptions": [
"An unspecified disk type. Will be used as STANDARD.",
"A Standard disk type.",
"SSD hard disk type.",
"An alternative to SSD persistent disks that balance performance and cost."
"An alternative to SSD persistent disks that balance performance and cost.",
"Hyperdisk balanced disk type."
],
"type": "string"
},
Expand Down Expand Up @@ -3267,13 +3337,15 @@
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
"COMPUTE_ENGINE_DISK_TYPE_SSD",
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
],
"enumDescriptions": [
"An unspecified disk type. Will be used as STANDARD.",
"A Standard disk type.",
"SSD hard disk type.",
"An alternative to SSD persistent disks that balance performance and cost."
"An alternative to SSD persistent disks that balance performance and cost.",
"Hyperdisk balanced disk type."
],
"type": "string"
},
Expand Down Expand Up @@ -3713,7 +3785,7 @@
"id": "DiskImageTargetDetails",
"properties": {
"additionalLicenses": {
"description": "Optional. Additional licenses to assign to the image.",
"description": "Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -3984,6 +4056,10 @@
"$ref": "Encryption",
"description": "Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine."
},
"machineImageTargetDefaults": {
"$ref": "MachineImageTargetDetails",
"description": "Immutable. Target details for importing a machine image, will be used by ImageImportJob."
},
"name": {
"description": "Output only. The resource path of the ImageImport.",
"readOnly": true,
Expand Down Expand Up @@ -4042,6 +4118,11 @@
"readOnly": true,
"type": "array"
},
"machineImageTargetDetails": {
"$ref": "MachineImageTargetDetails",
"description": "Output only. Target details used to import a machine image.",
"readOnly": true
},
"name": {
"description": "Output only. The resource path of the ImageImportJob.",
"readOnly": true,
Expand Down Expand Up @@ -4581,6 +4662,92 @@
},
"type": "object"
},
"MachineImageParametersOverrides": {
"description": "Parameters overriding decisions based on the source machine image configurations.",
"id": "MachineImageParametersOverrides",
"properties": {
"machineType": {
"description": "Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.",
"type": "string"
}
},
"type": "object"
},
"MachineImageTargetDetails": {
"description": "The target details of the machine image resource that will be created by the image import job.",
"id": "MachineImageTargetDetails",
"properties": {
"additionalLicenses": {
"description": "Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME",
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"description": "Optional. An optional description of the machine image.",
"type": "string"
},
"encryption": {
"$ref": "Encryption",
"description": "Immutable. The encryption to apply to the machine image."
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. The labels to apply to the instance created by the machine image.",
"type": "object"
},
"machineImageName": {
"description": "Required. The name of the machine image to be created.",
"type": "string"
},
"machineImageParametersOverrides": {
"$ref": "MachineImageParametersOverrides",
"description": "Optional. Parameters overriding decisions based on the source machine image configurations."
},
"networkInterfaces": {
"description": "Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses are ignored for machine image import.",
"items": {
"$ref": "NetworkInterface"
},
"type": "array"
},
"osAdaptationParameters": {
"$ref": "ImageImportOsAdaptationParameters",
"description": "Optional. Use to set the parameters relevant for the OS adaptation process."
},
"serviceAccount": {
"$ref": "ServiceAccount",
"description": "Optional. The service account to assign to the instance created by the machine image."
},
"shieldedInstanceConfig": {
"$ref": "ShieldedInstanceConfig",
"description": "Optional. Shielded instance configuration."
},
"singleRegionStorage": {
"description": "Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.",
"type": "boolean"
},
"skipOsAdaptation": {
"$ref": "SkipOsAdaptation",
"description": "Optional. Use to skip OS adaptation process."
},
"tags": {
"description": "Optional. The tags to apply to the instance created by the machine image.",
"items": {
"type": "string"
},
"type": "array"
},
"targetProject": {
"description": "Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.",
"type": "string"
}
},
"type": "object"
},
"MigratingVm": {
"description": "MigratingVm describes the VM that will be migrated from a Source environment and its replication state.",
"id": "MigratingVm",
Expand Down Expand Up @@ -4873,8 +5040,22 @@
"description": "The network to connect the NIC to.",
"type": "string"
},
"networkTier": {
"description": "Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.",
"enum": [
"COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED",
"NETWORK_TIER_STANDARD",
"NETWORK_TIER_PREMIUM"
],
"enumDescriptions": [
"An unspecified network tier. Will be used as PREMIUM.",
"A standard network tier.",
"A premium network tier."
],
"type": "string"
},
"subnetwork": {
"description": "The subnetwork to connect the NIC to.",
"description": "Optional. The subnetwork to connect the NIC to.",
"type": "string"
}
},
Expand Down Expand Up @@ -5045,13 +5226,15 @@
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
"COMPUTE_ENGINE_DISK_TYPE_SSD",
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
],
"enumDescriptions": [
"An unspecified disk type. Will be used as STANDARD.",
"A Standard disk type.",
"SSD hard disk type.",
"An alternative to SSD persistent disks that balance performance and cost."
"An alternative to SSD persistent disks that balance performance and cost.",
"Hyperdisk balanced disk type."
],
"type": "string"
},
Expand All @@ -5066,7 +5249,7 @@
},
"vmAttachmentDetails": {
"$ref": "VmAttachmentDetails",
"description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM."
"description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM."
}
},
"type": "object"
Expand Down Expand Up @@ -5214,6 +5397,12 @@
"properties": {},
"type": "object"
},
"RunDiskMigrationJobRequest": {
"description": "Request message for 'RunDiskMigrationJobRequest' request.",
"id": "RunDiskMigrationJobRequest",
"properties": {},
"type": "object"
},
"SchedulePolicy": {
"description": "A policy for scheduling replications.",
"id": "SchedulePolicy",
Expand Down Expand Up @@ -5262,12 +5451,65 @@
},
"type": "object"
},
"ServiceAccount": {
"description": "Service account to assign to the instance created by the machine image.",
"id": "ServiceAccount",
"properties": {
"email": {
"description": "Required. The email address of the service account.",
"type": "string"
},
"scopes": {
"description": "Optional. The list of scopes to be made available for this service account.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ShieldedInstanceConfig": {
"description": "Shielded instance configuration.",
"id": "ShieldedInstanceConfig",
"properties": {
"enableIntegrityMonitoring": {
"description": "Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.",
"type": "boolean"
},
"enableVtpm": {
"description": "Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.",
"type": "boolean"
},
"secureBoot": {
"description": "Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.",
"enum": [
"SECURE_BOOT_UNSPECIFIED",
"TRUE",
"FALSE"
],
"enumDescriptions": [
"No explicit value is selected. Will use the configuration of the source (if exists, otherwise the default will be false).",
"Use secure boot. This can be set to true only if the image boot option is EFI.",
"Do not use secure boot."
],
"type": "string"
}
},
"type": "object"
},
"ShuttingDownSourceVMStep": {
"description": "ShuttingDownSourceVMStep contains specific step details.",
"id": "ShuttingDownSourceVMStep",
"properties": {},
"type": "object"
},
"SkipOsAdaptation": {
"description": "Mentions that the machine image import is not using OS adaptation process.",
"id": "SkipOsAdaptation",
"properties": {},
"type": "object"
},
"Source": {
"description": "Source message describes a specific vm migration Source resource. It contains the source environment information.",
"id": "Source",
Expand Down
Loading

0 comments on commit 5eabdc7

Please sign in to comment.