PUT StoreFrontServers({id})

Update a StoreFront server.

Request Information

Parameters

NameDescriptionAdditional information
id

ID of the StoreFront server to update.

Type: String

changeId

See Optimistic Concurrency.

Type: String

Request body type

UpdateStoreFrontServerModel

Request body formats

application/json, text/json

Sample:
{
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ]
}

Response Information

Updated StoreFront server.

Response type

StoreFrontServerModel

Response body formats

application/json, text/json

Sample:
{
  "Href": "[api:StoreFrontServers(c1b9add5-480e-42c8-844c-de9b9e62a5a5)]",
  "Id": "c1b9add5-480e-42c8-844c-de9b9e62a5a5",
  "ChangeId": "9",
  "Name": "server1",
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ],
  "DeleteState": "NotDeleted",
  "State": "Allocated",
  "CPUs": 2,
  "MemoryMB": 4096,
  "OSName": "Windows Server 2008 R2",
  "OSVersion": "Service Pack 1",
  "StoreFrontServerGroup": {
    "Href": "[api:StoreFrontServerGroups(590b3e81-5528-40cf-b13d-690ee2477c5a)]",
    "Name": "servergroup1",
    "Id": "590b3e81-5528-40cf-b13d-690ee2477c5a"
  },
  "MachineDetail": {
    "Href": "[api:MachineDetails(bff69e21-c280-488b-ad9e-74b674ffb7c9)]",
    "Name": "machine1",
    "Id": "bff69e21-c280-488b-ad9e-74b674ffb7c9"
  }
}