BuildServiceBuilderArgs

data class BuildServiceBuilderArgs(val buildServiceName: Output<String>? = null, val builderName: Output<String>? = null, val properties: Output<BuilderPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null) : ConvertibleToJava<BuildServiceBuilderArgs>

KPack Builder resource Uses Azure REST API version 2023-05-01-preview. In version 1.x of the Azure Native provider, it used API version 2022-01-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.

Example Usage

BuildServiceBuilder_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var buildServiceBuilder = new AzureNative.AppPlatform.BuildServiceBuilder("buildServiceBuilder", new()
{
BuildServiceName = "default",
BuilderName = "mybuilder",
Properties = new AzureNative.AppPlatform.Inputs.BuilderPropertiesArgs
{
BuildpackGroups = new[]
{
new AzureNative.AppPlatform.Inputs.BuildpacksGroupPropertiesArgs
{
Buildpacks = new[]
{
new AzureNative.AppPlatform.Inputs.BuildpackPropertiesArgs
{
Id = "tanzu-buildpacks/java-azure",
},
},
Name = "mix",
},
},
Stack = new AzureNative.AppPlatform.Inputs.StackPropertiesArgs
{
Id = "io.buildpacks.stacks.bionic",
Version = "base",
},
},
ResourceGroupName = "myResourceGroup",
ServiceName = "myservice",
});
});
package main
import (
appplatform "github.com/pulumi/pulumi-azure-native-sdk/appplatform/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appplatform.NewBuildServiceBuilder(ctx, "buildServiceBuilder", &appplatform.BuildServiceBuilderArgs{
BuildServiceName: pulumi.String("default"),
BuilderName: pulumi.String("mybuilder"),
Properties: &appplatform.BuilderPropertiesArgs{
BuildpackGroups: appplatform.BuildpacksGroupPropertiesArray{
&appplatform.BuildpacksGroupPropertiesArgs{
Buildpacks: appplatform.BuildpackPropertiesArray{
&appplatform.BuildpackPropertiesArgs{
Id: pulumi.String("tanzu-buildpacks/java-azure"),
},
},
Name: pulumi.String("mix"),
},
},
Stack: &appplatform.StackPropertiesArgs{
Id: pulumi.String("io.buildpacks.stacks.bionic"),
Version: pulumi.String("base"),
},
},
ResourceGroupName: pulumi.String("myResourceGroup"),
ServiceName: pulumi.String("myservice"),
})
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.appplatform.BuildServiceBuilder;
import com.pulumi.azurenative.appplatform.BuildServiceBuilderArgs;
import com.pulumi.azurenative.appplatform.inputs.BuilderPropertiesArgs;
import com.pulumi.azurenative.appplatform.inputs.StackPropertiesArgs;
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 buildServiceBuilder = new BuildServiceBuilder("buildServiceBuilder", BuildServiceBuilderArgs.builder()
.buildServiceName("default")
.builderName("mybuilder")
.properties(BuilderPropertiesArgs.builder()
.buildpackGroups(BuildpacksGroupPropertiesArgs.builder()
.buildpacks(BuildpackPropertiesArgs.builder()
.id("tanzu-buildpacks/java-azure")
.build())
.name("mix")
.build())
.stack(StackPropertiesArgs.builder()
.id("io.buildpacks.stacks.bionic")
.version("base")
.build())
.build())
.resourceGroupName("myResourceGroup")
.serviceName("myservice")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:appplatform:BuildServiceBuilder mybuilder /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}

Constructors

Link copied to clipboard
constructor(buildServiceName: Output<String>? = null, builderName: Output<String>? = null, properties: Output<BuilderPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null)

Properties

Link copied to clipboard
val builderName: Output<String>? = null

The name of the builder resource.

Link copied to clipboard
val buildServiceName: Output<String>? = null

The name of the build service resource.

Link copied to clipboard
val properties: Output<BuilderPropertiesArgs>? = null

Property of the Builder resource.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

Link copied to clipboard
val serviceName: Output<String>? = null

The name of the Service resource.

Functions

Link copied to clipboard
open override fun toJava(): BuildServiceBuilderArgs