azure-native.web.getStaticSiteCustomDomain
Explore with Pulumi AI
Gets an existing custom domain for a particular static site. API Version: 2020-12-01.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:web:getStaticSiteCustomDomain
arguments:
# arguments dictionary
The 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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