POST api/recommendations/cloudinstances

Gets a list of cloud instance recommendations for a given provider

Request Information

URI Parameters

None.

Body Parameters

RecommendationsRequest
NameDescriptionTypeAdditional information
ProjectId

integer

None.

Provider

string

None.

MatchType

string

None.

SummaryLevelID

integer

None.

SummaryDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "Provider": "sample string 2",
  "MatchType": "sample string 3",
  "SummaryLevelID": 1,
  "SummaryDate": "sample string 4"
}

application/xml, text/xml

Sample:
<RecommendationsController.RecommendationsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.API.Controllers">
  <MatchType>sample string 3</MatchType>
  <ProjectId>1</ProjectId>
  <Provider>sample string 2</Provider>
  <SummaryDate>sample string 4</SummaryDate>
  <SummaryLevelID>1</SummaryLevelID>
</RecommendationsController.RecommendationsRequest>

Response Information

Resource Description

A list of cloud instance recommendations or a 403 if the authorized user doesn't have access to the project.

Collection of Recommendation
NameDescriptionTypeAdditional information
EntityName

string

None.

SourceCPUCores

integer

None.

SourceMemoryGB

integer

None.

MatchType

string

None.

InstanceType

string

None.

CPUCores

integer

None.

MemoryGB

integer

None.

RegionCode

string

None.

Location

string

None.

LocationName

string

None.

OperatingSystem

string

None.

SKU

string

None.

EntityID

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EntityName": "sample string 1",
    "SourceCPUCores": 2,
    "SourceMemoryGB": 3,
    "MatchType": "sample string 4",
    "InstanceType": "sample string 5",
    "CPUCores": 6,
    "MemoryGB": 7,
    "RegionCode": "sample string 8",
    "Location": "sample string 9",
    "LocationName": "sample string 10",
    "OperatingSystem": "sample string 11",
    "SKU": "sample string 12",
    "EntityID": "sample string 13"
  },
  {
    "EntityName": "sample string 1",
    "SourceCPUCores": 2,
    "SourceMemoryGB": 3,
    "MatchType": "sample string 4",
    "InstanceType": "sample string 5",
    "CPUCores": 6,
    "MemoryGB": 7,
    "RegionCode": "sample string 8",
    "Location": "sample string 9",
    "LocationName": "sample string 10",
    "OperatingSystem": "sample string 11",
    "SKU": "sample string 12",
    "EntityID": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRecommendation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.CapacityPlanner.DAL.BusinessObjects.CloudMigration">
  <Recommendation>
    <CPUCores>6</CPUCores>
    <EntityID>sample string 13</EntityID>
    <EntityName>sample string 1</EntityName>
    <InstanceType>sample string 5</InstanceType>
    <Location>sample string 9</Location>
    <LocationName>sample string 10</LocationName>
    <MatchType>sample string 4</MatchType>
    <MemoryGB>7</MemoryGB>
    <OperatingSystem>sample string 11</OperatingSystem>
    <RegionCode>sample string 8</RegionCode>
    <SKU>sample string 12</SKU>
    <SourceCPUCores>2</SourceCPUCores>
    <SourceMemoryGB>3</SourceMemoryGB>
  </Recommendation>
  <Recommendation>
    <CPUCores>6</CPUCores>
    <EntityID>sample string 13</EntityID>
    <EntityName>sample string 1</EntityName>
    <InstanceType>sample string 5</InstanceType>
    <Location>sample string 9</Location>
    <LocationName>sample string 10</LocationName>
    <MatchType>sample string 4</MatchType>
    <MemoryGB>7</MemoryGB>
    <OperatingSystem>sample string 11</OperatingSystem>
    <RegionCode>sample string 8</RegionCode>
    <SKU>sample string 12</SKU>
    <SourceCPUCores>2</SourceCPUCores>
    <SourceMemoryGB>3</SourceMemoryGB>
  </Recommendation>
</ArrayOfRecommendation>