1. Packages
  2. Volcengine
  3. API Docs
  4. mongodb
  5. InstanceParameterLogs
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.mongodb.InstanceParameterLogs

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of mongodb instance parameter logs

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Mongodb.InstanceParameterLogs.Invoke(new()
        {
            EndTime = "2023-11-14 18:15Z",
            InstanceId = "mongo-replica-f16e9298b121",
            StartTime = "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.InstanceParameterLogs(ctx, &mongodb.InstanceParameterLogsArgs{
    			EndTime:    "2023-11-14 18:15Z",
    			InstanceId: "mongo-replica-f16e9298b121",
    			StartTime:  "2022-11-14 00:00Z",
    		}, 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.volcengine.mongodb.MongodbFunctions;
    import com.pulumi.volcengine.mongodb.inputs.InstanceParameterLogsArgs;
    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.InstanceParameterLogs(InstanceParameterLogsArgs.builder()
                .endTime("2023-11-14 18:15Z")
                .instanceId("mongo-replica-f16e9298b121")
                .startTime("2022-11-14 00:00Z")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.mongodb.instance_parameter_logs(end_time="2023-11-14 18:15Z",
        instance_id="mongo-replica-f16e9298b121",
        start_time="2022-11-14 00:00Z")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.mongodb.InstanceParameterLogs({
        endTime: "2023-11-14 18:15Z",
        instanceId: "mongo-replica-f16e9298b121",
        startTime: "2022-11-14 00:00Z",
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:mongodb:InstanceParameterLogs
          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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:mongodb:InstanceParameterLogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndTime string
    The end time to query.
    InstanceId string
    The instance ID to query.
    StartTime string
    The start time to query.
    OutputFile string
    File name where to save data source results.
    EndTime string
    The end time to query.
    InstanceId string
    The instance ID to query.
    StartTime string
    The start time to query.
    OutputFile string
    File name where to save data source results.
    endTime String
    The end time to query.
    instanceId String
    The instance ID to query.
    startTime String
    The start time to query.
    outputFile String
    File name where to save data source results.
    endTime string
    The end time to query.
    instanceId string
    The instance ID to query.
    startTime string
    The start time to query.
    outputFile 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.
    endTime String
    The end time to query.
    instanceId String
    The instance ID to query.
    startTime String
    The start time to query.
    outputFile String
    File name where to save data source results.

    InstanceParameterLogs Result

    The following output properties are available:

    EndTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    ParameterChangeLogs Pulumi.Volcengine.Mongodb.Outputs.InstanceParameterLogsParameterChangeLogs
    The collection of parameter change log query.
    StartTime string
    TotalCount int
    The total count of mongodb instance parameter log query.
    OutputFile string
    EndTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    ParameterChangeLogs InstanceParameterLogsParameterChangeLogs
    The collection of parameter change log query.
    StartTime string
    TotalCount int
    The total count of mongodb instance parameter log query.
    OutputFile string
    endTime String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    parameterChangeLogs InstanceParameterLogsParameterChangeLogs
    The collection of parameter change log query.
    startTime String
    totalCount Integer
    The total count of mongodb instance parameter log query.
    outputFile String
    endTime string
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    parameterChangeLogs InstanceParameterLogsParameterChangeLogs
    The collection of parameter change log query.
    startTime string
    totalCount number
    The total count of mongodb instance parameter log query.
    outputFile string
    end_time str
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    parameter_change_logs InstanceParameterLogsParameterChangeLogs
    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
    endTime String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    parameterChangeLogs Property Map
    The collection of parameter change log query.
    startTime String
    totalCount Number
    The total count of mongodb instance parameter log query.
    outputFile String

    Supporting Types

    InstanceParameterLogsParameterChangeLogs

    ModifyTime string
    The modifying time of parameter.
    NewParameterValue string
    The new parameter value.
    OldParameterValue string
    The old parameter value.
    ParameterName string
    The parameter name.
    ParameterRole string
    The node type to which the parameter belongs.
    ParameterStatus string
    The status of parameter change.
    ModifyTime string
    The modifying time of parameter.
    NewParameterValue string
    The new parameter value.
    OldParameterValue string
    The old parameter value.
    ParameterName string
    The parameter name.
    ParameterRole string
    The node type to which the parameter belongs.
    ParameterStatus string
    The status of parameter change.
    modifyTime String
    The modifying time of parameter.
    newParameterValue String
    The new parameter value.
    oldParameterValue String
    The old parameter value.
    parameterName String
    The parameter name.
    parameterRole String
    The node type to which the parameter belongs.
    parameterStatus String
    The status of parameter change.
    modifyTime string
    The modifying time of parameter.
    newParameterValue string
    The new parameter value.
    oldParameterValue string
    The old parameter value.
    parameterName string
    The parameter name.
    parameterRole string
    The node type to which the parameter belongs.
    parameterStatus string
    The status of parameter change.
    modify_time str
    The modifying time of parameter.
    new_parameter_value str
    The new parameter value.
    old_parameter_value str
    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.
    modifyTime String
    The modifying time of parameter.
    newParameterValue String
    The new parameter value.
    oldParameterValue String
    The old parameter value.
    parameterName String
    The parameter name.
    parameterRole String
    The node type to which the parameter belongs.
    parameterStatus 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.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine