/// <summary>
 /// Initializes a new instance of the VirtualMachineHealthStatus class.
 /// </summary>
 /// <param name="status">The health status information for the
 /// VM.</param>
 public VirtualMachineHealthStatus(InstanceViewStatus status = default(InstanceViewStatus))
 {
     Status = status;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineExtensionHandlerInstanceView class.
 /// </summary>
 /// <param name="type">Specifies the type of the extension; an example
 /// is "CustomScriptExtension".</param>
 /// <param name="typeHandlerVersion">Specifies the version of the
 /// script handler.</param>
 /// <param name="status">The extension handler status.</param>
 public VirtualMachineExtensionHandlerInstanceView(string type = default(string), string typeHandlerVersion = default(string), InstanceViewStatus status = default(InstanceViewStatus))
 {
     Type = type;
     TypeHandlerVersion = typeHandlerVersion;
     Status             = status;
     CustomInit();
 }