Skip to main content

import_jobs_controller_importjobs

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

Overview

Nameimport_jobs_controller_importjobs
TypeResource
Idazure.migrate.import_jobs_controller_importjobs

Fields

NameDatatypeDescription
idtextGets or sets the relative ARM name to get job.
nametextGets or sets the Job ID.
blob_creation_time_stamptextfield from the properties object
blob_nametextfield from the properties object
blob_sas_uritextfield from the properties object
display_nametextfield from the properties object
end_timetextfield from the properties object
error_summarytextfield from the properties object
jobNametextfield from the properties object
job_resulttextfield from the properties object
number_of_machines_importedtextfield from the properties object
resourceGroupNametextfield from the properties object
siteNametextfield from the properties object
start_timetextfield from the properties object
statustextGets or sets the Job status.
subscriptionIdtextfield from the properties object
typetextHandled by resource provider. Type =
Microsoft.OffAzure/ImportSites/jobs/importJobs.

Methods

NameAccessible byRequired ParamsDescription
getSELECTjobName, resourceGroupName, siteName, subscriptionIdGets the import job with the given job name.
listSELECTresourceGroupName, siteName, subscriptionIdMethod to get all import machines job for the given site.

SELECT examples

Method to get all import machines job for the given site.

SELECT
id,
name,
blob_creation_time_stamp,
blob_name,
blob_sas_uri,
display_name,
end_time,
error_summary,
jobName,
job_result,
number_of_machines_imported,
resourceGroupName,
siteName,
start_time,
status,
subscriptionId,
type
FROM azure.migrate.vw_import_jobs_controller_importjobs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND siteName = '{{ siteName }}'
AND subscriptionId = '{{ subscriptionId }}';