Skip to content

startCreateAzureNativeVirtualMachineSnapshotsJob

Start a job to create a snapshot for the Azure Native virtual machine identified by the IDs. When started, this will start taking an on-demand snapshot of the selected VMs as per the SLA Policy assigned to the respective VMs.

Arguments

Argument Type Description
input (required) StartCreateAzureNativeVirtualMachineSnapshotsJobInput! Input for the job to create Azure Native Virtual Machine snapshots.

Returns

BatchAsyncJobStatus!

Sample

mutation StartCreateAzureNativeVirtualMachineSnapshotsJob($input: StartCreateAzureNativeVirtualMachineSnapshotsJobInput!) {
  startCreateAzureNativeVirtualMachineSnapshotsJob(input: $input)
}
{
  "input": {
    "virtualMachineRubrikIds": [
      "00000000-0000-0000-0000-000000000000"
    ]
  }
}
{
  "data": {
    "startCreateAzureNativeVirtualMachineSnapshotsJob": {
      "errors": [
        {
          "error": "example-string",
          "rubrikObjectId": "example-string"
        }
      ],
      "jobIds": [
        {
          "jobId": "example-string",
          "rubrikObjectId": "example-string"
        }
      ]
    }
  }
}