Import VM From File Share
Request
URI
POST
https://{api_host}/dt-rest/v100/infrastructure/manager/importvmfromfileshare
COPY
Request Body
DtImportVMConfigImpl
of type(s)
application/json
Optional
{
"id": "string",
"desktopManagerId": "string",
"fileShareId": "string",
"relativePath": "string",
"vmName": "string",
"vmDescription": "string",
"networkId": "string",
"desktopModelId": "string",
"customCPU": 0,
"customMemory": 0,
"location": "string",
"DtLink": [
{
"href": "string",
"rel": "string",
"deprecated": false,
"name": "string",
"method": "string"
}
]
}
Responses
200
Returns
DtPoolTask
of type(s)
*/*
"DtPoolTask Object"
string
type
Optional
type
string
agentVersion
Optional
agentVersion
string
vmName
Optional
vmName
string
status
Optional
status
Possible values are :
OTHER,
RUNNING,
SUCCESSFUL,
FAILED,
QUEUED,
CANCELLING,
CANCELLED,
PARTIAL_SUCCESSFUL,
object
pattern
Optional
pattern
string
desktopPoolId
Optional
desktopPoolId
string
statusDescription
Optional
statusDescription
integer As int32
As int32
percentageComplete
Optional
percentageComplete
string
agentDisplayName
Optional
agentDisplayName
string As date-time
As date-time
startDate
Optional
startDate
object
pool
Optional
pool
array of
object
taskHistory
Optional
taskHistory
boolean
cancellable
Optional
cancellable
array of
string
taskPatternsOrVmIds
Optional
taskPatternsOrVmIds
boolean
hasChildTasks
Optional
hasChildTasks
string
createdBy
Optional
createdBy
string
assignmentType
Optional
assignmentType
string
id
Optional
id
array of
object
links
Optional
links
202
Returns
DtPoolTask
of type(s)
*/*
"DtPoolTask Object"
string
type
Optional
type
string
agentVersion
Optional
agentVersion
string
vmName
Optional
vmName
string
status
Optional
status
Possible values are :
OTHER,
RUNNING,
SUCCESSFUL,
FAILED,
QUEUED,
CANCELLING,
CANCELLED,
PARTIAL_SUCCESSFUL,
object
pattern
Optional
pattern
string
desktopPoolId
Optional
desktopPoolId
string
statusDescription
Optional
statusDescription
integer As int32
As int32
percentageComplete
Optional
percentageComplete
string
agentDisplayName
Optional
agentDisplayName
string As date-time
As date-time
startDate
Optional
startDate
object
pool
Optional
pool
array of
object
taskHistory
Optional
taskHistory
boolean
cancellable
Optional
cancellable
array of
string
taskPatternsOrVmIds
Optional
taskPatternsOrVmIds
boolean
hasChildTasks
Optional
hasChildTasks
string
createdBy
Optional
createdBy
string
assignmentType
Optional
assignmentType
string
id
Optional
id
array of
object
links
Optional
links
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/dt-rest/v100/infrastructure/manager/importvmfromfileshare
Dt Infrastructure Manager Operations
GET
Get Supported Links
PUT
Create Account Credential
POST
Set Appliance Template
POST
Assign Host Manager To Element
PUT
Assign Network To Desktop Manager
POST
Assign Storage Config To Element
POST
Assign Vmgr To Desktop Manager
PUT
Associate D Cto Vmgr
GET
Check Slony
POST
Create Data Center
POST
Create Desktop Model Definition
POST
Create Desktop Model
POST
Create Network
POST
Create Nginx Config For All Desktop Purpose H Mgrs
POST
Create Reservation For Appliances
POST
Create Standard Capacity
POST
Create Storage Config
POST
Create Or Update Desktop Manager DM Quota
POST
Create Or Update Remote Protocol Quota
POST
Create Or Update Session Quota
POST
Create Or Update Template Quota
GET
Get Data Centers
GET
Get Desktop Model Definitions
GET
Get Desktop Models For Std Capacity
POST
Discover Hypervisor Manager
POST
Discover Hypervisor Manager By Address With Cert Validation
Deprecated
POST
Discover New Storage System
POST
Discover Hypervisor Manager With Cert Validation
Deprecated
POST
Discover Storage System
Deprecated
GET
Enabled Desktop Model Definitions
GET
Get Enabled Standard Capacities
GET
Generate Public Key
GET
Get Data Stores By DC And Element Id
POST
Get Import Vm Specifications
POST
Save Resource Credentials For Cluster
GET
Get Hypervisor Managers
POST
Import VM From File Share
GET
Get Desktop Models
POST
Refresh Dynamic Pool
GET
Get Desktop Model Quotas
POST
Purge Recycle Pool
POST
Remove Storage Config
POST
Remove Storage System
GET
Retrieve All Storage Configs
GET
Retrieve All Storage Systems
GET
Retrieve All Remote Protocol Quotas
GET
Retrieve Session Quota For Tenant
GET
Retrieve Storage Configs For Storage System
GET
Retrieve Template Quota For Tenant
POST
Scan For Hot Patch
GET
Get Tenant Desktop Managers
GET
Get Tenant Desktop Managers By Data Center
GET
Retrieve Internal Tenant Networks
GET
Get Tenant Networks
POST
Unassign Host Manager From Element
PUT
Unassign Network From Desktop Manager
POST
Unassign Storage Config From Element
POST
Unassign Vmgr From Desktop Manager
PUT
Update Assign Compute Pool To SP
GET
Get VGPU Profiles
GET
Get Virtual Machine
GET
Get Virtual Machines