Azure Native

v1.78.0 published on Wednesday, Sep 14, 2022 by Pulumi

GalleryApplication

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

Example Usage

using System.Collections.Generic;
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/go/azure/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 pulumi
import pulumi_azure_native as azure_native

gallery_application = azure_native.compute.GalleryApplication("galleryApplication",
    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", {
    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:
      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 a GalleryApplication Resource

new GalleryApplication(name: string, args: GalleryApplicationArgs, opts?: CustomResourceOptions);
@overload
def GalleryApplication(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       description: Optional[str] = None,
                       end_of_life_date: Optional[str] = None,
                       eula: Optional[str] = None,
                       gallery_application_name: Optional[str] = None,
                       gallery_name: Optional[str] = None,
                       location: Optional[str] = None,
                       privacy_statement_uri: Optional[str] = None,
                       release_note_uri: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       supported_os_type: Optional[OperatingSystemTypes] = None,
                       tags: Optional[Mapping[str, str]] = None)
@overload
def GalleryApplication(resource_name: str,
                       args: GalleryApplicationArgs,
                       opts: Optional[ResourceOptions] = 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.

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.

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

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

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

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

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

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

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

OperatingSystemTypes

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/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0