// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mongodb.Outputs
{

    [OutputType]
    public sealed class GetInstanceCurrentOpCurrentOpResult
    {
        /// <summary>
        /// running time(ms).
        /// </summary>
        public readonly int MicrosecsRunning;
        /// <summary>
        /// Node name.
        /// </summary>
        public readonly string NodeName;
        /// <summary>
        /// Filter condition, the namespace namespace to which the operation belongs, in the format of db.collection.
        /// </summary>
        public readonly string Ns;
        /// <summary>
        /// Filter condition, operation type, possible values: none, update, insert, query, command, getmore,remove and killcursors.
        /// </summary>
        public readonly string Op;
        /// <summary>
        /// operation id.
        /// </summary>
        public readonly int OpId;
        /// <summary>
        /// operation info.
        /// </summary>
        public readonly string Operation;
        /// <summary>
        /// operation query.
        /// </summary>
        public readonly string Query;
        /// <summary>
        /// filter condition, shard name.
        /// </summary>
        public readonly string ReplicaSetName;
        /// <summary>
        /// Filter condition, node status, possible value: primary, secondary.
        /// </summary>
        public readonly string State;

        [OutputConstructor]
        private GetInstanceCurrentOpCurrentOpResult(
            int microsecsRunning,

            string nodeName,

            string ns,

            string op,

            int opId,

            string operation,

            string query,

            string replicaSetName,

            string state)
        {
            MicrosecsRunning = microsecsRunning;
            NodeName = nodeName;
            Ns = ns;
            Op = op;
            OpId = opId;
            Operation = operation;
            Query = query;
            ReplicaSetName = replicaSetName;
            State = state;
        }
    }
}
