tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getVpcSgSnapshotFileContent
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of vpc sg_snapshot_file_content
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const sgSnapshotFileContent = tencentcloud.getVpcSgSnapshotFileContent({
    securityGroupId: "sg-ntrgm89v",
    snapshotFileId: "ssfile-017gepjxpr",
    snapshotPolicyId: "sspolicy-ebjofe71",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
sg_snapshot_file_content = tencentcloud.get_vpc_sg_snapshot_file_content(security_group_id="sg-ntrgm89v",
    snapshot_file_id="ssfile-017gepjxpr",
    snapshot_policy_id="sspolicy-ebjofe71")
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.GetVpcSgSnapshotFileContent(ctx, &tencentcloud.GetVpcSgSnapshotFileContentArgs{
			SecurityGroupId:  "sg-ntrgm89v",
			SnapshotFileId:   "ssfile-017gepjxpr",
			SnapshotPolicyId: "sspolicy-ebjofe71",
		}, 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 sgSnapshotFileContent = Tencentcloud.GetVpcSgSnapshotFileContent.Invoke(new()
    {
        SecurityGroupId = "sg-ntrgm89v",
        SnapshotFileId = "ssfile-017gepjxpr",
        SnapshotPolicyId = "sspolicy-ebjofe71",
    });
});
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.GetVpcSgSnapshotFileContentArgs;
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 sgSnapshotFileContent = TencentcloudFunctions.getVpcSgSnapshotFileContent(GetVpcSgSnapshotFileContentArgs.builder()
            .securityGroupId("sg-ntrgm89v")
            .snapshotFileId("ssfile-017gepjxpr")
            .snapshotPolicyId("sspolicy-ebjofe71")
            .build());
    }
}
variables:
  sgSnapshotFileContent:
    fn::invoke:
      function: tencentcloud:getVpcSgSnapshotFileContent
      arguments:
        securityGroupId: sg-ntrgm89v
        snapshotFileId: ssfile-017gepjxpr
        snapshotPolicyId: sspolicy-ebjofe71
Using getVpcSgSnapshotFileContent
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 getVpcSgSnapshotFileContent(args: GetVpcSgSnapshotFileContentArgs, opts?: InvokeOptions): Promise<GetVpcSgSnapshotFileContentResult>
function getVpcSgSnapshotFileContentOutput(args: GetVpcSgSnapshotFileContentOutputArgs, opts?: InvokeOptions): Output<GetVpcSgSnapshotFileContentResult>def get_vpc_sg_snapshot_file_content(id: Optional[str] = None,
                                     result_output_file: Optional[str] = None,
                                     security_group_id: Optional[str] = None,
                                     snapshot_file_id: Optional[str] = None,
                                     snapshot_policy_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetVpcSgSnapshotFileContentResult
def get_vpc_sg_snapshot_file_content_output(id: Optional[pulumi.Input[str]] = None,
                                     result_output_file: Optional[pulumi.Input[str]] = None,
                                     security_group_id: Optional[pulumi.Input[str]] = None,
                                     snapshot_file_id: Optional[pulumi.Input[str]] = None,
                                     snapshot_policy_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetVpcSgSnapshotFileContentResult]func GetVpcSgSnapshotFileContent(ctx *Context, args *GetVpcSgSnapshotFileContentArgs, opts ...InvokeOption) (*GetVpcSgSnapshotFileContentResult, error)
func GetVpcSgSnapshotFileContentOutput(ctx *Context, args *GetVpcSgSnapshotFileContentOutputArgs, opts ...InvokeOption) GetVpcSgSnapshotFileContentResultOutput> Note: This function is named GetVpcSgSnapshotFileContent in the Go SDK.
public static class GetVpcSgSnapshotFileContent 
{
    public static Task<GetVpcSgSnapshotFileContentResult> InvokeAsync(GetVpcSgSnapshotFileContentArgs args, InvokeOptions? opts = null)
    public static Output<GetVpcSgSnapshotFileContentResult> Invoke(GetVpcSgSnapshotFileContentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcSgSnapshotFileContentResult> getVpcSgSnapshotFileContent(GetVpcSgSnapshotFileContentArgs args, InvokeOptions options)
public static Output<GetVpcSgSnapshotFileContentResult> getVpcSgSnapshotFileContent(GetVpcSgSnapshotFileContentArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getVpcSgSnapshotFileContent:getVpcSgSnapshotFileContent
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SecurityGroup stringId 
- Security group ID.
- SnapshotFile stringId 
- Snapshot file ID.
- SnapshotPolicy stringId 
- Snapshot policy IDs.
- Id string
- ResultOutput stringFile 
- Used to save results.
- SecurityGroup stringId 
- Security group ID.
- SnapshotFile stringId 
- Snapshot file ID.
- SnapshotPolicy stringId 
- Snapshot policy IDs.
- Id string
- ResultOutput stringFile 
- Used to save results.
- securityGroup StringId 
- Security group ID.
- snapshotFile StringId 
- Snapshot file ID.
- snapshotPolicy StringId 
- Snapshot policy IDs.
- id String
- resultOutput StringFile 
- Used to save results.
- securityGroup stringId 
- Security group ID.
- snapshotFile stringId 
- Snapshot file ID.
- snapshotPolicy stringId 
- Snapshot policy IDs.
- id string
- resultOutput stringFile 
- Used to save results.
- security_group_ strid 
- Security group ID.
- snapshot_file_ strid 
- Snapshot file ID.
- snapshot_policy_ strid 
- Snapshot policy IDs.
- id str
- result_output_ strfile 
- Used to save results.
- securityGroup StringId 
- Security group ID.
- snapshotFile StringId 
- Snapshot file ID.
- snapshotPolicy StringId 
- Snapshot policy IDs.
- id String
- resultOutput StringFile 
- Used to save results.
getVpcSgSnapshotFileContent Result
The following output properties are available:
- BackupDatas List<GetVpc Sg Snapshot File Content Backup Data> 
- Backup data.
- BackupTime string
- Backup time.
- Id string
- InstanceId string
- Security group ID.
- Operator string
- Operator.
- OriginalDatas List<GetVpc Sg Snapshot File Content Original Data> 
- Original data.
- SecurityGroup stringId 
- The security group instance ID, such as sg-ohuuioma.
- SnapshotFile stringId 
- SnapshotPolicy stringId 
- ResultOutput stringFile 
- BackupDatas []GetVpc Sg Snapshot File Content Backup Data 
- Backup data.
- BackupTime string
- Backup time.
- Id string
- InstanceId string
- Security group ID.
- Operator string
- Operator.
- OriginalDatas []GetVpc Sg Snapshot File Content Original Data 
- Original data.
- SecurityGroup stringId 
- The security group instance ID, such as sg-ohuuioma.
- SnapshotFile stringId 
- SnapshotPolicy stringId 
- ResultOutput stringFile 
- backupDatas List<GetVpc Sg Snapshot File Content Backup Data> 
- Backup data.
- backupTime String
- Backup time.
- id String
- instanceId String
- Security group ID.
- operator String
- Operator.
- originalDatas List<GetVpc Sg Snapshot File Content Original Data> 
- Original data.
- securityGroup StringId 
- The security group instance ID, such as sg-ohuuioma.
- snapshotFile StringId 
- snapshotPolicy StringId 
- resultOutput StringFile 
- backupDatas GetVpc Sg Snapshot File Content Backup Data[] 
- Backup data.
- backupTime string
- Backup time.
- id string
- instanceId string
- Security group ID.
- operator string
- Operator.
- originalDatas GetVpc Sg Snapshot File Content Original Data[] 
- Original data.
- securityGroup stringId 
- The security group instance ID, such as sg-ohuuioma.
- snapshotFile stringId 
- snapshotPolicy stringId 
- resultOutput stringFile 
- backup_datas Sequence[GetVpc Sg Snapshot File Content Backup Data] 
- Backup data.
- backup_time str
- Backup time.
- id str
- instance_id str
- Security group ID.
- operator str
- Operator.
- original_datas Sequence[GetVpc Sg Snapshot File Content Original Data] 
- Original data.
- security_group_ strid 
- The security group instance ID, such as sg-ohuuioma.
- snapshot_file_ strid 
- snapshot_policy_ strid 
- result_output_ strfile 
- backupDatas List<Property Map>
- Backup data.
- backupTime String
- Backup time.
- id String
- instanceId String
- Security group ID.
- operator String
- Operator.
- originalDatas List<Property Map>
- Original data.
- securityGroup StringId 
- The security group instance ID, such as sg-ohuuioma.
- snapshotFile StringId 
- snapshotPolicy StringId 
- resultOutput StringFile 
Supporting Types
GetVpcSgSnapshotFileContentBackupData       
- Action string
- ACCEPT or DROP.
- AddressTemplates List<GetVpc Sg Snapshot File Content Backup Data Address Template> 
- IP address ID or IP address group ID.
- CidrBlock string
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- Ipv6CidrBlock string
- The CIDR block or IPv6 (mutually exclusive).
- ModifyTime string
- The last modification time of the security group.
- PolicyDescription string
- Security group policy description.
- PolicyIndex double
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- Port string
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- SecurityGroup stringId 
- Security group ID.
- ServiceTemplates List<GetVpc Sg Snapshot File Content Backup Data Service Template> 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- Action string
- ACCEPT or DROP.
- AddressTemplates []GetVpc Sg Snapshot File Content Backup Data Address Template 
- IP address ID or IP address group ID.
- CidrBlock string
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- Ipv6CidrBlock string
- The CIDR block or IPv6 (mutually exclusive).
- ModifyTime string
- The last modification time of the security group.
- PolicyDescription string
- Security group policy description.
- PolicyIndex float64
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- Port string
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- SecurityGroup stringId 
- Security group ID.
- ServiceTemplates []GetVpc Sg Snapshot File Content Backup Data Service Template 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action String
- ACCEPT or DROP.
- addressTemplates List<GetVpc Sg Snapshot File Content Backup Data Address Template> 
- IP address ID or IP address group ID.
- cidrBlock String
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6CidrBlock String
- The CIDR block or IPv6 (mutually exclusive).
- modifyTime String
- The last modification time of the security group.
- policyDescription String
- Security group policy description.
- policyIndex Double
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port String
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- securityGroup StringId 
- Security group ID.
- serviceTemplates List<GetVpc Sg Snapshot File Content Backup Data Service Template> 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action string
- ACCEPT or DROP.
- addressTemplates GetVpc Sg Snapshot File Content Backup Data Address Template[] 
- IP address ID or IP address group ID.
- cidrBlock string
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6CidrBlock string
- The CIDR block or IPv6 (mutually exclusive).
- modifyTime string
- The last modification time of the security group.
- policyDescription string
- Security group policy description.
- policyIndex number
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port string
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- securityGroup stringId 
- Security group ID.
- serviceTemplates GetVpc Sg Snapshot File Content Backup Data Service Template[] 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action str
- ACCEPT or DROP.
- address_templates Sequence[GetVpc Sg Snapshot File Content Backup Data Address Template] 
- IP address ID or IP address group ID.
- cidr_block str
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6_cidr_ strblock 
- The CIDR block or IPv6 (mutually exclusive).
- modify_time str
- The last modification time of the security group.
- policy_description str
- Security group policy description.
- policy_index float
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port str
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol str
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security_group_ strid 
- Security group ID.
- service_templates Sequence[GetVpc Sg Snapshot File Content Backup Data Service Template] 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action String
- ACCEPT or DROP.
- addressTemplates List<Property Map>
- IP address ID or IP address group ID.
- cidrBlock String
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6CidrBlock String
- The CIDR block or IPv6 (mutually exclusive).
- modifyTime String
- The last modification time of the security group.
- policyDescription String
- Security group policy description.
- policyIndex Number
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port String
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- securityGroup StringId 
- Security group ID.
- serviceTemplates List<Property Map>
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
GetVpcSgSnapshotFileContentBackupDataAddressTemplate         
- AddressGroup stringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- AddressId string
- The ID of the IP address, such as ipm-2uw6ujo6.
- AddressGroup stringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- AddressId string
- The ID of the IP address, such as ipm-2uw6ujo6.
- addressGroup StringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- addressId String
- The ID of the IP address, such as ipm-2uw6ujo6.
- addressGroup stringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- addressId string
- The ID of the IP address, such as ipm-2uw6ujo6.
- address_group_ strid 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- address_id str
- The ID of the IP address, such as ipm-2uw6ujo6.
- addressGroup StringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- addressId String
- The ID of the IP address, such as ipm-2uw6ujo6.
GetVpcSgSnapshotFileContentBackupDataServiceTemplate         
- ServiceGroup stringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- ServiceId string
- Protocol port ID, such as ppm-f5n1f8da.
- ServiceGroup stringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- ServiceId string
- Protocol port ID, such as ppm-f5n1f8da.
- serviceGroup StringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- serviceId String
- Protocol port ID, such as ppm-f5n1f8da.
- serviceGroup stringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- serviceId string
- Protocol port ID, such as ppm-f5n1f8da.
- service_group_ strid 
- Protocol port group ID, such as ppmg-f5n1f8da.
- service_id str
- Protocol port ID, such as ppm-f5n1f8da.
- serviceGroup StringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- serviceId String
- Protocol port ID, such as ppm-f5n1f8da.
GetVpcSgSnapshotFileContentOriginalData       
- Action string
- ACCEPT or DROP.
- AddressTemplates List<GetVpc Sg Snapshot File Content Original Data Address Template> 
- IP address ID or IP address group ID.
- CidrBlock string
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- Ipv6CidrBlock string
- The CIDR block or IPv6 (mutually exclusive).
- ModifyTime string
- The last modification time of the security group.
- PolicyDescription string
- Security group policy description.
- PolicyIndex double
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- Port string
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- SecurityGroup stringId 
- Security group ID.
- ServiceTemplates List<GetVpc Sg Snapshot File Content Original Data Service Template> 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- Action string
- ACCEPT or DROP.
- AddressTemplates []GetVpc Sg Snapshot File Content Original Data Address Template 
- IP address ID or IP address group ID.
- CidrBlock string
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- Ipv6CidrBlock string
- The CIDR block or IPv6 (mutually exclusive).
- ModifyTime string
- The last modification time of the security group.
- PolicyDescription string
- Security group policy description.
- PolicyIndex float64
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- Port string
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- SecurityGroup stringId 
- Security group ID.
- ServiceTemplates []GetVpc Sg Snapshot File Content Original Data Service Template 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action String
- ACCEPT or DROP.
- addressTemplates List<GetVpc Sg Snapshot File Content Original Data Address Template> 
- IP address ID or IP address group ID.
- cidrBlock String
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6CidrBlock String
- The CIDR block or IPv6 (mutually exclusive).
- modifyTime String
- The last modification time of the security group.
- policyDescription String
- Security group policy description.
- policyIndex Double
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port String
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- securityGroup StringId 
- Security group ID.
- serviceTemplates List<GetVpc Sg Snapshot File Content Original Data Service Template> 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action string
- ACCEPT or DROP.
- addressTemplates GetVpc Sg Snapshot File Content Original Data Address Template[] 
- IP address ID or IP address group ID.
- cidrBlock string
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6CidrBlock string
- The CIDR block or IPv6 (mutually exclusive).
- modifyTime string
- The last modification time of the security group.
- policyDescription string
- Security group policy description.
- policyIndex number
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port string
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- securityGroup stringId 
- Security group ID.
- serviceTemplates GetVpc Sg Snapshot File Content Original Data Service Template[] 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action str
- ACCEPT or DROP.
- address_templates Sequence[GetVpc Sg Snapshot File Content Original Data Address Template] 
- IP address ID or IP address group ID.
- cidr_block str
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6_cidr_ strblock 
- The CIDR block or IPv6 (mutually exclusive).
- modify_time str
- The last modification time of the security group.
- policy_description str
- Security group policy description.
- policy_index float
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port str
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol str
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security_group_ strid 
- Security group ID.
- service_templates Sequence[GetVpc Sg Snapshot File Content Original Data Service Template] 
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
- action String
- ACCEPT or DROP.
- addressTemplates List<Property Map>
- IP address ID or IP address group ID.
- cidrBlock String
- Either CidrBlockorIpv6CidrBlock can be specified. Note that if0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
- ipv6CidrBlock String
- The CIDR block or IPv6 (mutually exclusive).
- modifyTime String
- The last modification time of the security group.
- policyDescription String
- Security group policy description.
- policyIndex Number
- The index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the DescribeSecurityGroupPoliciesAPI and used with theVersionfield in the returned value of the API.
- port String
- Port (all, a single port, or a port range).Note: If theProtocolvalue is set toALL, thePortvalue also needs to be set toall.
- protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- securityGroup StringId 
- Security group ID.
- serviceTemplates List<Property Map>
- Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
GetVpcSgSnapshotFileContentOriginalDataAddressTemplate         
- AddressGroup stringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- AddressId string
- The ID of the IP address, such as ipm-2uw6ujo6.
- AddressGroup stringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- AddressId string
- The ID of the IP address, such as ipm-2uw6ujo6.
- addressGroup StringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- addressId String
- The ID of the IP address, such as ipm-2uw6ujo6.
- addressGroup stringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- addressId string
- The ID of the IP address, such as ipm-2uw6ujo6.
- address_group_ strid 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- address_id str
- The ID of the IP address, such as ipm-2uw6ujo6.
- addressGroup StringId 
- The ID of the IP address group, such as ipmg-2uw6ujo6.
- addressId String
- The ID of the IP address, such as ipm-2uw6ujo6.
GetVpcSgSnapshotFileContentOriginalDataServiceTemplate         
- ServiceGroup stringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- ServiceId string
- Protocol port ID, such as ppm-f5n1f8da.
- ServiceGroup stringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- ServiceId string
- Protocol port ID, such as ppm-f5n1f8da.
- serviceGroup StringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- serviceId String
- Protocol port ID, such as ppm-f5n1f8da.
- serviceGroup stringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- serviceId string
- Protocol port ID, such as ppm-f5n1f8da.
- service_group_ strid 
- Protocol port group ID, such as ppmg-f5n1f8da.
- service_id str
- Protocol port ID, such as ppm-f5n1f8da.
- serviceGroup StringId 
- Protocol port group ID, such as ppmg-f5n1f8da.
- serviceId String
- Protocol port ID, such as ppm-f5n1f8da.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack