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
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",
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
})
}
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")
.endTime("2022-06-08T13:56Z")
.startTime("2022-06-04T13:56Z")
.build());
}
}
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 = alicloud.rds.getModifyParameterLogs({
dbInstanceId: "example_value",
endTime: "2022-06-08T13:56Z",
startTime: "2022-06-04T13:56Z",
});
variables:
example:
fn::invoke:
Function: alicloud:rds:getModifyParameterLogs
Arguments:
dbInstanceId: example_value
endTime: 2022-06-08T13:56Z
startTime: 2022-06-04T13: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:
- Db
Instance stringId The db instance id.
- End
Time string The end time.
- Start
Time string The start time.
- Output
File string File name where to save data source results (after running
pulumi preview
).
- Db
Instance stringId The db instance id.
- End
Time string The end time.
- Start
Time string The start time.
- Output
File string File name where to save data source results (after running
pulumi preview
).
- db
Instance StringId The db instance id.
- end
Time String The end time.
- start
Time String The start time.
- output
File String File name where to save data source results (after running
pulumi preview
).
- db
Instance stringId The db instance id.
- end
Time string The end time.
- start
Time string The start time.
- output
File string File name where to save data source results (after running
pulumi preview
).
- db_
instance_ strid 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
).
- db
Instance StringId The db instance id.
- end
Time String The end time.
- start
Time String The start time.
- output
File String File name where to save data source results (after running
pulumi preview
).
getModifyParameterLogs Result
The following output properties are available:
- Db
Instance stringId - End
Time string - Id string
The provider-assigned unique ID for this managed resource.
- Logs
List<Pulumi.
Ali Cloud. Rds. Outputs. Get Modify Parameter Logs Log> - Start
Time string - Output
File string
- Db
Instance stringId - End
Time string - Id string
The provider-assigned unique ID for this managed resource.
- Logs
[]Get
Modify Parameter Logs Log - Start
Time string - Output
File string
- db
Instance StringId - end
Time String - id String
The provider-assigned unique ID for this managed resource.
- logs
List<Get
Modify Parameter Logs Log> - start
Time String - output
File String
- db
Instance stringId - end
Time string - id string
The provider-assigned unique ID for this managed resource.
- logs
Get
Modify Parameter Logs Log[] - start
Time string - output
File string
- db_
instance_ strid - end_
time str - id str
The provider-assigned unique ID for this managed resource.
- logs
Sequence[Get
Modify Parameter Logs Log] - start_
time str - output_
file str
- db
Instance StringId - end
Time String - id String
The provider-assigned unique ID for this managed resource.
- logs List<Property Map>
- start
Time String - output
File String
Supporting Types
GetModifyParameterLogsLog
- Modify
Time string The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
- New
Parameter stringValue The new value of the parameter.
- Old
Parameter stringValue The original value of the parameter.
- Parameter
Name 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 string The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
- New
Parameter stringValue The new value of the parameter.
- Old
Parameter stringValue The original value of the parameter.
- Parameter
Name 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 String The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
- new
Parameter StringValue The new value of the parameter.
- old
Parameter StringValue The original value of the parameter.
- parameter
Name 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 string The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
- new
Parameter stringValue The new value of the parameter.
- old
Parameter stringValue The original value of the parameter.
- parameter
Name 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_ strvalue The new value of the parameter.
- old_
parameter_ strvalue 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.
- modify
Time String The time when the parameter was reconfigured. This value is a UNIX timestamp. Unit: milliseconds.
- new
Parameter StringValue The new value of the parameter.
- old
Parameter StringValue The original value of the parameter.
- parameter
Name 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.