CollectionResultModel<ComputeResourceModel>
A collection of items.
Properties
| Name | Description | Additional information |
|---|---|---|
| Href | See Hypermedia. |
Type: String |
| RelatedActions | See Hypermedia. |
Type: Array of RelationModel |
| Count | Number of items in the returned collection. See Object Counts. |
Type: Number |
| TotalMatchingFilter | The total number of items that matched the specified filter. This may be larger than the number of items returned, if the caller specified "take" and/or "skip" parameters. See Object Counts. |
Type: Number |
| Items | The items. |
Type: Array of ComputeResourceModel |
Sample
application/json
Sample:
{
"Count": 1,
"TotalMatchingFilter": 1,
"Items": [
{
"Href": "[api:ComputeResources(ab32f043-4682-4953-8dea-a0489b839f80)]",
"Id": "ab32f043-4682-4953-8dea-a0489b839f80",
"ChangeId": "4",
"Name": "SCVMM",
"ShortName": "SCVMM",
"Description": "My SCVMM cluster",
"DeleteState": "NotDeleted",
"ComputeResourceAllocationState": "Allocated",
"ComputeResourceType": "HyperV",
"Address": "https://10.1.1.10",
"UserNameOrApiKey": "DOMAIN\\scvmm",
"Cluster": {
"Href": "[api:ComputeResources(ab32f043-4682-4953-8dea-a0489b839f80)/ClusterTree",
"Name": "ClusterRoot",
"FullPath": "/ClusterRoot",
"CanBeProvisioningTarget": true,
"Children": [
{
"Name": "Cluster1",
"FullPath": "/ClusterRoot/Cluster1",
"CanBeProvisioningTarget": true
},
{
"Name": "Cluster2",
"FullPath": "/ClusterRoot/Cluster2",
"CanBeProvisioningTarget": true
}
]
},
"UseLocalStorage": true,
"PersonalVDiskStorage": [
"PVD Storage"
],
"Tenant": {
"Href": "[api:Tenants(91ade655-feb5-47d3-9585-a5827ad50132)]",
"Name": "Tenant 1",
"Id": "91ade655-feb5-47d3-9585-a5827ad50132"
},
"DataCenter": {
"Href": "[api:DataCenters(af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a)]",
"Name": "datacenter1",
"Id": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a"
},
"MaxVirtualMachinesToProvision": 100,
"NumVirtualMachinesProvisioned": 5,
"IsEnabled": true,
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}
]
}