// *** 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.AliCloud
{
    /// <summary>
    /// Provides a Msc Sub Contact resource.
    /// 
    /// &gt; **NOTE:** Available in v1.132.0+.
    /// 
    /// ## Example Usage
    /// 
    /// Basic Usage
    /// 
    /// ```csharp
    /// using System.Collections.Generic;
    /// using Pulumi;
    /// using AliCloud = Pulumi.AliCloud;
    /// 
    /// return await Deployment.RunAsync(() =&gt; 
    /// {
    ///     var @default = new AliCloud.MscSubContract("default", new()
    ///     {
    ///         ContactName = example_value,
    ///         Position = "CEO",
    ///         Email = "hzdkv@example.com",
    ///         Mobile = "153xxxxx906",
    ///     });
    /// 
    /// });
    /// ```
    /// 
    /// ## Import
    /// 
    /// Msc Sub Contact can be imported using the id, e.g.
    /// 
    /// ```sh
    ///  $ pulumi import alicloud:index/mscSubContract:MscSubContract example &lt;id&gt;
    /// ```
    /// </summary>
    [AliCloudResourceType("alicloud:index/mscSubContract:MscSubContract")]
    public partial class MscSubContract : global::Pulumi.CustomResource
    {
        /// <summary>
        /// The User's Contact Name. **Note:** The name must be 2 to 12 characters in length.
        /// </summary>
        [Output("contactName")]
        public Output<string> ContactName { get; private set; } = null!;

        /// <summary>
        /// The User's Contact Email Address.
        /// </summary>
        [Output("email")]
        public Output<string> Email { get; private set; } = null!;

        /// <summary>
        /// The User's Telephone.
        /// </summary>
        [Output("mobile")]
        public Output<string> Mobile { get; private set; } = null!;

        /// <summary>
        /// The User's Position. Valid values: `CEO`, `Technical Director`, `Maintenance Director`, `Project Director`,`Finance Director` and `Other`.
        /// </summary>
        [Output("position")]
        public Output<string> Position { get; private set; } = null!;


        /// <summary>
        /// Create a MscSubContract 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 MscSubContract(string name, MscSubContractArgs args, CustomResourceOptions? options = null)
            : base("alicloud:index/mscSubContract:MscSubContract", name, args ?? new MscSubContractArgs(), MakeResourceOptions(options, ""))
        {
        }

        private MscSubContract(string name, Input<string> id, MscSubContractState? state = null, CustomResourceOptions? options = null)
            : base("alicloud:index/mscSubContract:MscSubContract", name, state, MakeResourceOptions(options, id))
        {
        }

        private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
        {
            var defaultOptions = new CustomResourceOptions
            {
                Version = Utilities.Version,
                PluginDownloadURL = "github://api.github.com/rhysmdnz/pulumi-alicloud",
            };
            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 MscSubContract 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 MscSubContract Get(string name, Input<string> id, MscSubContractState? state = null, CustomResourceOptions? options = null)
        {
            return new MscSubContract(name, id, state, options);
        }
    }

    public sealed class MscSubContractArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// The User's Contact Name. **Note:** The name must be 2 to 12 characters in length.
        /// </summary>
        [Input("contactName", required: true)]
        public Input<string> ContactName { get; set; } = null!;

        /// <summary>
        /// The User's Contact Email Address.
        /// </summary>
        [Input("email", required: true)]
        public Input<string> Email { get; set; } = null!;

        /// <summary>
        /// The User's Telephone.
        /// </summary>
        [Input("mobile", required: true)]
        public Input<string> Mobile { get; set; } = null!;

        /// <summary>
        /// The User's Position. Valid values: `CEO`, `Technical Director`, `Maintenance Director`, `Project Director`,`Finance Director` and `Other`.
        /// </summary>
        [Input("position", required: true)]
        public Input<string> Position { get; set; } = null!;

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

    public sealed class MscSubContractState : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// The User's Contact Name. **Note:** The name must be 2 to 12 characters in length.
        /// </summary>
        [Input("contactName")]
        public Input<string>? ContactName { get; set; }

        /// <summary>
        /// The User's Contact Email Address.
        /// </summary>
        [Input("email")]
        public Input<string>? Email { get; set; }

        /// <summary>
        /// The User's Telephone.
        /// </summary>
        [Input("mobile")]
        public Input<string>? Mobile { get; set; }

        /// <summary>
        /// The User's Position. Valid values: `CEO`, `Technical Director`, `Maintenance Director`, `Project Director`,`Finance Director` and `Other`.
        /// </summary>
        [Input("position")]
        public Input<string>? Position { get; set; }

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