GalleryApplicationArgs

data class GalleryApplicationArgs(val description: Output<String>? = null, val endOfLifeDate: Output<String>? = null, val eula: Output<String>? = null, val galleryApplicationName: Output<String>? = null, val galleryName: Output<String>? = null, val location: Output<String>? = null, val privacyStatementUri: Output<String>? = null, val releaseNoteUri: Output<String>? = null, val resourceGroupName: Output<String>? = null, val supportedOSType: Output<OperatingSystemTypes>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<GalleryApplicationArgs>

Specifies information about the gallery Application Definition that you want to create or update. API Version: 2020-09-30.

Example Usage

Create or update a simple gallery Application.

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()
{
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 (
compute "github.com/pulumi/pulumi-azure-native-sdk/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewGalleryApplication(ctx, "galleryApplication", &compute.GalleryApplicationArgs{
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 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()
.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

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

$ pulumi import azure-native:compute:GalleryApplication myGalleryApplicationName /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, endOfLifeDate: Output<String>? = null, eula: Output<String>? = null, galleryApplicationName: Output<String>? = null, galleryName: Output<String>? = null, location: Output<String>? = null, privacyStatementUri: Output<String>? = null, releaseNoteUri: Output<String>? = null, resourceGroupName: Output<String>? = null, supportedOSType: Output<OperatingSystemTypes>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of this gallery Application Definition resource. This property is updatable.

Link copied to clipboard
val endOfLifeDate: Output<String>? = null

The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.

Link copied to clipboard
val eula: Output<String>? = null

The Eula agreement for the gallery Application Definition.

Link copied to clipboard
val galleryApplicationName: Output<String>? = null

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.

Link copied to clipboard
val galleryName: Output<String>? = null

The name of the Shared Application Gallery in which the Application Definition is to be created.

Link copied to clipboard
val location: Output<String>? = null

Resource location

Link copied to clipboard
val privacyStatementUri: Output<String>? = null

The privacy statement uri.

Link copied to clipboard
val releaseNoteUri: Output<String>? = null

The release note uri.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard

This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

Windows

Linux

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags

Functions

Link copied to clipboard
open override fun toJava(): GalleryApplicationArgs