<reponame>Kagashino/pulumi-tctest// *** 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 DdosPolicyAttachments
    {
        public static Task<DdosPolicyAttachmentsResult> InvokeAsync(DdosPolicyAttachmentsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<DdosPolicyAttachmentsResult>("tctest:Dayu/ddosPolicyAttachments:DdosPolicyAttachments", args ?? new DdosPolicyAttachmentsArgs(), options.WithDefaults());

        public static Output<DdosPolicyAttachmentsResult> Invoke(DdosPolicyAttachmentsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<DdosPolicyAttachmentsResult>("tctest:Dayu/ddosPolicyAttachments:DdosPolicyAttachments", args ?? new DdosPolicyAttachmentsInvokeArgs(), options.WithDefaults());
    }


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

        [Input("resourceId")]
        public string? ResourceId { get; set; }

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

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

        public DdosPolicyAttachmentsArgs()
        {
        }
    }

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

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

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

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

        public DdosPolicyAttachmentsInvokeArgs()
        {
        }
    }


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

        [OutputConstructor]
        private DdosPolicyAttachmentsResult(
            ImmutableArray<Outputs.DdosPolicyAttachmentsDayuDdosPolicyAttachmentListResult> dayuDdosPolicyAttachmentLists,

            string id,

            string? policyId,

            string? resourceId,

            string resourceType,

            string? resultOutputFile)
        {
            DayuDdosPolicyAttachmentLists = dayuDdosPolicyAttachmentLists;
            Id = id;
            PolicyId = policyId;
            ResourceId = resourceId;
            ResourceType = resourceType;
            ResultOutputFile = resultOutputFile;
        }
    }
}
