<filename>sdk/dotnet/Dayu/DayuEipEip.cs// *** 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.Dayu
{
    [TctestResourceType("tctest:Dayu/dayuEipEip:DayuEipEip")]
    public partial class DayuEipEip : Pulumi.CustomResource
    {
        /// <summary>
        /// Resource id to bind.
        /// </summary>
        [Output("bindResourceId")]
        public Output<string> BindResourceId { get; private set; } = null!;

        /// <summary>
        /// Resource region to bind.
        /// </summary>
        [Output("bindResourceRegion")]
        public Output<string> BindResourceRegion { get; private set; } = null!;

        /// <summary>
        /// Resource type to bind, value range [`clb`, `cvm`].
        /// </summary>
        [Output("bindResourceType")]
        public Output<string> BindResourceType { get; private set; } = null!;

        /// <summary>
        /// Created time of the resource instance.
        /// </summary>
        [Output("createdTime")]
        public Output<string> CreatedTime { get; private set; } = null!;

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

        /// <summary>
        /// Eip address status of the resource instance.
        /// </summary>
        [Output("eipAddressStatus")]
        public Output<string> EipAddressStatus { get; private set; } = null!;

        /// <summary>
        /// Eip bound rsc eni of the resource instance.
        /// </summary>
        [Output("eipBoundRscEni")]
        public Output<string> EipBoundRscEni { get; private set; } = null!;

        /// <summary>
        /// Eip bound rsc ins of the resource instance.
        /// </summary>
        [Output("eipBoundRscIns")]
        public Output<string> EipBoundRscIns { get; private set; } = null!;

        /// <summary>
        /// Eip bound rsc vip of the resource instance.
        /// </summary>
        [Output("eipBoundRscVip")]
        public Output<string> EipBoundRscVip { get; private set; } = null!;

        /// <summary>
        /// Expired time of the resource instance.
        /// </summary>
        [Output("expiredTime")]
        public Output<string> ExpiredTime { get; private set; } = null!;

        /// <summary>
        /// Modify time of the resource instance.
        /// </summary>
        [Output("modifyTime")]
        public Output<string> ModifyTime { get; private set; } = null!;

        /// <summary>
        /// Protection status of the resource instance.
        /// </summary>
        [Output("protectionStatus")]
        public Output<string> ProtectionStatus { get; private set; } = null!;

        /// <summary>
        /// ID of the resource.
        /// </summary>
        [Output("resourceId")]
        public Output<string> ResourceId { get; private set; } = null!;

        /// <summary>
        /// Region of the resource instance.
        /// </summary>
        [Output("resourceRegion")]
        public Output<string> ResourceRegion { get; private set; } = null!;


        /// <summary>
        /// Create a DayuEipEip 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 DayuEipEip(string name, DayuEipEipArgs args, CustomResourceOptions? options = null)
            : base("tctest:Dayu/dayuEipEip:DayuEipEip", name, args ?? new DayuEipEipArgs(), MakeResourceOptions(options, ""))
        {
        }

        private DayuEipEip(string name, Input<string> id, DayuEipEipState? state = null, CustomResourceOptions? options = null)
            : base("tctest:Dayu/dayuEipEip:DayuEipEip", 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 DayuEipEip 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 DayuEipEip Get(string name, Input<string> id, DayuEipEipState? state = null, CustomResourceOptions? options = null)
        {
            return new DayuEipEip(name, id, state, options);
        }
    }

    public sealed class DayuEipEipArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Resource id to bind.
        /// </summary>
        [Input("bindResourceId", required: true)]
        public Input<string> BindResourceId { get; set; } = null!;

        /// <summary>
        /// Resource region to bind.
        /// </summary>
        [Input("bindResourceRegion", required: true)]
        public Input<string> BindResourceRegion { get; set; } = null!;

        /// <summary>
        /// Resource type to bind, value range [`clb`, `cvm`].
        /// </summary>
        [Input("bindResourceType", required: true)]
        public Input<string> BindResourceType { get; set; } = null!;

        /// <summary>
        /// Eip of the resource.
        /// </summary>
        [Input("eip", required: true)]
        public Input<string> Eip { get; set; } = null!;

        /// <summary>
        /// ID of the resource.
        /// </summary>
        [Input("resourceId", required: true)]
        public Input<string> ResourceId { get; set; } = null!;

        public DayuEipEipArgs()
        {
        }
    }

    public sealed class DayuEipEipState : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Resource id to bind.
        /// </summary>
        [Input("bindResourceId")]
        public Input<string>? BindResourceId { get; set; }

        /// <summary>
        /// Resource region to bind.
        /// </summary>
        [Input("bindResourceRegion")]
        public Input<string>? BindResourceRegion { get; set; }

        /// <summary>
        /// Resource type to bind, value range [`clb`, `cvm`].
        /// </summary>
        [Input("bindResourceType")]
        public Input<string>? BindResourceType { get; set; }

        /// <summary>
        /// Created time of the resource instance.
        /// </summary>
        [Input("createdTime")]
        public Input<string>? CreatedTime { get; set; }

        /// <summary>
        /// Eip of the resource.
        /// </summary>
        [Input("eip")]
        public Input<string>? Eip { get; set; }

        /// <summary>
        /// Eip address status of the resource instance.
        /// </summary>
        [Input("eipAddressStatus")]
        public Input<string>? EipAddressStatus { get; set; }

        /// <summary>
        /// Eip bound rsc eni of the resource instance.
        /// </summary>
        [Input("eipBoundRscEni")]
        public Input<string>? EipBoundRscEni { get; set; }

        /// <summary>
        /// Eip bound rsc ins of the resource instance.
        /// </summary>
        [Input("eipBoundRscIns")]
        public Input<string>? EipBoundRscIns { get; set; }

        /// <summary>
        /// Eip bound rsc vip of the resource instance.
        /// </summary>
        [Input("eipBoundRscVip")]
        public Input<string>? EipBoundRscVip { get; set; }

        /// <summary>
        /// Expired time of the resource instance.
        /// </summary>
        [Input("expiredTime")]
        public Input<string>? ExpiredTime { get; set; }

        /// <summary>
        /// Modify time of the resource instance.
        /// </summary>
        [Input("modifyTime")]
        public Input<string>? ModifyTime { get; set; }

        /// <summary>
        /// Protection status of the resource instance.
        /// </summary>
        [Input("protectionStatus")]
        public Input<string>? ProtectionStatus { get; set; }

        /// <summary>
        /// ID of the resource.
        /// </summary>
        [Input("resourceId")]
        public Input<string>? ResourceId { get; set; }

        /// <summary>
        /// Region of the resource instance.
        /// </summary>
        [Input("resourceRegion")]
        public Input<string>? ResourceRegion { get; set; }

        public DayuEipEipState()
        {
        }
    }
}
