1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. rds
  5. getModifyParameterLogs
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.rds.getModifyParameterLogs

Explore with Pulumi AI

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: alicloud:rds:getModifyParameterLogs
      arguments:
        dbInstanceId: example_value
        startTime: 2022-06-04T13:56Z
        endTime: 2022-06-08T13:56Z
Copy

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>
Copy
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]
Copy
func GetModifyParameterLogs(ctx *Context, args *GetModifyParameterLogsArgs, opts ...InvokeOption) (*GetModifyParameterLogsResult, error)
func GetModifyParameterLogsOutput(ctx *Context, args *GetModifyParameterLogsOutputArgs, opts ...InvokeOption) GetModifyParameterLogsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetModifyParameterLogsResult> getModifyParameterLogs(GetModifyParameterLogsArgs args, InvokeOptions options)
public static Output<GetModifyParameterLogsResult> getModifyParameterLogs(GetModifyParameterLogsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:rds/getModifyParameterLogs:getModifyParameterLogs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DbInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The db instance id.
EndTime
This property is required.
Changes to this property will trigger replacement.
string
The end time.
StartTime
This property is required.
Changes to this property will trigger replacement.
string
The start time.
OutputFile string
File name where to save data source results (after running pulumi preview).
DbInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The db instance id.
EndTime
This property is required.
Changes to this property will trigger replacement.
string
The end time.
StartTime
This property is required.
Changes to this property will trigger replacement.
string
The start time.
OutputFile string
File name where to save data source results (after running pulumi preview).
dbInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The db instance id.
endTime
This property is required.
Changes to this property will trigger replacement.
String
The end time.
startTime
This property is required.
Changes to this property will trigger replacement.
String
The start time.
outputFile String
File name where to save data source results (after running pulumi preview).
dbInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The db instance id.
endTime
This property is required.
Changes to this property will trigger replacement.
string
The end time.
startTime
This property is required.
Changes to this property will trigger replacement.
string
The start time.
outputFile string
File name where to save data source results (after running pulumi preview).
db_instance_id
This property is required.
Changes to this property will trigger replacement.
str
The db instance id.
end_time
This property is required.
Changes to this property will trigger replacement.
str
The end time.
start_time
This property is required.
Changes to this property will trigger replacement.
str
The start time.
output_file str
File name where to save data source results (after running pulumi preview).
dbInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The db instance id.
endTime
This property is required.
Changes to this property will trigger replacement.
String
The end time.
startTime
This property is required.
Changes to this property will trigger replacement.
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 This property is required. string
The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
NewParameterValue This property is required. string
The new value of the parameter.
OldParameterValue This property is required. string
The original value of the parameter.
ParameterName This property is required. string
The name of the parameter.
Status This property is required. 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 This property is required. string
The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
NewParameterValue This property is required. string
The new value of the parameter.
OldParameterValue This property is required. string
The original value of the parameter.
ParameterName This property is required. string
The name of the parameter.
Status This property is required. 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 This property is required. String
The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
newParameterValue This property is required. String
The new value of the parameter.
oldParameterValue This property is required. String
The original value of the parameter.
parameterName This property is required. String
The name of the parameter.
status This property is required. 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 This property is required. string
The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
newParameterValue This property is required. string
The new value of the parameter.
oldParameterValue This property is required. string
The original value of the parameter.
parameterName This property is required. string
The name of the parameter.
status This property is required. 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 This property is required. str
The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
new_parameter_value This property is required. str
The new value of the parameter.
old_parameter_value This property is required. str
The original value of the parameter.
parameter_name This property is required. str
The name of the parameter.
status This property is required. 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 This property is required. String
The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
newParameterValue This property is required. String
The new value of the parameter.
oldParameterValue This property is required. String
The original value of the parameter.
parameterName This property is required. String
The name of the parameter.
status This property is required. 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.