SCVMM,Service Provider Fundation,Windows Azure Pack RRS feed

  • Question

  • Sorry for my poor English!

    I need to build a portal for user to create VM through SCVMM 2012 R2。I try to use Service Provider Foundation to achieve my goal. Here are some example :https://msdn.microsoft.com/en-us/library/jj643294.aspx

    below is a demo to get vms.

    SpfVMM.VMM vmmService = new SpfVMM.VMM(

    new Uri("https://wapserver:30006/97FD50F3-1DC0-41B6-A7C0-2B4FF4C3F7E3/services/systemcenter/vmm/")); Guid stampId = new Guid("62107714-182b-4f90-a3d1-97f5c6fd084e");
    List<SpfVMM.VirtualMachine> virtualMachines;

    virtualMachines = vmmService.VirtualMachines.Where(v => v.StampId == stampId).ToList(); // - or - virtualMachines = (from v in vmmService.VirtualMachines where v.StampId == stampId select v).ToList();

    But I found https://wapserver:30006 is Uri of Windows Azure Pack Tenat API。I need some parma like subscription ID
    .I'm not going to install windows azure pack.

    can you give me some suggestion?


    Friday, August 4, 2017 8:48 AM