ApplicationPackage

class ApplicationPackage : KotlinCustomResource

An application package which represents a particular version of an application. API Version: 2021-01-01.

Example Usage

ApplicationPackageCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var applicationPackage = new AzureNative.Batch.ApplicationPackage("applicationPackage", new()
{
AccountName = "sampleacct",
ApplicationName = "app1",
ResourceGroupName = "default-azurebatch-japaneast",
VersionName = "1",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewApplicationPackage(ctx, "applicationPackage", &batch.ApplicationPackageArgs{
AccountName: pulumi.String("sampleacct"),
ApplicationName: pulumi.String("app1"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
VersionName: pulumi.String("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.azurenative.batch.ApplicationPackage;
import com.pulumi.azurenative.batch.ApplicationPackageArgs;
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 applicationPackage = new ApplicationPackage("applicationPackage", ApplicationPackageArgs.builder()
.accountName("sampleacct")
.applicationName("app1")
.resourceGroupName("default-azurebatch-japaneast")
.versionName("1")
.build());
}
}

Import

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

$ pulumi import azure-native:batch:ApplicationPackage 1 /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1

Properties

Link copied to clipboard
val etag: Output<String>

The ETag of the resource, used for concurrency statements.

Link copied to clipboard
val format: Output<String>

The format of the application package, if the package is active.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The time at which the package was last activated, if the package is active.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>

The current state of the application package.

Link copied to clipboard
val storageUrl: Output<String>

The URL for the application package in Azure Storage.

Link copied to clipboard

The UTC time at which the Azure Storage URL will expire.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>