Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

ApplicationPackage

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

Example Usage

ApplicationPackageCreate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var applicationPackage = new AzureNative.Batch.ApplicationPackage("applicationPackage", new AzureNative.Batch.ApplicationPackageArgs
        {
            AccountName = "sampleacct",
            ApplicationName = "app1",
            ResourceGroupName = "default-azurebatch-japaneast",
            VersionName = "1",
        });
    }

}
package main

import (
	batch "github.com/pulumi/pulumi-azure-native/sdk/go/azure/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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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 pulumi
import pulumi_azure_native as azure_native

application_package = azure_native.batch.ApplicationPackage("applicationPackage",
    account_name="sampleacct",
    application_name="app1",
    resource_group_name="default-azurebatch-japaneast",
    version_name="1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const applicationPackage = new azure_native.batch.ApplicationPackage("applicationPackage", {
    accountName: "sampleacct",
    applicationName: "app1",
    resourceGroupName: "default-azurebatch-japaneast",
    versionName: "1",
});
resources:
  applicationPackage:
    type: azure-native:batch:ApplicationPackage
    properties:
      accountName: sampleacct
      applicationName: app1
      resourceGroupName: default-azurebatch-japaneast
      versionName: 1

Create a ApplicationPackage Resource

new ApplicationPackage(name: string, args: ApplicationPackageArgs, opts?: CustomResourceOptions);
@overload
def ApplicationPackage(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_name: Optional[str] = None,
                       application_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       version_name: Optional[str] = None)
@overload
def ApplicationPackage(resource_name: str,
                       args: ApplicationPackageArgs,
                       opts: Optional[ResourceOptions] = None)
func NewApplicationPackage(ctx *Context, name string, args ApplicationPackageArgs, opts ...ResourceOption) (*ApplicationPackage, error)
public ApplicationPackage(string name, ApplicationPackageArgs args, CustomResourceOptions? opts = null)
public ApplicationPackage(String name, ApplicationPackageArgs args)
public ApplicationPackage(String name, ApplicationPackageArgs args, CustomResourceOptions options)
type: azure-native:batch:ApplicationPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ApplicationPackageArgs
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 ApplicationPackageArgs
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 ApplicationPackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ApplicationPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ApplicationPackageArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ApplicationPackage 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 ApplicationPackage resource accepts the following input properties:

AccountName string

The name of the Batch account.

ApplicationName string

The name of the application. This must be unique within the account.

ResourceGroupName string

The name of the resource group that contains the Batch account.

VersionName string

The version of the application.

AccountName string

The name of the Batch account.

ApplicationName string

The name of the application. This must be unique within the account.

ResourceGroupName string

The name of the resource group that contains the Batch account.

VersionName string

The version of the application.

accountName String

The name of the Batch account.

applicationName String

The name of the application. This must be unique within the account.

resourceGroupName String

The name of the resource group that contains the Batch account.

versionName String

The version of the application.

accountName string

The name of the Batch account.

applicationName string

The name of the application. This must be unique within the account.

resourceGroupName string

The name of the resource group that contains the Batch account.

versionName string

The version of the application.

account_name str

The name of the Batch account.

application_name str

The name of the application. This must be unique within the account.

resource_group_name str

The name of the resource group that contains the Batch account.

version_name str

The version of the application.

accountName String

The name of the Batch account.

applicationName String

The name of the application. This must be unique within the account.

resourceGroupName String

The name of the resource group that contains the Batch account.

versionName String

The version of the application.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplicationPackage resource produces the following output properties:

Etag string

The ETag of the resource, used for concurrency statements.

Format string

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

Id string

The provider-assigned unique ID for this managed resource.

LastActivationTime string

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

Name string

The name of the resource.

State string

The current state of the application package.

StorageUrl string

The URL for the application package in Azure Storage.

StorageUrlExpiry string

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

Type string

The type of the resource.

Etag string

The ETag of the resource, used for concurrency statements.

Format string

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

Id string

The provider-assigned unique ID for this managed resource.

LastActivationTime string

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

Name string

The name of the resource.

State string

The current state of the application package.

StorageUrl string

The URL for the application package in Azure Storage.

StorageUrlExpiry string

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

Type string

The type of the resource.

etag String

The ETag of the resource, used for concurrency statements.

format String

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

id String

The provider-assigned unique ID for this managed resource.

lastActivationTime String

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

name String

The name of the resource.

state String

The current state of the application package.

storageUrl String

The URL for the application package in Azure Storage.

storageUrlExpiry String

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

type String

The type of the resource.

etag string

The ETag of the resource, used for concurrency statements.

format string

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

id string

The provider-assigned unique ID for this managed resource.

lastActivationTime string

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

name string

The name of the resource.

state string

The current state of the application package.

storageUrl string

The URL for the application package in Azure Storage.

storageUrlExpiry string

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

type string

The type of the resource.

etag str

The ETag of the resource, used for concurrency statements.

format str

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

id str

The provider-assigned unique ID for this managed resource.

last_activation_time str

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

name str

The name of the resource.

state str

The current state of the application package.

storage_url str

The URL for the application package in Azure Storage.

storage_url_expiry str

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

type str

The type of the resource.

etag String

The ETag of the resource, used for concurrency statements.

format String

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

id String

The provider-assigned unique ID for this managed resource.

lastActivationTime String

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

name String

The name of the resource.

state String

The current state of the application package.

storageUrl String

The URL for the application package in Azure Storage.

storageUrlExpiry String

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

type String

The type of the resource.

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 

Package Details

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