1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCssDomains
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCssDomains

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of css domains

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const domains = tencentcloud.getCssDomains({
        domainType: 0,
        isDelayLive: 0,
        playType: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    domains = tencentcloud.get_css_domains(domain_type=0,
        is_delay_live=0,
        play_type=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCssDomains(ctx, &tencentcloud.GetCssDomainsArgs{
    			DomainType:  pulumi.Float64Ref(0),
    			IsDelayLive: pulumi.Float64Ref(0),
    			PlayType:    pulumi.Float64Ref(1),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var domains = Tencentcloud.GetCssDomains.Invoke(new()
        {
            DomainType = 0,
            IsDelayLive = 0,
            PlayType = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCssDomainsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var domains = TencentcloudFunctions.getCssDomains(GetCssDomainsArgs.builder()
                .domainType(0)
                .isDelayLive(0)
                .playType(1)
                .build());
    
        }
    }
    
    variables:
      domains:
        fn::invoke:
          function: tencentcloud:getCssDomains
          arguments:
            domainType: 0
            isDelayLive: 0
            playType: 1
    

    Using getCssDomains

    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 getCssDomains(args: GetCssDomainsArgs, opts?: InvokeOptions): Promise<GetCssDomainsResult>
    function getCssDomainsOutput(args: GetCssDomainsOutputArgs, opts?: InvokeOptions): Output<GetCssDomainsResult>
    def get_css_domains(domain_prefix: Optional[str] = None,
                        domain_status: Optional[float] = None,
                        domain_type: Optional[float] = None,
                        id: Optional[str] = None,
                        is_delay_live: Optional[float] = None,
                        play_type: Optional[float] = None,
                        result_output_file: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCssDomainsResult
    def get_css_domains_output(domain_prefix: Optional[pulumi.Input[str]] = None,
                        domain_status: Optional[pulumi.Input[float]] = None,
                        domain_type: Optional[pulumi.Input[float]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        is_delay_live: Optional[pulumi.Input[float]] = None,
                        play_type: Optional[pulumi.Input[float]] = None,
                        result_output_file: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCssDomainsResult]
    func GetCssDomains(ctx *Context, args *GetCssDomainsArgs, opts ...InvokeOption) (*GetCssDomainsResult, error)
    func GetCssDomainsOutput(ctx *Context, args *GetCssDomainsOutputArgs, opts ...InvokeOption) GetCssDomainsResultOutput

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

    public static class GetCssDomains 
    {
        public static Task<GetCssDomainsResult> InvokeAsync(GetCssDomainsArgs args, InvokeOptions? opts = null)
        public static Output<GetCssDomainsResult> Invoke(GetCssDomainsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCssDomainsResult> getCssDomains(GetCssDomainsArgs args, InvokeOptions options)
    public static Output<GetCssDomainsResult> getCssDomains(GetCssDomainsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCssDomains:getCssDomains
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainPrefix string
    domain name prefix.
    DomainStatus double
    domain name status filter. 0-disable, 1-enable.
    DomainType double
    Domain name type filtering. 0-push, 1-play.
    Id string
    IsDelayLive double
    0 normal live broadcast 1 slow live broadcast default 0.
    PlayType double
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    ResultOutputFile string
    Used to save results.
    DomainPrefix string
    domain name prefix.
    DomainStatus float64
    domain name status filter. 0-disable, 1-enable.
    DomainType float64
    Domain name type filtering. 0-push, 1-play.
    Id string
    IsDelayLive float64
    0 normal live broadcast 1 slow live broadcast default 0.
    PlayType float64
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    ResultOutputFile string
    Used to save results.
    domainPrefix String
    domain name prefix.
    domainStatus Double
    domain name status filter. 0-disable, 1-enable.
    domainType Double
    Domain name type filtering. 0-push, 1-play.
    id String
    isDelayLive Double
    0 normal live broadcast 1 slow live broadcast default 0.
    playType Double
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    resultOutputFile String
    Used to save results.
    domainPrefix string
    domain name prefix.
    domainStatus number
    domain name status filter. 0-disable, 1-enable.
    domainType number
    Domain name type filtering. 0-push, 1-play.
    id string
    isDelayLive number
    0 normal live broadcast 1 slow live broadcast default 0.
    playType number
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    resultOutputFile string
    Used to save results.
    domain_prefix str
    domain name prefix.
    domain_status float
    domain name status filter. 0-disable, 1-enable.
    domain_type float
    Domain name type filtering. 0-push, 1-play.
    id str
    is_delay_live float
    0 normal live broadcast 1 slow live broadcast default 0.
    play_type float
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    result_output_file str
    Used to save results.
    domainPrefix String
    domain name prefix.
    domainStatus Number
    domain name status filter. 0-disable, 1-enable.
    domainType Number
    Domain name type filtering. 0-push, 1-play.
    id String
    isDelayLive Number
    0 normal live broadcast 1 slow live broadcast default 0.
    playType Number
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    resultOutputFile String
    Used to save results.

    getCssDomains Result

    The following output properties are available:

    DomainLists List<GetCssDomainsDomainList>
    A list of domain name details.
    Id string
    DomainPrefix string
    DomainStatus double
    DomainType double
    IsDelayLive double
    Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
    PlayType double
    Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
    ResultOutputFile string
    DomainLists []GetCssDomainsDomainList
    A list of domain name details.
    Id string
    DomainPrefix string
    DomainStatus float64
    DomainType float64
    IsDelayLive float64
    Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
    PlayType float64
    Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
    ResultOutputFile string
    domainLists List<GetCssDomainsDomainList>
    A list of domain name details.
    id String
    domainPrefix String
    domainStatus Double
    domainType Double
    isDelayLive Double
    Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
    playType Double
    Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
    resultOutputFile String
    domainLists GetCssDomainsDomainList[]
    A list of domain name details.
    id string
    domainPrefix string
    domainStatus number
    domainType number
    isDelayLive number
    Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
    playType number
    Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
    resultOutputFile string
    domain_lists Sequence[GetCssDomainsDomainList]
    A list of domain name details.
    id str
    domain_prefix str
    domain_status float
    domain_type float
    is_delay_live float
    Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
    play_type float
    Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
    result_output_file str
    domainLists List<Property Map>
    A list of domain name details.
    id String
    domainPrefix String
    domainStatus Number
    domainType Number
    isDelayLive Number
    Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
    playType Number
    Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
    resultOutputFile String

    Supporting Types

    GetCssDomainsDomainList

    BCName double
    Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
    CreateTime string
    add time.Note: This field is Beijing time (UTC+8 time zone).
    CurrentCName string
    The cname information used by the current client.
    IsDelayLive double
    0 normal live broadcast 1 slow live broadcast default 0.
    IsMiniProgramLive double
    0: Standard live broadcast. 1: Mini program live broadcast. Note: This field may return null, indicating that no valid value can be obtained.
    Name string
    Live domain name.
    PlayType double
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    RentExpireTime string
    Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
    RentTag double
    invalid parameter, can be ignored.
    Status double
    Domain Status: 0: disable. 1: Enabled.
    TargetDomain string
    The domain name corresponding to the cname.
    Type double
    Domain Type: 0: push stream. 1: Play.
    BCName float64
    Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
    CreateTime string
    add time.Note: This field is Beijing time (UTC+8 time zone).
    CurrentCName string
    The cname information used by the current client.
    IsDelayLive float64
    0 normal live broadcast 1 slow live broadcast default 0.
    IsMiniProgramLive float64
    0: Standard live broadcast. 1: Mini program live broadcast. Note: This field may return null, indicating that no valid value can be obtained.
    Name string
    Live domain name.
    PlayType float64
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    RentExpireTime string
    Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
    RentTag float64
    invalid parameter, can be ignored.
    Status float64
    Domain Status: 0: disable. 1: Enabled.
    TargetDomain string
    The domain name corresponding to the cname.
    Type float64
    Domain Type: 0: push stream. 1: Play.
    bCName Double
    Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
    createTime String
    add time.Note: This field is Beijing time (UTC+8 time zone).
    currentCName String
    The cname information used by the current client.
    isDelayLive Double
    0 normal live broadcast 1 slow live broadcast default 0.
    isMiniProgramLive Double
    0: Standard live broadcast. 1: Mini program live broadcast. Note: This field may return null, indicating that no valid value can be obtained.
    name String
    Live domain name.
    playType Double
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    rentExpireTime String
    Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
    rentTag Double
    invalid parameter, can be ignored.
    status Double
    Domain Status: 0: disable. 1: Enabled.
    targetDomain String
    The domain name corresponding to the cname.
    type Double
    Domain Type: 0: push stream. 1: Play.
    bCName number
    Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
    createTime string
    add time.Note: This field is Beijing time (UTC+8 time zone).
    currentCName string
    The cname information used by the current client.
    isDelayLive number
    0 normal live broadcast 1 slow live broadcast default 0.
    isMiniProgramLive number
    0: Standard live broadcast. 1: Mini program live broadcast. Note: This field may return null, indicating that no valid value can be obtained.
    name string
    Live domain name.
    playType number
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    rentExpireTime string
    Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
    rentTag number
    invalid parameter, can be ignored.
    status number
    Domain Status: 0: disable. 1: Enabled.
    targetDomain string
    The domain name corresponding to the cname.
    type number
    Domain Type: 0: push stream. 1: Play.
    b_c_name float
    Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
    create_time str
    add time.Note: This field is Beijing time (UTC+8 time zone).
    current_c_name str
    The cname information used by the current client.
    is_delay_live float
    0 normal live broadcast 1 slow live broadcast default 0.
    is_mini_program_live float
    0: Standard live broadcast. 1: Mini program live broadcast. Note: This field may return null, indicating that no valid value can be obtained.
    name str
    Live domain name.
    play_type float
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    rent_expire_time str
    Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
    rent_tag float
    invalid parameter, can be ignored.
    status float
    Domain Status: 0: disable. 1: Enabled.
    target_domain str
    The domain name corresponding to the cname.
    type float
    Domain Type: 0: push stream. 1: Play.
    bCName Number
    Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
    createTime String
    add time.Note: This field is Beijing time (UTC+8 time zone).
    currentCName String
    The cname information used by the current client.
    isDelayLive Number
    0 normal live broadcast 1 slow live broadcast default 0.
    isMiniProgramLive Number
    0: Standard live broadcast. 1: Mini program live broadcast. Note: This field may return null, indicating that no valid value can be obtained.
    name String
    Live domain name.
    playType Number
    Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
    rentExpireTime String
    Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
    rentTag Number
    invalid parameter, can be ignored.
    status Number
    Domain Status: 0: disable. 1: Enabled.
    targetDomain String
    The domain name corresponding to the cname.
    type Number
    Domain Type: 0: push stream. 1: Play.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack