Import cloud resources for a tenant

Creates a single long-running parent job that orchestrates subscription-level import jobs.
The parent job discovers subscriptions, dispatches child import jobs (one per subscription),
aggregates progress, and determines overall success/failure.

Two modes are supported:

  1. Import All: Set importAll: true to discover all subscriptions and import all resources
  2. Selective Import: Provide specific subscriptions and resource IDs to import

Selective imports default to reconcile behavior: subscriptions and resources omitted from the request
are soft-deleted. Set importMode to Additive for host-pool-only imports that must preserve
all existing managed resources.

When importing, CloudSubscription records are automatically created for Azure subscriptions
that don't exist yet in the system. These subscriptions are linked to the tenant and use
the tenant's default credentials.

Path Params
uuid
required

The unique tenant identifier.

Body Params

The import request specifying what to import.

Request model for importing cloud resources at the tenant level.
Supports two modes:

  1. Import ALL resources from ALL subscriptions under the tenant (importAll = true)
  2. Import specific resources grouped by subscription (subscriptions collection)

boolean

Whether to import ALL resources from ALL subscriptions under the tenant.
When true, the system will:

  1. Discover all Azure subscriptions accessible with tenant credentials
  2. Create CloudSubscription records for any that don't exist
  3. Import all resources (HostPools, Images, etc.) from each subscription
    When false, only resources specified in the Subscriptions collection will be imported.
string
enum
Allowed:
subscriptions
array of objects | null

Subscriptions and their resources to import (used when ImportAll is false).
Each item specifies an Azure subscription and the resources to import from it.

subscriptions
Responses

500

Internal server error.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json