import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure Web PubSub Custom Domain. * * ## Example Usage * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.SignalRService` - 2024-03-01 * * ## Import * * Custom Domain for a Web PubSub service can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:webpubsub/customDomain:CustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/webpubsub1/customDomains/customDomain1 * ``` */ export declare class CustomDomain extends pulumi.CustomResource { /** * Get an existing CustomDomain 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?: CustomDomainState, opts?: pulumi.CustomResourceOptions): CustomDomain; /** * Returns true if the given object is an instance of CustomDomain. 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 CustomDomain; /** * Specifies the custom domain name of the Web PubSub Custom Domain. Changing this forces a new resource to be created. * * > **Note:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected Web PubSub Custom Certificate. */ readonly domainName: pulumi.Output; /** * Specifies the name of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the Web PubSub Custom Certificate ID of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ readonly webPubsubCustomCertificateId: pulumi.Output; /** * Specifies the Web PubSub ID of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ readonly webPubsubId: pulumi.Output; /** * Create a CustomDomain 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: CustomDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomDomain resources. */ export interface CustomDomainState { /** * Specifies the custom domain name of the Web PubSub Custom Domain. Changing this forces a new resource to be created. * * > **Note:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected Web PubSub Custom Certificate. */ domainName?: pulumi.Input; /** * Specifies the name of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the Web PubSub Custom Certificate ID of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ webPubsubCustomCertificateId?: pulumi.Input; /** * Specifies the Web PubSub ID of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ webPubsubId?: pulumi.Input; } /** * The set of arguments for constructing a CustomDomain resource. */ export interface CustomDomainArgs { /** * Specifies the custom domain name of the Web PubSub Custom Domain. Changing this forces a new resource to be created. * * > **Note:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected Web PubSub Custom Certificate. */ domainName: pulumi.Input; /** * Specifies the name of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the Web PubSub Custom Certificate ID of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ webPubsubCustomCertificateId: pulumi.Input; /** * Specifies the Web PubSub ID of the Web PubSub Custom Domain. Changing this forces a new resource to be created. */ webPubsubId: pulumi.Input; }