Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.26.0 published on Friday, Jul 29, 2022 by Pulumi

getModifyParameterLogs

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

NOTE: Available in v1.174.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(AliCloud.Rds.GetModifyParameterLogs.InvokeAsync(new AliCloud.Rds.GetModifyParameterLogsArgs
        {
            DbInstanceId = "example_value",
            EndTime = "2022-06-08T13:56Z",
            StartTime = "2022-06-04T13: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",
			EndTime:      "2022-06-08T13:56Z",
			StartTime:    "2022-06-04T13:56Z",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.rds.get_modify_parameter_logs(db_instance_id="example_value",
    end_time="2022-06-08T13:56Z",
    start_time="2022-06-04T13:56Z")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = pulumi.output(alicloud.rds.getModifyParameterLogs({
    dbInstanceId: "example_value",
    endTime: "2022-06-08T13:56Z",
    startTime: "2022-06-04T13:56Z",
}));

Coming soon!

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
DbInstanceId string

The db instance id.

EndTime string

The end time.

StartTime string

The start time.

OutputFile string
dbInstanceId String

The db instance id.

endTime String

The end time.

startTime String

The start time.

outputFile String
dbInstanceId string

The db instance id.

endTime string

The end time.

startTime string

The start time.

outputFile string
db_instance_id str

The db instance id.

end_time str

The end time.

start_time str

The start time.

output_file str
dbInstanceId String

The db instance id.

endTime String

The end time.

startTime String

The start time.

outputFile String

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
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.