<reponame>kitzin/pulumi-vcd<filename>sdk/dotnet/GetRightsBundle.cs<gh_stars>0// *** 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 GetRightsBundle
    {
        public static Task<GetRightsBundleResult> InvokeAsync(GetRightsBundleArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetRightsBundleResult>("vcd:index/getRightsBundle:getRightsBundle", args ?? new GetRightsBundleArgs(), options.WithDefaults());

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


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

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

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

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


    [OutputType]
    public sealed class GetRightsBundleResult
    {
        public readonly string BundleKey;
        public readonly string Description;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string Name;
        public readonly bool PublishToAllTenants;
        public readonly bool ReadOnly;
        public readonly ImmutableArray<string> Rights;
        public readonly ImmutableArray<string> Tenants;

        [OutputConstructor]
        private GetRightsBundleResult(
            string bundleKey,

            string description,

            string id,

            string name,

            bool publishToAllTenants,

            bool readOnly,

            ImmutableArray<string> rights,

            ImmutableArray<string> tenants)
        {
            BundleKey = bundleKey;
            Description = description;
            Id = id;
            Name = name;
            PublishToAllTenants = publishToAllTenants;
            ReadOnly = readOnly;
            Rights = rights;
            Tenants = tenants;
        }
    }
}
