azure-native.appplatform.getBuildServiceResourceUploadUrl
Explore with Pulumi AI
Get an resource upload URL for build service, 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 getBuildServiceResourceUploadUrl
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 getBuildServiceResourceUploadUrl(args: GetBuildServiceResourceUploadUrlArgs, opts?: InvokeOptions): Promise<GetBuildServiceResourceUploadUrlResult>
function getBuildServiceResourceUploadUrlOutput(args: GetBuildServiceResourceUploadUrlOutputArgs, opts?: InvokeOptions): Output<GetBuildServiceResourceUploadUrlResult>
def get_build_service_resource_upload_url(build_service_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBuildServiceResourceUploadUrlResult
def get_build_service_resource_upload_url_output(build_service_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[GetBuildServiceResourceUploadUrlResult]
func GetBuildServiceResourceUploadUrl(ctx *Context, args *GetBuildServiceResourceUploadUrlArgs, opts ...InvokeOption) (*GetBuildServiceResourceUploadUrlResult, error)
func GetBuildServiceResourceUploadUrlOutput(ctx *Context, args *GetBuildServiceResourceUploadUrlOutputArgs, opts ...InvokeOption) GetBuildServiceResourceUploadUrlResultOutput
> Note: This function is named GetBuildServiceResourceUploadUrl
in the Go SDK.
public static class GetBuildServiceResourceUploadUrl
{
public static Task<GetBuildServiceResourceUploadUrlResult> InvokeAsync(GetBuildServiceResourceUploadUrlArgs args, InvokeOptions? opts = null)
public static Output<GetBuildServiceResourceUploadUrlResult> Invoke(GetBuildServiceResourceUploadUrlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBuildServiceResourceUploadUrlResult> getBuildServiceResourceUploadUrl(GetBuildServiceResourceUploadUrlArgs args, InvokeOptions options)
public static Output<GetBuildServiceResourceUploadUrlResult> getBuildServiceResourceUploadUrl(GetBuildServiceResourceUploadUrlArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:appplatform:getBuildServiceResourceUploadUrl
arguments:
# arguments dictionary
The following arguments are supported:
- Build
Service stringName - The name of the build service 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.
- Build
Service stringName - The name of the build service 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.
- build
Service StringName - The name of the build service 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.
- build
Service stringName - The name of the build service 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.
- build_
service_ strname - The name of the build service 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.
- build
Service StringName - The name of the build service 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.
getBuildServiceResourceUploadUrl 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