Show / Hide Table of Contents

Class Application

Manages Azure Batch Application instance.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "West US",
    });
    var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });
    var exampleBatch_accountAccount = new Azure.Batch.Account("exampleBatch/accountAccount", new Azure.Batch.AccountArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
        PoolAllocationMode = "BatchService",
        StorageAccountId = exampleAccount.Id,
    });
    var exampleApplication = new Azure.Batch.Application("exampleApplication", new Azure.Batch.ApplicationArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        AccountName = exampleBatch / accountAccount.Name,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Application
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Batch
Assembly: Pulumi.Azure.dll
Syntax
public class Application : CustomResource

Constructors

View Source

Application(String, ApplicationArgs, CustomResourceOptions)

Create a Application resource with the given unique name, arguments, and options.

Declaration
public Application(string name, ApplicationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ApplicationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccountName

The name of the Batch account. Changing this forces a new resource to be created.

Declaration
public Output<string> AccountName { get; }
Property Value
Type Description
Output<System.String>
View Source

AllowUpdates

A value indicating whether packages within the application may be overwritten using the same version string. Defaults to true.

Declaration
public Output<bool?> AllowUpdates { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

DefaultVersion

The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.

Declaration
public Output<string> DefaultVersion { get; }
Property Value
Type Description
Output<System.String>
View Source

DisplayName

The display name for the application.

Declaration
public Output<string> DisplayName { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the application. This must be unique within the account. Changing this forces a new resource to be created.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The name of the resource group that contains the Batch account. Changing this forces a new resource to be created.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ApplicationState, CustomResourceOptions)

Get an existing Application resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Application Get(string name, Input<string> id, ApplicationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ApplicationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Application
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.