<gh_stars>0// *** 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.Cvm
{
    public static class Images
    {
        public static Task<ImagesResult> InvokeAsync(ImagesArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ImagesResult>("tctest:Cvm/images:Images", args ?? new ImagesArgs(), options.WithDefaults());

        public static Output<ImagesResult> Invoke(ImagesInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ImagesResult>("tctest:Cvm/images:Images", args ?? new ImagesInvokeArgs(), options.WithDefaults());
    }


    public sealed class ImagesArgs : Pulumi.InvokeArgs
    {
        [Input("imageId")]
        public string? ImageId { get; set; }

        [Input("imageNameRegex")]
        public string? ImageNameRegex { get; set; }

        [Input("imageTypes")]
        private List<string>? _imageTypes;
        public List<string> ImageTypes
        {
            get => _imageTypes ?? (_imageTypes = new List<string>());
            set => _imageTypes = value;
        }

        [Input("osName")]
        public string? OsName { get; set; }

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

        public ImagesArgs()
        {
        }
    }

    public sealed class ImagesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("imageId")]
        public Input<string>? ImageId { get; set; }

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

        [Input("imageTypes")]
        private InputList<string>? _imageTypes;
        public InputList<string> ImageTypes
        {
            get => _imageTypes ?? (_imageTypes = new InputList<string>());
            set => _imageTypes = value;
        }

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

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

        public ImagesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ImagesResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? ImageId;
        public readonly string? ImageNameRegex;
        public readonly ImmutableArray<string> ImageTypes;
        public readonly ImmutableArray<Outputs.ImagesImageResult> Images;
        public readonly string? OsName;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private ImagesResult(
            string id,

            string? imageId,

            string? imageNameRegex,

            ImmutableArray<string> imageTypes,

            ImmutableArray<Outputs.ImagesImageResult> images,

            string? osName,

            string? resultOutputFile)
        {
            Id = id;
            ImageId = imageId;
            ImageNameRegex = imageNameRegex;
            ImageTypes = imageTypes;
            Images = images;
            OsName = osName;
            ResultOutputFile = resultOutputFile;
        }
    }
}
