1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. rds
  5. getModifyParameterLogs
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.rds.getModifyParameterLogs

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    This data source provides the Rds Modify Parameter Logs of the current Alibaba Cloud user.

    NOTE: Available in v1.174.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = alicloud.rds.getModifyParameterLogs({
        dbInstanceId: "example_value",
        startTime: "2022-06-04T13:56Z",
        endTime: "2022-06-08T13:56Z",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.rds.get_modify_parameter_logs(db_instance_id="example_value",
        start_time="2022-06-04T13:56Z",
        end_time="2022-06-08T13:56Z")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds.GetModifyParameterLogs(ctx, &rds.GetModifyParameterLogsArgs{
    			DbInstanceId: "example_value",
    			StartTime:    "2022-06-04T13:56Z",
    			EndTime:      "2022-06-08T13:56Z",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = AliCloud.Rds.GetModifyParameterLogs.Invoke(new()
        {
            DbInstanceId = "example_value",
            StartTime = "2022-06-04T13:56Z",
            EndTime = "2022-06-08T13:56Z",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.rds.RdsFunctions;
    import com.pulumi.alicloud.rds.inputs.GetModifyParameterLogsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = RdsFunctions.getModifyParameterLogs(GetModifyParameterLogsArgs.builder()
                .dbInstanceId("example_value")
                .startTime("2022-06-04T13:56Z")
                .endTime("2022-06-08T13:56Z")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: alicloud:rds:getModifyParameterLogs
          Arguments:
            dbInstanceId: example_value
            startTime: 2022-06-04T13:56Z
            endTime: 2022-06-08T13:56Z
    

    Using getModifyParameterLogs

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getModifyParameterLogs(args: GetModifyParameterLogsArgs, opts?: InvokeOptions): Promise<GetModifyParameterLogsResult>
    function getModifyParameterLogsOutput(args: GetModifyParameterLogsOutputArgs, opts?: InvokeOptions): Output<GetModifyParameterLogsResult>
    def get_modify_parameter_logs(db_instance_id: Optional[str] = None,
                                  end_time: Optional[str] = None,
                                  output_file: Optional[str] = None,
                                  start_time: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetModifyParameterLogsResult
    def get_modify_parameter_logs_output(db_instance_id: Optional[pulumi.Input[str]] = None,
                                  end_time: Optional[pulumi.Input[str]] = None,
                                  output_file: Optional[pulumi.Input[str]] = None,
                                  start_time: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetModifyParameterLogsResult]
    func GetModifyParameterLogs(ctx *Context, args *GetModifyParameterLogsArgs, opts ...InvokeOption) (*GetModifyParameterLogsResult, error)
    func GetModifyParameterLogsOutput(ctx *Context, args *GetModifyParameterLogsOutputArgs, opts ...InvokeOption) GetModifyParameterLogsResultOutput

    > Note: This function is named GetModifyParameterLogs in the Go SDK.

    public static class GetModifyParameterLogs 
    {
        public static Task<GetModifyParameterLogsResult> InvokeAsync(GetModifyParameterLogsArgs args, InvokeOptions? opts = null)
        public static Output<GetModifyParameterLogsResult> Invoke(GetModifyParameterLogsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetModifyParameterLogsResult> getModifyParameterLogs(GetModifyParameterLogsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:rds/getModifyParameterLogs:getModifyParameterLogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbInstanceId string
    The db instance id.
    EndTime string
    The end time.
    StartTime string
    The start time.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    DbInstanceId string
    The db instance id.
    EndTime string
    The end time.
    StartTime string
    The start time.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    dbInstanceId String
    The db instance id.
    endTime String
    The end time.
    startTime String
    The start time.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    dbInstanceId string
    The db instance id.
    endTime string
    The end time.
    startTime string
    The start time.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    db_instance_id str
    The db instance id.
    end_time str
    The end time.
    start_time str
    The start time.
    output_file str
    File name where to save data source results (after running pulumi preview).
    dbInstanceId String
    The db instance id.
    endTime String
    The end time.
    startTime String
    The start time.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getModifyParameterLogs Result

    The following output properties are available:

    DbInstanceId string
    EndTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    Logs List<Pulumi.AliCloud.Rds.Outputs.GetModifyParameterLogsLog>
    StartTime string
    OutputFile string
    DbInstanceId string
    EndTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    Logs []GetModifyParameterLogsLog
    StartTime string
    OutputFile string
    dbInstanceId String
    endTime String
    id String
    The provider-assigned unique ID for this managed resource.
    logs List<GetModifyParameterLogsLog>
    startTime String
    outputFile String
    dbInstanceId string
    endTime string
    id string
    The provider-assigned unique ID for this managed resource.
    logs GetModifyParameterLogsLog[]
    startTime string
    outputFile string
    db_instance_id str
    end_time str
    id str
    The provider-assigned unique ID for this managed resource.
    logs Sequence[GetModifyParameterLogsLog]
    start_time str
    output_file str
    dbInstanceId String
    endTime String
    id String
    The provider-assigned unique ID for this managed resource.
    logs List<Property Map>
    startTime String
    outputFile String

    Supporting Types

    GetModifyParameterLogsLog

    ModifyTime string
    The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
    NewParameterValue string
    The new value of the parameter.
    OldParameterValue string
    The original value of the parameter.
    ParameterName string
    The name of the parameter.
    Status string
    The status of the new value specified for the parameter. Valid values:

    • Applied: The new value has taken effect.
    • Syncing: The new value is being applied and has not taken effect.
    ModifyTime string
    The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
    NewParameterValue string
    The new value of the parameter.
    OldParameterValue string
    The original value of the parameter.
    ParameterName string
    The name of the parameter.
    Status string
    The status of the new value specified for the parameter. Valid values:

    • Applied: The new value has taken effect.
    • Syncing: The new value is being applied and has not taken effect.
    modifyTime String
    The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
    newParameterValue String
    The new value of the parameter.
    oldParameterValue String
    The original value of the parameter.
    parameterName String
    The name of the parameter.
    status String
    The status of the new value specified for the parameter. Valid values:

    • Applied: The new value has taken effect.
    • Syncing: The new value is being applied and has not taken effect.
    modifyTime string
    The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
    newParameterValue string
    The new value of the parameter.
    oldParameterValue string
    The original value of the parameter.
    parameterName string
    The name of the parameter.
    status string
    The status of the new value specified for the parameter. Valid values:

    • Applied: The new value has taken effect.
    • Syncing: The new value is being applied and has not taken effect.
    modify_time str
    The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
    new_parameter_value str
    The new value of the parameter.
    old_parameter_value str
    The original value of the parameter.
    parameter_name str
    The name of the parameter.
    status str
    The status of the new value specified for the parameter. Valid values:

    • Applied: The new value has taken effect.
    • Syncing: The new value is being applied and has not taken effect.
    modifyTime String
    The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
    newParameterValue String
    The new value of the parameter.
    oldParameterValue String
    The original value of the parameter.
    parameterName String
    The name of the parameter.
    status String
    The status of the new value specified for the parameter. Valid values:

    • Applied: The new value has taken effect.
    • Syncing: The new value is being applied and has not taken effect.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi