<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.AliCloud.SimpleApplicationServer
{
    public static class GetImages
    {
        public static Task<GetImagesResult> InvokeAsync(GetImagesArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetImagesResult>("alicloud:simpleapplicationserver/getImages:getImages", args ?? new GetImagesArgs(), options.WithDefaults());

        public static Output<GetImagesResult> Invoke(GetImagesInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetImagesResult>("alicloud:simpleapplicationserver/getImages:getImages", args ?? new GetImagesInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetImagesArgs : global::Pulumi.InvokeArgs
    {
        [Input("ids")]
        private List<string>? _ids;
        public List<string> Ids
        {
            get => _ids ?? (_ids = new List<string>());
            set => _ids = value;
        }

        /// <summary>
        /// The type of the image. Valid values: `app`, `custom`, `system`.
        /// * `system`: operating system (OS) image.
        /// * `app`: application image.
        /// * `custom`: custom image.
        /// </summary>
        [Input("imageType")]
        public string? ImageType { get; set; }

        [Input("nameRegex")]
        public string? NameRegex { get; set; }

        [Input("outputFile")]
        public string? OutputFile { get; set; }

        /// <summary>
        /// The platform of Plan supported.
        /// </summary>
        [Input("platform")]
        public string? Platform { get; set; }

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

    public sealed class GetImagesInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("ids")]
        private InputList<string>? _ids;
        public InputList<string> Ids
        {
            get => _ids ?? (_ids = new InputList<string>());
            set => _ids = value;
        }

        /// <summary>
        /// The type of the image. Valid values: `app`, `custom`, `system`.
        /// * `system`: operating system (OS) image.
        /// * `app`: application image.
        /// * `custom`: custom image.
        /// </summary>
        [Input("imageType")]
        public Input<string>? ImageType { get; set; }

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

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

        /// <summary>
        /// The platform of Plan supported.
        /// </summary>
        [Input("platform")]
        public Input<string>? Platform { get; set; }

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


    [OutputType]
    public sealed class GetImagesResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<string> Ids;
        public readonly string? ImageType;
        public readonly ImmutableArray<Outputs.GetImagesImageResult> Images;
        public readonly string? NameRegex;
        public readonly ImmutableArray<string> Names;
        public readonly string? OutputFile;
        public readonly string? Platform;

        [OutputConstructor]
        private GetImagesResult(
            string id,

            ImmutableArray<string> ids,

            string? imageType,

            ImmutableArray<Outputs.GetImagesImageResult> images,

            string? nameRegex,

            ImmutableArray<string> names,

            string? outputFile,

            string? platform)
        {
            Id = id;
            Ids = ids;
            ImageType = imageType;
            Images = images;
            NameRegex = nameRegex;
            Names = names;
            OutputFile = outputFile;
            Platform = platform;
        }
    }
}
