Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Use this data source to query the IP list within a specified TEO security IP group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getTeoSecurityIpGroupContent({
zoneId: "zone-3fkff38fyw8s",
groupId: 33711,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_teo_security_ip_group_content(zone_id="zone-3fkff38fyw8s",
group_id=33711)
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.GetTeoSecurityIpGroupContent(ctx, &tencentcloud.GetTeoSecurityIpGroupContentArgs{
ZoneId: "zone-3fkff38fyw8s",
GroupId: 33711,
}, 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 example = Tencentcloud.GetTeoSecurityIpGroupContent.Invoke(new()
{
ZoneId = "zone-3fkff38fyw8s",
GroupId = 33711,
});
});
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.GetTeoSecurityIpGroupContentArgs;
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 example = TencentcloudFunctions.getTeoSecurityIpGroupContent(GetTeoSecurityIpGroupContentArgs.builder()
.zoneId("zone-3fkff38fyw8s")
.groupId(33711)
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getTeoSecurityIpGroupContent
arguments:
zoneId: zone-3fkff38fyw8s
groupId: 33711
Example coming soon!
Using getTeoSecurityIpGroupContent
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 getTeoSecurityIpGroupContent(args: GetTeoSecurityIpGroupContentArgs, opts?: InvokeOptions): Promise<GetTeoSecurityIpGroupContentResult>
function getTeoSecurityIpGroupContentOutput(args: GetTeoSecurityIpGroupContentOutputArgs, opts?: InvokeOptions): Output<GetTeoSecurityIpGroupContentResult>def get_teo_security_ip_group_content(group_id: Optional[float] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTeoSecurityIpGroupContentResult
def get_teo_security_ip_group_content_output(group_id: pulumi.Input[Optional[float]] = None,
id: pulumi.Input[Optional[str]] = None,
result_output_file: pulumi.Input[Optional[str]] = None,
zone_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTeoSecurityIpGroupContentResult]func GetTeoSecurityIpGroupContent(ctx *Context, args *GetTeoSecurityIpGroupContentArgs, opts ...InvokeOption) (*GetTeoSecurityIpGroupContentResult, error)
func GetTeoSecurityIpGroupContentOutput(ctx *Context, args *GetTeoSecurityIpGroupContentOutputArgs, opts ...InvokeOption) GetTeoSecurityIpGroupContentResultOutput> Note: This function is named GetTeoSecurityIpGroupContent in the Go SDK.
public static class GetTeoSecurityIpGroupContent
{
public static Task<GetTeoSecurityIpGroupContentResult> InvokeAsync(GetTeoSecurityIpGroupContentArgs args, InvokeOptions? opts = null)
public static Output<GetTeoSecurityIpGroupContentResult> Invoke(GetTeoSecurityIpGroupContentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTeoSecurityIpGroupContentResult> getTeoSecurityIpGroupContent(GetTeoSecurityIpGroupContentArgs args, InvokeOptions options)
public static Output<GetTeoSecurityIpGroupContentResult> getTeoSecurityIpGroupContent(GetTeoSecurityIpGroupContentArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTeoSecurityIpGroupContent:getTeoSecurityIpGroupContent
arguments:
# arguments dictionarydata "tencentcloud_getteosecurityipgroupcontent" "name" {
# arguments
}The following arguments are supported:
- Group
Id double - IP group ID.
- Zone
Id string - Site ID.
- Id string
- Result
Output stringFile - Used to save results.
- Group
Id float64 - IP group ID.
- Zone
Id string - Site ID.
- Id string
- Result
Output stringFile - Used to save results.
- group_
id number - IP group ID.
- zone_
id string - Site ID.
- id string
- result_
output_ stringfile - Used to save results.
- group
Id Double - IP group ID.
- zone
Id String - Site ID.
- id String
- result
Output StringFile - Used to save results.
- group
Id number - IP group ID.
- zone
Id string - Site ID.
- id string
- result
Output stringFile - Used to save results.
- group_
id float - IP group ID.
- zone_
id str - Site ID.
- id str
- result_
output_ strfile - Used to save results.
- group
Id Number - IP group ID.
- zone
Id String - Site ID.
- id String
- result
Output StringFile - Used to save results.
getTeoSecurityIpGroupContent Result
The following output properties are available:
- Group
Id double - Id string
- Ip
Lists List<string> - List of IPs or CIDR blocks in the IP group.
- Ip
Total doubleCount - Total count of IPs or CIDR blocks in the IP group.
- Zone
Id string - Result
Output stringFile
- Group
Id float64 - Id string
- Ip
Lists []string - List of IPs or CIDR blocks in the IP group.
- Ip
Total float64Count - Total count of IPs or CIDR blocks in the IP group.
- Zone
Id string - Result
Output stringFile
- group_
id number - id string
- ip_
lists list(string) - List of IPs or CIDR blocks in the IP group.
- ip_
total_ numbercount - Total count of IPs or CIDR blocks in the IP group.
- zone_
id string - result_
output_ stringfile
- group
Id Double - id String
- ip
Lists List<String> - List of IPs or CIDR blocks in the IP group.
- ip
Total DoubleCount - Total count of IPs or CIDR blocks in the IP group.
- zone
Id String - result
Output StringFile
- group
Id number - id string
- ip
Lists string[] - List of IPs or CIDR blocks in the IP group.
- ip
Total numberCount - Total count of IPs or CIDR blocks in the IP group.
- zone
Id string - result
Output stringFile
- group_
id float - id str
- ip_
lists Sequence[str] - List of IPs or CIDR blocks in the IP group.
- ip_
total_ floatcount - Total count of IPs or CIDR blocks in the IP group.
- zone_
id str - result_
output_ strfile
- group
Id Number - id String
- ip
Lists List<String> - List of IPs or CIDR blocks in the IP group.
- ip
Total NumberCount - Total count of IPs or CIDR blocks in the IP group.
- zone
Id String - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
