<reponame>kitzin/pulumi-vcd// *** 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 GetVmSizingPolicy
    {
        public static Task<GetVmSizingPolicyResult> InvokeAsync(GetVmSizingPolicyArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetVmSizingPolicyResult>("vcd:index/getVmSizingPolicy:getVmSizingPolicy", args ?? new GetVmSizingPolicyArgs(), options.WithDefaults());

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


    public sealed class GetVmSizingPolicyArgs : global::Pulumi.InvokeArgs
    {
        [Input("name", required: true)]
        public string Name { get; set; } = null!;

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

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

    public sealed class GetVmSizingPolicyInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("name", required: true)]
        public Input<string> Name { get; set; } = null!;

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

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


    [OutputType]
    public sealed class GetVmSizingPolicyResult
    {
        public readonly ImmutableArray<Outputs.GetVmSizingPolicyCpusResult> Cpus;
        public readonly string Description;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetVmSizingPolicyMemoryResult> Memories;
        public readonly string Name;
        public readonly string? Org;

        [OutputConstructor]
        private GetVmSizingPolicyResult(
            ImmutableArray<Outputs.GetVmSizingPolicyCpusResult> cpus,

            string description,

            string id,

            ImmutableArray<Outputs.GetVmSizingPolicyMemoryResult> memories,

            string name,

            string? org)
        {
            Cpus = cpus;
            Description = description;
            Id = id;
            Memories = memories;
            Name = name;
            Org = org;
        }
    }
}
