Get Policy Details
Select
SaaS
Customer Managed
VM Life cycle management policy details
Path Parameters
- policyId integer required
Target ID
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
entity object
accessNode object
vmDisplayName object
- vmStoragePolicyName string
Name of Storage policy linked with the vm
securityOptions object
destinationOptions object
networkOptions object
provisioningOptions object
cloudDestinationOptions object
isoInfo object[]
zone object
associatedClientGroup object
liveMountOptions object
virtualLabOptions object
{
"entity": {
"id": 0,
"name": "string",
"policyType": "string",
"applicationType": "REPLICATION",
"destinationHypervisor": {
"id": 0,
"name": "string"
}
},
"accessNode": {
"id": 0,
"name": "string",
"type": "string"
},
"vmDisplayName": {
"prefix": "string",
"suffix": "string"
},
"vmStoragePolicyName": "string",
"securityOptions": {
"users": [
{
"id": 0,
"name": "string",
"fullName": "string"
}
],
"userGroups": [
{
"id": 0,
"name": "string"
}
],
"securityGroups": [
{
"id": "string",
"name": "string"
}
],
"testSecurityGroups": [
{
"id": "string",
"name": "string"
}
]
},
"destinationOptions": {
"destinationHost": "string",
"dataStore": "string",
"dataStoreClusterName": "string",
"resourcePoolPath": "string",
"vmFolder": "string",
"iamRole": {
"id": 0,
"name": "string"
}
},
"networkOptions": {
"networkCard": {
"networkDisplayName": "string",
"network": "string",
"subnetId": "string",
"networkId": "string",
"destinationNetworks": [
"string"
],
"networkNames": [
"string"
]
},
"cloudNetwork": {
"label": "string",
"networkName": "string",
"subnetNames": {
"name": "string",
"value": "string"
}
}
},
"provisioningOptions": {
"maximumCPUCores": 0,
"numberOfVMs": 0,
"minimumMemory": "string",
"maximumMemory": "string",
"minDiskSpace": 0,
"maxDiskSpace": 0,
"maxDisks": 0,
"namingPattern": "string",
"maxVMQuota": 0,
"createdVMCount": 0,
"maxMemoryQuotaGB": 0,
"usedMemoryInGB": 0,
"maxCPUQuota": 0,
"usedCPUCores": 0,
"daysRetainUntil": 0,
"minNICs": 0,
"isoPaths": [
"string"
],
"maxNICs": 0,
"enableBackup": true,
"allowPublicIP": true,
"instanceDetails": {
"iopsLimit": 0,
"vmSize": [
{
"id": 0,
"name": "string"
}
]
},
"templates": [
{
"vmName": "string",
"vmGUID": "string",
"operatingSystem": "WINDOWS",
"operatingSystemDisplayName": "string",
"hardDisks": {
"name": "string",
"snapshotId": "string",
"provisioningType": "THIN",
"diskSize": 0,
"diskType": "ISCSI",
"diskId": "string"
}
}
],
"networkInfo": [
{
"name": "string",
"subnet": [
"string"
]
}
]
},
"cloudDestinationOptions": {
"region": {
"id": "string",
"name": "string"
},
"keyPair": "string",
"restoreAsManagedVM": true,
"machineType": {
"id": 0,
"name": "string"
},
"soleTenancyNodes": [
{
"name": "string",
"value": "string"
}
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"availabilityZone": "string",
"vmInstanceType": "string",
"encryptionKey": {
"id": 0,
"name": "string"
},
"volumeType": "string",
"testDiskType": "string",
"instanceTypes": [
"string"
],
"publicIP": true
},
"isoInfo": [
{
"isoPath": "string",
"osType": "UNIX"
}
],
"zone": {
"primaryZoneName": "string",
"secondaryZoneName": "string"
},
"associatedClientGroup": {
"id": 0,
"name": "string"
},
"liveMountOptions": {
"mediaAgent": {
"id": 0,
"name": "string"
},
"isLiveMountEnabled": true,
"migrateVMs": true,
"expirationTime": {
"minutesRetainUntil": "string",
"daysRetainUntil": "string"
},
"publicIP": false
},
"virtualLabOptions": {
"externalNetwork": "string",
"gatewayTemplate": "string",
"gatewayNetwork": "string",
"configureIsolatedNetwork": true,
"ipSettings": [
{
"networkName": "string",
"ipAddressRange": "string",
"subnetMask": "string",
"defaultGatewayIP": "string"
}
]
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
GET /v4/vmprovisioning/policy/:policyid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/VMProvisioning/Policy/:policyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'