1. Packages
  2. Azure Native
  3. API Docs
  4. appplatform
  5. BuildpackBinding
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.appplatform.BuildpackBinding

Explore with Pulumi AI

azure-native logo
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Buildpack Binding Resource object Azure REST API version: 2023-05-01-preview. Prior API version in Azure Native 1.x: 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.

    Example Usage

    BuildpackBinding_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var buildpackBinding = new AzureNative.AppPlatform.BuildpackBinding("buildpackBinding", new()
        {
            BuildServiceName = "default",
            BuilderName = "default",
            BuildpackBindingName = "myBuildpackBinding",
            Properties = new AzureNative.AppPlatform.Inputs.BuildpackBindingPropertiesArgs
            {
                BindingType = AzureNative.AppPlatform.BindingType.ApplicationInsights,
                LaunchProperties = new AzureNative.AppPlatform.Inputs.BuildpackBindingLaunchPropertiesArgs
                {
                    Properties = 
                    {
                        { "abc", "def" },
                        { "any-string", "any-string" },
                        { "sampling-rate", "12.0" },
                    },
                    Secrets = 
                    {
                        { "connection-string", "XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX" },
                    },
                },
            },
            ResourceGroupName = "myResourceGroup",
            ServiceName = "myservice",
        });
    
    });
    
    package main
    
    import (
    	"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.NewBuildpackBinding(ctx, "buildpackBinding", &appplatform.BuildpackBindingArgs{
    			BuildServiceName:     pulumi.String("default"),
    			BuilderName:          pulumi.String("default"),
    			BuildpackBindingName: pulumi.String("myBuildpackBinding"),
    			Properties: &appplatform.BuildpackBindingPropertiesArgs{
    				BindingType: pulumi.String(appplatform.BindingTypeApplicationInsights),
    				LaunchProperties: &appplatform.BuildpackBindingLaunchPropertiesArgs{
    					Properties: pulumi.StringMap{
    						"abc":           pulumi.String("def"),
    						"any-string":    pulumi.String("any-string"),
    						"sampling-rate": pulumi.String("12.0"),
    					},
    					Secrets: pulumi.StringMap{
    						"connection-string": pulumi.String("XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX"),
    					},
    				},
    			},
    			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.BuildpackBinding;
    import com.pulumi.azurenative.appplatform.BuildpackBindingArgs;
    import com.pulumi.azurenative.appplatform.inputs.BuildpackBindingPropertiesArgs;
    import com.pulumi.azurenative.appplatform.inputs.BuildpackBindingLaunchPropertiesArgs;
    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 buildpackBinding = new BuildpackBinding("buildpackBinding", BuildpackBindingArgs.builder()        
                .buildServiceName("default")
                .builderName("default")
                .buildpackBindingName("myBuildpackBinding")
                .properties(BuildpackBindingPropertiesArgs.builder()
                    .bindingType("ApplicationInsights")
                    .launchProperties(BuildpackBindingLaunchPropertiesArgs.builder()
                        .properties(Map.ofEntries(
                            Map.entry("abc", "def"),
                            Map.entry("any-string", "any-string"),
                            Map.entry("sampling-rate", "12.0")
                        ))
                        .secrets(Map.of("connection-string", "XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX"))
                        .build())
                    .build())
                .resourceGroupName("myResourceGroup")
                .serviceName("myservice")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    buildpack_binding = azure_native.appplatform.BuildpackBinding("buildpackBinding",
        build_service_name="default",
        builder_name="default",
        buildpack_binding_name="myBuildpackBinding",
        properties=azure_native.appplatform.BuildpackBindingPropertiesArgs(
            binding_type=azure_native.appplatform.BindingType.APPLICATION_INSIGHTS,
            launch_properties=azure_native.appplatform.BuildpackBindingLaunchPropertiesArgs(
                properties={
                    "abc": "def",
                    "any-string": "any-string",
                    "sampling-rate": "12.0",
                },
                secrets={
                    "connection-string": "XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX",
                },
            ),
        ),
        resource_group_name="myResourceGroup",
        service_name="myservice")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const buildpackBinding = new azure_native.appplatform.BuildpackBinding("buildpackBinding", {
        buildServiceName: "default",
        builderName: "default",
        buildpackBindingName: "myBuildpackBinding",
        properties: {
            bindingType: azure_native.appplatform.BindingType.ApplicationInsights,
            launchProperties: {
                properties: {
                    abc: "def",
                    "any-string": "any-string",
                    "sampling-rate": "12.0",
                },
                secrets: {
                    "connection-string": "XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX",
                },
            },
        },
        resourceGroupName: "myResourceGroup",
        serviceName: "myservice",
    });
    
    resources:
      buildpackBinding:
        type: azure-native:appplatform:BuildpackBinding
        properties:
          buildServiceName: default
          builderName: default
          buildpackBindingName: myBuildpackBinding
          properties:
            bindingType: ApplicationInsights
            launchProperties:
              properties:
                abc: def
                any-string: any-string
                sampling-rate: '12.0'
              secrets:
                connection-string: XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX
          resourceGroupName: myResourceGroup
          serviceName: myservice
    

    Create BuildpackBinding Resource

    new BuildpackBinding(name: string, args: BuildpackBindingArgs, opts?: CustomResourceOptions);
    @overload
    def BuildpackBinding(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         build_service_name: Optional[str] = None,
                         builder_name: Optional[str] = None,
                         buildpack_binding_name: Optional[str] = None,
                         properties: Optional[BuildpackBindingPropertiesArgs] = None,
                         resource_group_name: Optional[str] = None,
                         service_name: Optional[str] = None)
    @overload
    def BuildpackBinding(resource_name: str,
                         args: BuildpackBindingArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewBuildpackBinding(ctx *Context, name string, args BuildpackBindingArgs, opts ...ResourceOption) (*BuildpackBinding, error)
    public BuildpackBinding(string name, BuildpackBindingArgs args, CustomResourceOptions? opts = null)
    public BuildpackBinding(String name, BuildpackBindingArgs args)
    public BuildpackBinding(String name, BuildpackBindingArgs args, CustomResourceOptions options)
    
    type: azure-native:appplatform:BuildpackBinding
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args BuildpackBindingArgs
    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 BuildpackBindingArgs
    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 BuildpackBindingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BuildpackBindingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BuildpackBindingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BuildpackBinding Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BuildpackBinding resource accepts the following input properties:

    BuildServiceName string
    The name of the build service resource.
    BuilderName string
    The name of the builder resource.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ServiceName string
    The name of the Service resource.
    BuildpackBindingName string
    The name of the Buildpack Binding Name
    Properties Pulumi.AzureNative.AppPlatform.Inputs.BuildpackBindingProperties
    Properties of a buildpack binding
    BuildServiceName string
    The name of the build service resource.
    BuilderName string
    The name of the builder resource.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ServiceName string
    The name of the Service resource.
    BuildpackBindingName string
    The name of the Buildpack Binding Name
    Properties BuildpackBindingPropertiesArgs
    Properties of a buildpack binding
    buildServiceName String
    The name of the build service resource.
    builderName String
    The name of the builder resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName String
    The name of the Service resource.
    buildpackBindingName String
    The name of the Buildpack Binding Name
    properties BuildpackBindingProperties
    Properties of a buildpack binding
    buildServiceName string
    The name of the build service resource.
    builderName string
    The name of the builder resource.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName string
    The name of the Service resource.
    buildpackBindingName string
    The name of the Buildpack Binding Name
    properties BuildpackBindingProperties
    Properties of a buildpack binding
    build_service_name str
    The name of the build service resource.
    builder_name str
    The name of the builder resource.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    service_name str
    The name of the Service resource.
    buildpack_binding_name str
    The name of the Buildpack Binding Name
    properties BuildpackBindingPropertiesArgs
    Properties of a buildpack binding
    buildServiceName String
    The name of the build service resource.
    builderName String
    The name of the builder resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName String
    The name of the Service resource.
    buildpackBindingName String
    The name of the Buildpack Binding Name
    properties Property Map
    Properties of a buildpack binding

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BuildpackBinding resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    SystemData Pulumi.AzureNative.AppPlatform.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.

    Supporting Types

    BindingType, BindingTypeArgs

    ApplicationInsights
    ApplicationInsights
    ApacheSkyWalking
    ApacheSkyWalking
    AppDynamics
    AppDynamics
    Dynatrace
    Dynatrace
    NewRelic
    NewRelic
    ElasticAPM
    ElasticAPM
    CACertificates
    CACertificates
    BindingTypeApplicationInsights
    ApplicationInsights
    BindingTypeApacheSkyWalking
    ApacheSkyWalking
    BindingTypeAppDynamics
    AppDynamics
    BindingTypeDynatrace
    Dynatrace
    BindingTypeNewRelic
    NewRelic
    BindingTypeElasticAPM
    ElasticAPM
    BindingTypeCACertificates
    CACertificates
    ApplicationInsights
    ApplicationInsights
    ApacheSkyWalking
    ApacheSkyWalking
    AppDynamics
    AppDynamics
    Dynatrace
    Dynatrace
    NewRelic
    NewRelic
    ElasticAPM
    ElasticAPM
    CACertificates
    CACertificates
    ApplicationInsights
    ApplicationInsights
    ApacheSkyWalking
    ApacheSkyWalking
    AppDynamics
    AppDynamics
    Dynatrace
    Dynatrace
    NewRelic
    NewRelic
    ElasticAPM
    ElasticAPM
    CACertificates
    CACertificates
    APPLICATION_INSIGHTS
    ApplicationInsights
    APACHE_SKY_WALKING
    ApacheSkyWalking
    APP_DYNAMICS
    AppDynamics
    DYNATRACE
    Dynatrace
    NEW_RELIC
    NewRelic
    ELASTIC_APM
    ElasticAPM
    CA_CERTIFICATES
    CACertificates
    "ApplicationInsights"
    ApplicationInsights
    "ApacheSkyWalking"
    ApacheSkyWalking
    "AppDynamics"
    AppDynamics
    "Dynatrace"
    Dynatrace
    "NewRelic"
    NewRelic
    "ElasticAPM"
    ElasticAPM
    "CACertificates"
    CACertificates

    BuildpackBindingLaunchProperties, BuildpackBindingLaunchPropertiesArgs

    Properties Dictionary<string, string>
    Non-sensitive properties for launchProperties
    Secrets Dictionary<string, string>
    Sensitive properties for launchProperties
    Properties map[string]string
    Non-sensitive properties for launchProperties
    Secrets map[string]string
    Sensitive properties for launchProperties
    properties Map<String,String>
    Non-sensitive properties for launchProperties
    secrets Map<String,String>
    Sensitive properties for launchProperties
    properties {[key: string]: string}
    Non-sensitive properties for launchProperties
    secrets {[key: string]: string}
    Sensitive properties for launchProperties
    properties Mapping[str, str]
    Non-sensitive properties for launchProperties
    secrets Mapping[str, str]
    Sensitive properties for launchProperties
    properties Map<String>
    Non-sensitive properties for launchProperties
    secrets Map<String>
    Sensitive properties for launchProperties

    BuildpackBindingLaunchPropertiesResponse, BuildpackBindingLaunchPropertiesResponseArgs

    Properties Dictionary<string, string>
    Non-sensitive properties for launchProperties
    Secrets Dictionary<string, string>
    Sensitive properties for launchProperties
    Properties map[string]string
    Non-sensitive properties for launchProperties
    Secrets map[string]string
    Sensitive properties for launchProperties
    properties Map<String,String>
    Non-sensitive properties for launchProperties
    secrets Map<String,String>
    Sensitive properties for launchProperties
    properties {[key: string]: string}
    Non-sensitive properties for launchProperties
    secrets {[key: string]: string}
    Sensitive properties for launchProperties
    properties Mapping[str, str]
    Non-sensitive properties for launchProperties
    secrets Mapping[str, str]
    Sensitive properties for launchProperties
    properties Map<String>
    Non-sensitive properties for launchProperties
    secrets Map<String>
    Sensitive properties for launchProperties

    BuildpackBindingProperties, BuildpackBindingPropertiesArgs

    BindingType string | Pulumi.AzureNative.AppPlatform.BindingType
    Buildpack Binding Type
    LaunchProperties Pulumi.AzureNative.AppPlatform.Inputs.BuildpackBindingLaunchProperties
    The object describes the buildpack binding launch properties
    BindingType string | BindingType
    Buildpack Binding Type
    LaunchProperties BuildpackBindingLaunchProperties
    The object describes the buildpack binding launch properties
    bindingType String | BindingType
    Buildpack Binding Type
    launchProperties BuildpackBindingLaunchProperties
    The object describes the buildpack binding launch properties
    bindingType string | BindingType
    Buildpack Binding Type
    launchProperties BuildpackBindingLaunchProperties
    The object describes the buildpack binding launch properties
    binding_type str | BindingType
    Buildpack Binding Type
    launch_properties BuildpackBindingLaunchProperties
    The object describes the buildpack binding launch properties

    BuildpackBindingPropertiesResponse, BuildpackBindingPropertiesResponseArgs

    ProvisioningState string
    State of the Buildpack Binding.
    BindingType string
    Buildpack Binding Type
    LaunchProperties Pulumi.AzureNative.AppPlatform.Inputs.BuildpackBindingLaunchPropertiesResponse
    The object describes the buildpack binding launch properties
    ProvisioningState string
    State of the Buildpack Binding.
    BindingType string
    Buildpack Binding Type
    LaunchProperties BuildpackBindingLaunchPropertiesResponse
    The object describes the buildpack binding launch properties
    provisioningState String
    State of the Buildpack Binding.
    bindingType String
    Buildpack Binding Type
    launchProperties BuildpackBindingLaunchPropertiesResponse
    The object describes the buildpack binding launch properties
    provisioningState string
    State of the Buildpack Binding.
    bindingType string
    Buildpack Binding Type
    launchProperties BuildpackBindingLaunchPropertiesResponse
    The object describes the buildpack binding launch properties
    provisioning_state str
    State of the Buildpack Binding.
    binding_type str
    Buildpack Binding Type
    launch_properties BuildpackBindingLaunchPropertiesResponse
    The object describes the buildpack binding launch properties
    provisioningState String
    State of the Buildpack Binding.
    bindingType String
    Buildpack Binding Type
    launchProperties Property Map
    The object describes the buildpack binding launch properties

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource modification (UTC).
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource modification (UTC).
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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:appplatform:BuildpackBinding myBuildpackBinding /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builders/{builderName}/buildpackBindings/{buildpackBindingName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi