// *** 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;

namespace Pulumi.Tctest.Dayu
{
    public static class DdosPolicies
    {
        public static Task<DdosPoliciesResult> InvokeAsync(DdosPoliciesArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<DdosPoliciesResult>("tctest:Dayu/ddosPolicies:DdosPolicies", args ?? new DdosPoliciesArgs(), options.WithDefaults());

        public static Output<DdosPoliciesResult> Invoke(DdosPoliciesInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<DdosPoliciesResult>("tctest:Dayu/ddosPolicies:DdosPolicies", args ?? new DdosPoliciesInvokeArgs(), options.WithDefaults());
    }


    public sealed class DdosPoliciesArgs : Pulumi.InvokeArgs
    {
        [Input("policyId")]
        public string? PolicyId { get; set; }

        [Input("resourceType", required: true)]
        public string ResourceType { get; set; } = null!;

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public DdosPoliciesArgs()
        {
        }
    }

    public sealed class DdosPoliciesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("policyId")]
        public Input<string>? PolicyId { get; set; }

        [Input("resourceType", required: true)]
        public Input<string> ResourceType { get; set; } = null!;

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public DdosPoliciesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class DdosPoliciesResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.DdosPoliciesListResult> Lists;
        public readonly string? PolicyId;
        public readonly string ResourceType;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private DdosPoliciesResult(
            string id,

            ImmutableArray<Outputs.DdosPoliciesListResult> lists,

            string? policyId,

            string resourceType,

            string? resultOutputFile)
        {
            Id = id;
            Lists = lists;
            PolicyId = policyId;
            ResourceType = resourceType;
            ResultOutputFile = resultOutputFile;
        }
    }
}
