<reponame>rhysmdnz/pulumi-alicloud-rhys-hacks// *** 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.Rds
{
    public static class GetModifyParameterLogs
    {
        /// <summary>
        /// This data source provides the Rds Modify Parameter Logs of the current Alibaba Cloud user.
        /// 
        /// &gt; **NOTE:** Available in v1.174.0+.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// Basic Usage
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using AliCloud = Pulumi.AliCloud;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var example = AliCloud.Rds.GetModifyParameterLogs.Invoke(new()
        ///     {
        ///         DbInstanceId = "example_value",
        ///         EndTime = "2022-06-08T13:56Z",
        ///         StartTime = "2022-06-04T13:56Z",
        ///     });
        /// 
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetModifyParameterLogsResult> InvokeAsync(GetModifyParameterLogsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetModifyParameterLogsResult>("alicloud:rds/getModifyParameterLogs:getModifyParameterLogs", args ?? new GetModifyParameterLogsArgs(), options.WithDefaults());

        /// <summary>
        /// This data source provides the Rds Modify Parameter Logs of the current Alibaba Cloud user.
        /// 
        /// &gt; **NOTE:** Available in v1.174.0+.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// Basic Usage
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using AliCloud = Pulumi.AliCloud;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var example = AliCloud.Rds.GetModifyParameterLogs.Invoke(new()
        ///     {
        ///         DbInstanceId = "example_value",
        ///         EndTime = "2022-06-08T13:56Z",
        ///         StartTime = "2022-06-04T13:56Z",
        ///     });
        /// 
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetModifyParameterLogsResult> Invoke(GetModifyParameterLogsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetModifyParameterLogsResult>("alicloud:rds/getModifyParameterLogs:getModifyParameterLogs", args ?? new GetModifyParameterLogsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetModifyParameterLogsArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The db instance id.
        /// </summary>
        [Input("dbInstanceId", required: true)]
        public string DbInstanceId { get; set; } = null!;

        /// <summary>
        /// The end time.
        /// </summary>
        [Input("endTime", required: true)]
        public string EndTime { get; set; } = null!;

        [Input("outputFile")]
        public string? OutputFile { get; set; }

        /// <summary>
        /// The start time.
        /// </summary>
        [Input("startTime", required: true)]
        public string StartTime { get; set; } = null!;

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

    public sealed class GetModifyParameterLogsInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The db instance id.
        /// </summary>
        [Input("dbInstanceId", required: true)]
        public Input<string> DbInstanceId { get; set; } = null!;

        /// <summary>
        /// The end time.
        /// </summary>
        [Input("endTime", required: true)]
        public Input<string> EndTime { get; set; } = null!;

        [Input("outputFile")]
        public Input<string>? OutputFile { get; set; }

        /// <summary>
        /// The start time.
        /// </summary>
        [Input("startTime", required: true)]
        public Input<string> StartTime { get; set; } = null!;

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


    [OutputType]
    public sealed class GetModifyParameterLogsResult
    {
        public readonly string DbInstanceId;
        public readonly string EndTime;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetModifyParameterLogsLogResult> Logs;
        public readonly string? OutputFile;
        public readonly string StartTime;

        [OutputConstructor]
        private GetModifyParameterLogsResult(
            string dbInstanceId,

            string endTime,

            string id,

            ImmutableArray<Outputs.GetModifyParameterLogsLogResult> logs,

            string? outputFile,

            string startTime)
        {
            DbInstanceId = dbInstanceId;
            EndTime = endTime;
            Id = id;
            Logs = logs;
            OutputFile = outputFile;
            StartTime = startTime;
        }
    }
}
