Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.mongodb.InstanceParameterLogs
Explore with Pulumi AI
Deprecated: volcengine.mongodb.InstanceParameterLogs has been deprecated in favor of volcengine.mongodb.getInstanceParameterLogs
Use this data source to query detailed information of mongodb instance parameter logs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.mongodb.getInstanceParameterLogs({
endTime: "2023-11-14 18:15Z",
instanceId: "mongo-replica-f16e9298b121",
startTime: "2022-11-14 00:00Z",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.mongodb.get_instance_parameter_logs(end_time="2023-11-14 18:15Z",
instance_id="mongo-replica-f16e9298b121",
start_time="2022-11-14 00:00Z")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/mongodb"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodb.GetInstanceParameterLogs(ctx, &mongodb.GetInstanceParameterLogsArgs{
EndTime: "2023-11-14 18:15Z",
InstanceId: "mongo-replica-f16e9298b121",
StartTime: "2022-11-14 00:00Z",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Mongodb.GetInstanceParameterLogs.Invoke(new()
{
EndTime = "2023-11-14 18:15Z",
InstanceId = "mongo-replica-f16e9298b121",
StartTime = "2022-11-14 00:00Z",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.mongodb.MongodbFunctions;
import com.pulumi.volcengine.mongodb.inputs.GetInstanceParameterLogsArgs;
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 foo = MongodbFunctions.getInstanceParameterLogs(GetInstanceParameterLogsArgs.builder()
.endTime("2023-11-14 18:15Z")
.instanceId("mongo-replica-f16e9298b121")
.startTime("2022-11-14 00:00Z")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:mongodb:getInstanceParameterLogs
Arguments:
endTime: 2023-11-14 18:15Z
instanceId: mongo-replica-f16e9298b121
startTime: 2022-11-14 00:00Z
Using InstanceParameterLogs
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 instanceParameterLogs(args: InstanceParameterLogsArgs, opts?: InvokeOptions): Promise<InstanceParameterLogsResult>
function instanceParameterLogsOutput(args: InstanceParameterLogsOutputArgs, opts?: InvokeOptions): Output<InstanceParameterLogsResult>
def instance_parameter_logs(end_time: Optional[str] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
start_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> InstanceParameterLogsResult
def instance_parameter_logs_output(end_time: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[InstanceParameterLogsResult]
func InstanceParameterLogs(ctx *Context, args *InstanceParameterLogsArgs, opts ...InvokeOption) (*InstanceParameterLogsResult, error)
func InstanceParameterLogsOutput(ctx *Context, args *InstanceParameterLogsOutputArgs, opts ...InvokeOption) InstanceParameterLogsResultOutput
public static class InstanceParameterLogs
{
public static Task<InstanceParameterLogsResult> InvokeAsync(InstanceParameterLogsArgs args, InvokeOptions? opts = null)
public static Output<InstanceParameterLogsResult> Invoke(InstanceParameterLogsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<InstanceParameterLogsResult> instanceParameterLogs(InstanceParameterLogsArgs args, InvokeOptions options)
public static Output<InstanceParameterLogsResult> instanceParameterLogs(InstanceParameterLogsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:mongodb:InstanceParameterLogs
arguments:
# arguments dictionary
The following arguments are supported:
- End
Time string - The end time to query.
- Instance
Id string - The instance ID to query.
- Start
Time string - The start time to query.
- Output
File string - File name where to save data source results.
- End
Time string - The end time to query.
- Instance
Id string - The instance ID to query.
- Start
Time string - The start time to query.
- Output
File string - File name where to save data source results.
- end
Time String - The end time to query.
- instance
Id String - The instance ID to query.
- start
Time String - The start time to query.
- output
File String - File name where to save data source results.
- end
Time string - The end time to query.
- instance
Id string - The instance ID to query.
- start
Time string - The start time to query.
- output
File string - File name where to save data source results.
- end_
time str - The end time to query.
- instance_
id str - The instance ID to query.
- start_
time str - The start time to query.
- output_
file str - File name where to save data source results.
- end
Time String - The end time to query.
- instance
Id String - The instance ID to query.
- start
Time String - The start time to query.
- output
File String - File name where to save data source results.
InstanceParameterLogs Result
The following output properties are available:
- End
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Parameter
Change InstanceLogs Parameter Logs Parameter Change Logs - The collection of parameter change log query.
- Start
Time string - Total
Count int - The total count of mongodb instance parameter log query.
- Output
File string
- End
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Parameter
Change InstanceLogs Parameter Logs Parameter Change Logs - The collection of parameter change log query.
- Start
Time string - Total
Count int - The total count of mongodb instance parameter log query.
- Output
File string
- end
Time String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - parameter
Change InstanceLogs Parameter Logs Parameter Change Logs - The collection of parameter change log query.
- start
Time String - total
Count Integer - The total count of mongodb instance parameter log query.
- output
File String
- end
Time string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - parameter
Change InstanceLogs Parameter Logs Parameter Change Logs - The collection of parameter change log query.
- start
Time string - total
Count number - The total count of mongodb instance parameter log query.
- output
File string
- end_
time str - id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - parameter_
change_ Instancelogs Parameter Logs Parameter Change Logs - The collection of parameter change log query.
- start_
time str - total_
count int - The total count of mongodb instance parameter log query.
- output_
file str
- end
Time String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - parameter
Change Property MapLogs - The collection of parameter change log query.
- start
Time String - total
Count Number - The total count of mongodb instance parameter log query.
- output
File String
Supporting Types
InstanceParameterLogsParameterChangeLogs
- Modify
Time string - The modifying time of parameter.
- New
Parameter stringValue - The new parameter value.
- Old
Parameter stringValue - The old parameter value.
- Parameter
Name string - The parameter name.
- Parameter
Role string - The node type to which the parameter belongs.
- Parameter
Status string - The status of parameter change.
- Modify
Time string - The modifying time of parameter.
- New
Parameter stringValue - The new parameter value.
- Old
Parameter stringValue - The old parameter value.
- Parameter
Name string - The parameter name.
- Parameter
Role string - The node type to which the parameter belongs.
- Parameter
Status string - The status of parameter change.
- modify
Time String - The modifying time of parameter.
- new
Parameter StringValue - The new parameter value.
- old
Parameter StringValue - The old parameter value.
- parameter
Name String - The parameter name.
- parameter
Role String - The node type to which the parameter belongs.
- parameter
Status String - The status of parameter change.
- modify
Time string - The modifying time of parameter.
- new
Parameter stringValue - The new parameter value.
- old
Parameter stringValue - The old parameter value.
- parameter
Name string - The parameter name.
- parameter
Role string - The node type to which the parameter belongs.
- parameter
Status string - The status of parameter change.
- modify_
time str - The modifying time of parameter.
- new_
parameter_ strvalue - The new parameter value.
- old_
parameter_ strvalue - The old parameter value.
- parameter_
name str - The parameter name.
- parameter_
role str - The node type to which the parameter belongs.
- parameter_
status str - The status of parameter change.
- modify
Time String - The modifying time of parameter.
- new
Parameter StringValue - The new parameter value.
- old
Parameter StringValue - The old parameter value.
- parameter
Name String - The parameter name.
- parameter
Role String - The node type to which the parameter belongs.
- parameter
Status String - The status of parameter change.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.