azure-native.appplatform.getAppResourceUploadUrl
Explore with Pulumi AI
Get an resource upload URL for an App, which may be artifacts or source archive.
Uses Azure REST API version 2024-01-01-preview.
Other available API versions: 2023-05-01-preview, 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native appplatform [ApiVersion]
. See the version guide for details.
Using getAppResourceUploadUrl
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 getAppResourceUploadUrl(args: GetAppResourceUploadUrlArgs, opts?: InvokeOptions): Promise<GetAppResourceUploadUrlResult>
function getAppResourceUploadUrlOutput(args: GetAppResourceUploadUrlOutputArgs, opts?: InvokeOptions): Output<GetAppResourceUploadUrlResult>
def get_app_resource_upload_url(app_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppResourceUploadUrlResult
def get_app_resource_upload_url_output(app_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppResourceUploadUrlResult]
func GetAppResourceUploadUrl(ctx *Context, args *GetAppResourceUploadUrlArgs, opts ...InvokeOption) (*GetAppResourceUploadUrlResult, error)
func GetAppResourceUploadUrlOutput(ctx *Context, args *GetAppResourceUploadUrlOutputArgs, opts ...InvokeOption) GetAppResourceUploadUrlResultOutput
> Note: This function is named GetAppResourceUploadUrl
in the Go SDK.
public static class GetAppResourceUploadUrl
{
public static Task<GetAppResourceUploadUrlResult> InvokeAsync(GetAppResourceUploadUrlArgs args, InvokeOptions? opts = null)
public static Output<GetAppResourceUploadUrlResult> Invoke(GetAppResourceUploadUrlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppResourceUploadUrlResult> getAppResourceUploadUrl(GetAppResourceUploadUrlArgs args, InvokeOptions options)
public static Output<GetAppResourceUploadUrlResult> getAppResourceUploadUrl(GetAppResourceUploadUrlArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:appplatform:getAppResourceUploadUrl
arguments:
# arguments dictionary
The following arguments are supported:
- App
Name string - The name of the App resource.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Service
Name string - The name of the Service resource.
- App
Name string - The name of the App resource.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Service
Name string - The name of the Service resource.
- app
Name String - The name of the App resource.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service
Name String - The name of the Service resource.
- app
Name string - The name of the App resource.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service
Name string - The name of the Service resource.
- app_
name str - The name of the App resource.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service_
name str - The name of the Service resource.
- app
Name String - The name of the App resource.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service
Name String - The name of the Service resource.
getAppResourceUploadUrl Result
The following output properties are available:
- Relative
Path string - Source relative path
- Upload
Url string - Upload URL
- Relative
Path string - Source relative path
- Upload
Url string - Upload URL
- relative
Path String - Source relative path
- upload
Url String - Upload URL
- relative
Path string - Source relative path
- upload
Url string - Upload URL
- relative_
path str - Source relative path
- upload_
url str - Upload URL
- relative
Path String - Source relative path
- upload
Url String - Upload URL
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0