1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. apig
  5. getCustomDomain
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc logo
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus

    Data Source schema for Byteplus::APIG::CustomDomain

    Using getCustomDomain

    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 getCustomDomain(args: GetCustomDomainArgs, opts?: InvokeOptions): Promise<GetCustomDomainResult>
    function getCustomDomainOutput(args: GetCustomDomainOutputArgs, opts?: InvokeOptions): Output<GetCustomDomainResult>
    def get_custom_domain(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCustomDomainResult
    def get_custom_domain_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCustomDomainResult]
    func LookupCustomDomain(ctx *Context, args *LookupCustomDomainArgs, opts ...InvokeOption) (*LookupCustomDomainResult, error)
    func LookupCustomDomainOutput(ctx *Context, args *LookupCustomDomainOutputArgs, opts ...InvokeOption) LookupCustomDomainResultOutput

    > Note: This function is named LookupCustomDomain in the Go SDK.

    public static class GetCustomDomain 
    {
        public static Task<GetCustomDomainResult> InvokeAsync(GetCustomDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomDomainResult> Invoke(GetCustomDomainInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOptions options)
    public static Output<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:apig/getCustomDomain:getCustomDomain
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getCustomDomain Result

    The following output properties are available:

    CertificateId string
    自定义域名证书ID。
    Comments string
    备注。
    CreatedTime string
    创建时间。
    CustomDomainId string
    自定义域名ID。
    Domain string
    自定义域名。
    Id string
    Uniquely identifies the resource.
    Protocols List<string>
    协议,取值:HTTP。HTTPS。
    ServiceId string
    服务ID。
    SslRedirect bool
    重定向到HTTPS。
    Status string
    状态,取值:Creating:配置中。CreationFailed:配置失败。Deleting:删除中。DeletionFailed:删除失败。Verified:正常。
    UpdatedTime string
    更新时间。
    CertificateId string
    自定义域名证书ID。
    Comments string
    备注。
    CreatedTime string
    创建时间。
    CustomDomainId string
    自定义域名ID。
    Domain string
    自定义域名。
    Id string
    Uniquely identifies the resource.
    Protocols []string
    协议,取值:HTTP。HTTPS。
    ServiceId string
    服务ID。
    SslRedirect bool
    重定向到HTTPS。
    Status string
    状态,取值:Creating:配置中。CreationFailed:配置失败。Deleting:删除中。DeletionFailed:删除失败。Verified:正常。
    UpdatedTime string
    更新时间。
    certificateId String
    自定义域名证书ID。
    comments String
    备注。
    createdTime String
    创建时间。
    customDomainId String
    自定义域名ID。
    domain String
    自定义域名。
    id String
    Uniquely identifies the resource.
    protocols List<String>
    协议,取值:HTTP。HTTPS。
    serviceId String
    服务ID。
    sslRedirect Boolean
    重定向到HTTPS。
    status String
    状态,取值:Creating:配置中。CreationFailed:配置失败。Deleting:删除中。DeletionFailed:删除失败。Verified:正常。
    updatedTime String
    更新时间。
    certificateId string
    自定义域名证书ID。
    comments string
    备注。
    createdTime string
    创建时间。
    customDomainId string
    自定义域名ID。
    domain string
    自定义域名。
    id string
    Uniquely identifies the resource.
    protocols string[]
    协议,取值:HTTP。HTTPS。
    serviceId string
    服务ID。
    sslRedirect boolean
    重定向到HTTPS。
    status string
    状态,取值:Creating:配置中。CreationFailed:配置失败。Deleting:删除中。DeletionFailed:删除失败。Verified:正常。
    updatedTime string
    更新时间。
    certificate_id str
    自定义域名证书ID。
    comments str
    备注。
    created_time str
    创建时间。
    custom_domain_id str
    自定义域名ID。
    domain str
    自定义域名。
    id str
    Uniquely identifies the resource.
    protocols Sequence[str]
    协议,取值:HTTP。HTTPS。
    service_id str
    服务ID。
    ssl_redirect bool
    重定向到HTTPS。
    status str
    状态,取值:Creating:配置中。CreationFailed:配置失败。Deleting:删除中。DeletionFailed:删除失败。Verified:正常。
    updated_time str
    更新时间。
    certificateId String
    自定义域名证书ID。
    comments String
    备注。
    createdTime String
    创建时间。
    customDomainId String
    自定义域名ID。
    domain String
    自定义域名。
    id String
    Uniquely identifies the resource.
    protocols List<String>
    协议,取值:HTTP。HTTPS。
    serviceId String
    服务ID。
    sslRedirect Boolean
    重定向到HTTPS。
    status String
    状态,取值:Creating:配置中。CreationFailed:配置失败。Deleting:删除中。DeletionFailed:删除失败。Verified:正常。
    updatedTime String
    更新时间。

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
      Meet Neo: Your AI Platform Teammate