1. Packages
  2. Azure Native v2
  3. API Docs
  4. batch
  5. getApplication
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.batch.getApplication

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets information about the specified application. Azure REST API version: 2023-05-01.

Other available API versions: 2023-11-01, 2024-02-01, 2024-07-01.

Using getApplication

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
Copy
def get_application(account_name: Optional[str] = None,
                    application_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetApplicationResult
def get_application_output(account_name: Optional[pulumi.Input[str]] = None,
                    application_name: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
Copy
func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput
Copy

> Note: This function is named LookupApplication in the Go SDK.

public static class GetApplication 
{
    public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
    public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:batch:getApplication
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Batch account.
ApplicationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the application. This must be unique within the account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Batch account.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Batch account.
ApplicationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the application. This must be unique within the account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Batch account.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Batch account.
applicationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the application. This must be unique within the account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the Batch account.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Batch account.
applicationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the application. This must be unique within the account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Batch account.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Batch account.
application_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the application. This must be unique within the account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the Batch account.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Batch account.
applicationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the application. This must be unique within the account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the Batch account.

getApplication Result

The following output properties are available:

Etag string
The ETag of the resource, used for concurrency statements.
Id string
The ID of the resource.
Name string
The name of the resource.
Type string
The type of the resource.
AllowUpdates bool
A value indicating whether packages within the application may be overwritten using the same version string.
DefaultVersion string
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.
DisplayName string
The display name for the application.
Etag string
The ETag of the resource, used for concurrency statements.
Id string
The ID of the resource.
Name string
The name of the resource.
Type string
The type of the resource.
AllowUpdates bool
A value indicating whether packages within the application may be overwritten using the same version string.
DefaultVersion string
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.
DisplayName string
The display name for the application.
etag String
The ETag of the resource, used for concurrency statements.
id String
The ID of the resource.
name String
The name of the resource.
type String
The type of the resource.
allowUpdates Boolean
A value indicating whether packages within the application may be overwritten using the same version string.
defaultVersion String
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.
displayName String
The display name for the application.
etag string
The ETag of the resource, used for concurrency statements.
id string
The ID of the resource.
name string
The name of the resource.
type string
The type of the resource.
allowUpdates boolean
A value indicating whether packages within the application may be overwritten using the same version string.
defaultVersion string
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.
displayName string
The display name for the application.
etag str
The ETag of the resource, used for concurrency statements.
id str
The ID of the resource.
name str
The name of the resource.
type str
The type of the resource.
allow_updates bool
A value indicating whether packages within the application may be overwritten using the same version string.
default_version str
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.
display_name str
The display name for the application.
etag String
The ETag of the resource, used for concurrency statements.
id String
The ID of the resource.
name String
The name of the resource.
type String
The type of the resource.
allowUpdates Boolean
A value indicating whether packages within the application may be overwritten using the same version string.
defaultVersion String
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.
displayName String
The display name for the application.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi