Added RoleInstance entity to vmClient

Added RoleInstance entity to vmClient
This commit is contained in:
Ruslan Gabitov 2014-10-02 17:04:36 -07:00
Родитель 4f1c2edd4e
Коммит 116b91749e
1 изменённых файлов: 21 добавлений и 8 удалений

Просмотреть файл

@ -5,14 +5,15 @@ import (
)
type VMDeployment struct {
XMLName xml.Name `xml:"Deployment"`
Xmlns string `xml:"xmlns,attr"`
Name string
DeploymentSlot string
Status string `xml:",omitempty"`
Label string
Url string `xml:",omitempty"`
RoleList RoleList
XMLName xml.Name `xml:"Deployment"`
Xmlns string `xml:"xmlns,attr"`
Name string
DeploymentSlot string
Status string `xml:",omitempty"`
Label string
Url string `xml:",omitempty"`
RoleList RoleList
RoleInstanceList RoleInstanceList `xml:",omitempty"`
}
type HostedServiceDeployment struct {
@ -28,6 +29,18 @@ type RoleList struct {
Role []*Role
}
type RoleInstanceList struct {
RoleInstance []*RoleInstance
}
type RoleInstance struct {
RoleName string
InstanceName string
InstanceStatus string
InstanceSize string
PowerState string
}
type Role struct {
RoleName string
RoleType string