Build Service Builder Args
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 API Version: 2022-01-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",
});
});
Content copied to clipboard
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 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(Map.ofEntries(
Map.entry("buildpackGroups", Map.ofEntries(
Map.entry("buildpacks", Map.of("id", "tanzu-buildpacks/java-azure")),
Map.entry("name", "mix")
)),
Map.entry("stack", Map.ofEntries(
Map.entry("id", "io.buildpacks.stacks.bionic"),
Map.entry("version", "base")
))
))
.resourceGroupName("myResourceGroup")
.serviceName("myservice")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:appplatform:BuildServiceBuilder mybuilder /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/builders/mybuilder
Content copied to clipboard
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
The name of the builder resource.
Link copied to clipboard
The name of the build service resource.
Link copied to clipboard
Property of the Builder resource.
Link copied to clipboard
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
The name of the Service resource.