tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack
tencentcloud.getCssDomains
Explore with Pulumi AI
tencentcloud 1.81.182 published on Monday, Apr 14, 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:
- Domain
Prefix string - domain name prefix.
- Domain
Status double - domain name status filter. 0-disable, 1-enable.
- Domain
Type double - Domain name type filtering. 0-push, 1-play.
- Id string
- Is
Delay doubleLive - 0 normal live broadcast 1 slow live broadcast default 0.
- Play
Type double - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- Result
Output stringFile - Used to save results.
- Domain
Prefix string - domain name prefix.
- Domain
Status float64 - domain name status filter. 0-disable, 1-enable.
- Domain
Type float64 - Domain name type filtering. 0-push, 1-play.
- Id string
- Is
Delay float64Live - 0 normal live broadcast 1 slow live broadcast default 0.
- Play
Type float64 - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- Result
Output stringFile - Used to save results.
- domain
Prefix String - domain name prefix.
- domain
Status Double - domain name status filter. 0-disable, 1-enable.
- domain
Type Double - Domain name type filtering. 0-push, 1-play.
- id String
- is
Delay DoubleLive - 0 normal live broadcast 1 slow live broadcast default 0.
- play
Type Double - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- result
Output StringFile - Used to save results.
- domain
Prefix string - domain name prefix.
- domain
Status number - domain name status filter. 0-disable, 1-enable.
- domain
Type number - Domain name type filtering. 0-push, 1-play.
- id string
- is
Delay numberLive - 0 normal live broadcast 1 slow live broadcast default 0.
- play
Type number - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- result
Output stringFile - 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_ floatlive - 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_ strfile - Used to save results.
- domain
Prefix String - domain name prefix.
- domain
Status Number - domain name status filter. 0-disable, 1-enable.
- domain
Type Number - Domain name type filtering. 0-push, 1-play.
- id String
- is
Delay NumberLive - 0 normal live broadcast 1 slow live broadcast default 0.
- play
Type Number - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- result
Output StringFile - Used to save results.
getCssDomains Result
The following output properties are available:
- Domain
Lists List<GetCss Domains Domain List> - A list of domain name details.
- Id string
- Domain
Prefix string - Domain
Status double - Domain
Type double - Is
Delay doubleLive - Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
- Play
Type double - Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
- Result
Output stringFile
- Domain
Lists []GetCss Domains Domain List - A list of domain name details.
- Id string
- Domain
Prefix string - Domain
Status float64 - Domain
Type float64 - Is
Delay float64Live - Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
- Play
Type float64 - Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
- Result
Output stringFile
- domain
Lists List<GetCss Domains Domain List> - A list of domain name details.
- id String
- domain
Prefix String - domain
Status Double - domain
Type Double - is
Delay DoubleLive - Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
- play
Type Double - Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
- result
Output StringFile
- domain
Lists GetCss Domains Domain List[] - A list of domain name details.
- id string
- domain
Prefix string - domain
Status number - domain
Type number - is
Delay numberLive - Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
- play
Type number - Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
- result
Output stringFile
- domain_
lists Sequence[GetCss Domains Domain List] - A list of domain name details.
- id str
- domain_
prefix str - domain_
status float - domain_
type float - is_
delay_ floatlive - 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_ strfile
- domain
Lists List<Property Map> - A list of domain name details.
- id String
- domain
Prefix String - domain
Status Number - domain
Type Number - is
Delay NumberLive - Whether to slow live broadcast: 0: normal live broadcast. 1: Slow live broadcast.
- play
Type Number - Playing area, this parameter is meaningful only when Type=1. 1: Domestic. 2: Global. 3: Overseas.
- result
Output StringFile
Supporting Types
GetCssDomainsDomainList
- BCName
This property is required. double - Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
- Create
Time This property is required. string - add time.Note: This field is Beijing time (UTC+8 time zone).
- Current
CName This property is required. string - The cname information used by the current client.
- Is
Delay Live This property is required. double - 0 normal live broadcast 1 slow live broadcast default 0.
- Is
Mini Program Live This property is required. 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
This property is required. string - Live domain name.
- Play
Type This property is required. double - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- Rent
Expire Time This property is required. string - Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
- Rent
Tag This property is required. double - invalid parameter, can be ignored.
- Status
This property is required. double - Domain Status: 0: disable. 1: Enabled.
- Target
Domain This property is required. string - The domain name corresponding to the cname.
- Type
This property is required. double - Domain Type: 0: push stream. 1: Play.
- BCName
This property is required. float64 - Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
- Create
Time This property is required. string - add time.Note: This field is Beijing time (UTC+8 time zone).
- Current
CName This property is required. string - The cname information used by the current client.
- Is
Delay Live This property is required. float64 - 0 normal live broadcast 1 slow live broadcast default 0.
- Is
Mini Program Live This property is required. 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
This property is required. string - Live domain name.
- Play
Type This property is required. float64 - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- Rent
Expire Time This property is required. string - Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
- Rent
Tag This property is required. float64 - invalid parameter, can be ignored.
- Status
This property is required. float64 - Domain Status: 0: disable. 1: Enabled.
- Target
Domain This property is required. string - The domain name corresponding to the cname.
- Type
This property is required. float64 - Domain Type: 0: push stream. 1: Play.
- b
CName This property is required. Double - Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
- create
Time This property is required. String - add time.Note: This field is Beijing time (UTC+8 time zone).
- current
CName This property is required. String - The cname information used by the current client.
- is
Delay Live This property is required. Double - 0 normal live broadcast 1 slow live broadcast default 0.
- is
Mini Program Live This property is required. 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
This property is required. String - Live domain name.
- play
Type This property is required. Double - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- rent
Expire Time This property is required. String - Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
- rent
Tag This property is required. Double - invalid parameter, can be ignored.
- status
This property is required. Double - Domain Status: 0: disable. 1: Enabled.
- target
Domain This property is required. String - The domain name corresponding to the cname.
- type
This property is required. Double - Domain Type: 0: push stream. 1: Play.
- b
CName This property is required. number - Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
- create
Time This property is required. string - add time.Note: This field is Beijing time (UTC+8 time zone).
- current
CName This property is required. string - The cname information used by the current client.
- is
Delay Live This property is required. number - 0 normal live broadcast 1 slow live broadcast default 0.
- is
Mini Program Live This property is required. 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
This property is required. string - Live domain name.
- play
Type This property is required. number - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- rent
Expire Time This property is required. string - Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
- rent
Tag This property is required. number - invalid parameter, can be ignored.
- status
This property is required. number - Domain Status: 0: disable. 1: Enabled.
- target
Domain This property is required. string - The domain name corresponding to the cname.
- type
This property is required. number - Domain Type: 0: push stream. 1: Play.
- b_
c_ name This property is required. float - Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
- create_
time This property is required. str - add time.Note: This field is Beijing time (UTC+8 time zone).
- current_
c_ name This property is required. str - The cname information used by the current client.
- is_
delay_ live This property is required. float - 0 normal live broadcast 1 slow live broadcast default 0.
- is_
mini_ program_ live This property is required. 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
This property is required. str - Live domain name.
- play_
type This property is required. float - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- rent_
expire_ time This property is required. str - Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
- rent_
tag This property is required. float - invalid parameter, can be ignored.
- status
This property is required. float - Domain Status: 0: disable. 1: Enabled.
- target_
domain This property is required. str - The domain name corresponding to the cname.
- type
This property is required. float - Domain Type: 0: push stream. 1: Play.
- b
CName This property is required. Number - Is there a CName to the fixed rule domain name: 0: No. 1: Yes.
- create
Time This property is required. String - add time.Note: This field is Beijing time (UTC+8 time zone).
- current
CName This property is required. String - The cname information used by the current client.
- is
Delay Live This property is required. Number - 0 normal live broadcast 1 slow live broadcast default 0.
- is
Mini Program Live This property is required. 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
This property is required. String - Live domain name.
- play
Type This property is required. Number - Playing area, this parameter is meaningful only when DomainType=1. 1: Domestic.2: Global.3: Overseas.
- rent
Expire Time This property is required. String - Failure parameter, can be ignored. Note: This field is Beijing time (UTC+8 time zone).
- rent
Tag This property is required. Number - invalid parameter, can be ignored.
- status
This property is required. Number - Domain Status: 0: disable. 1: Enabled.
- target
Domain This property is required. String - The domain name corresponding to the cname.
- type
This property is required. 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 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack