apps_resource_upload_urls
Creates, updates, deletes, gets or lists an apps_resource_upload_urls resource.
Overview
| Name | apps_resource_upload_urls |
| Type | Resource |
| Id | azure.spring_apps.apps_resource_upload_urls |
Fields
The following fields are returned by SELECT queries:
- get
Success. The response describes the resource upload URL.
| Name | Datatype | Description |
|---|---|---|
relativePath | string | Source relative path |
uploadUrl | string | Upload URL |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, serviceName, appName | Get 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.
| Name | Datatype | Description |
|---|---|---|
appName | string | The name of the App resource. |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serviceName | string | The name of the Service resource. |
subscriptionId | string | Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- get
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
;