1. Packages
  2. Azure Native
  3. API Docs
  4. testbase
  5. getTestBaseAccountFileUploadUrl
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.testbase.getTestBaseAccountFileUploadUrl

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets the file upload URL of a Test Base Account.

Uses Azure REST API version 2023-11-01-preview.

Other available API versions: 2022-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native testbase [ApiVersion]. See the version guide for details.

Using getTestBaseAccountFileUploadUrl

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 getTestBaseAccountFileUploadUrl(args: GetTestBaseAccountFileUploadUrlArgs, opts?: InvokeOptions): Promise<GetTestBaseAccountFileUploadUrlResult>
function getTestBaseAccountFileUploadUrlOutput(args: GetTestBaseAccountFileUploadUrlOutputArgs, opts?: InvokeOptions): Output<GetTestBaseAccountFileUploadUrlResult>
Copy
def get_test_base_account_file_upload_url(blob_name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          resource_type: Optional[Union[str, FileUploadResourceType]] = None,
                                          test_base_account_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetTestBaseAccountFileUploadUrlResult
def get_test_base_account_file_upload_url_output(blob_name: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          resource_type: Optional[pulumi.Input[Union[str, FileUploadResourceType]]] = None,
                                          test_base_account_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetTestBaseAccountFileUploadUrlResult]
Copy
func GetTestBaseAccountFileUploadUrl(ctx *Context, args *GetTestBaseAccountFileUploadUrlArgs, opts ...InvokeOption) (*GetTestBaseAccountFileUploadUrlResult, error)
func GetTestBaseAccountFileUploadUrlOutput(ctx *Context, args *GetTestBaseAccountFileUploadUrlOutputArgs, opts ...InvokeOption) GetTestBaseAccountFileUploadUrlResultOutput
Copy

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

public static class GetTestBaseAccountFileUploadUrl 
{
    public static Task<GetTestBaseAccountFileUploadUrlResult> InvokeAsync(GetTestBaseAccountFileUploadUrlArgs args, InvokeOptions? opts = null)
    public static Output<GetTestBaseAccountFileUploadUrlResult> Invoke(GetTestBaseAccountFileUploadUrlInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTestBaseAccountFileUploadUrlResult> getTestBaseAccountFileUploadUrl(GetTestBaseAccountFileUploadUrlArgs args, InvokeOptions options)
public static Output<GetTestBaseAccountFileUploadUrlResult> getTestBaseAccountFileUploadUrl(GetTestBaseAccountFileUploadUrlArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:testbase:getTestBaseAccountFileUploadUrl
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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.
BlobName string
The custom file name of the uploaded blob.
ResourceType string | Pulumi.AzureNative.TestBase.FileUploadResourceType
Resource type for file uploading.
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.
BlobName string
The custom file name of the uploaded blob.
ResourceType string | FileUploadResourceType
Resource type for file uploading.
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.
blobName String
The custom file name of the uploaded blob.
resourceType String | FileUploadResourceType
Resource type for file uploading.
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.
blobName string
The custom file name of the uploaded blob.
resourceType string | FileUploadResourceType
Resource type for file uploading.
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.
blob_name str
The custom file name of the uploaded blob.
resource_type str | FileUploadResourceType
Resource type for file uploading.
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.
blobName String
The custom file name of the uploaded blob.
resourceType String | "Package" | "VHD"
Resource type for file uploading.

getTestBaseAccountFileUploadUrl Result

The following output properties are available:

BlobPath string
The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
UploadUrl string
The URL used for uploading the package.
BlobPath string
The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
UploadUrl string
The URL used for uploading the package.
blobPath String
The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
uploadUrl String
The URL used for uploading the package.
blobPath string
The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
uploadUrl string
The URL used for uploading the package.
blob_path str
The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
upload_url str
The URL used for uploading the package.
blobPath String
The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource.
uploadUrl String
The URL used for uploading the package.

Supporting Types

FileUploadResourceType

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi