VMRoleInstanceView [SPFSDK][VMROLE]
Applies To: Windows Azure Pack
The VMRoleInstanceViewtype contains a ResourceDefinition member with various properties that are resolved by the ResourceConfiguration.ParameterValues property values. Additionally, the count of virtual machines and the virtual IPs that those virtual machines use are available.
"VMRoleInstanceView": {
"InstanceCount": "Integer",
"ResolvedResourceDefinition": { <ResourceDefinition> },
"VIPs": [ <VMRoleVIP> ]
}
Important |
|---|
For more information about the Access column, see Property Access [SPFSDK][VMROLE]. |
Name | Type | Access | Description |
|---|---|---|---|
InstanceCount | Integer | R | The count of virtual machines in this virtual machine role. |
ResolvedResourceDefinition | R | The ResourceDefinition template that the virtual machine role uses. All of the ResourceDefinition parameters will be filled in with their configured values. | |
VIPs | Array of VMRoleIP [SPFSDK][VMROLE] | R | Array of load-balanced network adapters that this virtual machine role uses. |
The following code example provides a sample VMRoleInstanceView type.
"VirtualMachineRoleInstance": {
"InstanceView": {
"InstanceCount": "1",
"ResolvedResourceDefinition": { ... },
"VIPs": []
}
}
