@@ -30,6 +30,9 @@ type Service interface {
3030 Validate (context.Context , string , string ) error
3131 Precheck (context.Context , string , []* compute.VirtualMachine ) (bool , error )
3232 RemoveIsoDisk (context.Context , string , string ) error
33+ GetHyperVVmId (context.Context , string , string ) (* compute.VirtualMachineHyperVVmId , error )
34+ GetHostNodeName (context.Context , string , string ) (* compute.VirtualMachineHostNodeName , error )
35+ GetHostNodeIpAddress (context.Context , string , string ) (* compute.VirtualMachineHostNodeIpAddress , error )
3336}
3437
3538type VirtualMachineClient struct {
@@ -396,3 +399,15 @@ func (c *VirtualMachineClient) Validate(ctx context.Context, group, name string)
396399func (c * VirtualMachineClient ) Precheck (ctx context.Context , group string , vms []* compute.VirtualMachine ) (bool , error ) {
397400 return c .internal .Precheck (ctx , group , vms )
398401}
402+
403+ func (c * VirtualMachineClient ) GetHyperVVmId (ctx context.Context , group string , name string ) (* compute.VirtualMachineHyperVVmId , error ) {
404+ return c .internal .GetHyperVVmId (ctx , group , name )
405+ }
406+
407+ func (c * VirtualMachineClient ) GetHostNodeName (ctx context.Context , group string , name string ) (* compute.VirtualMachineHostNodeName , error ) {
408+ return c .internal .GetHostNodeName (ctx , group , name )
409+ }
410+
411+ func (c * VirtualMachineClient ) GetHostNodeIpAddress (ctx context.Context , group string , name string ) (* compute.VirtualMachineHostNodeIpAddress , error ) {
412+ return c .internal .GetHostNodeIpAddress (ctx , group , name )
413+ }
0 commit comments