<reponame>Dwonczykj/gember_deploy<filename>sdk/dotnet/Tencentcloud/Ccn/GetCrossBorderFlowMonitor.cs// *** 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.Ccn
{
    public static class GetCrossBorderFlowMonitor
    {
        /// <summary>
        /// Use this data source to query detailed information of vpc cross_border_flow_monitor
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var crossBorderFlowMonitor = Output.Create(Tencentcloud.Ccn.GetCrossBorderFlowMonitor.InvokeAsync(new Tencentcloud.Ccn.GetCrossBorderFlowMonitorArgs
        ///         {
        ///             CcnId = "ccn-39lqkygf",
        ///             CcnUin = "979137",
        ///             DestinationRegion = "ap-singapore",
        ///             EndTime = "2023-01-01 01:00:00",
        ///             Period = 60,
        ///             SourceRegion = "ap-guangzhou",
        ///             StartTime = "2023-01-01 00:00:00",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetCrossBorderFlowMonitorResult> InvokeAsync(GetCrossBorderFlowMonitorArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetCrossBorderFlowMonitorResult>("tencentcloud:Ccn/getCrossBorderFlowMonitor:getCrossBorderFlowMonitor", args ?? new GetCrossBorderFlowMonitorArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of vpc cross_border_flow_monitor
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var crossBorderFlowMonitor = Output.Create(Tencentcloud.Ccn.GetCrossBorderFlowMonitor.InvokeAsync(new Tencentcloud.Ccn.GetCrossBorderFlowMonitorArgs
        ///         {
        ///             CcnId = "ccn-39lqkygf",
        ///             CcnUin = "979137",
        ///             DestinationRegion = "ap-singapore",
        ///             EndTime = "2023-01-01 01:00:00",
        ///             Period = 60,
        ///             SourceRegion = "ap-guangzhou",
        ///             StartTime = "2023-01-01 00:00:00",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetCrossBorderFlowMonitorResult> Invoke(GetCrossBorderFlowMonitorInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetCrossBorderFlowMonitorResult>("tencentcloud:Ccn/getCrossBorderFlowMonitor:getCrossBorderFlowMonitor", args ?? new GetCrossBorderFlowMonitorInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetCrossBorderFlowMonitorArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// CcnId.
        /// </summary>
        [Input("ccnId", required: true)]
        public string CcnId { get; set; } = null!;

        /// <summary>
        /// CcnUin.
        /// </summary>
        [Input("ccnUin", required: true)]
        public string CcnUin { get; set; } = null!;

        /// <summary>
        /// DestinationRegion.
        /// </summary>
        [Input("destinationRegion", required: true)]
        public string DestinationRegion { get; set; } = null!;

        /// <summary>
        /// EndTime.
        /// </summary>
        [Input("endTime", required: true)]
        public string EndTime { get; set; } = null!;

        /// <summary>
        /// TimePeriod.
        /// </summary>
        [Input("period", required: true)]
        public int Period { get; set; }

        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        /// <summary>
        /// SourceRegion.
        /// </summary>
        [Input("sourceRegion", required: true)]
        public string SourceRegion { get; set; } = null!;

        /// <summary>
        /// StartTime.
        /// </summary>
        [Input("startTime", required: true)]
        public string StartTime { get; set; } = null!;

        public GetCrossBorderFlowMonitorArgs()
        {
        }
    }

    public sealed class GetCrossBorderFlowMonitorInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// CcnId.
        /// </summary>
        [Input("ccnId", required: true)]
        public Input<string> CcnId { get; set; } = null!;

        /// <summary>
        /// CcnUin.
        /// </summary>
        [Input("ccnUin", required: true)]
        public Input<string> CcnUin { get; set; } = null!;

        /// <summary>
        /// DestinationRegion.
        /// </summary>
        [Input("destinationRegion", required: true)]
        public Input<string> DestinationRegion { get; set; } = null!;

        /// <summary>
        /// EndTime.
        /// </summary>
        [Input("endTime", required: true)]
        public Input<string> EndTime { get; set; } = null!;

        /// <summary>
        /// TimePeriod.
        /// </summary>
        [Input("period", required: true)]
        public Input<int> Period { get; set; } = null!;

        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        /// <summary>
        /// SourceRegion.
        /// </summary>
        [Input("sourceRegion", required: true)]
        public Input<string> SourceRegion { get; set; } = null!;

        /// <summary>
        /// StartTime.
        /// </summary>
        [Input("startTime", required: true)]
        public Input<string> StartTime { get; set; } = null!;

        public GetCrossBorderFlowMonitorInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetCrossBorderFlowMonitorResult
    {
        public readonly string CcnId;
        public readonly string CcnUin;
        /// <summary>
        /// monitor data of cross border.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetCrossBorderFlowMonitorCrossBorderFlowMonitorDataResult> CrossBorderFlowMonitorDatas;
        public readonly string DestinationRegion;
        public readonly string EndTime;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly int Period;
        public readonly string? ResultOutputFile;
        public readonly string SourceRegion;
        public readonly string StartTime;

        [OutputConstructor]
        private GetCrossBorderFlowMonitorResult(
            string ccnId,

            string ccnUin,

            ImmutableArray<Outputs.GetCrossBorderFlowMonitorCrossBorderFlowMonitorDataResult> crossBorderFlowMonitorDatas,

            string destinationRegion,

            string endTime,

            string id,

            int period,

            string? resultOutputFile,

            string sourceRegion,

            string startTime)
        {
            CcnId = ccnId;
            CcnUin = ccnUin;
            CrossBorderFlowMonitorDatas = crossBorderFlowMonitorDatas;
            DestinationRegion = destinationRegion;
            EndTime = endTime;
            Id = id;
            Period = period;
            ResultOutputFile = resultOutputFile;
            SourceRegion = sourceRegion;
            StartTime = startTime;
        }
    }
}
