Added VM object to registerVM response

This commit is contained in:
Dhaval Popat 2023-07-13 13:30:01 -07:00
Родитель 892b53435b
Коммит 0080cc235a
2 изменённых файлов: 63 добавлений и 54 удалений

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

@ -295,7 +295,8 @@ func (m *RegisterVirtualMachineInstanceView) GetError() string {
}
type RegisterVirtualMachineResponse struct {
InstanceView *RegisterVirtualMachineInstanceView `protobuf:"bytes,1,opt,name=InstanceView,proto3" json:"InstanceView,omitempty"`
VirtualMachine *VirtualMachine `protobuf:"bytes,1,opt,name=VirtualMachine,proto3" json:"VirtualMachine,omitempty"`
InstanceView *RegisterVirtualMachineInstanceView `protobuf:"bytes,2,opt,name=InstanceView,proto3" json:"InstanceView,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -326,6 +327,13 @@ func (m *RegisterVirtualMachineResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_RegisterVirtualMachineResponse proto.InternalMessageInfo
func (m *RegisterVirtualMachineResponse) GetVirtualMachine() *VirtualMachine {
if m != nil {
return m.VirtualMachine
}
return nil
}
func (m *RegisterVirtualMachineResponse) GetInstanceView() *RegisterVirtualMachineInstanceView {
if m != nil {
return m.InstanceView
@ -587,58 +595,58 @@ func init() {
}
var fileDescriptor_1e2b9c6e6135d476 = []byte{
// 807 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0xeb, 0x44,
0x10, 0xaf, 0xdd, 0x34, 0x22, 0x13, 0x54, 0xd1, 0x05, 0x05, 0x37, 0xd0, 0x36, 0x32, 0x45, 0x4a,
0x01, 0x39, 0x90, 0x4a, 0xfc, 0x13, 0x42, 0x6a, 0xd3, 0x3f, 0xf4, 0x50, 0x5a, 0x6d, 0xab, 0x1e,
0x10, 0x52, 0x71, 0x9c, 0x8d, 0xb3, 0x22, 0xde, 0x35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0xea,
0x95, 0x06, 0x30, 0x12, 0x7c, 0x16, 0x8e, 0x39, 0xf7, 0x74, 0x16, 0x8e, 0x79, 0xc3, 0x69, 0x2e,
0xa0, 0x47, 0xb0, 0xd2, 0xea, 0x11, 0xe7, 0xf9, 0xe3, 0xd4, 0xc7, 0x14, 0xaa, 0x4c, 0xbc, 0x53,
0xf7, 0xa3, 0x8f, 0xbb, 0xea, 0xaa, 0x2a, 0x95, 0x76, 0x1d, 0x65, 0xda, 0xdd, 0x7e, 0xf2, 0x97,
0x4b, 0x65, 0x2f, 0x6c, 0x47, 0xe5, 0x1b, 0x1e, 0x75, 0x04, 0x0f, 0x78, 0x57, 0x36, 0x3c, 0xee,
0x34, 0x84, 0xef, 0x34, 0xd2, 0x08, 0x1b, 0x09, 0xc2, 0x76, 0x51, 0x55, 0xd8, 0xfe, 0x1c, 0x00,
0x00, 0xff, 0xff, 0x1e, 0xcb, 0x1c, 0x69, 0x8f, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

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

@ -41,7 +41,8 @@ message RegisterVirtualMachineInstanceView {
}
message RegisterVirtualMachineResponse {
RegisterVirtualMachineInstanceView InstanceView = 1;
VirtualMachine VirtualMachine = 1;
RegisterVirtualMachineInstanceView InstanceView = 2;
}
message DeregisterVirtualMachineRequest {