// *** 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.Vcd
{
    public static class GetIndependentDisk
    {
        public static Task<GetIndependentDiskResult> InvokeAsync(GetIndependentDiskArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetIndependentDiskResult>("vcd:index/getIndependentDisk:getIndependentDisk", args ?? new GetIndependentDiskArgs(), options.WithDefaults());

        public static Output<GetIndependentDiskResult> Invoke(GetIndependentDiskInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetIndependentDiskResult>("vcd:index/getIndependentDisk:getIndependentDisk", args ?? new GetIndependentDiskInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetIndependentDiskArgs : global::Pulumi.InvokeArgs
    {
        [Input("id")]
        public string? Id { get; set; }

        [Input("name")]
        public string? Name { get; set; }

        [Input("org")]
        public string? Org { get; set; }

        [Input("vdc")]
        public string? Vdc { get; set; }

        public GetIndependentDiskArgs()
        {
        }
        public static new GetIndependentDiskArgs Empty => new GetIndependentDiskArgs();
    }

    public sealed class GetIndependentDiskInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("id")]
        public Input<string>? Id { get; set; }

        [Input("name")]
        public Input<string>? Name { get; set; }

        [Input("org")]
        public Input<string>? Org { get; set; }

        [Input("vdc")]
        public Input<string>? Vdc { get; set; }

        public GetIndependentDiskInvokeArgs()
        {
        }
        public static new GetIndependentDiskInvokeArgs Empty => new GetIndependentDiskInvokeArgs();
    }


    [OutputType]
    public sealed class GetIndependentDiskResult
    {
        public readonly ImmutableArray<string> AttachedVmIds;
        public readonly string BusSubType;
        public readonly string BusType;
        public readonly string DatastoreName;
        public readonly string Description;
        public readonly bool Encrypted;
        public readonly string? Id;
        public readonly int Iops;
        public readonly bool IsAttached;
        public readonly ImmutableDictionary<string, object> Metadata;
        public readonly ImmutableArray<Outputs.GetIndependentDiskMetadataEntryResult> MetadataEntries;
        public readonly string? Name;
        public readonly string? Org;
        public readonly string OwnerName;
        public readonly string SharingType;
        public readonly int SizeInMb;
        public readonly string StorageProfile;
        public readonly string Uuid;
        public readonly string? Vdc;

        [OutputConstructor]
        private GetIndependentDiskResult(
            ImmutableArray<string> attachedVmIds,

            string busSubType,

            string busType,

            string datastoreName,

            string description,

            bool encrypted,

            string? id,

            int iops,

            bool isAttached,

            ImmutableDictionary<string, object> metadata,

            ImmutableArray<Outputs.GetIndependentDiskMetadataEntryResult> metadataEntries,

            string? name,

            string? org,

            string ownerName,

            string sharingType,

            int sizeInMb,

            string storageProfile,

            string uuid,

            string? vdc)
        {
            AttachedVmIds = attachedVmIds;
            BusSubType = busSubType;
            BusType = busType;
            DatastoreName = datastoreName;
            Description = description;
            Encrypted = encrypted;
            Id = id;
            Iops = iops;
            IsAttached = isAttached;
            Metadata = metadata;
            MetadataEntries = metadataEntries;
            Name = name;
            Org = org;
            OwnerName = ownerName;
            SharingType = sharingType;
            SizeInMb = sizeInMb;
            StorageProfile = storageProfile;
            Uuid = uuid;
            Vdc = vdc;
        }
    }
}
