POST ComputeResources/Discover/Information

Discover information about a compute resource prior to adding it to the system.

Note: The verb is POST rather than GET so that the credentials are passed securely in the message body rather than in the query string.

Request Information

Parameters

NameDescriptionAdditional information
clusterFullPath

Optional; the path the compute resource cluster to discover information about.

Type: String

Request body type

DiscoverComputeResourceInformationModel

Request body formats

application/json, text/json

Sample:
{
  "ComputeResourceType": "HyperV",
  "Address": "https://10.1.1.10",
  "UserNameOrApiKey": "DOMAIN\\scvmm",
  "PasswordBase64OrSecretKey": "cGFzc3dvcmQ="
}

Response Information

Information about the compute resource.

Response type

ComputeResourceInformationModel

Response body formats

application/json, text/json

Sample:
{
  "Href": "[api:ComputeResources/Discover/Information]",
  "ServiceOfferings": [
    {
      "Name": "Small instance",
      "VCpus": 1,
      "MemoryMB": 512
    },
    {
      "Name": "Medium instance",
      "VCpus": 2,
      "MemoryMB": 1024
    }
  ],
  "HypervisorsInPool": [
    "10.1.1.10",
    "10.1.1.11"
  ],
  "StoragePools": [
    {
      "Name": "storage1",
      "Type": "Shared"
    },
    {
      "Name": "storage2",
      "Type": "Shared"
    }
  ],
  "Networks": [
    {
      "Name": "network1"
    },
    {
      "Name": "network2"
    }
  ]
}