tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getVpcSgSnapshotFileContent
Explore with Pulumi AI
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:
- Security
Group stringId - Security group ID.
- Snapshot
File stringId - Snapshot file ID.
- Snapshot
Policy stringId - Snapshot policy IDs.
- Id string
- Result
Output stringFile - Used to save results.
- Security
Group stringId - Security group ID.
- Snapshot
File stringId - Snapshot file ID.
- Snapshot
Policy stringId - Snapshot policy IDs.
- Id string
- Result
Output stringFile - Used to save results.
- security
Group StringId - Security group ID.
- snapshot
File StringId - Snapshot file ID.
- snapshot
Policy StringId - Snapshot policy IDs.
- id String
- result
Output StringFile - Used to save results.
- security
Group stringId - Security group ID.
- snapshot
File stringId - Snapshot file ID.
- snapshot
Policy stringId - Snapshot policy IDs.
- id string
- result
Output 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.
- security
Group StringId - Security group ID.
- snapshot
File StringId - Snapshot file ID.
- snapshot
Policy StringId - Snapshot policy IDs.
- id String
- result
Output StringFile - Used to save results.
getVpcSgSnapshotFileContent Result
The following output properties are available:
- Backup
Datas List<GetVpc Sg Snapshot File Content Backup Data> - Backup data.
- Backup
Time string - Backup time.
- Id string
- Instance
Id string - Security group ID.
- Operator string
- Operator.
- Original
Datas List<GetVpc Sg Snapshot File Content Original Data> - Original data.
- Security
Group stringId - The security group instance ID, such as
sg-ohuuioma
. - Snapshot
File stringId - Snapshot
Policy stringId - Result
Output stringFile
- Backup
Datas []GetVpc Sg Snapshot File Content Backup Data - Backup data.
- Backup
Time string - Backup time.
- Id string
- Instance
Id string - Security group ID.
- Operator string
- Operator.
- Original
Datas []GetVpc Sg Snapshot File Content Original Data - Original data.
- Security
Group stringId - The security group instance ID, such as
sg-ohuuioma
. - Snapshot
File stringId - Snapshot
Policy stringId - Result
Output stringFile
- backup
Datas List<GetVpc Sg Snapshot File Content Backup Data> - Backup data.
- backup
Time String - Backup time.
- id String
- instance
Id String - Security group ID.
- operator String
- Operator.
- original
Datas List<GetVpc Sg Snapshot File Content Original Data> - Original data.
- security
Group StringId - The security group instance ID, such as
sg-ohuuioma
. - snapshot
File StringId - snapshot
Policy StringId - result
Output StringFile
- backup
Datas GetVpc Sg Snapshot File Content Backup Data[] - Backup data.
- backup
Time string - Backup time.
- id string
- instance
Id string - Security group ID.
- operator string
- Operator.
- original
Datas GetVpc Sg Snapshot File Content Original Data[] - Original data.
- security
Group stringId - The security group instance ID, such as
sg-ohuuioma
. - snapshot
File stringId - snapshot
Policy stringId - result
Output 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
- backup
Datas List<Property Map> - Backup data.
- backup
Time String - Backup time.
- id String
- instance
Id String - Security group ID.
- operator String
- Operator.
- original
Datas List<Property Map> - Original data.
- security
Group StringId - The security group instance ID, such as
sg-ohuuioma
. - snapshot
File StringId - snapshot
Policy StringId - result
Output StringFile
Supporting Types
GetVpcSgSnapshotFileContentBackupData
- Action string
- ACCEPT or DROP.
- Address
Templates List<GetVpc Sg Snapshot File Content Backup Data Address Template> - IP address ID or IP address group ID.
- Cidr
Block string - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - Ipv6Cidr
Block string - The CIDR block or IPv6 (mutually exclusive).
- Modify
Time string - The last modification time of the security group.
- Policy
Description string - Security group policy description.
- Policy
Index 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 theVersion
field in the returned value of the API. - Port string
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- Security
Group stringId - Security group ID.
- Service
Templates 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.
- Address
Templates []GetVpc Sg Snapshot File Content Backup Data Address Template - IP address ID or IP address group ID.
- Cidr
Block string - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - Ipv6Cidr
Block string - The CIDR block or IPv6 (mutually exclusive).
- Modify
Time string - The last modification time of the security group.
- Policy
Description string - Security group policy description.
- Policy
Index 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 theVersion
field in the returned value of the API. - Port string
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- Security
Group stringId - Security group ID.
- Service
Templates []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.
- address
Templates List<GetVpc Sg Snapshot File Content Backup Data Address Template> - IP address ID or IP address group ID.
- cidr
Block String - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - ipv6Cidr
Block String - The CIDR block or IPv6 (mutually exclusive).
- modify
Time String - The last modification time of the security group.
- policy
Description String - Security group policy description.
- policy
Index 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 theVersion
field in the returned value of the API. - port String
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security
Group StringId - Security group ID.
- service
Templates 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.
- address
Templates GetVpc Sg Snapshot File Content Backup Data Address Template[] - IP address ID or IP address group ID.
- cidr
Block string - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - ipv6Cidr
Block string - The CIDR block or IPv6 (mutually exclusive).
- modify
Time string - The last modification time of the security group.
- policy
Description string - Security group policy description.
- policy
Index 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 theVersion
field in the returned value of the API. - port string
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security
Group stringId - Security group ID.
- service
Templates 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
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.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
DescribeSecurityGroupPolicies
API and used with theVersion
field in the returned value of the API. - port str
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value 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.
- address
Templates List<Property Map> - IP address ID or IP address group ID.
- cidr
Block String - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - ipv6Cidr
Block String - The CIDR block or IPv6 (mutually exclusive).
- modify
Time String - The last modification time of the security group.
- policy
Description String - Security group policy description.
- policy
Index 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 theVersion
field in the returned value of the API. - port String
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security
Group StringId - Security group ID.
- service
Templates List<Property Map> - Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
GetVpcSgSnapshotFileContentBackupDataAddressTemplate
- Address
Group stringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - Address
Id string - The ID of the IP address, such as
ipm-2uw6ujo6
.
- Address
Group stringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - Address
Id string - The ID of the IP address, such as
ipm-2uw6ujo6
.
- address
Group StringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - address
Id String - The ID of the IP address, such as
ipm-2uw6ujo6
.
- address
Group stringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - address
Id 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
.
- address
Group StringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - address
Id String - The ID of the IP address, such as
ipm-2uw6ujo6
.
GetVpcSgSnapshotFileContentBackupDataServiceTemplate
- Service
Group stringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - Service
Id string - Protocol port ID, such as
ppm-f5n1f8da
.
- Service
Group stringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - Service
Id string - Protocol port ID, such as
ppm-f5n1f8da
.
- service
Group StringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - service
Id String - Protocol port ID, such as
ppm-f5n1f8da
.
- service
Group stringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - service
Id 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
.
- service
Group StringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - service
Id String - Protocol port ID, such as
ppm-f5n1f8da
.
GetVpcSgSnapshotFileContentOriginalData
- Action string
- ACCEPT or DROP.
- Address
Templates List<GetVpc Sg Snapshot File Content Original Data Address Template> - IP address ID or IP address group ID.
- Cidr
Block string - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - Ipv6Cidr
Block string - The CIDR block or IPv6 (mutually exclusive).
- Modify
Time string - The last modification time of the security group.
- Policy
Description string - Security group policy description.
- Policy
Index 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 theVersion
field in the returned value of the API. - Port string
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- Security
Group stringId - Security group ID.
- Service
Templates 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.
- Address
Templates []GetVpc Sg Snapshot File Content Original Data Address Template - IP address ID or IP address group ID.
- Cidr
Block string - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - Ipv6Cidr
Block string - The CIDR block or IPv6 (mutually exclusive).
- Modify
Time string - The last modification time of the security group.
- Policy
Description string - Security group policy description.
- Policy
Index 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 theVersion
field in the returned value of the API. - Port string
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - Protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- Security
Group stringId - Security group ID.
- Service
Templates []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.
- address
Templates List<GetVpc Sg Snapshot File Content Original Data Address Template> - IP address ID or IP address group ID.
- cidr
Block String - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - ipv6Cidr
Block String - The CIDR block or IPv6 (mutually exclusive).
- modify
Time String - The last modification time of the security group.
- policy
Description String - Security group policy description.
- policy
Index 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 theVersion
field in the returned value of the API. - port String
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security
Group StringId - Security group ID.
- service
Templates 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.
- address
Templates GetVpc Sg Snapshot File Content Original Data Address Template[] - IP address ID or IP address group ID.
- cidr
Block string - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - ipv6Cidr
Block string - The CIDR block or IPv6 (mutually exclusive).
- modify
Time string - The last modification time of the security group.
- policy
Description string - Security group policy description.
- policy
Index 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 theVersion
field in the returned value of the API. - port string
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - protocol string
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security
Group stringId - Security group ID.
- service
Templates 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
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.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
DescribeSecurityGroupPolicies
API and used with theVersion
field in the returned value of the API. - port str
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value 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.
- address
Templates List<Property Map> - IP address ID or IP address group ID.
- cidr
Block String - Either
CidrBlock
orIpv6CidrBlock can be specified. Note that if
0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0. - ipv6Cidr
Block String - The CIDR block or IPv6 (mutually exclusive).
- modify
Time String - The last modification time of the security group.
- policy
Description String - Security group policy description.
- policy
Index 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 theVersion
field in the returned value of the API. - port String
- Port (
all
, a single port, or a port range).Note: If theProtocol
value is set toALL
, thePort
value also needs to be set toall
. - protocol String
- Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
- security
Group StringId - Security group ID.
- service
Templates List<Property Map> - Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
GetVpcSgSnapshotFileContentOriginalDataAddressTemplate
- Address
Group stringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - Address
Id string - The ID of the IP address, such as
ipm-2uw6ujo6
.
- Address
Group stringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - Address
Id string - The ID of the IP address, such as
ipm-2uw6ujo6
.
- address
Group StringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - address
Id String - The ID of the IP address, such as
ipm-2uw6ujo6
.
- address
Group stringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - address
Id 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
.
- address
Group StringId - The ID of the IP address group, such as
ipmg-2uw6ujo6
. - address
Id String - The ID of the IP address, such as
ipm-2uw6ujo6
.
GetVpcSgSnapshotFileContentOriginalDataServiceTemplate
- Service
Group stringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - Service
Id string - Protocol port ID, such as
ppm-f5n1f8da
.
- Service
Group stringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - Service
Id string - Protocol port ID, such as
ppm-f5n1f8da
.
- service
Group StringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - service
Id String - Protocol port ID, such as
ppm-f5n1f8da
.
- service
Group stringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - service
Id 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
.
- service
Group StringId - Protocol port group ID, such as
ppmg-f5n1f8da
. - service
Id 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack