import * as pulumi from "@pulumi/pulumi"; /** * Manages a Spring Cloud API Portal 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.SpringCloudApiPortalCustomDomain` 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-resources", * 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 exampleSpringCloudApiPortal = new azure.appplatform.SpringCloudApiPortal("example", { * name: "default", * springCloudServiceId: exampleSpringCloudService.id, * gatewayIds: [exampleSpringCloudGateway.id], * }); * const exampleSpringCloudApiPortalCustomDomain = new azure.appplatform.SpringCloudApiPortalCustomDomain("example", { * name: "example.com", * springCloudApiPortalId: exampleSpringCloudApiPortal.id, * }); * ``` * * ## Import * * Spring Cloud API Portal Domains can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudApiPortalCustomDomain:SpringCloudApiPortalCustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/spring/service1/apiPortals/apiPortal1/domains/domain1 * ``` */ export declare class SpringCloudApiPortalCustomDomain extends pulumi.CustomResource { /** * Get an existing SpringCloudApiPortalCustomDomain 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?: SpringCloudApiPortalCustomDomainState, opts?: pulumi.CustomResourceOptions): SpringCloudApiPortalCustomDomain; /** * Returns true if the given object is an instance of SpringCloudApiPortalCustomDomain. 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 SpringCloudApiPortalCustomDomain; /** * The name which should be used for this Spring Cloud API Portal Domain. Changing this forces a new Spring Cloud API Portal Domain to be created. */ readonly name: pulumi.Output; /** * The ID of the Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal Domain to be created. */ readonly springCloudApiPortalId: pulumi.Output; /** * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud API Portal Domain. */ readonly thumbprint: pulumi.Output; /** * Create a SpringCloudApiPortalCustomDomain 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: SpringCloudApiPortalCustomDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudApiPortalCustomDomain resources. */ export interface SpringCloudApiPortalCustomDomainState { /** * The name which should be used for this Spring Cloud API Portal Domain. Changing this forces a new Spring Cloud API Portal Domain to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal Domain to be created. */ springCloudApiPortalId?: pulumi.Input; /** * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud API Portal Domain. */ thumbprint?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudApiPortalCustomDomain resource. */ export interface SpringCloudApiPortalCustomDomainArgs { /** * The name which should be used for this Spring Cloud API Portal Domain. Changing this forces a new Spring Cloud API Portal Domain to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal Domain to be created. */ springCloudApiPortalId: pulumi.Input; /** * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud API Portal Domain. */ thumbprint?: pulumi.Input; }