azure-native.batch.getApplicationPackage
Explore with Pulumi AI
Gets information about the specified application package.
Uses Azure REST API version 2024-07-01.
Other available API versions: 2023-05-01, 2023-11-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native batch [ApiVersion]
. See the version guide for details.
Using getApplicationPackage
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 getApplicationPackage(args: GetApplicationPackageArgs, opts?: InvokeOptions): Promise<GetApplicationPackageResult>
function getApplicationPackageOutput(args: GetApplicationPackageOutputArgs, opts?: InvokeOptions): Output<GetApplicationPackageResult>
def get_application_package(account_name: Optional[str] = None,
application_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
version_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationPackageResult
def get_application_package_output(account_name: Optional[pulumi.Input[str]] = None,
application_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
version_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationPackageResult]
func LookupApplicationPackage(ctx *Context, args *LookupApplicationPackageArgs, opts ...InvokeOption) (*LookupApplicationPackageResult, error)
func LookupApplicationPackageOutput(ctx *Context, args *LookupApplicationPackageOutputArgs, opts ...InvokeOption) LookupApplicationPackageResultOutput
> Note: This function is named LookupApplicationPackage
in the Go SDK.
public static class GetApplicationPackage
{
public static Task<GetApplicationPackageResult> InvokeAsync(GetApplicationPackageArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationPackageResult> Invoke(GetApplicationPackageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationPackageResult> getApplicationPackage(GetApplicationPackageArgs args, InvokeOptions options)
public static Output<GetApplicationPackageResult> getApplicationPackage(GetApplicationPackageArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:batch:getApplicationPackage
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the Batch account.
- Application
Name string - The name of the application. This must be unique within the account.
- Resource
Group stringName - The name of the resource group that contains the Batch account.
- Version
Name string - The version of the application.
- Account
Name string - The name of the Batch account.
- Application
Name string - The name of the application. This must be unique within the account.
- Resource
Group stringName - The name of the resource group that contains the Batch account.
- Version
Name string - The version of the application.
- account
Name String - The name of the Batch account.
- application
Name String - The name of the application. This must be unique within the account.
- resource
Group StringName - The name of the resource group that contains the Batch account.
- version
Name String - The version of the application.
- account
Name string - The name of the Batch account.
- application
Name string - The name of the application. This must be unique within the account.
- resource
Group stringName - The name of the resource group that contains the Batch account.
- version
Name 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_ strname - The name of the resource group that contains the Batch account.
- version_
name str - The version of the application.
- account
Name String - The name of the Batch account.
- application
Name String - The name of the application. This must be unique within the account.
- resource
Group StringName - The name of the resource group that contains the Batch account.
- version
Name String - The version of the application.
getApplicationPackage Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version 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 ID of the resource.
- Last
Activation stringTime - 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.
- Storage
Url string - The URL for the application package in Azure Storage.
- Storage
Url stringExpiry - The UTC time at which the Azure Storage URL will expire.
- Type string
- The type of the resource.
- Dictionary<string, string>
- The tags of the resource.
- Azure
Api stringVersion - The Azure API version 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 ID of the resource.
- Last
Activation stringTime - 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.
- Storage
Url string - The URL for the application package in Azure Storage.
- Storage
Url stringExpiry - The UTC time at which the Azure Storage URL will expire.
- Type string
- The type of the resource.
- map[string]string
- The tags of the resource.
- azure
Api StringVersion - The Azure API version 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 ID of the resource.
- last
Activation StringTime - 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.
- storage
Url String - The URL for the application package in Azure Storage.
- storage
Url StringExpiry - The UTC time at which the Azure Storage URL will expire.
- type String
- The type of the resource.
- Map<String,String>
- The tags of the resource.
- azure
Api stringVersion - The Azure API version 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 ID of the resource.
- last
Activation stringTime - 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.
- storage
Url string - The URL for the application package in Azure Storage.
- storage
Url stringExpiry - The UTC time at which the Azure Storage URL will expire.
- type string
- The type of the resource.
- {[key: string]: string}
- The tags of the resource.
- azure_
api_ strversion - The Azure API version 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 ID of the resource.
- last_
activation_ strtime - 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_ strexpiry - The UTC time at which the Azure Storage URL will expire.
- type str
- The type of the resource.
- Mapping[str, str]
- The tags of the resource.
- azure
Api StringVersion - The Azure API version 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 ID of the resource.
- last
Activation StringTime - 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.
- storage
Url String - The URL for the application package in Azure Storage.
- storage
Url StringExpiry - The UTC time at which the Azure Storage URL will expire.
- type String
- The type of the resource.
- Map<String>
- The tags of the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0