azure-native.app.Build
Explore with Pulumi AI
Information pertaining to an individual build. 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.
Example Usage
Builds_CreateOrUpdate_NoConfig
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var build = new AzureNative.App.Build("build", new()
    {
        BuildName = "testBuild",
        BuilderName = "testBuilder",
        ResourceGroupName = "rg",
    });
});
package main
import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewBuild(ctx, "build", &app.BuildArgs{
			BuildName:         pulumi.String("testBuild"),
			BuilderName:       pulumi.String("testBuilder"),
			ResourceGroupName: pulumi.String("rg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.Build;
import com.pulumi.azurenative.app.BuildArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var build = new Build("build", BuildArgs.builder()
            .buildName("testBuild")
            .builderName("testBuilder")
            .resourceGroupName("rg")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const build = new azure_native.app.Build("build", {
    buildName: "testBuild",
    builderName: "testBuilder",
    resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
build = azure_native.app.Build("build",
    build_name="testBuild",
    builder_name="testBuilder",
    resource_group_name="rg")
resources:
  build:
    type: azure-native:app:Build
    properties:
      buildName: testBuild
      builderName: testBuilder
      resourceGroupName: rg
Builds_CreateOrUpdate_WithConfig
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var build = new AzureNative.App.Build("build", new()
    {
        BuildName = "testBuild-123456789az",
        BuilderName = "testBuilder",
        Configuration = new AzureNative.App.Inputs.BuildConfigurationArgs
        {
            BaseOs = "DebianBullseye",
            EnvironmentVariables = new[]
            {
                new AzureNative.App.Inputs.EnvironmentVariableArgs
                {
                    Name = "foo1",
                    Value = "bar1",
                },
                new AzureNative.App.Inputs.EnvironmentVariableArgs
                {
                    Name = "foo2",
                    Value = "bar2",
                },
            },
            Platform = "dotnetcore",
            PlatformVersion = "7.0",
            PreBuildSteps = new[]
            {
                new AzureNative.App.Inputs.PreBuildStepArgs
                {
                    Description = "First pre build step.",
                    HttpGet = new AzureNative.App.Inputs.HttpGetArgs
                    {
                        FileName = "output.txt",
                        Headers = new[]
                        {
                            "foo",
                            "bar",
                        },
                        Url = "https://microsoft.com",
                    },
                    Scripts = new[]
                    {
                        "echo 'hello'",
                        "echo 'world'",
                    },
                },
                new AzureNative.App.Inputs.PreBuildStepArgs
                {
                    Description = "Second pre build step.",
                    HttpGet = new AzureNative.App.Inputs.HttpGetArgs
                    {
                        FileName = "output.txt",
                        Headers = new[]
                        {
                            "foo",
                        },
                        Url = "https://microsoft.com",
                    },
                    Scripts = new[]
                    {
                        "echo 'hello'",
                        "echo 'again'",
                    },
                },
            },
        },
        DestinationContainerRegistry = new AzureNative.App.Inputs.ContainerRegistryWithCustomImageArgs
        {
            Image = "test.azurecr.io/repo:tag",
            Server = "test.azurecr.io",
        },
        ResourceGroupName = "rg",
    });
});
package main
import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewBuild(ctx, "build", &app.BuildArgs{
			BuildName:   pulumi.String("testBuild-123456789az"),
			BuilderName: pulumi.String("testBuilder"),
			Configuration: &app.BuildConfigurationArgs{
				BaseOs: pulumi.String("DebianBullseye"),
				EnvironmentVariables: app.EnvironmentVariableArray{
					&app.EnvironmentVariableArgs{
						Name:  pulumi.String("foo1"),
						Value: pulumi.String("bar1"),
					},
					&app.EnvironmentVariableArgs{
						Name:  pulumi.String("foo2"),
						Value: pulumi.String("bar2"),
					},
				},
				Platform:        pulumi.String("dotnetcore"),
				PlatformVersion: pulumi.String("7.0"),
				PreBuildSteps: app.PreBuildStepArray{
					&app.PreBuildStepArgs{
						Description: pulumi.String("First pre build step."),
						HttpGet: &app.HttpGetArgs{
							FileName: pulumi.String("output.txt"),
							Headers: pulumi.StringArray{
								pulumi.String("foo"),
								pulumi.String("bar"),
							},
							Url: pulumi.String("https://microsoft.com"),
						},
						Scripts: pulumi.StringArray{
							pulumi.String("echo 'hello'"),
							pulumi.String("echo 'world'"),
						},
					},
					&app.PreBuildStepArgs{
						Description: pulumi.String("Second pre build step."),
						HttpGet: &app.HttpGetArgs{
							FileName: pulumi.String("output.txt"),
							Headers: pulumi.StringArray{
								pulumi.String("foo"),
							},
							Url: pulumi.String("https://microsoft.com"),
						},
						Scripts: pulumi.StringArray{
							pulumi.String("echo 'hello'"),
							pulumi.String("echo 'again'"),
						},
					},
				},
			},
			DestinationContainerRegistry: &app.ContainerRegistryWithCustomImageArgs{
				Image:  pulumi.String("test.azurecr.io/repo:tag"),
				Server: pulumi.String("test.azurecr.io"),
			},
			ResourceGroupName: pulumi.String("rg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.Build;
import com.pulumi.azurenative.app.BuildArgs;
import com.pulumi.azurenative.app.inputs.BuildConfigurationArgs;
import com.pulumi.azurenative.app.inputs.ContainerRegistryWithCustomImageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var build = new Build("build", BuildArgs.builder()
            .buildName("testBuild-123456789az")
            .builderName("testBuilder")
            .configuration(BuildConfigurationArgs.builder()
                .baseOs("DebianBullseye")
                .environmentVariables(                
                    EnvironmentVariableArgs.builder()
                        .name("foo1")
                        .value("bar1")
                        .build(),
                    EnvironmentVariableArgs.builder()
                        .name("foo2")
                        .value("bar2")
                        .build())
                .platform("dotnetcore")
                .platformVersion("7.0")
                .preBuildSteps(                
                    PreBuildStepArgs.builder()
                        .description("First pre build step.")
                        .httpGet(HttpGetArgs.builder()
                            .fileName("output.txt")
                            .headers(                            
                                "foo",
                                "bar")
                            .url("https://microsoft.com")
                            .build())
                        .scripts(                        
                            "echo 'hello'",
                            "echo 'world'")
                        .build(),
                    PreBuildStepArgs.builder()
                        .description("Second pre build step.")
                        .httpGet(HttpGetArgs.builder()
                            .fileName("output.txt")
                            .headers("foo")
                            .url("https://microsoft.com")
                            .build())
                        .scripts(                        
                            "echo 'hello'",
                            "echo 'again'")
                        .build())
                .build())
            .destinationContainerRegistry(ContainerRegistryWithCustomImageArgs.builder()
                .image("test.azurecr.io/repo:tag")
                .server("test.azurecr.io")
                .build())
            .resourceGroupName("rg")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const build = new azure_native.app.Build("build", {
    buildName: "testBuild-123456789az",
    builderName: "testBuilder",
    configuration: {
        baseOs: "DebianBullseye",
        environmentVariables: [
            {
                name: "foo1",
                value: "bar1",
            },
            {
                name: "foo2",
                value: "bar2",
            },
        ],
        platform: "dotnetcore",
        platformVersion: "7.0",
        preBuildSteps: [
            {
                description: "First pre build step.",
                httpGet: {
                    fileName: "output.txt",
                    headers: [
                        "foo",
                        "bar",
                    ],
                    url: "https://microsoft.com",
                },
                scripts: [
                    "echo 'hello'",
                    "echo 'world'",
                ],
            },
            {
                description: "Second pre build step.",
                httpGet: {
                    fileName: "output.txt",
                    headers: ["foo"],
                    url: "https://microsoft.com",
                },
                scripts: [
                    "echo 'hello'",
                    "echo 'again'",
                ],
            },
        ],
    },
    destinationContainerRegistry: {
        image: "test.azurecr.io/repo:tag",
        server: "test.azurecr.io",
    },
    resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
build = azure_native.app.Build("build",
    build_name="testBuild-123456789az",
    builder_name="testBuilder",
    configuration={
        "base_os": "DebianBullseye",
        "environment_variables": [
            {
                "name": "foo1",
                "value": "bar1",
            },
            {
                "name": "foo2",
                "value": "bar2",
            },
        ],
        "platform": "dotnetcore",
        "platform_version": "7.0",
        "pre_build_steps": [
            {
                "description": "First pre build step.",
                "http_get": {
                    "file_name": "output.txt",
                    "headers": [
                        "foo",
                        "bar",
                    ],
                    "url": "https://microsoft.com",
                },
                "scripts": [
                    "echo 'hello'",
                    "echo 'world'",
                ],
            },
            {
                "description": "Second pre build step.",
                "http_get": {
                    "file_name": "output.txt",
                    "headers": ["foo"],
                    "url": "https://microsoft.com",
                },
                "scripts": [
                    "echo 'hello'",
                    "echo 'again'",
                ],
            },
        ],
    },
    destination_container_registry={
        "image": "test.azurecr.io/repo:tag",
        "server": "test.azurecr.io",
    },
    resource_group_name="rg")
resources:
  build:
    type: azure-native:app:Build
    properties:
      buildName: testBuild-123456789az
      builderName: testBuilder
      configuration:
        baseOs: DebianBullseye
        environmentVariables:
          - name: foo1
            value: bar1
          - name: foo2
            value: bar2
        platform: dotnetcore
        platformVersion: '7.0'
        preBuildSteps:
          - description: First pre build step.
            httpGet:
              fileName: output.txt
              headers:
                - foo
                - bar
              url: https://microsoft.com
            scripts:
              - echo 'hello'
              - echo 'world'
          - description: Second pre build step.
            httpGet:
              fileName: output.txt
              headers:
                - foo
              url: https://microsoft.com
            scripts:
              - echo 'hello'
              - echo 'again'
      destinationContainerRegistry:
        image: test.azurecr.io/repo:tag
        server: test.azurecr.io
      resourceGroupName: rg
Create Build Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Build(name: string, args: BuildArgs, opts?: CustomResourceOptions);@overload
def Build(resource_name: str,
          args: BuildArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Build(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          builder_name: Optional[str] = None,
          resource_group_name: Optional[str] = None,
          build_name: Optional[str] = None,
          configuration: Optional[BuildConfigurationArgs] = None,
          destination_container_registry: Optional[ContainerRegistryWithCustomImageArgs] = None)func NewBuild(ctx *Context, name string, args BuildArgs, opts ...ResourceOption) (*Build, error)public Build(string name, BuildArgs args, CustomResourceOptions? opts = null)type: azure-native:app:Build
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var buildResource = new AzureNative.App.Build("buildResource", new()
{
    BuilderName = "string",
    ResourceGroupName = "string",
    BuildName = "string",
    Configuration = new AzureNative.App.Inputs.BuildConfigurationArgs
    {
        BaseOs = "string",
        EnvironmentVariables = new[]
        {
            new AzureNative.App.Inputs.EnvironmentVariableArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        Platform = "string",
        PlatformVersion = "string",
        PreBuildSteps = new[]
        {
            new AzureNative.App.Inputs.PreBuildStepArgs
            {
                Description = "string",
                HttpGet = new AzureNative.App.Inputs.HttpGetArgs
                {
                    Url = "string",
                    FileName = "string",
                    Headers = new[]
                    {
                        "string",
                    },
                },
                Scripts = new[]
                {
                    "string",
                },
            },
        },
    },
    DestinationContainerRegistry = new AzureNative.App.Inputs.ContainerRegistryWithCustomImageArgs
    {
        Server = "string",
        Image = "string",
    },
});
example, err := app.NewBuild(ctx, "buildResource", &app.BuildArgs{
	BuilderName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	BuildName:         pulumi.String("string"),
	Configuration: &app.BuildConfigurationArgs{
		BaseOs: pulumi.String("string"),
		EnvironmentVariables: app.EnvironmentVariableArray{
			&app.EnvironmentVariableArgs{
				Name:  pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
		Platform:        pulumi.String("string"),
		PlatformVersion: pulumi.String("string"),
		PreBuildSteps: app.PreBuildStepArray{
			&app.PreBuildStepArgs{
				Description: pulumi.String("string"),
				HttpGet: &app.HttpGetArgs{
					Url:      pulumi.String("string"),
					FileName: pulumi.String("string"),
					Headers: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				Scripts: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
	},
	DestinationContainerRegistry: &app.ContainerRegistryWithCustomImageArgs{
		Server: pulumi.String("string"),
		Image:  pulumi.String("string"),
	},
})
var buildResource = new Build("buildResource", BuildArgs.builder()
    .builderName("string")
    .resourceGroupName("string")
    .buildName("string")
    .configuration(BuildConfigurationArgs.builder()
        .baseOs("string")
        .environmentVariables(EnvironmentVariableArgs.builder()
            .name("string")
            .value("string")
            .build())
        .platform("string")
        .platformVersion("string")
        .preBuildSteps(PreBuildStepArgs.builder()
            .description("string")
            .httpGet(HttpGetArgs.builder()
                .url("string")
                .fileName("string")
                .headers("string")
                .build())
            .scripts("string")
            .build())
        .build())
    .destinationContainerRegistry(ContainerRegistryWithCustomImageArgs.builder()
        .server("string")
        .image("string")
        .build())
    .build());
build_resource = azure_native.app.Build("buildResource",
    builder_name="string",
    resource_group_name="string",
    build_name="string",
    configuration={
        "base_os": "string",
        "environment_variables": [{
            "name": "string",
            "value": "string",
        }],
        "platform": "string",
        "platform_version": "string",
        "pre_build_steps": [{
            "description": "string",
            "http_get": {
                "url": "string",
                "file_name": "string",
                "headers": ["string"],
            },
            "scripts": ["string"],
        }],
    },
    destination_container_registry={
        "server": "string",
        "image": "string",
    })
const buildResource = new azure_native.app.Build("buildResource", {
    builderName: "string",
    resourceGroupName: "string",
    buildName: "string",
    configuration: {
        baseOs: "string",
        environmentVariables: [{
            name: "string",
            value: "string",
        }],
        platform: "string",
        platformVersion: "string",
        preBuildSteps: [{
            description: "string",
            httpGet: {
                url: "string",
                fileName: "string",
                headers: ["string"],
            },
            scripts: ["string"],
        }],
    },
    destinationContainerRegistry: {
        server: "string",
        image: "string",
    },
});
type: azure-native:app:Build
properties:
    buildName: string
    builderName: string
    configuration:
        baseOs: string
        environmentVariables:
            - name: string
              value: string
        platform: string
        platformVersion: string
        preBuildSteps:
            - description: string
              httpGet:
                fileName: string
                headers:
                    - string
                url: string
              scripts:
                - string
    destinationContainerRegistry:
        image: string
        server: string
    resourceGroupName: string
Build Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Build resource accepts the following input properties:
- 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.
- Configuration
Pulumi.Azure Native. App. Inputs. Build Configuration 
- Configuration of the build.
- DestinationContainer Pulumi.Registry Azure Native. App. Inputs. Container Registry With Custom Image 
- Container registry that the final image will be uploaded to.
- 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.
- Configuration
BuildConfiguration Args 
- Configuration of the build.
- DestinationContainer ContainerRegistry Registry With Custom Image Args 
- Container registry that the final image will be uploaded to.
- 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.
- configuration
BuildConfiguration 
- Configuration of the build.
- destinationContainer ContainerRegistry Registry With Custom Image 
- Container registry that the final image will be uploaded to.
- 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.
- configuration
BuildConfiguration 
- Configuration of the build.
- destinationContainer ContainerRegistry Registry With Custom Image 
- Container registry that the final image will be uploaded to.
- builder_name str
- The name of the builder.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- build_name str
- The name of a build.
- configuration
BuildConfiguration Args 
- Configuration of the build.
- destination_container_ Containerregistry Registry With Custom Image Args 
- Container registry that the final image will be uploaded to.
- 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.
- configuration Property Map
- Configuration of the build.
- destinationContainer Property MapRegistry 
- Container registry that the final image will be uploaded to.
Outputs
All input properties are implicitly available as output properties. Additionally, the Build resource produces the following output properties:
- BuildStatus string
- Status of the build once it has been provisioned.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- BuildStatus string
- Status of the build once it has been provisioned.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- buildStatus String
- Status of the build once it has been provisioned.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- buildStatus string
- Status of the build once it has been provisioned.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- build_status str
- Status of the build once it has been provisioned.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- buildStatus String
- Status of the build once it has been provisioned.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
Supporting Types
BuildConfiguration, BuildConfigurationArgs    
- BaseOs string
- Base OS used to build and run the app.
- EnvironmentVariables List<Pulumi.Azure Native. App. Inputs. Environment Variable> 
- 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> 
- List of steps to perform before the build.
- BaseOs string
- Base OS used to build and run the app.
- EnvironmentVariables []EnvironmentVariable 
- 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 
- List of steps to perform before the build.
- baseOs String
- Base OS used to build and run the app.
- environmentVariables List<EnvironmentVariable> 
- 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> 
- List of steps to perform before the build.
- baseOs string
- Base OS used to build and run the app.
- environmentVariables EnvironmentVariable[] 
- 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[] 
- List of steps to perform before the build.
- base_os str
- Base OS used to build and run the app.
- environment_variables Sequence[EnvironmentVariable] 
- 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] 
- 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.
BuildConfigurationResponse, BuildConfigurationResponseArgs      
- 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.
ContainerRegistryWithCustomImage, ContainerRegistryWithCustomImageArgs          
- 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.
ContainerRegistryWithCustomImageResponse, ContainerRegistryWithCustomImageResponseArgs            
- 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.
EnvironmentVariable, EnvironmentVariableArgs    
EnvironmentVariableResponse, EnvironmentVariableResponseArgs      
HttpGet, HttpGetArgs    
HttpGetResponse, HttpGetResponseArgs      
PreBuildStep, PreBuildStepArgs      
- Description string
- Description of the pre-build step.
- HttpGet Pulumi.Azure Native. App. Inputs. Http Get 
- 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 
- 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 
- 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 
- 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 
- 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.
PreBuildStepResponse, PreBuildStepResponseArgs        
- 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, SystemDataResponseArgs      
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:app:Build testBuild-123456789az /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/builders/{builderName}/builds/{buildName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0