1. Packages
  2. Azure Native v2
  3. API Docs
  4. testbase
  5. getPackageDownloadURL
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.testbase.getPackageDownloadURL

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 the download URL of a package. Azure REST API version: 2022-04-01-preview.

Other available API versions: 2023-11-01-preview.

Using getPackageDownloadURL

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 getPackageDownloadURL(args: GetPackageDownloadURLArgs, opts?: InvokeOptions): Promise<GetPackageDownloadURLResult>
function getPackageDownloadURLOutput(args: GetPackageDownloadURLOutputArgs, opts?: InvokeOptions): Output<GetPackageDownloadURLResult>
Copy
def get_package_download_url(package_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             test_base_account_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetPackageDownloadURLResult
def get_package_download_url_output(package_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             test_base_account_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetPackageDownloadURLResult]
Copy
func GetPackageDownloadURL(ctx *Context, args *GetPackageDownloadURLArgs, opts ...InvokeOption) (*GetPackageDownloadURLResult, error)
func GetPackageDownloadURLOutput(ctx *Context, args *GetPackageDownloadURLOutputArgs, opts ...InvokeOption) GetPackageDownloadURLResultOutput
Copy

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

public static class GetPackageDownloadURL 
{
    public static Task<GetPackageDownloadURLResult> InvokeAsync(GetPackageDownloadURLArgs args, InvokeOptions? opts = null)
    public static Output<GetPackageDownloadURLResult> Invoke(GetPackageDownloadURLInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPackageDownloadURLResult> getPackageDownloadURL(GetPackageDownloadURLArgs args, InvokeOptions options)
public static Output<GetPackageDownloadURLResult> getPackageDownloadURL(GetPackageDownloadURLArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:testbase:getPackageDownloadURL
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Package.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
PackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Package.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
packageName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
packageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
package_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Package.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource.
test_base_account_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Account.
packageName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.

getPackageDownloadURL Result

The following output properties are available:

DownloadUrl string
The download URL.
ExpirationTime string
Expiry date of the download URL.
DownloadUrl string
The download URL.
ExpirationTime string
Expiry date of the download URL.
downloadUrl String
The download URL.
expirationTime String
Expiry date of the download URL.
downloadUrl string
The download URL.
expirationTime string
Expiry date of the download URL.
download_url str
The download URL.
expiration_time str
Expiry date of the download URL.
downloadUrl String
The download URL.
expirationTime String
Expiry date of the download URL.

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