We recommend using Azure Native.
azure.compute.GalleryApplicationVersion
Explore with Pulumi AI
Manages a Gallery Application Version.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleSharedImageGallery = new Azure.Compute.SharedImageGallery("exampleSharedImageGallery", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
});
var exampleGalleryApplication = new Azure.Compute.GalleryApplication("exampleGalleryApplication", new()
{
GalleryId = exampleSharedImageGallery.Id,
Location = exampleResourceGroup.Location,
SupportedOsType = "Linux",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleContainer = new Azure.Storage.Container("exampleContainer", new()
{
StorageAccountName = exampleAccount.Name,
ContainerAccessType = "blob",
});
var exampleBlob = new Azure.Storage.Blob("exampleBlob", new()
{
StorageAccountName = exampleAccount.Name,
StorageContainerName = exampleContainer.Name,
Type = "Block",
SourceContent = "[scripts file content]",
});
var exampleGalleryApplicationVersion = new Azure.Compute.GalleryApplicationVersion("exampleGalleryApplicationVersion", new()
{
GalleryApplicationId = exampleGalleryApplication.Id,
Location = exampleGalleryApplication.Location,
ManageAction = new Azure.Compute.Inputs.GalleryApplicationVersionManageActionArgs
{
Install = "[install command]",
Remove = "[remove command]",
},
Source = new Azure.Compute.Inputs.GalleryApplicationVersionSourceArgs
{
MediaLink = exampleBlob.Id,
},
TargetRegions = new[]
{
new Azure.Compute.Inputs.GalleryApplicationVersionTargetRegionArgs
{
Name = exampleGalleryApplication.Location,
RegionalReplicaCount = 1,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleSharedImageGallery, err := compute.NewSharedImageGallery(ctx, "exampleSharedImageGallery", &compute.SharedImageGalleryArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
})
if err != nil {
return err
}
exampleGalleryApplication, err := compute.NewGalleryApplication(ctx, "exampleGalleryApplication", &compute.GalleryApplicationArgs{
GalleryId: exampleSharedImageGallery.ID(),
Location: exampleResourceGroup.Location,
SupportedOsType: pulumi.String("Linux"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
StorageAccountName: exampleAccount.Name,
ContainerAccessType: pulumi.String("blob"),
})
if err != nil {
return err
}
exampleBlob, err := storage.NewBlob(ctx, "exampleBlob", &storage.BlobArgs{
StorageAccountName: exampleAccount.Name,
StorageContainerName: exampleContainer.Name,
Type: pulumi.String("Block"),
SourceContent: pulumi.String("[scripts file content]"),
})
if err != nil {
return err
}
_, err = compute.NewGalleryApplicationVersion(ctx, "exampleGalleryApplicationVersion", &compute.GalleryApplicationVersionArgs{
GalleryApplicationId: exampleGalleryApplication.ID(),
Location: exampleGalleryApplication.Location,
ManageAction: &compute.GalleryApplicationVersionManageActionArgs{
Install: pulumi.String("[install command]"),
Remove: pulumi.String("[remove command]"),
},
Source: &compute.GalleryApplicationVersionSourceArgs{
MediaLink: exampleBlob.ID(),
},
TargetRegions: compute.GalleryApplicationVersionTargetRegionArray{
&compute.GalleryApplicationVersionTargetRegionArgs{
Name: exampleGalleryApplication.Location,
RegionalReplicaCount: pulumi.Int(1),
},
},
})
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.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 com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.storage.Container;
import com.pulumi.azure.storage.ContainerArgs;
import com.pulumi.azure.storage.Blob;
import com.pulumi.azure.storage.BlobArgs;
import com.pulumi.azure.compute.GalleryApplicationVersion;
import com.pulumi.azure.compute.GalleryApplicationVersionArgs;
import com.pulumi.azure.compute.inputs.GalleryApplicationVersionManageActionArgs;
import com.pulumi.azure.compute.inputs.GalleryApplicationVersionSourceArgs;
import com.pulumi.azure.compute.inputs.GalleryApplicationVersionTargetRegionArgs;
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());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()
.storageAccountName(exampleAccount.name())
.containerAccessType("blob")
.build());
var exampleBlob = new Blob("exampleBlob", BlobArgs.builder()
.storageAccountName(exampleAccount.name())
.storageContainerName(exampleContainer.name())
.type("Block")
.sourceContent("[scripts file content]")
.build());
var exampleGalleryApplicationVersion = new GalleryApplicationVersion("exampleGalleryApplicationVersion", GalleryApplicationVersionArgs.builder()
.galleryApplicationId(exampleGalleryApplication.id())
.location(exampleGalleryApplication.location())
.manageAction(GalleryApplicationVersionManageActionArgs.builder()
.install("[install command]")
.remove("[remove command]")
.build())
.source(GalleryApplicationVersionSourceArgs.builder()
.mediaLink(exampleBlob.id())
.build())
.targetRegions(GalleryApplicationVersionTargetRegionArgs.builder()
.name(exampleGalleryApplication.location())
.regionalReplicaCount(1)
.build())
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_shared_image_gallery = azure.compute.SharedImageGallery("exampleSharedImageGallery",
resource_group_name=example_resource_group.name,
location=example_resource_group.location)
example_gallery_application = azure.compute.GalleryApplication("exampleGalleryApplication",
gallery_id=example_shared_image_gallery.id,
location=example_resource_group.location,
supported_os_type="Linux")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_container = azure.storage.Container("exampleContainer",
storage_account_name=example_account.name,
container_access_type="blob")
example_blob = azure.storage.Blob("exampleBlob",
storage_account_name=example_account.name,
storage_container_name=example_container.name,
type="Block",
source_content="[scripts file content]")
example_gallery_application_version = azure.compute.GalleryApplicationVersion("exampleGalleryApplicationVersion",
gallery_application_id=example_gallery_application.id,
location=example_gallery_application.location,
manage_action=azure.compute.GalleryApplicationVersionManageActionArgs(
install="[install command]",
remove="[remove command]",
),
source=azure.compute.GalleryApplicationVersionSourceArgs(
media_link=example_blob.id,
),
target_regions=[azure.compute.GalleryApplicationVersionTargetRegionArgs(
name=example_gallery_application.location,
regional_replica_count=1,
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleSharedImageGallery = new azure.compute.SharedImageGallery("exampleSharedImageGallery", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
});
const exampleGalleryApplication = new azure.compute.GalleryApplication("exampleGalleryApplication", {
galleryId: exampleSharedImageGallery.id,
location: exampleResourceGroup.location,
supportedOsType: "Linux",
});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleContainer = new azure.storage.Container("exampleContainer", {
storageAccountName: exampleAccount.name,
containerAccessType: "blob",
});
const exampleBlob = new azure.storage.Blob("exampleBlob", {
storageAccountName: exampleAccount.name,
storageContainerName: exampleContainer.name,
type: "Block",
sourceContent: "[scripts file content]",
});
const exampleGalleryApplicationVersion = new azure.compute.GalleryApplicationVersion("exampleGalleryApplicationVersion", {
galleryApplicationId: exampleGalleryApplication.id,
location: exampleGalleryApplication.location,
manageAction: {
install: "[install command]",
remove: "[remove command]",
},
source: {
mediaLink: exampleBlob.id,
},
targetRegions: [{
name: exampleGalleryApplication.location,
regionalReplicaCount: 1,
}],
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleSharedImageGallery:
type: azure:compute:SharedImageGallery
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
exampleGalleryApplication:
type: azure:compute:GalleryApplication
properties:
galleryId: ${exampleSharedImageGallery.id}
location: ${exampleResourceGroup.location}
supportedOsType: Linux
exampleAccount:
type: azure:storage:Account
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
accountTier: Standard
accountReplicationType: LRS
exampleContainer:
type: azure:storage:Container
properties:
storageAccountName: ${exampleAccount.name}
containerAccessType: blob
exampleBlob:
type: azure:storage:Blob
properties:
storageAccountName: ${exampleAccount.name}
storageContainerName: ${exampleContainer.name}
type: Block
sourceContent: '[scripts file content]'
exampleGalleryApplicationVersion:
type: azure:compute:GalleryApplicationVersion
properties:
galleryApplicationId: ${exampleGalleryApplication.id}
location: ${exampleGalleryApplication.location}
manageAction:
install: '[install command]'
remove: '[remove command]'
source:
mediaLink: ${exampleBlob.id}
targetRegions:
- name: ${exampleGalleryApplication.location}
regionalReplicaCount: 1
Create GalleryApplicationVersion Resource
new GalleryApplicationVersion(name: string, args: GalleryApplicationVersionArgs, opts?: CustomResourceOptions);
@overload
def GalleryApplicationVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_health_check: Optional[bool] = None,
end_of_life_date: Optional[str] = None,
exclude_from_latest: Optional[bool] = None,
gallery_application_id: Optional[str] = None,
location: Optional[str] = None,
manage_action: Optional[GalleryApplicationVersionManageActionArgs] = None,
name: Optional[str] = None,
source: Optional[GalleryApplicationVersionSourceArgs] = None,
tags: Optional[Mapping[str, str]] = None,
target_regions: Optional[Sequence[GalleryApplicationVersionTargetRegionArgs]] = None)
@overload
def GalleryApplicationVersion(resource_name: str,
args: GalleryApplicationVersionArgs,
opts: Optional[ResourceOptions] = None)
func NewGalleryApplicationVersion(ctx *Context, name string, args GalleryApplicationVersionArgs, opts ...ResourceOption) (*GalleryApplicationVersion, error)
public GalleryApplicationVersion(string name, GalleryApplicationVersionArgs args, CustomResourceOptions? opts = null)
public GalleryApplicationVersion(String name, GalleryApplicationVersionArgs args)
public GalleryApplicationVersion(String name, GalleryApplicationVersionArgs args, CustomResourceOptions options)
type: azure:compute:GalleryApplicationVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GalleryApplicationVersionArgs
- 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 GalleryApplicationVersionArgs
- 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 GalleryApplicationVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GalleryApplicationVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GalleryApplicationVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GalleryApplicationVersion 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 GalleryApplicationVersion resource accepts the following input properties:
- Gallery
Application stringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- Manage
Action GalleryApplication Version Manage Action A
manage_action
block as defined below.- Source
Gallery
Application Version Source A
source
block as defined below.- Target
Regions List<GalleryApplication Version Target Region> One or more
target_region
blocks as defined below.- Enable
Health boolCheck Should the Gallery Application reports health. Defaults to
false
.- End
Of stringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- Exclude
From boolLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- Location string
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- Name string
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- Dictionary<string, string>
A mapping of tags to assign to the Gallery Application Version.
- Gallery
Application stringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- Manage
Action GalleryApplication Version Manage Action Args A
manage_action
block as defined below.- Source
Gallery
Application Version Source Args A
source
block as defined below.- Target
Regions []GalleryApplication Version Target Region Args One or more
target_region
blocks as defined below.- Enable
Health boolCheck Should the Gallery Application reports health. Defaults to
false
.- End
Of stringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- Exclude
From boolLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- Location string
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- Name string
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- map[string]string
A mapping of tags to assign to the Gallery Application Version.
- gallery
Application StringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- manage
Action GalleryApplication Version Manage Action A
manage_action
block as defined below.- source
Gallery
Application Version Source A
source
block as defined below.- target
Regions List<GalleryApplication Version Target Region> One or more
target_region
blocks as defined below.- enable
Health BooleanCheck Should the Gallery Application reports health. Defaults to
false
.- end
Of StringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude
From BooleanLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- location String
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- name String
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- Map<String,String>
A mapping of tags to assign to the Gallery Application Version.
- gallery
Application stringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- manage
Action GalleryApplication Version Manage Action A
manage_action
block as defined below.- source
Gallery
Application Version Source A
source
block as defined below.- target
Regions GalleryApplication Version Target Region[] One or more
target_region
blocks as defined below.- enable
Health booleanCheck Should the Gallery Application reports health. Defaults to
false
.- end
Of stringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude
From booleanLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- location string
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- name string
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- {[key: string]: string}
A mapping of tags to assign to the Gallery Application Version.
- gallery_
application_ strid The ID of the Gallery Application. Changing this forces a new resource to be created.
- manage_
action GalleryApplication Version Manage Action Args A
manage_action
block as defined below.- source
Gallery
Application Version Source Args A
source
block as defined below.- target_
regions Sequence[GalleryApplication Version Target Region Args] One or more
target_region
blocks as defined below.- enable_
health_ boolcheck Should the Gallery Application reports health. Defaults to
false
.- end_
of_ strlife_ date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude_
from_ boollatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- location str
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- name str
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- Mapping[str, str]
A mapping of tags to assign to the Gallery Application Version.
- gallery
Application StringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- manage
Action Property Map A
manage_action
block as defined below.- source Property Map
A
source
block as defined below.- target
Regions List<Property Map> One or more
target_region
blocks as defined below.- enable
Health BooleanCheck Should the Gallery Application reports health. Defaults to
false
.- end
Of StringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude
From BooleanLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- location String
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- name String
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- Map<String>
A mapping of tags to assign to the Gallery Application Version.
Outputs
All input properties are implicitly available as output properties. Additionally, the GalleryApplicationVersion resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing GalleryApplicationVersion Resource
Get an existing GalleryApplicationVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GalleryApplicationVersionState, opts?: CustomResourceOptions): GalleryApplicationVersion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable_health_check: Optional[bool] = None,
end_of_life_date: Optional[str] = None,
exclude_from_latest: Optional[bool] = None,
gallery_application_id: Optional[str] = None,
location: Optional[str] = None,
manage_action: Optional[GalleryApplicationVersionManageActionArgs] = None,
name: Optional[str] = None,
source: Optional[GalleryApplicationVersionSourceArgs] = None,
tags: Optional[Mapping[str, str]] = None,
target_regions: Optional[Sequence[GalleryApplicationVersionTargetRegionArgs]] = None) -> GalleryApplicationVersion
func GetGalleryApplicationVersion(ctx *Context, name string, id IDInput, state *GalleryApplicationVersionState, opts ...ResourceOption) (*GalleryApplicationVersion, error)
public static GalleryApplicationVersion Get(string name, Input<string> id, GalleryApplicationVersionState? state, CustomResourceOptions? opts = null)
public static GalleryApplicationVersion get(String name, Output<String> id, GalleryApplicationVersionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enable
Health boolCheck Should the Gallery Application reports health. Defaults to
false
.- End
Of stringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- Exclude
From boolLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- Gallery
Application stringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- Location string
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- Manage
Action GalleryApplication Version Manage Action A
manage_action
block as defined below.- Name string
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- Source
Gallery
Application Version Source A
source
block as defined below.- Dictionary<string, string>
A mapping of tags to assign to the Gallery Application Version.
- Target
Regions List<GalleryApplication Version Target Region> One or more
target_region
blocks as defined below.
- Enable
Health boolCheck Should the Gallery Application reports health. Defaults to
false
.- End
Of stringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- Exclude
From boolLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- Gallery
Application stringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- Location string
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- Manage
Action GalleryApplication Version Manage Action Args A
manage_action
block as defined below.- Name string
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- Source
Gallery
Application Version Source Args A
source
block as defined below.- map[string]string
A mapping of tags to assign to the Gallery Application Version.
- Target
Regions []GalleryApplication Version Target Region Args One or more
target_region
blocks as defined below.
- enable
Health BooleanCheck Should the Gallery Application reports health. Defaults to
false
.- end
Of StringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude
From BooleanLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- gallery
Application StringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- location String
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- manage
Action GalleryApplication Version Manage Action A
manage_action
block as defined below.- name String
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- source
Gallery
Application Version Source A
source
block as defined below.- Map<String,String>
A mapping of tags to assign to the Gallery Application Version.
- target
Regions List<GalleryApplication Version Target Region> One or more
target_region
blocks as defined below.
- enable
Health booleanCheck Should the Gallery Application reports health. Defaults to
false
.- end
Of stringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude
From booleanLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- gallery
Application stringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- location string
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- manage
Action GalleryApplication Version Manage Action A
manage_action
block as defined below.- name string
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- source
Gallery
Application Version Source A
source
block as defined below.- {[key: string]: string}
A mapping of tags to assign to the Gallery Application Version.
- target
Regions GalleryApplication Version Target Region[] One or more
target_region
blocks as defined below.
- enable_
health_ boolcheck Should the Gallery Application reports health. Defaults to
false
.- end_
of_ strlife_ date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude_
from_ boollatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- gallery_
application_ strid The ID of the Gallery Application. Changing this forces a new resource to be created.
- location str
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- manage_
action GalleryApplication Version Manage Action Args A
manage_action
block as defined below.- name str
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- source
Gallery
Application Version Source Args A
source
block as defined below.- Mapping[str, str]
A mapping of tags to assign to the Gallery Application Version.
- target_
regions Sequence[GalleryApplication Version Target Region Args] One or more
target_region
blocks as defined below.
- enable
Health BooleanCheck Should the Gallery Application reports health. Defaults to
false
.- end
Of StringLife Date The end of life date in RFC3339 format of the Gallery Application Version.
- exclude
From BooleanLatest Should the Gallery Application Version be excluded from the
latest
filter? If set totrue
this Gallery Application Version won't be returned for thelatest
version. Defaults tofalse
.- gallery
Application StringId The ID of the Gallery Application. Changing this forces a new resource to be created.
- location String
The Azure Region where the Gallery Application Version exists. Changing this forces a new resource to be created.
- manage
Action Property Map A
manage_action
block as defined below.- name String
The version name of the Gallery Application Version, such as
1.0.0
. Changing this forces a new resource to be created.- source Property Map
A
source
block as defined below.- Map<String>
A mapping of tags to assign to the Gallery Application Version.
- target
Regions List<Property Map> One or more
target_region
blocks as defined below.
Supporting Types
GalleryApplicationVersionManageAction, GalleryApplicationVersionManageActionArgs
- Install string
The command to install the Gallery Application. Changing this forces a new resource to be created.
- Remove string
The command to remove the Gallery Application. Changing this forces a new resource to be created.
- Update string
The command to update the Gallery Application. Changing this forces a new resource to be created.
- Install string
The command to install the Gallery Application. Changing this forces a new resource to be created.
- Remove string
The command to remove the Gallery Application. Changing this forces a new resource to be created.
- Update string
The command to update the Gallery Application. Changing this forces a new resource to be created.
- install String
The command to install the Gallery Application. Changing this forces a new resource to be created.
- remove String
The command to remove the Gallery Application. Changing this forces a new resource to be created.
- update String
The command to update the Gallery Application. Changing this forces a new resource to be created.
- install string
The command to install the Gallery Application. Changing this forces a new resource to be created.
- remove string
The command to remove the Gallery Application. Changing this forces a new resource to be created.
- update string
The command to update the Gallery Application. Changing this forces a new resource to be created.
- install str
The command to install the Gallery Application. Changing this forces a new resource to be created.
- remove str
The command to remove the Gallery Application. Changing this forces a new resource to be created.
- update str
The command to update the Gallery Application. Changing this forces a new resource to be created.
- install String
The command to install the Gallery Application. Changing this forces a new resource to be created.
- remove String
The command to remove the Gallery Application. Changing this forces a new resource to be created.
- update String
The command to update the Gallery Application. Changing this forces a new resource to be created.
GalleryApplicationVersionSource, GalleryApplicationVersionSourceArgs
- Media
Link string The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
- Default
Configuration stringLink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
- Media
Link string The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
- Default
Configuration stringLink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
- media
Link String The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
- default
Configuration StringLink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
- media
Link string The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
- default
Configuration stringLink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
- media_
link str The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
- default_
configuration_ strlink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
- media
Link String The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
- default
Configuration StringLink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
GalleryApplicationVersionTargetRegion, GalleryApplicationVersionTargetRegionArgs
- Name string
The Azure Region in which the Gallery Application Version exists.
- Regional
Replica intCount The number of replicas of the Gallery Application Version to be created per region. Possible values are between
1
and10
.- Storage
Account stringType The storage account type for the Gallery Application Version. Possible values are
Standard_LRS
,Premium_LRS
andStandard_ZRS
. Defaults toStandard_LRS
.
- Name string
The Azure Region in which the Gallery Application Version exists.
- Regional
Replica intCount The number of replicas of the Gallery Application Version to be created per region. Possible values are between
1
and10
.- Storage
Account stringType The storage account type for the Gallery Application Version. Possible values are
Standard_LRS
,Premium_LRS
andStandard_ZRS
. Defaults toStandard_LRS
.
- name String
The Azure Region in which the Gallery Application Version exists.
- regional
Replica IntegerCount The number of replicas of the Gallery Application Version to be created per region. Possible values are between
1
and10
.- storage
Account StringType The storage account type for the Gallery Application Version. Possible values are
Standard_LRS
,Premium_LRS
andStandard_ZRS
. Defaults toStandard_LRS
.
- name string
The Azure Region in which the Gallery Application Version exists.
- regional
Replica numberCount The number of replicas of the Gallery Application Version to be created per region. Possible values are between
1
and10
.- storage
Account stringType The storage account type for the Gallery Application Version. Possible values are
Standard_LRS
,Premium_LRS
andStandard_ZRS
. Defaults toStandard_LRS
.
- name str
The Azure Region in which the Gallery Application Version exists.
- regional_
replica_ intcount The number of replicas of the Gallery Application Version to be created per region. Possible values are between
1
and10
.- storage_
account_ strtype The storage account type for the Gallery Application Version. Possible values are
Standard_LRS
,Premium_LRS
andStandard_ZRS
. Defaults toStandard_LRS
.
- name String
The Azure Region in which the Gallery Application Version exists.
- regional
Replica NumberCount The number of replicas of the Gallery Application Version to be created per region. Possible values are between
1
and10
.- storage
Account StringType The storage account type for the Gallery Application Version. Possible values are
Standard_LRS
,Premium_LRS
andStandard_ZRS
. Defaults toStandard_LRS
.
Import
Gallery Application Versions can be imported using the resource id
, e.g.
$ pulumi import azure:compute/galleryApplicationVersion:GalleryApplicationVersion example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Compute/galleries/gallery1/applications/galleryApplication1/versions/galleryApplicationVersion1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.