/// <summary>
 /// Initializes a new instance of the PlatformImageParameters class.
 /// </summary>
 /// <param name="osDisk">Operating system used for this platform
 /// image.</param>
 /// <param name="dataDisks">Data disks used by the platform
 /// image.</param>
 /// <param name="details">Information about the image.</param>
 /// <param name="provisioningState">Provisioning status of the platform
 /// image. Possible values include: 'Creating', 'Failed', 'Succeeded',
 /// 'Canceled'</param>
 public PlatformImageParameters(OsDisk osDisk = default(OsDisk), IList <DataDisk> dataDisks = default(IList <DataDisk>), ImageDetails details = default(ImageDetails), ProvisioningState?provisioningState = default(ProvisioningState?))
 {
     OsDisk            = osDisk;
     DataDisks         = dataDisks;
     Details           = details;
     ProvisioningState = provisioningState;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the PlatformImage class.
 /// </summary>
 /// <param name="id">ID of the resource.</param>
 /// <param name="name">Name of the resource.</param>
 /// <param name="type">Type of Resource.</param>
 /// <param name="location">Location of the resource.</param>
 /// <param name="osDisk">Operating system used for this platform
 /// image.</param>
 /// <param name="dataDisks">Data disks used by the platform
 /// image.</param>
 /// <param name="details">Information about the image.</param>
 /// <param name="provisioningState">Provisioning status of the platform
 /// image. Possible values include: 'Creating', 'Failed', 'Succeeded',
 /// 'Canceled'</param>
 public PlatformImage(string id = default(string), string name = default(string), string type = default(string), string location = default(string), OsDisk osDisk = default(OsDisk), IList <DataDisk> dataDisks = default(IList <DataDisk>), ImageDetails details = default(ImageDetails), ProvisioningState?provisioningState = default(ProvisioningState?))
     : base(id, name, type, location)
 {
     OsDisk            = osDisk;
     DataDisks         = dataDisks;
     Details           = details;
     ProvisioningState = provisioningState;
     CustomInit();
 }