import * as pulumi from "@pulumi/pulumi"; /** * Manages a Spring Cloud Gateway Custom Domain. * * > **Note:** This resource is applicable only for Spring Cloud Service with enterprise tier. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudGatewayCustomDomain` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example", * location: "West Europe", * }); * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * skuName: "E0", * }); * const exampleSpringCloudGateway = new azure.appplatform.SpringCloudGateway("example", { * name: "default", * springCloudServiceId: exampleSpringCloudService.id, * }); * const exampleSpringCloudGatewayCustomDomain = new azure.appplatform.SpringCloudGatewayCustomDomain("example", { * name: "example.com", * springCloudGatewayId: exampleSpringCloudGateway.id, * }); * ``` * * ## Import * * Spring Cloud Gateway Custom Domains can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudGatewayCustomDomain:SpringCloudGatewayCustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/spring/service1/gateways/gateway1/domains/domain1 * ``` */ export declare class SpringCloudGatewayCustomDomain extends pulumi.CustomResource { /** * Get an existing SpringCloudGatewayCustomDomain resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SpringCloudGatewayCustomDomainState, opts?: pulumi.CustomResourceOptions): SpringCloudGatewayCustomDomain; /** * Returns true if the given object is an instance of SpringCloudGatewayCustomDomain. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SpringCloudGatewayCustomDomain; /** * The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created. */ readonly name: pulumi.Output; /** * The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created. */ readonly springCloudGatewayId: pulumi.Output; /** * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain. */ readonly thumbprint: pulumi.Output; /** * Create a SpringCloudGatewayCustomDomain resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SpringCloudGatewayCustomDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudGatewayCustomDomain resources. */ export interface SpringCloudGatewayCustomDomainState { /** * The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created. */ springCloudGatewayId?: pulumi.Input; /** * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain. */ thumbprint?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudGatewayCustomDomain resource. */ export interface SpringCloudGatewayCustomDomainArgs { /** * The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created. */ springCloudGatewayId: pulumi.Input; /** * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain. */ thumbprint?: pulumi.Input; }