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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.app.getBuild
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a BuildResource Azure REST API version: 2023-08-01-preview.
Other available API versions: 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview.
Using getBuild
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 getBuild(args: GetBuildArgs, opts?: InvokeOptions): Promise<GetBuildResult>
function getBuildOutput(args: GetBuildOutputArgs, opts?: InvokeOptions): Output<GetBuildResult>def get_build(build_name: Optional[str] = None,
              builder_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetBuildResult
def get_build_output(build_name: Optional[pulumi.Input[str]] = None,
              builder_name: Optional[pulumi.Input[str]] = None,
              resource_group_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetBuildResult]func LookupBuild(ctx *Context, args *LookupBuildArgs, opts ...InvokeOption) (*LookupBuildResult, error)
func LookupBuildOutput(ctx *Context, args *LookupBuildOutputArgs, opts ...InvokeOption) LookupBuildResultOutput> Note: This function is named LookupBuild in the Go SDK.
public static class GetBuild 
{
    public static Task<GetBuildResult> InvokeAsync(GetBuildArgs args, InvokeOptions? opts = null)
    public static Output<GetBuildResult> Invoke(GetBuildInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBuildResult> getBuild(GetBuildArgs args, InvokeOptions options)
public static Output<GetBuildResult> getBuild(GetBuildArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:app:getBuild
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BuildName string
- The name of a build.
- BuilderName string
- The name of the builder.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- BuildName string
- The name of a build.
- BuilderName string
- The name of the builder.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- buildName String
- The name of a build.
- builderName String
- The name of the builder.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- buildName string
- The name of a build.
- builderName string
- The name of the builder.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- build_name str
- The name of a build.
- builder_name str
- The name of the builder.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- buildName String
- The name of a build.
- builderName String
- The name of the builder.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getBuild Result
The following output properties are available:
- BuildStatus string
- Status of the build once it has been provisioned.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LogStream stringEndpoint 
- Endpoint from which the build logs can be streamed.
- Name string
- The name of the resource
- ProvisioningState string
- Build provisioning state.
- SystemData Pulumi.Azure Native. App. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TokenEndpoint string
- Endpoint to use to retrieve an authentication token for log streaming and uploading source code.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- UploadEndpoint string
- Endpoint to which the source code should be uploaded.
- Configuration
Pulumi.Azure Native. App. Outputs. Build Configuration Response 
- Configuration of the build.
- DestinationContainer Pulumi.Registry Azure Native. App. Outputs. Container Registry With Custom Image Response 
- Container registry that the final image will be uploaded to.
- BuildStatus string
- Status of the build once it has been provisioned.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LogStream stringEndpoint 
- Endpoint from which the build logs can be streamed.
- Name string
- The name of the resource
- ProvisioningState string
- Build provisioning state.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- TokenEndpoint string
- Endpoint to use to retrieve an authentication token for log streaming and uploading source code.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- UploadEndpoint string
- Endpoint to which the source code should be uploaded.
- Configuration
BuildConfiguration Response 
- Configuration of the build.
- DestinationContainer ContainerRegistry Registry With Custom Image Response 
- Container registry that the final image will be uploaded to.
- buildStatus String
- Status of the build once it has been provisioned.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- logStream StringEndpoint 
- Endpoint from which the build logs can be streamed.
- name String
- The name of the resource
- provisioningState String
- Build provisioning state.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tokenEndpoint String
- Endpoint to use to retrieve an authentication token for log streaming and uploading source code.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uploadEndpoint String
- Endpoint to which the source code should be uploaded.
- configuration
BuildConfiguration Response 
- Configuration of the build.
- destinationContainer ContainerRegistry Registry With Custom Image Response 
- Container registry that the final image will be uploaded to.
- buildStatus string
- Status of the build once it has been provisioned.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- logStream stringEndpoint 
- Endpoint from which the build logs can be streamed.
- name string
- The name of the resource
- provisioningState string
- Build provisioning state.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tokenEndpoint string
- Endpoint to use to retrieve an authentication token for log streaming and uploading source code.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uploadEndpoint string
- Endpoint to which the source code should be uploaded.
- configuration
BuildConfiguration Response 
- Configuration of the build.
- destinationContainer ContainerRegistry Registry With Custom Image Response 
- Container registry that the final image will be uploaded to.
- build_status str
- Status of the build once it has been provisioned.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- log_stream_ strendpoint 
- Endpoint from which the build logs can be streamed.
- name str
- The name of the resource
- provisioning_state str
- Build provisioning state.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- token_endpoint str
- Endpoint to use to retrieve an authentication token for log streaming and uploading source code.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- upload_endpoint str
- Endpoint to which the source code should be uploaded.
- configuration
BuildConfiguration Response 
- Configuration of the build.
- destination_container_ Containerregistry Registry With Custom Image Response 
- Container registry that the final image will be uploaded to.
- buildStatus String
- Status of the build once it has been provisioned.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- logStream StringEndpoint 
- Endpoint from which the build logs can be streamed.
- name String
- The name of the resource
- provisioningState String
- Build provisioning state.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tokenEndpoint String
- Endpoint to use to retrieve an authentication token for log streaming and uploading source code.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- uploadEndpoint String
- Endpoint to which the source code should be uploaded.
- configuration Property Map
- Configuration of the build.
- destinationContainer Property MapRegistry 
- Container registry that the final image will be uploaded to.
Supporting Types
BuildConfigurationResponse  
- BaseOs string
- Base OS used to build and run the app.
- EnvironmentVariables List<Pulumi.Azure Native. App. Inputs. Environment Variable Response> 
- List of environment variables to be passed to the build.
- Platform string
- Platform to be used to build and run the app.
- PlatformVersion string
- Platform version to be used to build and run the app.
- PreBuild List<Pulumi.Steps Azure Native. App. Inputs. Pre Build Step Response> 
- List of steps to perform before the build.
- BaseOs string
- Base OS used to build and run the app.
- EnvironmentVariables []EnvironmentVariable Response 
- List of environment variables to be passed to the build.
- Platform string
- Platform to be used to build and run the app.
- PlatformVersion string
- Platform version to be used to build and run the app.
- PreBuild []PreSteps Build Step Response 
- List of steps to perform before the build.
- baseOs String
- Base OS used to build and run the app.
- environmentVariables List<EnvironmentVariable Response> 
- List of environment variables to be passed to the build.
- platform String
- Platform to be used to build and run the app.
- platformVersion String
- Platform version to be used to build and run the app.
- preBuild List<PreSteps Build Step Response> 
- List of steps to perform before the build.
- baseOs string
- Base OS used to build and run the app.
- environmentVariables EnvironmentVariable Response[] 
- List of environment variables to be passed to the build.
- platform string
- Platform to be used to build and run the app.
- platformVersion string
- Platform version to be used to build and run the app.
- preBuild PreSteps Build Step Response[] 
- List of steps to perform before the build.
- base_os str
- Base OS used to build and run the app.
- environment_variables Sequence[EnvironmentVariable Response] 
- List of environment variables to be passed to the build.
- platform str
- Platform to be used to build and run the app.
- platform_version str
- Platform version to be used to build and run the app.
- pre_build_ Sequence[Presteps Build Step Response] 
- List of steps to perform before the build.
- baseOs String
- Base OS used to build and run the app.
- environmentVariables List<Property Map>
- List of environment variables to be passed to the build.
- platform String
- Platform to be used to build and run the app.
- platformVersion String
- Platform version to be used to build and run the app.
- preBuild List<Property Map>Steps 
- List of steps to perform before the build.
ContainerRegistryWithCustomImageResponse     
- Server string
- Login server of the container registry that the final image should be uploaded to. Builder resource needs to have this container registry defined along with an identity to use to access it.
- Image string
- Full name that the final image should be uploaded as, including both image name and tag.
- Server string
- Login server of the container registry that the final image should be uploaded to. Builder resource needs to have this container registry defined along with an identity to use to access it.
- Image string
- Full name that the final image should be uploaded as, including both image name and tag.
- server String
- Login server of the container registry that the final image should be uploaded to. Builder resource needs to have this container registry defined along with an identity to use to access it.
- image String
- Full name that the final image should be uploaded as, including both image name and tag.
- server string
- Login server of the container registry that the final image should be uploaded to. Builder resource needs to have this container registry defined along with an identity to use to access it.
- image string
- Full name that the final image should be uploaded as, including both image name and tag.
- server String
- Login server of the container registry that the final image should be uploaded to. Builder resource needs to have this container registry defined along with an identity to use to access it.
- image String
- Full name that the final image should be uploaded as, including both image name and tag.
EnvironmentVariableResponse  
HttpGetResponse  
PreBuildStepResponse   
- Description string
- Description of the pre-build step.
- HttpGet Pulumi.Azure Native. App. Inputs. Http Get Response 
- Http get request to send before the build.
- Scripts List<string>
- List of custom commands to run.
- Description string
- Description of the pre-build step.
- HttpGet HttpGet Response 
- Http get request to send before the build.
- Scripts []string
- List of custom commands to run.
- description String
- Description of the pre-build step.
- httpGet HttpGet Response 
- Http get request to send before the build.
- scripts List<String>
- List of custom commands to run.
- description string
- Description of the pre-build step.
- httpGet HttpGet Response 
- Http get request to send before the build.
- scripts string[]
- List of custom commands to run.
- description str
- Description of the pre-build step.
- http_get HttpGet Response 
- Http get request to send before the build.
- scripts Sequence[str]
- List of custom commands to run.
- description String
- Description of the pre-build step.
- httpGet Property Map
- Http get request to send before the build.
- scripts List<String>
- List of custom commands to run.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi