/// <summary> /// Initializes a new instance of the CustomImage class. /// </summary> public CustomImage(CustomImagePropertiesFromVm vm = default(CustomImagePropertiesFromVm), CustomImagePropertiesCustom vhd = default(CustomImagePropertiesCustom), string description = default(string), string author = default(string), DateTime?creationDate = default(DateTime?), string provisioningState = default(string), string uniqueIdentifier = default(string), string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Vm = vm; Vhd = vhd; Description = description; Author = author; CreationDate = creationDate; ProvisioningState = provisioningState; UniqueIdentifier = uniqueIdentifier; Id = id; Name = name; Type = type; Location = location; Tags = tags; }
/// <summary> /// Initializes a new instance of the CustomImage class. /// </summary> /// <param name="id">The identifier of the resource.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="location">The location of the resource.</param> /// <param name="tags">The tags of the resource.</param> /// <param name="vm">The virtual machine from which the image is to be /// created.</param> /// <param name="vhd">The VHD from which the image is to be /// created.</param> /// <param name="description">The description of the custom /// image.</param> /// <param name="author">The author of the custom image.</param> /// <param name="creationDate">The creation date of the custom /// image.</param> /// <param name="managedImageId">The Managed Image Id backing the /// custom image.</param> /// <param name="managedSnapshotId">The Managed Snapshot Id backing the /// custom image.</param> /// <param name="dataDiskStorageInfo">Storage information about the /// data disks present in the custom image</param> /// <param name="customImagePlan">Storage information about the plan /// related to this custom image</param> /// <param name="isPlanAuthorized">Whether or not the custom images /// underlying offer/plan has been enabled for programmatic /// deployment</param> /// <param name="provisioningState">The provisioning status of the /// resource.</param> /// <param name="uniqueIdentifier">The unique immutable identifier of a /// resource (Guid).</param> public CustomImage(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), CustomImagePropertiesFromVm vm = default(CustomImagePropertiesFromVm), CustomImagePropertiesCustom vhd = default(CustomImagePropertiesCustom), string description = default(string), string author = default(string), System.DateTime?creationDate = default(System.DateTime?), string managedImageId = default(string), string managedSnapshotId = default(string), IList <DataDiskStorageTypeInfo> dataDiskStorageInfo = default(IList <DataDiskStorageTypeInfo>), CustomImagePropertiesFromPlan customImagePlan = default(CustomImagePropertiesFromPlan), bool?isPlanAuthorized = default(bool?), string provisioningState = default(string), string uniqueIdentifier = default(string)) : base(id, name, type, location, tags) { Vm = vm; Vhd = vhd; Description = description; Author = author; CreationDate = creationDate; ManagedImageId = managedImageId; ManagedSnapshotId = managedSnapshotId; DataDiskStorageInfo = dataDiskStorageInfo; CustomImagePlan = customImagePlan; IsPlanAuthorized = isPlanAuthorized; ProvisioningState = provisioningState; UniqueIdentifier = uniqueIdentifier; CustomInit(); }