UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

88 lines (87 loc) 3.06 kB
import * as pulumi from "@pulumi/pulumi"; /** * Description for Gets an existing custom domain for a particular static site. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getStaticSiteCustomDomain(args: GetStaticSiteCustomDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetStaticSiteCustomDomainResult>; export interface GetStaticSiteCustomDomainArgs { /** * The custom domain name. */ domainName: string; /** * Name of the static site resource to search in. */ name: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * Static Site Custom Domain Overview ARM resource. */ export interface GetStaticSiteCustomDomainResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The date and time on which the custom domain was created for the static site. */ readonly createdOn: string; /** * The domain name for the static site custom domain. */ readonly domainName: string; readonly errorMessage: string; /** * Resource Id. */ readonly id: string; /** * Kind of resource. */ readonly kind?: string; /** * Resource Name. */ readonly name: string; /** * The status of the custom domain */ readonly status: string; /** * Resource type. */ readonly type: string; /** * The TXT record validation token */ readonly validationToken: string; } /** * Description for Gets an existing custom domain for a particular static site. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getStaticSiteCustomDomainOutput(args: GetStaticSiteCustomDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStaticSiteCustomDomainResult>; export interface GetStaticSiteCustomDomainOutputArgs { /** * The custom domain name. */ domainName: pulumi.Input<string>; /** * Name of the static site resource to search in. */ name: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }