Skip to content

startExportAzureNativeVirtualMachineJob

Start a job to export the Azure native virtual machine for a specified snapshot to a specified destination.

Arguments

Argument Type Description
input (required) StartExportAzureNativeVirtualMachineJobInput! Input for the job to export the specified Azure Native Virtual Machine to the specified destination.

Returns

AsyncJobStatus!

Sample

mutation StartExportAzureNativeVirtualMachineJob($input: StartExportAzureNativeVirtualMachineJobInput!) {
  startExportAzureNativeVirtualMachineJob(input: $input) {
    error
    jobId
  }
}
{
  "input": {
    "destinationRegion": "AUSTRALIA_CENTRAL",
    "resourceGroupName": "example-string",
    "shouldExportTags": true,
    "shouldPowerOff": true,
    "snapshotId": "00000000-0000-0000-0000-000000000000",
    "subnetNativeId": "example-string",
    "virtualMachineName": "example-string",
    "virtualMachineSize": "example-string"
  }
}
{
  "data": {
    "startExportAzureNativeVirtualMachineJob": {
      "error": "example-string",
      "jobId": "example-string"
    }
  }
}