Skip to main content

apps_resource_upload_urls

Creates, updates, deletes, gets or lists an apps_resource_upload_urls resource.

Overview

Nameapps_resource_upload_urls
TypeResource
Idazure.spring_apps.apps_resource_upload_urls

Fields

The following fields are returned by SELECT queries:

Success. The response describes the resource upload URL.

NameDatatypeDescription
relativePathstringSource relative path
uploadUrlstringUpload URL

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, appNameGet an resource upload URL for an App, which may be artifacts or source archive.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
appNamestringThe name of the App resource.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get an resource upload URL for an App, which may be artifacts or source archive.

SELECT
relativePath,
uploadUrl
FROM azure.spring_apps.apps_resource_upload_urls
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND appName = '{{ appName }}' -- required
;