1. Packages
  2. Azure Native
  3. API Docs
  4. compute
  5. GalleryApplication
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.38.0 published on Monday, Apr 22, 2024 by Pulumi

azure-native.compute.GalleryApplication

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.38.0 published on Monday, Apr 22, 2024 by Pulumi

    Specifies information about the gallery Application Definition that you want to create or update. Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30.

    Other available API versions: 2022-08-03, 2023-07-03.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var galleryApplication = new AzureNative.Compute.GalleryApplication("galleryApplication", new()
        {
            CustomActions = new[]
            {
                new AzureNative.Compute.Inputs.GalleryApplicationCustomActionArgs
                {
                    Description = "This is the custom action description.",
                    Name = "myCustomAction",
                    Parameters = new[]
                    {
                        new AzureNative.Compute.Inputs.GalleryApplicationCustomActionParameterArgs
                        {
                            DefaultValue = "default value of parameter.",
                            Description = "This is the description of the parameter",
                            Name = "myCustomActionParameter",
                            Required = false,
                            Type = AzureNative.Compute.GalleryApplicationCustomActionParameterType.String,
                        },
                    },
                    Script = "myCustomActionScript",
                },
            },
            Description = "This is the gallery application description.",
            Eula = "This is the gallery application EULA.",
            GalleryApplicationName = "myGalleryApplicationName",
            GalleryName = "myGalleryName",
            Location = "West US",
            PrivacyStatementUri = "myPrivacyStatementUri}",
            ReleaseNoteUri = "myReleaseNoteUri",
            ResourceGroupName = "myResourceGroup",
            SupportedOSType = AzureNative.Compute.OperatingSystemTypes.Windows,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := compute.NewGalleryApplication(ctx, "galleryApplication", &compute.GalleryApplicationArgs{
    			CustomActions: compute.GalleryApplicationCustomActionArray{
    				&compute.GalleryApplicationCustomActionArgs{
    					Description: pulumi.String("This is the custom action description."),
    					Name:        pulumi.String("myCustomAction"),
    					Parameters: compute.GalleryApplicationCustomActionParameterArray{
    						&compute.GalleryApplicationCustomActionParameterArgs{
    							DefaultValue: pulumi.String("default value of parameter."),
    							Description:  pulumi.String("This is the description of the parameter"),
    							Name:         pulumi.String("myCustomActionParameter"),
    							Required:     pulumi.Bool(false),
    							Type:         compute.GalleryApplicationCustomActionParameterTypeString,
    						},
    					},
    					Script: pulumi.String("myCustomActionScript"),
    				},
    			},
    			Description:            pulumi.String("This is the gallery application description."),
    			Eula:                   pulumi.String("This is the gallery application EULA."),
    			GalleryApplicationName: pulumi.String("myGalleryApplicationName"),
    			GalleryName:            pulumi.String("myGalleryName"),
    			Location:               pulumi.String("West US"),
    			PrivacyStatementUri:    pulumi.String("myPrivacyStatementUri}"),
    			ReleaseNoteUri:         pulumi.String("myReleaseNoteUri"),
    			ResourceGroupName:      pulumi.String("myResourceGroup"),
    			SupportedOSType:        compute.OperatingSystemTypesWindows,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.GalleryApplication;
    import com.pulumi.azurenative.compute.GalleryApplicationArgs;
    import com.pulumi.azurenative.compute.inputs.GalleryApplicationCustomActionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var galleryApplication = new GalleryApplication("galleryApplication", GalleryApplicationArgs.builder()        
                .customActions(GalleryApplicationCustomActionArgs.builder()
                    .description("This is the custom action description.")
                    .name("myCustomAction")
                    .parameters(GalleryApplicationCustomActionParameterArgs.builder()
                        .defaultValue("default value of parameter.")
                        .description("This is the description of the parameter")
                        .name("myCustomActionParameter")
                        .required(false)
                        .type("String")
                        .build())
                    .script("myCustomActionScript")
                    .build())
                .description("This is the gallery application description.")
                .eula("This is the gallery application EULA.")
                .galleryApplicationName("myGalleryApplicationName")
                .galleryName("myGalleryName")
                .location("West US")
                .privacyStatementUri("myPrivacyStatementUri}")
                .releaseNoteUri("myReleaseNoteUri")
                .resourceGroupName("myResourceGroup")
                .supportedOSType("Windows")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    gallery_application = azure_native.compute.GalleryApplication("galleryApplication",
        custom_actions=[azure_native.compute.GalleryApplicationCustomActionArgs(
            description="This is the custom action description.",
            name="myCustomAction",
            parameters=[azure_native.compute.GalleryApplicationCustomActionParameterArgs(
                default_value="default value of parameter.",
                description="This is the description of the parameter",
                name="myCustomActionParameter",
                required=False,
                type=azure_native.compute.GalleryApplicationCustomActionParameterType.STRING,
            )],
            script="myCustomActionScript",
        )],
        description="This is the gallery application description.",
        eula="This is the gallery application EULA.",
        gallery_application_name="myGalleryApplicationName",
        gallery_name="myGalleryName",
        location="West US",
        privacy_statement_uri="myPrivacyStatementUri}",
        release_note_uri="myReleaseNoteUri",
        resource_group_name="myResourceGroup",
        supported_os_type=azure_native.compute.OperatingSystemTypes.WINDOWS)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const galleryApplication = new azure_native.compute.GalleryApplication("galleryApplication", {
        customActions: [{
            description: "This is the custom action description.",
            name: "myCustomAction",
            parameters: [{
                defaultValue: "default value of parameter.",
                description: "This is the description of the parameter",
                name: "myCustomActionParameter",
                required: false,
                type: azure_native.compute.GalleryApplicationCustomActionParameterType.String,
            }],
            script: "myCustomActionScript",
        }],
        description: "This is the gallery application description.",
        eula: "This is the gallery application EULA.",
        galleryApplicationName: "myGalleryApplicationName",
        galleryName: "myGalleryName",
        location: "West US",
        privacyStatementUri: "myPrivacyStatementUri}",
        releaseNoteUri: "myReleaseNoteUri",
        resourceGroupName: "myResourceGroup",
        supportedOSType: azure_native.compute.OperatingSystemTypes.Windows,
    });
    
    resources:
      galleryApplication:
        type: azure-native:compute:GalleryApplication
        properties:
          customActions:
            - description: This is the custom action description.
              name: myCustomAction
              parameters:
                - defaultValue: default value of parameter.
                  description: This is the description of the parameter
                  name: myCustomActionParameter
                  required: false
                  type: String
              script: myCustomActionScript
          description: This is the gallery application description.
          eula: This is the gallery application EULA.
          galleryApplicationName: myGalleryApplicationName
          galleryName: myGalleryName
          location: West US
          privacyStatementUri: myPrivacyStatementUri}
          releaseNoteUri: myReleaseNoteUri
          resourceGroupName: myResourceGroup
          supportedOSType: Windows
    

    Create GalleryApplication Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GalleryApplication(name: string, args: GalleryApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def GalleryApplication(resource_name: str,
                           args: GalleryApplicationArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def GalleryApplication(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           gallery_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           supported_os_type: Optional[OperatingSystemTypes] = None,
                           custom_actions: Optional[Sequence[GalleryApplicationCustomActionArgs]] = None,
                           description: Optional[str] = None,
                           end_of_life_date: Optional[str] = None,
                           eula: Optional[str] = None,
                           gallery_application_name: Optional[str] = None,
                           location: Optional[str] = None,
                           privacy_statement_uri: Optional[str] = None,
                           release_note_uri: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None)
    func NewGalleryApplication(ctx *Context, name string, args GalleryApplicationArgs, opts ...ResourceOption) (*GalleryApplication, error)
    public GalleryApplication(string name, GalleryApplicationArgs args, CustomResourceOptions? opts = null)
    public GalleryApplication(String name, GalleryApplicationArgs args)
    public GalleryApplication(String name, GalleryApplicationArgs args, CustomResourceOptions options)
    
    type: azure-native:compute:GalleryApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GalleryApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GalleryApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GalleryApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GalleryApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GalleryApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var galleryApplicationResource = new AzureNative.Compute.GalleryApplication("galleryApplicationResource", new()
    {
        GalleryName = "string",
        ResourceGroupName = "string",
        SupportedOSType = AzureNative.Compute.OperatingSystemTypes.Windows,
        CustomActions = new[]
        {
            new AzureNative.Compute.Inputs.GalleryApplicationCustomActionArgs
            {
                Name = "string",
                Script = "string",
                Description = "string",
                Parameters = new[]
                {
                    new AzureNative.Compute.Inputs.GalleryApplicationCustomActionParameterArgs
                    {
                        Name = "string",
                        DefaultValue = "string",
                        Description = "string",
                        Required = false,
                        Type = AzureNative.Compute.GalleryApplicationCustomActionParameterType.String,
                    },
                },
            },
        },
        Description = "string",
        EndOfLifeDate = "string",
        Eula = "string",
        GalleryApplicationName = "string",
        Location = "string",
        PrivacyStatementUri = "string",
        ReleaseNoteUri = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := compute.NewGalleryApplication(ctx, "galleryApplicationResource", &compute.GalleryApplicationArgs{
    GalleryName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    SupportedOSType: compute.OperatingSystemTypesWindows,
    CustomActions: compute.GalleryApplicationCustomActionArray{
    &compute.GalleryApplicationCustomActionArgs{
    Name: pulumi.String("string"),
    Script: pulumi.String("string"),
    Description: pulumi.String("string"),
    Parameters: compute.GalleryApplicationCustomActionParameterArray{
    &compute.GalleryApplicationCustomActionParameterArgs{
    Name: pulumi.String("string"),
    DefaultValue: pulumi.String("string"),
    Description: pulumi.String("string"),
    Required: pulumi.Bool(false),
    Type: compute.GalleryApplicationCustomActionParameterTypeString,
    },
    },
    },
    },
    Description: pulumi.String("string"),
    EndOfLifeDate: pulumi.String("string"),
    Eula: pulumi.String("string"),
    GalleryApplicationName: pulumi.String("string"),
    Location: pulumi.String("string"),
    PrivacyStatementUri: pulumi.String("string"),
    ReleaseNoteUri: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var galleryApplicationResource = new GalleryApplication("galleryApplicationResource", GalleryApplicationArgs.builder()        
        .galleryName("string")
        .resourceGroupName("string")
        .supportedOSType("Windows")
        .customActions(GalleryApplicationCustomActionArgs.builder()
            .name("string")
            .script("string")
            .description("string")
            .parameters(GalleryApplicationCustomActionParameterArgs.builder()
                .name("string")
                .defaultValue("string")
                .description("string")
                .required(false)
                .type("String")
                .build())
            .build())
        .description("string")
        .endOfLifeDate("string")
        .eula("string")
        .galleryApplicationName("string")
        .location("string")
        .privacyStatementUri("string")
        .releaseNoteUri("string")
        .tags(Map.of("string", "string"))
        .build());
    
    gallery_application_resource = azure_native.compute.GalleryApplication("galleryApplicationResource",
        gallery_name="string",
        resource_group_name="string",
        supported_os_type=azure_native.compute.OperatingSystemTypes.WINDOWS,
        custom_actions=[azure_native.compute.GalleryApplicationCustomActionArgs(
            name="string",
            script="string",
            description="string",
            parameters=[azure_native.compute.GalleryApplicationCustomActionParameterArgs(
                name="string",
                default_value="string",
                description="string",
                required=False,
                type=azure_native.compute.GalleryApplicationCustomActionParameterType.STRING,
            )],
        )],
        description="string",
        end_of_life_date="string",
        eula="string",
        gallery_application_name="string",
        location="string",
        privacy_statement_uri="string",
        release_note_uri="string",
        tags={
            "string": "string",
        })
    
    const galleryApplicationResource = new azure_native.compute.GalleryApplication("galleryApplicationResource", {
        galleryName: "string",
        resourceGroupName: "string",
        supportedOSType: azure_native.compute.OperatingSystemTypes.Windows,
        customActions: [{
            name: "string",
            script: "string",
            description: "string",
            parameters: [{
                name: "string",
                defaultValue: "string",
                description: "string",
                required: false,
                type: azure_native.compute.GalleryApplicationCustomActionParameterType.String,
            }],
        }],
        description: "string",
        endOfLifeDate: "string",
        eula: "string",
        galleryApplicationName: "string",
        location: "string",
        privacyStatementUri: "string",
        releaseNoteUri: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:compute:GalleryApplication
    properties:
        customActions:
            - description: string
              name: string
              parameters:
                - defaultValue: string
                  description: string
                  name: string
                  required: false
                  type: String
              script: string
        description: string
        endOfLifeDate: string
        eula: string
        galleryApplicationName: string
        galleryName: string
        location: string
        privacyStatementUri: string
        releaseNoteUri: string
        resourceGroupName: string
        supportedOSType: Windows
        tags:
            string: string
    

    GalleryApplication Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The GalleryApplication resource accepts the following input properties:

    GalleryName string
    The name of the Shared Application Gallery in which the Application Definition is to be created.
    ResourceGroupName string
    The name of the resource group.
    SupportedOSType Pulumi.AzureNative.Compute.OperatingSystemTypes
    This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows Linux
    CustomActions List<Pulumi.AzureNative.Compute.Inputs.GalleryApplicationCustomAction>
    A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
    Description string
    The description of this gallery Application Definition resource. This property is updatable.
    EndOfLifeDate string
    The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    Eula string
    The Eula agreement for the gallery Application Definition.
    GalleryApplicationName string
    The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
    Location string
    Resource location
    PrivacyStatementUri string
    The privacy statement uri.
    ReleaseNoteUri string
    The release note uri.
    Tags Dictionary<string, string>
    Resource tags
    GalleryName string
    The name of the Shared Application Gallery in which the Application Definition is to be created.
    ResourceGroupName string
    The name of the resource group.
    SupportedOSType OperatingSystemTypes
    This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows Linux
    CustomActions []GalleryApplicationCustomActionArgs
    A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
    Description string
    The description of this gallery Application Definition resource. This property is updatable.
    EndOfLifeDate string
    The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    Eula string
    The Eula agreement for the gallery Application Definition.
    GalleryApplicationName string
    The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
    Location string
    Resource location
    PrivacyStatementUri string
    The privacy statement uri.
    ReleaseNoteUri string
    The release note uri.
    Tags map[string]string
    Resource tags
    galleryName String
    The name of the Shared Application Gallery in which the Application Definition is to be created.
    resourceGroupName String
    The name of the resource group.
    supportedOSType OperatingSystemTypes
    This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows Linux
    customActions List<GalleryApplicationCustomAction>
    A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
    description String
    The description of this gallery Application Definition resource. This property is updatable.
    endOfLifeDate String
    The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    eula String
    The Eula agreement for the gallery Application Definition.
    galleryApplicationName String
    The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
    location String
    Resource location
    privacyStatementUri String
    The privacy statement uri.
    releaseNoteUri String
    The release note uri.
    tags Map<String,String>
    Resource tags
    galleryName string
    The name of the Shared Application Gallery in which the Application Definition is to be created.
    resourceGroupName string
    The name of the resource group.
    supportedOSType OperatingSystemTypes
    This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows Linux
    customActions GalleryApplicationCustomAction[]
    A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
    description string
    The description of this gallery Application Definition resource. This property is updatable.
    endOfLifeDate string
    The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    eula string
    The Eula agreement for the gallery Application Definition.
    galleryApplicationName string
    The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
    location string
    Resource location
    privacyStatementUri string
    The privacy statement uri.
    releaseNoteUri string
    The release note uri.
    tags {[key: string]: string}
    Resource tags
    gallery_name str
    The name of the Shared Application Gallery in which the Application Definition is to be created.
    resource_group_name str
    The name of the resource group.
    supported_os_type OperatingSystemTypes
    This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows Linux
    custom_actions Sequence[GalleryApplicationCustomActionArgs]
    A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
    description str
    The description of this gallery Application Definition resource. This property is updatable.
    end_of_life_date str
    The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    eula str
    The Eula agreement for the gallery Application Definition.
    gallery_application_name str
    The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
    location str
    Resource location
    privacy_statement_uri str
    The privacy statement uri.
    release_note_uri str
    The release note uri.
    tags Mapping[str, str]
    Resource tags
    galleryName String
    The name of the Shared Application Gallery in which the Application Definition is to be created.
    resourceGroupName String
    The name of the resource group.
    supportedOSType "Windows" | "Linux"
    This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows Linux
    customActions List<Property Map>
    A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
    description String
    The description of this gallery Application Definition resource. This property is updatable.
    endOfLifeDate String
    The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    eula String
    The Eula agreement for the gallery Application Definition.
    galleryApplicationName String
    The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
    location String
    Resource location
    privacyStatementUri String
    The privacy statement uri.
    releaseNoteUri String
    The release note uri.
    tags Map<String>
    Resource tags

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GalleryApplication resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    Type string
    Resource type
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    Type string
    Resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    type String
    Resource type
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name
    type string
    Resource type
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name
    type str
    Resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    type String
    Resource type

    Supporting Types

    GalleryApplicationCustomAction, GalleryApplicationCustomActionArgs

    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    Script string
    The script to run when executing this custom action.
    Description string
    Description to help the users understand what this custom action does.
    Parameters List<Pulumi.AzureNative.Compute.Inputs.GalleryApplicationCustomActionParameter>
    The parameters that this custom action uses
    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    Script string
    The script to run when executing this custom action.
    Description string
    Description to help the users understand what this custom action does.
    Parameters []GalleryApplicationCustomActionParameter
    The parameters that this custom action uses
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    script String
    The script to run when executing this custom action.
    description String
    Description to help the users understand what this custom action does.
    parameters List<GalleryApplicationCustomActionParameter>
    The parameters that this custom action uses
    name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    script string
    The script to run when executing this custom action.
    description string
    Description to help the users understand what this custom action does.
    parameters GalleryApplicationCustomActionParameter[]
    The parameters that this custom action uses
    name str
    The name of the custom action. Must be unique within the Gallery Application Version.
    script str
    The script to run when executing this custom action.
    description str
    Description to help the users understand what this custom action does.
    parameters Sequence[GalleryApplicationCustomActionParameter]
    The parameters that this custom action uses
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    script String
    The script to run when executing this custom action.
    description String
    Description to help the users understand what this custom action does.
    parameters List<Property Map>
    The parameters that this custom action uses

    GalleryApplicationCustomActionParameter, GalleryApplicationCustomActionParameterArgs

    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    DefaultValue string
    The default value of the parameter. Only applies to string types
    Description string
    A description to help users understand what this parameter means
    Required bool
    Indicates whether this parameter must be passed when running the custom action.
    Type Pulumi.AzureNative.Compute.GalleryApplicationCustomActionParameterType
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    DefaultValue string
    The default value of the parameter. Only applies to string types
    Description string
    A description to help users understand what this parameter means
    Required bool
    Indicates whether this parameter must be passed when running the custom action.
    Type GalleryApplicationCustomActionParameterType
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    defaultValue String
    The default value of the parameter. Only applies to string types
    description String
    A description to help users understand what this parameter means
    required Boolean
    Indicates whether this parameter must be passed when running the custom action.
    type GalleryApplicationCustomActionParameterType
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    defaultValue string
    The default value of the parameter. Only applies to string types
    description string
    A description to help users understand what this parameter means
    required boolean
    Indicates whether this parameter must be passed when running the custom action.
    type GalleryApplicationCustomActionParameterType
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name str
    The name of the custom action. Must be unique within the Gallery Application Version.
    default_value str
    The default value of the parameter. Only applies to string types
    description str
    A description to help users understand what this parameter means
    required bool
    Indicates whether this parameter must be passed when running the custom action.
    type GalleryApplicationCustomActionParameterType
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    defaultValue String
    The default value of the parameter. Only applies to string types
    description String
    A description to help users understand what this parameter means
    required Boolean
    Indicates whether this parameter must be passed when running the custom action.
    type "String" | "ConfigurationDataBlob" | "LogOutputBlob"
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob

    GalleryApplicationCustomActionParameterResponse, GalleryApplicationCustomActionParameterResponseArgs

    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    DefaultValue string
    The default value of the parameter. Only applies to string types
    Description string
    A description to help users understand what this parameter means
    Required bool
    Indicates whether this parameter must be passed when running the custom action.
    Type string
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    DefaultValue string
    The default value of the parameter. Only applies to string types
    Description string
    A description to help users understand what this parameter means
    Required bool
    Indicates whether this parameter must be passed when running the custom action.
    Type string
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    defaultValue String
    The default value of the parameter. Only applies to string types
    description String
    A description to help users understand what this parameter means
    required Boolean
    Indicates whether this parameter must be passed when running the custom action.
    type String
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    defaultValue string
    The default value of the parameter. Only applies to string types
    description string
    A description to help users understand what this parameter means
    required boolean
    Indicates whether this parameter must be passed when running the custom action.
    type string
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name str
    The name of the custom action. Must be unique within the Gallery Application Version.
    default_value str
    The default value of the parameter. Only applies to string types
    description str
    A description to help users understand what this parameter means
    required bool
    Indicates whether this parameter must be passed when running the custom action.
    type str
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    defaultValue String
    The default value of the parameter. Only applies to string types
    description String
    A description to help users understand what this parameter means
    required Boolean
    Indicates whether this parameter must be passed when running the custom action.
    type String
    Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob

    GalleryApplicationCustomActionParameterType, GalleryApplicationCustomActionParameterTypeArgs

    String
    String
    ConfigurationDataBlob
    ConfigurationDataBlob
    LogOutputBlob
    LogOutputBlob
    GalleryApplicationCustomActionParameterTypeString
    String
    GalleryApplicationCustomActionParameterTypeConfigurationDataBlob
    ConfigurationDataBlob
    GalleryApplicationCustomActionParameterTypeLogOutputBlob
    LogOutputBlob
    String
    String
    ConfigurationDataBlob
    ConfigurationDataBlob
    LogOutputBlob
    LogOutputBlob
    String
    String
    ConfigurationDataBlob
    ConfigurationDataBlob
    LogOutputBlob
    LogOutputBlob
    STRING
    String
    CONFIGURATION_DATA_BLOB
    ConfigurationDataBlob
    LOG_OUTPUT_BLOB
    LogOutputBlob
    "String"
    String
    "ConfigurationDataBlob"
    ConfigurationDataBlob
    "LogOutputBlob"
    LogOutputBlob

    GalleryApplicationCustomActionResponse, GalleryApplicationCustomActionResponseArgs

    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    Script string
    The script to run when executing this custom action.
    Description string
    Description to help the users understand what this custom action does.
    Parameters List<Pulumi.AzureNative.Compute.Inputs.GalleryApplicationCustomActionParameterResponse>
    The parameters that this custom action uses
    Name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    Script string
    The script to run when executing this custom action.
    Description string
    Description to help the users understand what this custom action does.
    Parameters []GalleryApplicationCustomActionParameterResponse
    The parameters that this custom action uses
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    script String
    The script to run when executing this custom action.
    description String
    Description to help the users understand what this custom action does.
    parameters List<GalleryApplicationCustomActionParameterResponse>
    The parameters that this custom action uses
    name string
    The name of the custom action. Must be unique within the Gallery Application Version.
    script string
    The script to run when executing this custom action.
    description string
    Description to help the users understand what this custom action does.
    parameters GalleryApplicationCustomActionParameterResponse[]
    The parameters that this custom action uses
    name str
    The name of the custom action. Must be unique within the Gallery Application Version.
    script str
    The script to run when executing this custom action.
    description str
    Description to help the users understand what this custom action does.
    parameters Sequence[GalleryApplicationCustomActionParameterResponse]
    The parameters that this custom action uses
    name String
    The name of the custom action. Must be unique within the Gallery Application Version.
    script String
    The script to run when executing this custom action.
    description String
    Description to help the users understand what this custom action does.
    parameters List<Property Map>
    The parameters that this custom action uses

    OperatingSystemTypes, OperatingSystemTypesArgs

    Windows
    Windows
    Linux
    Linux
    OperatingSystemTypesWindows
    Windows
    OperatingSystemTypesLinux
    Linux
    Windows
    Windows
    Linux
    Linux
    Windows
    Windows
    Linux
    Linux
    WINDOWS
    Windows
    LINUX
    Linux
    "Windows"
    Windows
    "Linux"
    Linux

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:compute:GalleryApplication myGalleryApplicationName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.38.0 published on Monday, Apr 22, 2024 by Pulumi