tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSqlserverProjectSecurityGroups
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 sqlserver project_security_groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getSqlserverProjectSecurityGroups({
projectId: 0,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_sqlserver_project_security_groups(project_id=0)
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.GetSqlserverProjectSecurityGroups(ctx, &tencentcloud.GetSqlserverProjectSecurityGroupsArgs{
ProjectId: 0,
}, 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.GetSqlserverProjectSecurityGroups.Invoke(new()
{
ProjectId = 0,
});
});
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.GetSqlserverProjectSecurityGroupsArgs;
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.getSqlserverProjectSecurityGroups(GetSqlserverProjectSecurityGroupsArgs.builder()
.projectId(0)
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getSqlserverProjectSecurityGroups
arguments:
projectId: 0
Using getSqlserverProjectSecurityGroups
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 getSqlserverProjectSecurityGroups(args: GetSqlserverProjectSecurityGroupsArgs, opts?: InvokeOptions): Promise<GetSqlserverProjectSecurityGroupsResult>
function getSqlserverProjectSecurityGroupsOutput(args: GetSqlserverProjectSecurityGroupsOutputArgs, opts?: InvokeOptions): Output<GetSqlserverProjectSecurityGroupsResult>
def get_sqlserver_project_security_groups(id: Optional[str] = None,
project_id: Optional[float] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverProjectSecurityGroupsResult
def get_sqlserver_project_security_groups_output(id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlserverProjectSecurityGroupsResult]
func GetSqlserverProjectSecurityGroups(ctx *Context, args *GetSqlserverProjectSecurityGroupsArgs, opts ...InvokeOption) (*GetSqlserverProjectSecurityGroupsResult, error)
func GetSqlserverProjectSecurityGroupsOutput(ctx *Context, args *GetSqlserverProjectSecurityGroupsOutputArgs, opts ...InvokeOption) GetSqlserverProjectSecurityGroupsResultOutput
> Note: This function is named GetSqlserverProjectSecurityGroups
in the Go SDK.
public static class GetSqlserverProjectSecurityGroups
{
public static Task<GetSqlserverProjectSecurityGroupsResult> InvokeAsync(GetSqlserverProjectSecurityGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverProjectSecurityGroupsResult> Invoke(GetSqlserverProjectSecurityGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlserverProjectSecurityGroupsResult> getSqlserverProjectSecurityGroups(GetSqlserverProjectSecurityGroupsArgs args, InvokeOptions options)
public static Output<GetSqlserverProjectSecurityGroupsResult> getSqlserverProjectSecurityGroups(GetSqlserverProjectSecurityGroupsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSqlserverProjectSecurityGroups:getSqlserverProjectSecurityGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id double - Project ID, which can be viewed through the console project management.
- Id string
- Result
Output stringFile - Used to save results.
- Project
Id float64 - Project ID, which can be viewed through the console project management.
- Id string
- Result
Output stringFile - Used to save results.
- project
Id Double - Project ID, which can be viewed through the console project management.
- id String
- result
Output StringFile - Used to save results.
- project
Id number - Project ID, which can be viewed through the console project management.
- id string
- result
Output stringFile - Used to save results.
- project_
id float - Project ID, which can be viewed through the console project management.
- id str
- result_
output_ strfile - Used to save results.
- project
Id Number - Project ID, which can be viewed through the console project management.
- id String
- result
Output StringFile - Used to save results.
getSqlserverProjectSecurityGroups Result
The following output properties are available:
- Id string
- Project
Id double - project ID.
- Security
Group List<GetSets Sqlserver Project Security Groups Security Group Set> - Security group details.
- Result
Output stringFile
- Id string
- Project
Id float64 - project ID.
- Security
Group []GetSets Sqlserver Project Security Groups Security Group Set - Security group details.
- Result
Output stringFile
- id String
- project
Id Double - project ID.
- security
Group List<GetSets Sqlserver Project Security Groups Security Group Set> - Security group details.
- result
Output StringFile
- id string
- project
Id number - project ID.
- security
Group GetSets Sqlserver Project Security Groups Security Group Set[] - Security group details.
- result
Output stringFile
- id str
- project_
id float - project ID.
- security_
group_ Sequence[Getsets Sqlserver Project Security Groups Security Group Set] - Security group details.
- result_
output_ strfile
- id String
- project
Id Number - project ID.
- security
Group List<Property Map>Sets - Security group details.
- result
Output StringFile
Supporting Types
GetSqlserverProjectSecurityGroupsSecurityGroupSet
- Create
Time string - Creation time, time format: yyyy-mm-dd hh:mm:ss.
- Inbound
Sets List<GetSqlserver Project Security Groups Security Group Set Inbound Set> - inbound rules.
- Outbound
Sets List<GetSqlserver Project Security Groups Security Group Set Outbound Set> - outbound rules.
- Project
Id double - Project ID, which can be viewed through the console project management.
- Security
Group stringId - Security group ID.
- Security
Group stringName - security group name.
- Security
Group stringRemark - Security Group Remarks.
- Create
Time string - Creation time, time format: yyyy-mm-dd hh:mm:ss.
- Inbound
Sets []GetSqlserver Project Security Groups Security Group Set Inbound Set - inbound rules.
- Outbound
Sets []GetSqlserver Project Security Groups Security Group Set Outbound Set - outbound rules.
- Project
Id float64 - Project ID, which can be viewed through the console project management.
- Security
Group stringId - Security group ID.
- Security
Group stringName - security group name.
- Security
Group stringRemark - Security Group Remarks.
- create
Time String - Creation time, time format: yyyy-mm-dd hh:mm:ss.
- inbound
Sets List<GetSqlserver Project Security Groups Security Group Set Inbound Set> - inbound rules.
- outbound
Sets List<GetSqlserver Project Security Groups Security Group Set Outbound Set> - outbound rules.
- project
Id Double - Project ID, which can be viewed through the console project management.
- security
Group StringId - Security group ID.
- security
Group StringName - security group name.
- security
Group StringRemark - Security Group Remarks.
- create
Time string - Creation time, time format: yyyy-mm-dd hh:mm:ss.
- inbound
Sets GetSqlserver Project Security Groups Security Group Set Inbound Set[] - inbound rules.
- outbound
Sets GetSqlserver Project Security Groups Security Group Set Outbound Set[] - outbound rules.
- project
Id number - Project ID, which can be viewed through the console project management.
- security
Group stringId - Security group ID.
- security
Group stringName - security group name.
- security
Group stringRemark - Security Group Remarks.
- create_
time str - Creation time, time format: yyyy-mm-dd hh:mm:ss.
- inbound_
sets Sequence[GetSqlserver Project Security Groups Security Group Set Inbound Set] - inbound rules.
- outbound_
sets Sequence[GetSqlserver Project Security Groups Security Group Set Outbound Set] - outbound rules.
- project_
id float - Project ID, which can be viewed through the console project management.
- security_
group_ strid - Security group ID.
- security_
group_ strname - security group name.
- security_
group_ strremark - Security Group Remarks.
- create
Time String - Creation time, time format: yyyy-mm-dd hh:mm:ss.
- inbound
Sets List<Property Map> - inbound rules.
- outbound
Sets List<Property Map> - outbound rules.
- project
Id Number - Project ID, which can be viewed through the console project management.
- security
Group StringId - Security group ID.
- security
Group StringName - security group name.
- security
Group StringRemark - Security Group Remarks.
GetSqlserverProjectSecurityGroupsSecurityGroupSetInboundSet
- Action string
- Policy, ACCEPT or DROP.
- Cidr
Ip string - Destination IP or IP segment, such as 172.16.0.0/12.
- Dir string
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- Ip
Protocol string - Network protocol, support UDP, TCP, etc.
- Port
Range string - port or port range.
- Action string
- Policy, ACCEPT or DROP.
- Cidr
Ip string - Destination IP or IP segment, such as 172.16.0.0/12.
- Dir string
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- Ip
Protocol string - Network protocol, support UDP, TCP, etc.
- Port
Range string - port or port range.
- action String
- Policy, ACCEPT or DROP.
- cidr
Ip String - Destination IP or IP segment, such as 172.16.0.0/12.
- dir String
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip
Protocol String - Network protocol, support UDP, TCP, etc.
- port
Range String - port or port range.
- action string
- Policy, ACCEPT or DROP.
- cidr
Ip string - Destination IP or IP segment, such as 172.16.0.0/12.
- dir string
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip
Protocol string - Network protocol, support UDP, TCP, etc.
- port
Range string - port or port range.
- action str
- Policy, ACCEPT or DROP.
- cidr_
ip str - Destination IP or IP segment, such as 172.16.0.0/12.
- dir str
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip_
protocol str - Network protocol, support UDP, TCP, etc.
- port_
range str - port or port range.
- action String
- Policy, ACCEPT or DROP.
- cidr
Ip String - Destination IP or IP segment, such as 172.16.0.0/12.
- dir String
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip
Protocol String - Network protocol, support UDP, TCP, etc.
- port
Range String - port or port range.
GetSqlserverProjectSecurityGroupsSecurityGroupSetOutboundSet
- Action string
- Policy, ACCEPT or DROP.
- Cidr
Ip string - Destination IP or IP segment, such as 172.16.0.0/12.
- Dir string
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- Ip
Protocol string - Network protocol, support UDP, TCP, etc.
- Port
Range string - port or port range.
- Action string
- Policy, ACCEPT or DROP.
- Cidr
Ip string - Destination IP or IP segment, such as 172.16.0.0/12.
- Dir string
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- Ip
Protocol string - Network protocol, support UDP, TCP, etc.
- Port
Range string - port or port range.
- action String
- Policy, ACCEPT or DROP.
- cidr
Ip String - Destination IP or IP segment, such as 172.16.0.0/12.
- dir String
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip
Protocol String - Network protocol, support UDP, TCP, etc.
- port
Range String - port or port range.
- action string
- Policy, ACCEPT or DROP.
- cidr
Ip string - Destination IP or IP segment, such as 172.16.0.0/12.
- dir string
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip
Protocol string - Network protocol, support UDP, TCP, etc.
- port
Range string - port or port range.
- action str
- Policy, ACCEPT or DROP.
- cidr_
ip str - Destination IP or IP segment, such as 172.16.0.0/12.
- dir str
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip_
protocol str - Network protocol, support UDP, TCP, etc.
- port_
range str - port or port range.
- action String
- Policy, ACCEPT or DROP.
- cidr
Ip String - Destination IP or IP segment, such as 172.16.0.0/12.
- dir String
- The direction defined by the rules, OUTPUT-outgoing rules INPUT-inbound rules.
- ip
Protocol String - Network protocol, support UDP, TCP, etc.
- port
Range String - port or port range.
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