Added RoleInstance entity to vmClient
Added RoleInstance entity to vmClient
This commit is contained in:
Родитель
4f1c2edd4e
Коммит
116b91749e
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче