<reponame>Kagashino/pulumi-tctest<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.Tctest.Cam
{
    [TctestResourceType("tctest:Cam/roleSSO:RoleSSO")]
    public partial class RoleSSO : Pulumi.CustomResource
    {
        /// <summary>
        /// Client ids.
        /// </summary>
        [Output("clientIds")]
        public Output<ImmutableArray<string>> ClientIds { get; private set; } = null!;

        /// <summary>
        /// The description of resource.
        /// </summary>
        [Output("description")]
        public Output<string?> Description { get; private set; } = null!;

        /// <summary>
        /// Sign the public key.
        /// </summary>
        [Output("identityKey")]
        public Output<string> IdentityKey { get; private set; } = null!;

        /// <summary>
        /// Identity provider URL.
        /// </summary>
        [Output("identityUrl")]
        public Output<string> IdentityUrl { get; private set; } = null!;

        /// <summary>
        /// The name of resource.
        /// </summary>
        [Output("name")]
        public Output<string> Name { get; private set; } = null!;


        /// <summary>
        /// Create a RoleSSO resource with the given unique name, arguments, and options.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resource</param>
        /// <param name="args">The arguments used to populate this resource's properties</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public RoleSSO(string name, RoleSSOArgs args, CustomResourceOptions? options = null)
            : base("tctest:Cam/roleSSO:RoleSSO", name, args ?? new RoleSSOArgs(), MakeResourceOptions(options, ""))
        {
        }

        private RoleSSO(string name, Input<string> id, RoleSSOState? state = null, CustomResourceOptions? options = null)
            : base("tctest:Cam/roleSSO:RoleSSO", name, state, MakeResourceOptions(options, id))
        {
        }

        private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
        {
            var defaultOptions = new CustomResourceOptions
            {
                Version = Utilities.Version,
            };
            var merged = CustomResourceOptions.Merge(defaultOptions, options);
            // Override the ID if one was specified for consistency with other language SDKs.
            merged.Id = id ?? merged.Id;
            return merged;
        }
        /// <summary>
        /// Get an existing RoleSSO resource's state with the given name, ID, and optional extra
        /// properties used to qualify the lookup.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resulting resource.</param>
        /// <param name="id">The unique provider ID of the resource to lookup.</param>
        /// <param name="state">Any extra arguments used during the lookup.</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public static RoleSSO Get(string name, Input<string> id, RoleSSOState? state = null, CustomResourceOptions? options = null)
        {
            return new RoleSSO(name, id, state, options);
        }
    }

    public sealed class RoleSSOArgs : Pulumi.ResourceArgs
    {
        [Input("clientIds", required: true)]
        private InputList<string>? _clientIds;

        /// <summary>
        /// Client ids.
        /// </summary>
        public InputList<string> ClientIds
        {
            get => _clientIds ?? (_clientIds = new InputList<string>());
            set => _clientIds = value;
        }

        /// <summary>
        /// The description of resource.
        /// </summary>
        [Input("description")]
        public Input<string>? Description { get; set; }

        /// <summary>
        /// Sign the public key.
        /// </summary>
        [Input("identityKey", required: true)]
        public Input<string> IdentityKey { get; set; } = null!;

        /// <summary>
        /// Identity provider URL.
        /// </summary>
        [Input("identityUrl", required: true)]
        public Input<string> IdentityUrl { get; set; } = null!;

        /// <summary>
        /// The name of resource.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        public RoleSSOArgs()
        {
        }
    }

    public sealed class RoleSSOState : Pulumi.ResourceArgs
    {
        [Input("clientIds")]
        private InputList<string>? _clientIds;

        /// <summary>
        /// Client ids.
        /// </summary>
        public InputList<string> ClientIds
        {
            get => _clientIds ?? (_clientIds = new InputList<string>());
            set => _clientIds = value;
        }

        /// <summary>
        /// The description of resource.
        /// </summary>
        [Input("description")]
        public Input<string>? Description { get; set; }

        /// <summary>
        /// Sign the public key.
        /// </summary>
        [Input("identityKey")]
        public Input<string>? IdentityKey { get; set; }

        /// <summary>
        /// Identity provider URL.
        /// </summary>
        [Input("identityUrl")]
        public Input<string>? IdentityUrl { get; set; }

        /// <summary>
        /// The name of resource.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        public RoleSSOState()
        {
        }
    }
}
