You can view the service versions and service version details. You can also use the CLI command to import services from vCloud Application Director 5.0 and 5.2 versions to the vCloud Application Director 6.0 appliance or between different vCloud Application Director 6.0 appliances.

Retrieves a paginated list of service versions.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/service-version?page=Page&page-size=PageSize

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/service-version?page=0&page-size=1
{
  "errors": false,
  "messageList": [],
  "count": 22,
  "results": [
    {
      "id": "202",
      "lockVersion": 1,
      "name": "MySQL",
      "description": "MySQL 5.0\MySQL is the most popular open-source database system.",
      "version": {
        "major": "5",
        "minor": "0",
        "micro": "0",
        "qualifier": ""
      },
      "properties": [
        {
          "propertyDefinition": {
            "id": "900",
            "lockVersion": 0,
            "name": null,
            "description": null,
            "key": "global_conf",
            "type": "CONTENT",
            "secure": false,
            "required": true
          },
          "value": "https://192.0.2.255:8443/darwin/conf/darwin_global.conf",
          "overrideable": false
        },
[…]
      ],
      "scripts": [
        {
          "id": "2",
          "lockVersion": 1,
          "lifecycleStage": "INSTALL",
          "scriptType": "Bash Script",
          "script": "#!/bin/bash\n# I[… cut script …]\n",
          "rebootAfter": false
        },
[…]
      ],
      "groupMembership": {
        "id": "402",
        "lockVersion": 1,
        "ownerGroupRef": {
          "uri": null,
          "id": "1",
          "name": "Default"
        }
      }
    }
  ]
}

Retrieves the service version details based on the provided identification.

All of the vCloud Application Director predefined user accounts and associated roles can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/service-version/ServiceVersionID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/service-version/297
{
  "errors": false,
  "messageList": [],
  "result": {
    "id": "297",
    "lockVersion": 1,
    "name": "Microsoft IIS with .Net Framework on W2K8R2",
    "description": "Install and enable IIS Server 7 and .Net Framework 3.5 on Windows Server 2008 R2.",
    "version": {
      "major": "1",
      "minor": "0",
      "micro": "0",
      "qualifier": ""
    },
    "properties": [
      {
        "propertyDefinition": {
          "id": "806",
          "lockVersion": 0,
          "name": null,
          "description": null,
          "key": "Install_Path",
          "type": "COMPUTED",
          "secure": false,
          "required": false
        },
        "value": "",
        "overrideable": false
      }
    ],
    "scripts": [
      {
        "id": "109",
        "lockVersion": 1,
        "lifecycleStage": "INSTALL",
        "scriptType": "Windows Powershell Script",
        "script": "import-module Servermanager\nAdd-WindowsFeature Net-Framework\nAdd-WindowsFeature web-asp-net\nAdd-WindowsFeature Web-Static-Content\nAdd-WindowsFeature as-http-activation\nAdd-WindowsFeature web-mgmt-tools\n#Set Install Path to the default install path (for monitoring)\n$Install_Path=\"${env:SYSTEMROOT}\\System32\"\necho \"Install_Path is set to $Install_Path, please modify this script if the install path is not correct.\"\n",
        "rebootAfter": false
      }
    ],
    "groupMembership": {
      "id": "433",
      "lockVersion": 1,
      "ownerGroupRef": {
        "uri": null,
        "id": "1",
        "name": "Default"
      }
    }
  }
}