Skip to main content

import_jobs_controller_importjobs

Creates, updates, deletes, gets or lists an import_jobs_controller_importjobs resource.

Overview

Nameimport_jobs_controller_importjobs
TypeResource
Idazure.migrate.import_jobs_controller_importjobs

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
idstringGets or sets the relative ARM name to get job.
namestringGets or sets the Job ID.
displayNamestringGets or sets the Display name.
endTimestringGets or sets the Job end time.
propertiesobjectGets or sets the import job properties.
startTimestringGets or sets the Job start time.
statusstringGets or sets the Job status.
typestringHandled by resource provider. Type = Microsoft.OffAzure/ImportSites/jobs/importJobs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, siteName, jobNameGets the import job with the given job name.
listselectsubscriptionId, resourceGroupName, siteNameMethod to get all import machines job for the given site.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
jobNamestringJob Arm Name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
siteNamestringSite name
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the import job with the given job name.

SELECT
id,
name,
displayName,
endTime,
properties,
startTime,
status,
type
FROM azure.migrate.import_jobs_controller_importjobs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND siteName = '{{ siteName }}' -- required
AND jobName = '{{ jobName }}' -- required
;