<reponame>lbrlabs/pulumi-ovh// *** 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;
using Pulumi;

namespace Lbrlabs.PulumiPackage.Ovh.CloudProjectDatabase
{
    public static class GetCapabilities
    {
        /// <summary>
        /// Use this data source to get information about capabilities of a public cloud project.
        /// </summary>
        public static Task<GetCapabilitiesResult> InvokeAsync(GetCapabilitiesArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetCapabilitiesResult>("ovh:CloudProjectDatabase/getCapabilities:getCapabilities", args ?? new GetCapabilitiesArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to get information about capabilities of a public cloud project.
        /// </summary>
        public static Output<GetCapabilitiesResult> Invoke(GetCapabilitiesInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetCapabilitiesResult>("ovh:CloudProjectDatabase/getCapabilities:getCapabilities", args ?? new GetCapabilitiesInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetCapabilitiesArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The id of the public cloud project. If omitted,
        /// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
        /// </summary>
        [Input("serviceName", required: true)]
        public string ServiceName { get; set; } = null!;

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

    public sealed class GetCapabilitiesInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The id of the public cloud project. If omitted,
        /// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
        /// </summary>
        [Input("serviceName", required: true)]
        public Input<string> ServiceName { get; set; } = null!;

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


    [OutputType]
    public sealed class GetCapabilitiesResult
    {
        /// <summary>
        /// Database engines available.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetCapabilitiesEngineResult> Engines;
        /// <summary>
        /// Flavors available.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetCapabilitiesFlavorResult> Flavors;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Options available.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetCapabilitiesOptionResult> Options;
        /// <summary>
        /// Plans available.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetCapabilitiesPlanResult> Plans;
        /// <summary>
        /// See Argument Reference above.
        /// </summary>
        public readonly string ServiceName;

        [OutputConstructor]
        private GetCapabilitiesResult(
            ImmutableArray<Outputs.GetCapabilitiesEngineResult> engines,

            ImmutableArray<Outputs.GetCapabilitiesFlavorResult> flavors,

            string id,

            ImmutableArray<Outputs.GetCapabilitiesOptionResult> options,

            ImmutableArray<Outputs.GetCapabilitiesPlanResult> plans,

            string serviceName)
        {
            Engines = engines;
            Flavors = flavors;
            Id = id;
            Options = options;
            Plans = plans;
            ServiceName = serviceName;
        }
    }
}
