UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

51 lines (50 loc) 2.26 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the upload location for the user to be able to upload the source. * * Uses Azure REST API version 2019-06-01-preview. * * Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native containerregistry [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listRegistryBuildSourceUploadUrl(args: ListRegistryBuildSourceUploadUrlArgs, opts?: pulumi.InvokeOptions): Promise<ListRegistryBuildSourceUploadUrlResult>; export interface ListRegistryBuildSourceUploadUrlArgs { /** * The name of the container registry. */ registryName: string; /** * The name of the resource group to which the container registry belongs. */ resourceGroupName: string; } /** * The properties of a response to source upload request. */ export interface ListRegistryBuildSourceUploadUrlResult { /** * The relative path to the source. This is used to submit the subsequent queue build request. */ readonly relativePath?: string; /** * The URL where the client can upload the source. */ readonly uploadUrl?: string; } /** * Get the upload location for the user to be able to upload the source. * * Uses Azure REST API version 2019-06-01-preview. * * Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native containerregistry [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listRegistryBuildSourceUploadUrlOutput(args: ListRegistryBuildSourceUploadUrlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListRegistryBuildSourceUploadUrlResult>; export interface ListRegistryBuildSourceUploadUrlOutputArgs { /** * The name of the container registry. */ registryName: pulumi.Input<string>; /** * The name of the resource group to which the container registry belongs. */ resourceGroupName: pulumi.Input<string>; }