// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Yandex.Outputs
{

    [OutputType]
    public sealed class GetComputeInstanceBootDiskResult
    {
        /// <summary>
        /// Specifies whether the disk is auto-deleted when the instance is deleted.
        /// </summary>
        public readonly bool AutoDelete;
        /// <summary>
        /// Name of the device.
        /// </summary>
        public readonly string DeviceName;
        /// <summary>
        /// ID of the disk that is attached to the instance.
        /// </summary>
        public readonly string DiskId;
        /// <summary>
        /// Parameters used for creating a disk alongside the instance. The structure is documented below.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetComputeInstanceBootDiskInitializeParamResult> InitializeParams;
        /// <summary>
        /// Access to the Disk resource. By default, a disk is attached in `READ_WRITE` mode.
        /// </summary>
        public readonly string Mode;

        [OutputConstructor]
        private GetComputeInstanceBootDiskResult(
            bool autoDelete,

            string deviceName,

            string diskId,

            ImmutableArray<Outputs.GetComputeInstanceBootDiskInitializeParamResult> initializeParams,

            string mode)
        {
            AutoDelete = autoDelete;
            DeviceName = deviceName;
            DiskId = diskId;
            InitializeParams = initializeParams;
            Mode = mode;
        }
    }
}
