1. Packages
  2. Azure Native
  3. API Docs
  4. appplatform
  5. getAppResourceUploadUrl
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

azure-native.appplatform.getAppResourceUploadUrl

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

    Get an resource upload URL for an App, which may be artifacts or source archive. Azure REST API version: 2023-05-01-preview.

    Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01, 2024-01-01-preview, 2024-05-01-preview.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:appplatform:getAppResourceUploadUrl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    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.
    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.
    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.
    app_name str
    The name of the App resource.
    resource_group_name str
    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.
    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.

    getAppResourceUploadUrl Result

    The following output properties are available:

    RelativePath string
    Source relative path
    UploadUrl string
    Upload URL
    RelativePath string
    Source relative path
    UploadUrl string
    Upload URL
    relativePath String
    Source relative path
    uploadUrl String
    Upload URL
    relativePath string
    Source relative path
    uploadUrl string
    Upload URL
    relative_path str
    Source relative path
    upload_url str
    Upload URL
    relativePath String
    Source relative path
    uploadUrl String
    Upload URL

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi