GalleryApplicationArgs

data class GalleryApplicationArgs(val description: Output<String>? = null, val endOfLifeDate: Output<String>? = null, val eula: Output<String>? = null, val galleryId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val privacyStatementUri: Output<String>? = null, val releaseNoteUri: Output<String>? = null, val supportedOsType: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<GalleryApplicationArgs>

Manages a Gallery Application.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.compute.SharedImageGallery;
import com.pulumi.azure.compute.SharedImageGalleryArgs;
import com.pulumi.azure.compute.GalleryApplication;
import com.pulumi.azure.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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleSharedImageGallery = new SharedImageGallery("exampleSharedImageGallery", SharedImageGalleryArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.build());
var exampleGalleryApplication = new GalleryApplication("exampleGalleryApplication", GalleryApplicationArgs.builder()
.galleryId(exampleSharedImageGallery.id())
.location(exampleResourceGroup.location())
.supportedOsType("Linux")
.build());
}
}

Import

Gallery Applications can be imported using the resource id, e.g.

$ pulumi import azure:compute/galleryApplication:GalleryApplication example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Compute/galleries/gallery1/applications/galleryApplication1

Constructors

Link copied to clipboard
fun GalleryApplicationArgs(description: Output<String>? = null, endOfLifeDate: Output<String>? = null, eula: Output<String>? = null, galleryId: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, privacyStatementUri: Output<String>? = null, releaseNoteUri: Output<String>? = null, supportedOsType: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

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

Properties

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

A description of the Gallery Application.

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

The end of life date in RFC3339 format of the Gallery Application.

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

The End User Licence Agreement of the Gallery Application.

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

The ID of the Shared Image Gallery. Changing this forces a new resource to be created.

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

The Azure Region where the Gallery Application exists. Changing this forces a new resource to be created.

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

The name of the Gallery Application. Changing this forces a new resource to be created.

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

The URI containing the Privacy Statement associated with the Gallery Application.

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

The URI containing the Release Notes associated with the Gallery Application.

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

The type of the Operating System supported for the Gallery Application. Possible values are Linux and Windows. Changing this forces a new resource to be created.

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

A mapping of tags to assign to the Gallery Application.