1. Packages
  2. Azure Classic
  3. API Docs
  4. appplatform
  5. SpringCloudCustomDomain

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.appplatform.SpringCloudCustomDomain

Explore with Pulumi AI

Manages an Azure Spring Cloud Custom Domain.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as std from "@pulumi/std";

const exampleResourceGroup = new azure.core.ResourceGroup("example", {
    name: "rg-example",
    location: "West Europe",
});
const example = azure.dns.getZoneOutput({
    name: "mydomain.com",
    resourceGroupName: exampleResourceGroup.name,
});
const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
    name: "example-springcloud",
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
});
const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
    name: "example-springcloudapp",
    resourceGroupName: exampleResourceGroup.name,
    serviceName: exampleSpringCloudService.name,
});
const exampleCNameRecord = new azure.dns.CNameRecord("example", {
    name: "record1",
    zoneName: example.apply(example => example.name),
    resourceGroupName: example.apply(example => example.resourceGroupName),
    ttl: 300,
    record: exampleSpringCloudApp.fqdn,
});
const exampleSpringCloudCustomDomain = new azure.appplatform.SpringCloudCustomDomain("example", {
    name: std.joinOutput({
        separator: ".",
        input: [
            exampleCNameRecord.name,
            exampleCNameRecord.zoneName,
        ],
    }).apply(invoke => invoke.result),
    springCloudAppId: exampleSpringCloudApp.id,
});
Copy
import pulumi
import pulumi_azure as azure
import pulumi_std as std

example_resource_group = azure.core.ResourceGroup("example",
    name="rg-example",
    location="West Europe")
example = azure.dns.get_zone_output(name="mydomain.com",
    resource_group_name=example_resource_group.name)
example_spring_cloud_service = azure.appplatform.SpringCloudService("example",
    name="example-springcloud",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location)
example_spring_cloud_app = azure.appplatform.SpringCloudApp("example",
    name="example-springcloudapp",
    resource_group_name=example_resource_group.name,
    service_name=example_spring_cloud_service.name)
example_c_name_record = azure.dns.CNameRecord("example",
    name="record1",
    zone_name=example.name,
    resource_group_name=example.resource_group_name,
    ttl=300,
    record=example_spring_cloud_app.fqdn)
example_spring_cloud_custom_domain = azure.appplatform.SpringCloudCustomDomain("example",
    name=std.join_output(separator=".",
        input=[
            example_c_name_record.name,
            example_c_name_record.zone_name,
        ]).apply(lambda invoke: invoke.result),
    spring_cloud_app_id=example_spring_cloud_app.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appplatform"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/dns"
	"github.com/pulumi/pulumi-std/sdk/go/std"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := dns.LookupZoneOutput(ctx, dns.GetZoneOutputArgs{
			Name:              pulumi.String("mydomain.com"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleSpringCloudService, err := appplatform.NewSpringCloudService(ctx, "example", &appplatform.SpringCloudServiceArgs{
			Name:              pulumi.String("example-springcloud"),
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		exampleSpringCloudApp, err := appplatform.NewSpringCloudApp(ctx, "example", &appplatform.SpringCloudAppArgs{
			Name:              pulumi.String("example-springcloudapp"),
			ResourceGroupName: exampleResourceGroup.Name,
			ServiceName:       exampleSpringCloudService.Name,
		})
		if err != nil {
			return err
		}
		exampleCNameRecord, err := dns.NewCNameRecord(ctx, "example", &dns.CNameRecordArgs{
			Name: pulumi.String("record1"),
			ZoneName: pulumi.String(example.ApplyT(func(example dns.GetZoneResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput)),
			ResourceGroupName: pulumi.String(example.ApplyT(func(example dns.GetZoneResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput)),
			Ttl:    pulumi.Int(300),
			Record: exampleSpringCloudApp.Fqdn,
		})
		if err != nil {
			return err
		}
		_, err = appplatform.NewSpringCloudCustomDomain(ctx, "example", &appplatform.SpringCloudCustomDomainArgs{
			Name: pulumi.String(std.JoinOutput(ctx, std.JoinOutputArgs{
				Separator: pulumi.String("."),
				Input: pulumi.StringArray{
					exampleCNameRecord.Name,
					exampleCNameRecord.ZoneName,
				},
			}, nil).ApplyT(func(invoke std.JoinResult) (*string, error) {
				return invoke.Result, nil
			}).(pulumi.StringPtrOutput)),
			SpringCloudAppId: exampleSpringCloudApp.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
using Std = Pulumi.Std;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "rg-example",
        Location = "West Europe",
    });

    var example = Azure.Dns.GetZone.Invoke(new()
    {
        Name = "mydomain.com",
        ResourceGroupName = exampleResourceGroup.Name,
    });

    var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("example", new()
    {
        Name = "example-springcloud",
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
    });

    var exampleSpringCloudApp = new Azure.AppPlatform.SpringCloudApp("example", new()
    {
        Name = "example-springcloudapp",
        ResourceGroupName = exampleResourceGroup.Name,
        ServiceName = exampleSpringCloudService.Name,
    });

    var exampleCNameRecord = new Azure.Dns.CNameRecord("example", new()
    {
        Name = "record1",
        ZoneName = example.Apply(getZoneResult => getZoneResult.Name),
        ResourceGroupName = example.Apply(getZoneResult => getZoneResult.ResourceGroupName),
        Ttl = 300,
        Record = exampleSpringCloudApp.Fqdn,
    });

    var exampleSpringCloudCustomDomain = new Azure.AppPlatform.SpringCloudCustomDomain("example", new()
    {
        Name = Std.Join.Invoke(new()
        {
            Separator = ".",
            Input = new[]
            {
                exampleCNameRecord.Name,
                exampleCNameRecord.ZoneName,
            },
        }).Apply(invoke => invoke.Result),
        SpringCloudAppId = exampleSpringCloudApp.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.dns.DnsFunctions;
import com.pulumi.azure.dns.inputs.GetZoneArgs;
import com.pulumi.azure.appplatform.SpringCloudService;
import com.pulumi.azure.appplatform.SpringCloudServiceArgs;
import com.pulumi.azure.appplatform.SpringCloudApp;
import com.pulumi.azure.appplatform.SpringCloudAppArgs;
import com.pulumi.azure.dns.CNameRecord;
import com.pulumi.azure.dns.CNameRecordArgs;
import com.pulumi.azure.appplatform.SpringCloudCustomDomain;
import com.pulumi.azure.appplatform.SpringCloudCustomDomainArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
            .name("rg-example")
            .location("West Europe")
            .build());

        final var example = DnsFunctions.getZone(GetZoneArgs.builder()
            .name("mydomain.com")
            .resourceGroupName(exampleResourceGroup.name())
            .build());

        var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()
            .name("example-springcloud")
            .resourceGroupName(exampleResourceGroup.name())
            .location(exampleResourceGroup.location())
            .build());

        var exampleSpringCloudApp = new SpringCloudApp("exampleSpringCloudApp", SpringCloudAppArgs.builder()
            .name("example-springcloudapp")
            .resourceGroupName(exampleResourceGroup.name())
            .serviceName(exampleSpringCloudService.name())
            .build());

        var exampleCNameRecord = new CNameRecord("exampleCNameRecord", CNameRecordArgs.builder()
            .name("record1")
            .zoneName(example.applyValue(getZoneResult -> getZoneResult).applyValue(example -> example.applyValue(getZoneResult -> getZoneResult.name())))
            .resourceGroupName(example.applyValue(getZoneResult -> getZoneResult).applyValue(example -> example.applyValue(getZoneResult -> getZoneResult.resourceGroupName())))
            .ttl(300)
            .record(exampleSpringCloudApp.fqdn())
            .build());

        var exampleSpringCloudCustomDomain = new SpringCloudCustomDomain("exampleSpringCloudCustomDomain", SpringCloudCustomDomainArgs.builder()
            .name(StdFunctions.join().applyValue(invoke -> invoke.result()))
            .springCloudAppId(exampleSpringCloudApp.id())
            .build());

    }
}
Copy
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    name: example
    properties:
      name: rg-example
      location: West Europe
  exampleSpringCloudService:
    type: azure:appplatform:SpringCloudService
    name: example
    properties:
      name: example-springcloud
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}
  exampleSpringCloudApp:
    type: azure:appplatform:SpringCloudApp
    name: example
    properties:
      name: example-springcloudapp
      resourceGroupName: ${exampleResourceGroup.name}
      serviceName: ${exampleSpringCloudService.name}
  exampleCNameRecord:
    type: azure:dns:CNameRecord
    name: example
    properties:
      name: record1
      zoneName: ${example.name}
      resourceGroupName: ${example.resourceGroupName}
      ttl: 300
      record: ${exampleSpringCloudApp.fqdn}
  exampleSpringCloudCustomDomain:
    type: azure:appplatform:SpringCloudCustomDomain
    name: example
    properties:
      name:
        fn::invoke:
          function: std:join
          arguments:
            separator: .
            input:
              - ${exampleCNameRecord.name}
              - ${exampleCNameRecord.zoneName}
          return: result
      springCloudAppId: ${exampleSpringCloudApp.id}
variables:
  example:
    fn::invoke:
      function: azure:dns:getZone
      arguments:
        name: mydomain.com
        resourceGroupName: ${exampleResourceGroup.name}
Copy

Create SpringCloudCustomDomain Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SpringCloudCustomDomain(name: string, args: SpringCloudCustomDomainArgs, opts?: CustomResourceOptions);
@overload
def SpringCloudCustomDomain(resource_name: str,
                            args: SpringCloudCustomDomainArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def SpringCloudCustomDomain(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            spring_cloud_app_id: Optional[str] = None,
                            certificate_name: Optional[str] = None,
                            name: Optional[str] = None,
                            thumbprint: Optional[str] = None)
func NewSpringCloudCustomDomain(ctx *Context, name string, args SpringCloudCustomDomainArgs, opts ...ResourceOption) (*SpringCloudCustomDomain, error)
public SpringCloudCustomDomain(string name, SpringCloudCustomDomainArgs args, CustomResourceOptions? opts = null)
public SpringCloudCustomDomain(String name, SpringCloudCustomDomainArgs args)
public SpringCloudCustomDomain(String name, SpringCloudCustomDomainArgs args, CustomResourceOptions options)
type: azure:appplatform:SpringCloudCustomDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SpringCloudCustomDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SpringCloudCustomDomainArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SpringCloudCustomDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SpringCloudCustomDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SpringCloudCustomDomainArgs
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 springCloudCustomDomainResource = new Azure.AppPlatform.SpringCloudCustomDomain("springCloudCustomDomainResource", new()
{
    SpringCloudAppId = "string",
    CertificateName = "string",
    Name = "string",
    Thumbprint = "string",
});
Copy
example, err := appplatform.NewSpringCloudCustomDomain(ctx, "springCloudCustomDomainResource", &appplatform.SpringCloudCustomDomainArgs{
	SpringCloudAppId: pulumi.String("string"),
	CertificateName:  pulumi.String("string"),
	Name:             pulumi.String("string"),
	Thumbprint:       pulumi.String("string"),
})
Copy
var springCloudCustomDomainResource = new SpringCloudCustomDomain("springCloudCustomDomainResource", SpringCloudCustomDomainArgs.builder()
    .springCloudAppId("string")
    .certificateName("string")
    .name("string")
    .thumbprint("string")
    .build());
Copy
spring_cloud_custom_domain_resource = azure.appplatform.SpringCloudCustomDomain("springCloudCustomDomainResource",
    spring_cloud_app_id="string",
    certificate_name="string",
    name="string",
    thumbprint="string")
Copy
const springCloudCustomDomainResource = new azure.appplatform.SpringCloudCustomDomain("springCloudCustomDomainResource", {
    springCloudAppId: "string",
    certificateName: "string",
    name: "string",
    thumbprint: "string",
});
Copy
type: azure:appplatform:SpringCloudCustomDomain
properties:
    certificateName: string
    name: string
    springCloudAppId: string
    thumbprint: string
Copy

SpringCloudCustomDomain 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 SpringCloudCustomDomain resource accepts the following input properties:

SpringCloudAppId
This property is required.
Changes to this property will trigger replacement.
string
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
CertificateName string
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
Name Changes to this property will trigger replacement. string
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
Thumbprint Changes to this property will trigger replacement. string
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
SpringCloudAppId
This property is required.
Changes to this property will trigger replacement.
string
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
CertificateName string
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
Name Changes to this property will trigger replacement. string
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
Thumbprint Changes to this property will trigger replacement. string
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
springCloudAppId
This property is required.
Changes to this property will trigger replacement.
String
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
certificateName String
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. String
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. String
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
springCloudAppId
This property is required.
Changes to this property will trigger replacement.
string
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
certificateName string
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. string
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. string
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
spring_cloud_app_id
This property is required.
Changes to this property will trigger replacement.
str
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
certificate_name str
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. str
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. str
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
springCloudAppId
This property is required.
Changes to this property will trigger replacement.
String
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
certificateName String
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. String
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. String
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SpringCloudCustomDomain Resource

Get an existing SpringCloudCustomDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SpringCloudCustomDomainState, opts?: CustomResourceOptions): SpringCloudCustomDomain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        certificate_name: Optional[str] = None,
        name: Optional[str] = None,
        spring_cloud_app_id: Optional[str] = None,
        thumbprint: Optional[str] = None) -> SpringCloudCustomDomain
func GetSpringCloudCustomDomain(ctx *Context, name string, id IDInput, state *SpringCloudCustomDomainState, opts ...ResourceOption) (*SpringCloudCustomDomain, error)
public static SpringCloudCustomDomain Get(string name, Input<string> id, SpringCloudCustomDomainState? state, CustomResourceOptions? opts = null)
public static SpringCloudCustomDomain get(String name, Output<String> id, SpringCloudCustomDomainState state, CustomResourceOptions options)
resources:  _:    type: azure:appplatform:SpringCloudCustomDomain    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CertificateName string
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
Name Changes to this property will trigger replacement. string
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
SpringCloudAppId Changes to this property will trigger replacement. string
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
Thumbprint Changes to this property will trigger replacement. string
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
CertificateName string
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
Name Changes to this property will trigger replacement. string
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
SpringCloudAppId Changes to this property will trigger replacement. string
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
Thumbprint Changes to this property will trigger replacement. string
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
certificateName String
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. String
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
springCloudAppId Changes to this property will trigger replacement. String
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. String
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
certificateName string
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. string
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
springCloudAppId Changes to this property will trigger replacement. string
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. string
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
certificate_name str
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. str
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
spring_cloud_app_id Changes to this property will trigger replacement. str
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. str
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.
certificateName String
Specifies the name of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when thumbprint is specified
name Changes to this property will trigger replacement. String
Specifies the name of the Spring Cloud Custom Domain. Changing this forces a new resource to be created.
springCloudAppId Changes to this property will trigger replacement. String
Specifies the resource ID of the Spring Cloud Application. Changing this forces a new resource to be created.
thumbprint Changes to this property will trigger replacement. String
Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Custom Domain. Required when certificate_name is specified. Changing this forces a new resource to be created.

Import

Spring Cloud Custom Domain can be imported using the resource id, e.g.

$ pulumi import azure:appplatform/springCloudCustomDomain:SpringCloudCustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.AppPlatform/spring/spring1/apps/app1/domains/domain.com
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.