azure-native.web.getStaticSiteCustomDomain
Explore with Pulumi AI
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. 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 for details.
Using getStaticSiteCustomDomain
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStaticSiteCustomDomain(args: GetStaticSiteCustomDomainArgs, opts?: InvokeOptions): Promise<GetStaticSiteCustomDomainResult>
function getStaticSiteCustomDomainOutput(args: GetStaticSiteCustomDomainOutputArgs, opts?: InvokeOptions): Output<GetStaticSiteCustomDomainResult>def get_static_site_custom_domain(domain_name: Optional[str] = None,
                                  name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetStaticSiteCustomDomainResult
def get_static_site_custom_domain_output(domain_name: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetStaticSiteCustomDomainResult]func LookupStaticSiteCustomDomain(ctx *Context, args *LookupStaticSiteCustomDomainArgs, opts ...InvokeOption) (*LookupStaticSiteCustomDomainResult, error)
func LookupStaticSiteCustomDomainOutput(ctx *Context, args *LookupStaticSiteCustomDomainOutputArgs, opts ...InvokeOption) LookupStaticSiteCustomDomainResultOutput> Note: This function is named LookupStaticSiteCustomDomain in the Go SDK.
public static class GetStaticSiteCustomDomain 
{
    public static Task<GetStaticSiteCustomDomainResult> InvokeAsync(GetStaticSiteCustomDomainArgs args, InvokeOptions? opts = null)
    public static Output<GetStaticSiteCustomDomainResult> Invoke(GetStaticSiteCustomDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStaticSiteCustomDomainResult> getStaticSiteCustomDomain(GetStaticSiteCustomDomainArgs args, InvokeOptions options)
public static Output<GetStaticSiteCustomDomainResult> getStaticSiteCustomDomain(GetStaticSiteCustomDomainArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:web:getStaticSiteCustomDomain
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Domain
Name string - The custom domain name.
 - Name string
 - Name of the static site resource to search in.
 - Resource
Group stringName  - Name of the resource group to which the resource belongs.
 
- Domain
Name string - The custom domain name.
 - Name string
 - Name of the static site resource to search in.
 - Resource
Group stringName  - Name of the resource group to which the resource belongs.
 
- domain
Name String - The custom domain name.
 - name String
 - Name of the static site resource to search in.
 - resource
Group StringName  - Name of the resource group to which the resource belongs.
 
- domain
Name string - The custom domain name.
 - name string
 - Name of the static site resource to search in.
 - resource
Group stringName  - Name of the resource group to which the resource belongs.
 
- domain_
name str - The custom domain name.
 - name str
 - Name of the static site resource to search in.
 - resource_
group_ strname  - Name of the resource group to which the resource belongs.
 
- domain
Name String - The custom domain name.
 - name String
 - Name of the static site resource to search in.
 - resource
Group StringName  - Name of the resource group to which the resource belongs.
 
getStaticSiteCustomDomain Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Created
On string - The date and time on which the custom domain was created for the static site.
 - Domain
Name string - The domain name for the static site custom domain.
 - Error
Message string - Id string
 - Resource Id.
 - Name string
 - Resource Name.
 - Status string
 - The status of the custom domain
 - Type string
 - Resource type.
 - Validation
Token string - The TXT record validation token
 - Kind string
 - Kind of resource.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Created
On string - The date and time on which the custom domain was created for the static site.
 - Domain
Name string - The domain name for the static site custom domain.
 - Error
Message string - Id string
 - Resource Id.
 - Name string
 - Resource Name.
 - Status string
 - The status of the custom domain
 - Type string
 - Resource type.
 - Validation
Token string - The TXT record validation token
 - Kind string
 - Kind of resource.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - created
On String - The date and time on which the custom domain was created for the static site.
 - domain
Name String - The domain name for the static site custom domain.
 - error
Message String - id String
 - Resource Id.
 - name String
 - Resource Name.
 - status String
 - The status of the custom domain
 - type String
 - Resource type.
 - validation
Token String - The TXT record validation token
 - kind String
 - Kind of resource.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - created
On string - The date and time on which the custom domain was created for the static site.
 - domain
Name string - The domain name for the static site custom domain.
 - error
Message string - id string
 - Resource Id.
 - name string
 - Resource Name.
 - status string
 - The status of the custom domain
 - type string
 - Resource type.
 - validation
Token string - The TXT record validation token
 - kind string
 - Kind of resource.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - created_
on str - The date and time on which the custom domain was created for the static site.
 - domain_
name str - The domain name for the static site custom domain.
 - error_
message str - id str
 - Resource Id.
 - name str
 - Resource Name.
 - status str
 - The status of the custom domain
 - type str
 - Resource type.
 - validation_
token str - The TXT record validation token
 - kind str
 - Kind of resource.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - created
On String - The date and time on which the custom domain was created for the static site.
 - domain
Name String - The domain name for the static site custom domain.
 - error
Message String - id String
 - Resource Id.
 - name String
 - Resource Name.
 - status String
 - The status of the custom domain
 - type String
 - Resource type.
 - validation
Token String - The TXT record validation token
 - kind String
 - Kind of resource.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0