// *** 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.Vcd
{
    public static class GetNsxtDynamicSecurityGroup
    {
        public static Task<GetNsxtDynamicSecurityGroupResult> InvokeAsync(GetNsxtDynamicSecurityGroupArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNsxtDynamicSecurityGroupResult>("vcd:index/getNsxtDynamicSecurityGroup:getNsxtDynamicSecurityGroup", args ?? new GetNsxtDynamicSecurityGroupArgs(), options.WithDefaults());

        public static Output<GetNsxtDynamicSecurityGroupResult> Invoke(GetNsxtDynamicSecurityGroupInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetNsxtDynamicSecurityGroupResult>("vcd:index/getNsxtDynamicSecurityGroup:getNsxtDynamicSecurityGroup", args ?? new GetNsxtDynamicSecurityGroupInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetNsxtDynamicSecurityGroupArgs : global::Pulumi.InvokeArgs
    {
        [Input("description")]
        public string? Description { get; set; }

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

        [Input("org")]
        public string? Org { get; set; }

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

        public GetNsxtDynamicSecurityGroupArgs()
        {
        }
        public static new GetNsxtDynamicSecurityGroupArgs Empty => new GetNsxtDynamicSecurityGroupArgs();
    }

    public sealed class GetNsxtDynamicSecurityGroupInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("description")]
        public Input<string>? Description { get; set; }

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

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

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

        public GetNsxtDynamicSecurityGroupInvokeArgs()
        {
        }
        public static new GetNsxtDynamicSecurityGroupInvokeArgs Empty => new GetNsxtDynamicSecurityGroupInvokeArgs();
    }


    [OutputType]
    public sealed class GetNsxtDynamicSecurityGroupResult
    {
        public readonly ImmutableArray<Outputs.GetNsxtDynamicSecurityGroupCriteriaResult> Criterias;
        public readonly string? Description;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetNsxtDynamicSecurityGroupMemberVmResult> MemberVms;
        public readonly string Name;
        public readonly string? Org;
        public readonly string VdcGroupId;

        [OutputConstructor]
        private GetNsxtDynamicSecurityGroupResult(
            ImmutableArray<Outputs.GetNsxtDynamicSecurityGroupCriteriaResult> criterias,

            string? description,

            string id,

            ImmutableArray<Outputs.GetNsxtDynamicSecurityGroupMemberVmResult> memberVms,

            string name,

            string? org,

            string vdcGroupId)
        {
            Criterias = criterias;
            Description = description;
            Id = id;
            MemberVms = memberVms;
            Name = name;
            Org = org;
            VdcGroupId = vdcGroupId;
        }
    }
}
