tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDayuCcHttpsPolicies
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query dayu CC https policies
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const nameTest = tencentcloud.getDayuCcHttpsPolicies({
resourceType: tencentcloud_dayu_cc_https_policy.test_policy.resource_type,
resourceId: tencentcloud_dayu_cc_https_policy.test_policy.resource_id,
name: tencentcloud_dayu_cc_https_policy.test_policy.name,
});
const idTest = tencentcloud.getDayuCcHttpsPolicies({
resourceType: tencentcloud_dayu_cc_https_policy.test_policy.resource_type,
resourceId: tencentcloud_dayu_cc_https_policy.test_policy.resource_id,
policyId: tencentcloud_dayu_cc_https_policy.test_policy.policy_id,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
name_test = tencentcloud.get_dayu_cc_https_policies(resource_type=tencentcloud_dayu_cc_https_policy["test_policy"]["resource_type"],
resource_id=tencentcloud_dayu_cc_https_policy["test_policy"]["resource_id"],
name=tencentcloud_dayu_cc_https_policy["test_policy"]["name"])
id_test = tencentcloud.get_dayu_cc_https_policies(resource_type=tencentcloud_dayu_cc_https_policy["test_policy"]["resource_type"],
resource_id=tencentcloud_dayu_cc_https_policy["test_policy"]["resource_id"],
policy_id=tencentcloud_dayu_cc_https_policy["test_policy"]["policy_id"])
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.GetDayuCcHttpsPolicies(ctx, &tencentcloud.GetDayuCcHttpsPoliciesArgs{
ResourceType: tencentcloud_dayu_cc_https_policy.Test_policy.Resource_type,
ResourceId: tencentcloud_dayu_cc_https_policy.Test_policy.Resource_id,
Name: pulumi.StringRef(tencentcloud_dayu_cc_https_policy.Test_policy.Name),
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.GetDayuCcHttpsPolicies(ctx, &tencentcloud.GetDayuCcHttpsPoliciesArgs{
ResourceType: tencentcloud_dayu_cc_https_policy.Test_policy.Resource_type,
ResourceId: tencentcloud_dayu_cc_https_policy.Test_policy.Resource_id,
PolicyId: pulumi.StringRef(tencentcloud_dayu_cc_https_policy.Test_policy.Policy_id),
}, 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 nameTest = Tencentcloud.GetDayuCcHttpsPolicies.Invoke(new()
{
ResourceType = tencentcloud_dayu_cc_https_policy.Test_policy.Resource_type,
ResourceId = tencentcloud_dayu_cc_https_policy.Test_policy.Resource_id,
Name = tencentcloud_dayu_cc_https_policy.Test_policy.Name,
});
var idTest = Tencentcloud.GetDayuCcHttpsPolicies.Invoke(new()
{
ResourceType = tencentcloud_dayu_cc_https_policy.Test_policy.Resource_type,
ResourceId = tencentcloud_dayu_cc_https_policy.Test_policy.Resource_id,
PolicyId = tencentcloud_dayu_cc_https_policy.Test_policy.Policy_id,
});
});
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.GetDayuCcHttpsPoliciesArgs;
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 nameTest = TencentcloudFunctions.getDayuCcHttpsPolicies(GetDayuCcHttpsPoliciesArgs.builder()
.resourceType(tencentcloud_dayu_cc_https_policy.test_policy().resource_type())
.resourceId(tencentcloud_dayu_cc_https_policy.test_policy().resource_id())
.name(tencentcloud_dayu_cc_https_policy.test_policy().name())
.build());
final var idTest = TencentcloudFunctions.getDayuCcHttpsPolicies(GetDayuCcHttpsPoliciesArgs.builder()
.resourceType(tencentcloud_dayu_cc_https_policy.test_policy().resource_type())
.resourceId(tencentcloud_dayu_cc_https_policy.test_policy().resource_id())
.policyId(tencentcloud_dayu_cc_https_policy.test_policy().policy_id())
.build());
}
}
variables:
nameTest:
fn::invoke:
function: tencentcloud:getDayuCcHttpsPolicies
arguments:
resourceType: ${tencentcloud_dayu_cc_https_policy.test_policy.resource_type}
resourceId: ${tencentcloud_dayu_cc_https_policy.test_policy.resource_id}
name: ${tencentcloud_dayu_cc_https_policy.test_policy.name}
idTest:
fn::invoke:
function: tencentcloud:getDayuCcHttpsPolicies
arguments:
resourceType: ${tencentcloud_dayu_cc_https_policy.test_policy.resource_type}
resourceId: ${tencentcloud_dayu_cc_https_policy.test_policy.resource_id}
policyId: ${tencentcloud_dayu_cc_https_policy.test_policy.policy_id}
Using getDayuCcHttpsPolicies
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 getDayuCcHttpsPolicies(args: GetDayuCcHttpsPoliciesArgs, opts?: InvokeOptions): Promise<GetDayuCcHttpsPoliciesResult>
function getDayuCcHttpsPoliciesOutput(args: GetDayuCcHttpsPoliciesOutputArgs, opts?: InvokeOptions): Output<GetDayuCcHttpsPoliciesResult>
def get_dayu_cc_https_policies(id: Optional[str] = None,
name: Optional[str] = None,
policy_id: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDayuCcHttpsPoliciesResult
def get_dayu_cc_https_policies_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
policy_id: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDayuCcHttpsPoliciesResult]
func GetDayuCcHttpsPolicies(ctx *Context, args *GetDayuCcHttpsPoliciesArgs, opts ...InvokeOption) (*GetDayuCcHttpsPoliciesResult, error)
func GetDayuCcHttpsPoliciesOutput(ctx *Context, args *GetDayuCcHttpsPoliciesOutputArgs, opts ...InvokeOption) GetDayuCcHttpsPoliciesResultOutput
> Note: This function is named GetDayuCcHttpsPolicies
in the Go SDK.
public static class GetDayuCcHttpsPolicies
{
public static Task<GetDayuCcHttpsPoliciesResult> InvokeAsync(GetDayuCcHttpsPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetDayuCcHttpsPoliciesResult> Invoke(GetDayuCcHttpsPoliciesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDayuCcHttpsPoliciesResult> getDayuCcHttpsPolicies(GetDayuCcHttpsPoliciesArgs args, InvokeOptions options)
public static Output<GetDayuCcHttpsPoliciesResult> getDayuCcHttpsPolicies(GetDayuCcHttpsPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDayuCcHttpsPolicies:getDayuCcHttpsPolicies
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Id string - Id of the resource that the CC https policy works for.
- Resource
Type string - Type of the resource that the CC https policy works for, valid value is
bgpip
. - Id string
- Name string
- Name of the CC https policy to be queried.
- Policy
Id string - Id of the CC https policy to be queried.
- Result
Output stringFile - Used to save results.
- Resource
Id string - Id of the resource that the CC https policy works for.
- Resource
Type string - Type of the resource that the CC https policy works for, valid value is
bgpip
. - Id string
- Name string
- Name of the CC https policy to be queried.
- Policy
Id string - Id of the CC https policy to be queried.
- Result
Output stringFile - Used to save results.
- resource
Id String - Id of the resource that the CC https policy works for.
- resource
Type String - Type of the resource that the CC https policy works for, valid value is
bgpip
. - id String
- name String
- Name of the CC https policy to be queried.
- policy
Id String - Id of the CC https policy to be queried.
- result
Output StringFile - Used to save results.
- resource
Id string - Id of the resource that the CC https policy works for.
- resource
Type string - Type of the resource that the CC https policy works for, valid value is
bgpip
. - id string
- name string
- Name of the CC https policy to be queried.
- policy
Id string - Id of the CC https policy to be queried.
- result
Output stringFile - Used to save results.
- resource_
id str - Id of the resource that the CC https policy works for.
- resource_
type str - Type of the resource that the CC https policy works for, valid value is
bgpip
. - id str
- name str
- Name of the CC https policy to be queried.
- policy_
id str - Id of the CC https policy to be queried.
- result_
output_ strfile - Used to save results.
- resource
Id String - Id of the resource that the CC https policy works for.
- resource
Type String - Type of the resource that the CC https policy works for, valid value is
bgpip
. - id String
- name String
- Name of the CC https policy to be queried.
- policy
Id String - Id of the CC https policy to be queried.
- result
Output StringFile - Used to save results.
getDayuCcHttpsPolicies Result
The following output properties are available:
- Id string
- Lists
List<Get
Dayu Cc Https Policies List> - A list of CC https policies. Each element contains the following attributes:
- Resource
Id string - ID of the resource that the CC self-define https policy works for.
- Resource
Type string - Type of the resource that the CC self-define https policy works for.
- Name string
- Name of the CC self-define https policy.
- Policy
Id string - Id of the CC self-define https policy.
- Result
Output stringFile
- Id string
- Lists
[]Get
Dayu Cc Https Policies List - A list of CC https policies. Each element contains the following attributes:
- Resource
Id string - ID of the resource that the CC self-define https policy works for.
- Resource
Type string - Type of the resource that the CC self-define https policy works for.
- Name string
- Name of the CC self-define https policy.
- Policy
Id string - Id of the CC self-define https policy.
- Result
Output stringFile
- id String
- lists
List<Get
Dayu Cc Https Policies List> - A list of CC https policies. Each element contains the following attributes:
- resource
Id String - ID of the resource that the CC self-define https policy works for.
- resource
Type String - Type of the resource that the CC self-define https policy works for.
- name String
- Name of the CC self-define https policy.
- policy
Id String - Id of the CC self-define https policy.
- result
Output StringFile
- id string
- lists
Get
Dayu Cc Https Policies List[] - A list of CC https policies. Each element contains the following attributes:
- resource
Id string - ID of the resource that the CC self-define https policy works for.
- resource
Type string - Type of the resource that the CC self-define https policy works for.
- name string
- Name of the CC self-define https policy.
- policy
Id string - Id of the CC self-define https policy.
- result
Output stringFile
- id str
- lists
Sequence[Get
Dayu Cc Https Policies List] - A list of CC https policies. Each element contains the following attributes:
- resource_
id str - ID of the resource that the CC self-define https policy works for.
- resource_
type str - Type of the resource that the CC self-define https policy works for.
- name str
- Name of the CC self-define https policy.
- policy_
id str - Id of the CC self-define https policy.
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list of CC https policies. Each element contains the following attributes:
- resource
Id String - ID of the resource that the CC self-define https policy works for.
- resource
Type String - Type of the resource that the CC self-define https policy works for.
- name String
- Name of the CC self-define https policy.
- policy
Id String - Id of the CC self-define https policy.
- result
Output StringFile
Supporting Types
GetDayuCcHttpsPoliciesList
- Action string
- Action mode.
- Create
Time string - Create time of the CC self-define https policy.
- Domain string
- Domain that the CC self-define https policy works for.
- Ip
Lists List<string> - Ip of the CC self-define https policy.
- Name string
- Name of the CC https policy to be queried.
- Policy
Id string - Id of the CC https policy to be queried.
- Resource
Id string - Id of the resource that the CC https policy works for.
- Resource
Type string - Type of the resource that the CC https policy works for, valid value is
bgpip
. - Rule
Id string - Rule id of the domain that the CC self-define https policy works for.
- Rule
Lists List<GetDayu Cc Https Policies List Rule List> - Switch bool
- Indicate the CC self-define https policy takes effect or not.
- Action string
- Action mode.
- Create
Time string - Create time of the CC self-define https policy.
- Domain string
- Domain that the CC self-define https policy works for.
- Ip
Lists []string - Ip of the CC self-define https policy.
- Name string
- Name of the CC https policy to be queried.
- Policy
Id string - Id of the CC https policy to be queried.
- Resource
Id string - Id of the resource that the CC https policy works for.
- Resource
Type string - Type of the resource that the CC https policy works for, valid value is
bgpip
. - Rule
Id string - Rule id of the domain that the CC self-define https policy works for.
- Rule
Lists []GetDayu Cc Https Policies List Rule List - Switch bool
- Indicate the CC self-define https policy takes effect or not.
- action String
- Action mode.
- create
Time String - Create time of the CC self-define https policy.
- domain String
- Domain that the CC self-define https policy works for.
- ip
Lists List<String> - Ip of the CC self-define https policy.
- name String
- Name of the CC https policy to be queried.
- policy
Id String - Id of the CC https policy to be queried.
- resource
Id String - Id of the resource that the CC https policy works for.
- resource
Type String - Type of the resource that the CC https policy works for, valid value is
bgpip
. - rule
Id String - Rule id of the domain that the CC self-define https policy works for.
- rule
Lists List<GetDayu Cc Https Policies List Rule List> - switch_ Boolean
- Indicate the CC self-define https policy takes effect or not.
- action string
- Action mode.
- create
Time string - Create time of the CC self-define https policy.
- domain string
- Domain that the CC self-define https policy works for.
- ip
Lists string[] - Ip of the CC self-define https policy.
- name string
- Name of the CC https policy to be queried.
- policy
Id string - Id of the CC https policy to be queried.
- resource
Id string - Id of the resource that the CC https policy works for.
- resource
Type string - Type of the resource that the CC https policy works for, valid value is
bgpip
. - rule
Id string - Rule id of the domain that the CC self-define https policy works for.
- rule
Lists GetDayu Cc Https Policies List Rule List[] - switch boolean
- Indicate the CC self-define https policy takes effect or not.
- action str
- Action mode.
- create_
time str - Create time of the CC self-define https policy.
- domain str
- Domain that the CC self-define https policy works for.
- ip_
lists Sequence[str] - Ip of the CC self-define https policy.
- name str
- Name of the CC https policy to be queried.
- policy_
id str - Id of the CC https policy to be queried.
- resource_
id str - Id of the resource that the CC https policy works for.
- resource_
type str - Type of the resource that the CC https policy works for, valid value is
bgpip
. - rule_
id str - Rule id of the domain that the CC self-define https policy works for.
- rule_
lists Sequence[GetDayu Cc Https Policies List Rule List] - switch bool
- Indicate the CC self-define https policy takes effect or not.
- action String
- Action mode.
- create
Time String - Create time of the CC self-define https policy.
- domain String
- Domain that the CC self-define https policy works for.
- ip
Lists List<String> - Ip of the CC self-define https policy.
- name String
- Name of the CC https policy to be queried.
- policy
Id String - Id of the CC https policy to be queried.
- resource
Id String - Id of the resource that the CC https policy works for.
- resource
Type String - Type of the resource that the CC https policy works for, valid value is
bgpip
. - rule
Id String - Rule id of the domain that the CC self-define https policy works for.
- rule
Lists List<Property Map> - switch Boolean
- Indicate the CC self-define https policy takes effect or not.
GetDayuCcHttpsPoliciesListRuleList
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack