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

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 draft package path and temp working path with SAS. Azure REST API version: 2023-11-01-preview.

Using getDraftPackagePath

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 getDraftPackagePath(args: GetDraftPackagePathArgs, opts?: InvokeOptions): Promise<GetDraftPackagePathResult>
function getDraftPackagePathOutput(args: GetDraftPackagePathOutputArgs, opts?: InvokeOptions): Output<GetDraftPackagePathResult>
Copy
def get_draft_package_path(draft_package_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           test_base_account_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDraftPackagePathResult
def get_draft_package_path_output(draft_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[GetDraftPackagePathResult]
Copy
func GetDraftPackagePath(ctx *Context, args *GetDraftPackagePathArgs, opts ...InvokeOption) (*GetDraftPackagePathResult, error)
func GetDraftPackagePathOutput(ctx *Context, args *GetDraftPackagePathOutputArgs, opts ...InvokeOption) GetDraftPackagePathResultOutput
Copy

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

public static class GetDraftPackagePath 
{
    public static Task<GetDraftPackagePathResult> InvokeAsync(GetDraftPackagePathArgs args, InvokeOptions? opts = null)
    public static Output<GetDraftPackagePathResult> Invoke(GetDraftPackagePathInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDraftPackagePathResult> getDraftPackagePath(GetDraftPackagePathArgs args, InvokeOptions options)
public static Output<GetDraftPackagePathResult> getDraftPackagePath(GetDraftPackagePathArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:testbase:getDraftPackagePath
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DraftPackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Draft Package.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
DraftPackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Draft Package.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
draftPackageName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Draft Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
draftPackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Draft Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
draft_package_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Draft Package.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
test_base_account_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Account.
draftPackageName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Draft Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.

getDraftPackagePath Result

The following output properties are available:

BaseUrl string
The base URL of the storage account.
DraftPackagePath string
The relative path of the folder hosting package files.
ExpirationTime string
Expiry date of the SAS token.
SasToken string
A SAS token for the storage account to access workspace.
WorkingPath string
The relative path for a temporary folder for package creation work.
BaseUrl string
The base URL of the storage account.
DraftPackagePath string
The relative path of the folder hosting package files.
ExpirationTime string
Expiry date of the SAS token.
SasToken string
A SAS token for the storage account to access workspace.
WorkingPath string
The relative path for a temporary folder for package creation work.
baseUrl String
The base URL of the storage account.
draftPackagePath String
The relative path of the folder hosting package files.
expirationTime String
Expiry date of the SAS token.
sasToken String
A SAS token for the storage account to access workspace.
workingPath String
The relative path for a temporary folder for package creation work.
baseUrl string
The base URL of the storage account.
draftPackagePath string
The relative path of the folder hosting package files.
expirationTime string
Expiry date of the SAS token.
sasToken string
A SAS token for the storage account to access workspace.
workingPath string
The relative path for a temporary folder for package creation work.
base_url str
The base URL of the storage account.
draft_package_path str
The relative path of the folder hosting package files.
expiration_time str
Expiry date of the SAS token.
sas_token str
A SAS token for the storage account to access workspace.
working_path str
The relative path for a temporary folder for package creation work.
baseUrl String
The base URL of the storage account.
draftPackagePath String
The relative path of the folder hosting package files.
expirationTime String
Expiry date of the SAS token.
sasToken String
A SAS token for the storage account to access workspace.
workingPath String
The relative path for a temporary folder for package creation work.

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