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

tencentcloud.getVpcSgSnapshotFileContent

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 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 dictionary

    The following arguments are supported:

    SecurityGroupId string
    Security group ID.
    SnapshotFileId string
    Snapshot file ID.
    SnapshotPolicyId string
    Snapshot policy IDs.
    Id string
    ResultOutputFile string
    Used to save results.
    SecurityGroupId string
    Security group ID.
    SnapshotFileId string
    Snapshot file ID.
    SnapshotPolicyId string
    Snapshot policy IDs.
    Id string
    ResultOutputFile string
    Used to save results.
    securityGroupId String
    Security group ID.
    snapshotFileId String
    Snapshot file ID.
    snapshotPolicyId String
    Snapshot policy IDs.
    id String
    resultOutputFile String
    Used to save results.
    securityGroupId string
    Security group ID.
    snapshotFileId string
    Snapshot file ID.
    snapshotPolicyId string
    Snapshot policy IDs.
    id string
    resultOutputFile string
    Used to save results.
    security_group_id str
    Security group ID.
    snapshot_file_id str
    Snapshot file ID.
    snapshot_policy_id str
    Snapshot policy IDs.
    id str
    result_output_file str
    Used to save results.
    securityGroupId String
    Security group ID.
    snapshotFileId String
    Snapshot file ID.
    snapshotPolicyId String
    Snapshot policy IDs.
    id String
    resultOutputFile String
    Used to save results.

    getVpcSgSnapshotFileContent Result

    The following output properties are available:

    BackupDatas List<GetVpcSgSnapshotFileContentBackupData>
    Backup data.
    BackupTime string
    Backup time.
    Id string
    InstanceId string
    Security group ID.
    Operator string
    Operator.
    OriginalDatas List<GetVpcSgSnapshotFileContentOriginalData>
    Original data.
    SecurityGroupId string
    The security group instance ID, such as sg-ohuuioma.
    SnapshotFileId string
    SnapshotPolicyId string
    ResultOutputFile string
    BackupDatas []GetVpcSgSnapshotFileContentBackupData
    Backup data.
    BackupTime string
    Backup time.
    Id string
    InstanceId string
    Security group ID.
    Operator string
    Operator.
    OriginalDatas []GetVpcSgSnapshotFileContentOriginalData
    Original data.
    SecurityGroupId string
    The security group instance ID, such as sg-ohuuioma.
    SnapshotFileId string
    SnapshotPolicyId string
    ResultOutputFile string
    backupDatas List<GetVpcSgSnapshotFileContentBackupData>
    Backup data.
    backupTime String
    Backup time.
    id String
    instanceId String
    Security group ID.
    operator String
    Operator.
    originalDatas List<GetVpcSgSnapshotFileContentOriginalData>
    Original data.
    securityGroupId String
    The security group instance ID, such as sg-ohuuioma.
    snapshotFileId String
    snapshotPolicyId String
    resultOutputFile String
    backupDatas GetVpcSgSnapshotFileContentBackupData[]
    Backup data.
    backupTime string
    Backup time.
    id string
    instanceId string
    Security group ID.
    operator string
    Operator.
    originalDatas GetVpcSgSnapshotFileContentOriginalData[]
    Original data.
    securityGroupId string
    The security group instance ID, such as sg-ohuuioma.
    snapshotFileId string
    snapshotPolicyId string
    resultOutputFile string
    backup_datas Sequence[GetVpcSgSnapshotFileContentBackupData]
    Backup data.
    backup_time str
    Backup time.
    id str
    instance_id str
    Security group ID.
    operator str
    Operator.
    original_datas Sequence[GetVpcSgSnapshotFileContentOriginalData]
    Original data.
    security_group_id str
    The security group instance ID, such as sg-ohuuioma.
    snapshot_file_id str
    snapshot_policy_id str
    result_output_file str
    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.
    securityGroupId String
    The security group instance ID, such as sg-ohuuioma.
    snapshotFileId String
    snapshotPolicyId String
    resultOutputFile String

    Supporting Types

    GetVpcSgSnapshotFileContentBackupData

    Action string
    ACCEPT or DROP.
    AddressTemplates List<GetVpcSgSnapshotFileContentBackupDataAddressTemplate>
    IP address ID or IP address group ID.
    CidrBlock string
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    Port string
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    Protocol string
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    SecurityGroupId string
    Security group ID.
    ServiceTemplates List<GetVpcSgSnapshotFileContentBackupDataServiceTemplate>
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    Action string
    ACCEPT or DROP.
    AddressTemplates []GetVpcSgSnapshotFileContentBackupDataAddressTemplate
    IP address ID or IP address group ID.
    CidrBlock string
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    Port string
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    Protocol string
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    SecurityGroupId string
    Security group ID.
    ServiceTemplates []GetVpcSgSnapshotFileContentBackupDataServiceTemplate
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    action String
    ACCEPT or DROP.
    addressTemplates List<GetVpcSgSnapshotFileContentBackupDataAddressTemplate>
    IP address ID or IP address group ID.
    cidrBlock String
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port String
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol String
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    securityGroupId String
    Security group ID.
    serviceTemplates List<GetVpcSgSnapshotFileContentBackupDataServiceTemplate>
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    action string
    ACCEPT or DROP.
    addressTemplates GetVpcSgSnapshotFileContentBackupDataAddressTemplate[]
    IP address ID or IP address group ID.
    cidrBlock string
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port string
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol string
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    securityGroupId string
    Security group ID.
    serviceTemplates GetVpcSgSnapshotFileContentBackupDataServiceTemplate[]
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    action str
    ACCEPT or DROP.
    address_templates Sequence[GetVpcSgSnapshotFileContentBackupDataAddressTemplate]
    IP address ID or IP address group ID.
    cidr_block str
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
    ipv6_cidr_block str
    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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port str
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol str
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    security_group_id str
    Security group ID.
    service_templates Sequence[GetVpcSgSnapshotFileContentBackupDataServiceTemplate]
    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 CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port String
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol String
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    securityGroupId String
    Security group ID.
    serviceTemplates List<Property Map>
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.

    GetVpcSgSnapshotFileContentBackupDataAddressTemplate

    AddressGroupId string
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    AddressId string
    The ID of the IP address, such as ipm-2uw6ujo6.
    AddressGroupId string
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    AddressId string
    The ID of the IP address, such as ipm-2uw6ujo6.
    addressGroupId String
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    addressId String
    The ID of the IP address, such as ipm-2uw6ujo6.
    addressGroupId string
    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_id str
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    address_id str
    The ID of the IP address, such as ipm-2uw6ujo6.
    addressGroupId String
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    addressId String
    The ID of the IP address, such as ipm-2uw6ujo6.

    GetVpcSgSnapshotFileContentBackupDataServiceTemplate

    ServiceGroupId string
    Protocol port group ID, such as ppmg-f5n1f8da.
    ServiceId string
    Protocol port ID, such as ppm-f5n1f8da.
    ServiceGroupId string
    Protocol port group ID, such as ppmg-f5n1f8da.
    ServiceId string
    Protocol port ID, such as ppm-f5n1f8da.
    serviceGroupId String
    Protocol port group ID, such as ppmg-f5n1f8da.
    serviceId String
    Protocol port ID, such as ppm-f5n1f8da.
    serviceGroupId string
    Protocol port group ID, such as ppmg-f5n1f8da.
    serviceId string
    Protocol port ID, such as ppm-f5n1f8da.
    service_group_id str
    Protocol port group ID, such as ppmg-f5n1f8da.
    service_id str
    Protocol port ID, such as ppm-f5n1f8da.
    serviceGroupId String
    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<GetVpcSgSnapshotFileContentOriginalDataAddressTemplate>
    IP address ID or IP address group ID.
    CidrBlock string
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    Port string
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    Protocol string
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    SecurityGroupId string
    Security group ID.
    ServiceTemplates List<GetVpcSgSnapshotFileContentOriginalDataServiceTemplate>
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    Action string
    ACCEPT or DROP.
    AddressTemplates []GetVpcSgSnapshotFileContentOriginalDataAddressTemplate
    IP address ID or IP address group ID.
    CidrBlock string
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    Port string
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    Protocol string
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    SecurityGroupId string
    Security group ID.
    ServiceTemplates []GetVpcSgSnapshotFileContentOriginalDataServiceTemplate
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    action String
    ACCEPT or DROP.
    addressTemplates List<GetVpcSgSnapshotFileContentOriginalDataAddressTemplate>
    IP address ID or IP address group ID.
    cidrBlock String
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port String
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol String
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    securityGroupId String
    Security group ID.
    serviceTemplates List<GetVpcSgSnapshotFileContentOriginalDataServiceTemplate>
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    action string
    ACCEPT or DROP.
    addressTemplates GetVpcSgSnapshotFileContentOriginalDataAddressTemplate[]
    IP address ID or IP address group ID.
    cidrBlock string
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port string
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol string
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    securityGroupId string
    Security group ID.
    serviceTemplates GetVpcSgSnapshotFileContentOriginalDataServiceTemplate[]
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
    action str
    ACCEPT or DROP.
    address_templates Sequence[GetVpcSgSnapshotFileContentOriginalDataAddressTemplate]
    IP address ID or IP address group ID.
    cidr_block str
    Either CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
    ipv6_cidr_block str
    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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port str
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol str
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    security_group_id str
    Security group ID.
    service_templates Sequence[GetVpcSgSnapshotFileContentOriginalDataServiceTemplate]
    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 CidrBlock or Ipv6CidrBlock can be specified. Note that if 0.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 DescribeSecurityGroupPolicies API and used with the Version field in the returned value of the API.
    port String
    Port (all, a single port, or a port range).Note: If the Protocol value is set to ALL, the Port value also needs to be set to all.
    protocol String
    Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
    securityGroupId String
    Security group ID.
    serviceTemplates List<Property Map>
    Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.

    GetVpcSgSnapshotFileContentOriginalDataAddressTemplate

    AddressGroupId string
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    AddressId string
    The ID of the IP address, such as ipm-2uw6ujo6.
    AddressGroupId string
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    AddressId string
    The ID of the IP address, such as ipm-2uw6ujo6.
    addressGroupId String
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    addressId String
    The ID of the IP address, such as ipm-2uw6ujo6.
    addressGroupId string
    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_id str
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    address_id str
    The ID of the IP address, such as ipm-2uw6ujo6.
    addressGroupId String
    The ID of the IP address group, such as ipmg-2uw6ujo6.
    addressId String
    The ID of the IP address, such as ipm-2uw6ujo6.

    GetVpcSgSnapshotFileContentOriginalDataServiceTemplate

    ServiceGroupId string
    Protocol port group ID, such as ppmg-f5n1f8da.
    ServiceId string
    Protocol port ID, such as ppm-f5n1f8da.
    ServiceGroupId string
    Protocol port group ID, such as ppmg-f5n1f8da.
    ServiceId string
    Protocol port ID, such as ppm-f5n1f8da.
    serviceGroupId String
    Protocol port group ID, such as ppmg-f5n1f8da.
    serviceId String
    Protocol port ID, such as ppm-f5n1f8da.
    serviceGroupId string
    Protocol port group ID, such as ppmg-f5n1f8da.
    serviceId string
    Protocol port ID, such as ppm-f5n1f8da.
    service_group_id str
    Protocol port group ID, such as ppmg-f5n1f8da.
    service_id str
    Protocol port ID, such as ppm-f5n1f8da.
    serviceGroupId String
    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 tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack