1. Packages
  2. Azure Native
  3. API Docs
  4. batch
  5. getApplicationPackage
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.batch.getApplicationPackage

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

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

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

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:batch:getApplicationPackage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.

    getApplicationPackage Result

    The following output properties are available:

    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.
    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 ID of the 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 ID of the 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 ID of the 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 ID of the 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 ID of the 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.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi