// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// 
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.DevTestLabs.Models
{
    using System;
    using System.Linq;
    using System.Collections.Generic;
    using Newtonsoft.Json;
    using Microsoft.Rest;
    using Microsoft.Rest.Serialization;
    using Microsoft.Rest.Azure;

    /// <summary>
    /// A data disks attached to a virtual machine.
    /// </summary>
    public partial class ComputeDataDisk
    {
        /// <summary>
        /// Initializes a new instance of the ComputeDataDisk class.
        /// </summary>
        public ComputeDataDisk() { }

        /// <summary>
        /// Initializes a new instance of the ComputeDataDisk class.
        /// </summary>
        public ComputeDataDisk(string name = default(string), string diskUri = default(string), string managedDiskId = default(string), int? diskSizeGiB = default(int?))
        {
            Name = name;
            DiskUri = diskUri;
            ManagedDiskId = managedDiskId;
            DiskSizeGiB = diskSizeGiB;
        }

        /// <summary>
        /// Gets data disk name.
        /// </summary>
        [JsonProperty(PropertyName = "name")]
        public string Name { get; set; }

        /// <summary>
        /// When backed by a blob, the URI of underlying blob.
        /// </summary>
        [JsonProperty(PropertyName = "diskUri")]
        public string DiskUri { get; set; }

        /// <summary>
        /// When backed by managed disk, this is the ID of the compute disk
        /// resource.
        /// </summary>
        [JsonProperty(PropertyName = "managedDiskId")]
        public string ManagedDiskId { get; set; }

        /// <summary>
        /// Gets data disk size in GiB.
        /// </summary>
        [JsonProperty(PropertyName = "diskSizeGiB")]
        public int? DiskSizeGiB { get; set; }

    }
}
