tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getGaapRealServersStatus
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 gaap real servers status
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const realServersStatus = tencentcloud.getGaapRealServersStatus({
realServerIds: ["rs-3mlpbuut"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
real_servers_status = tencentcloud.get_gaap_real_servers_status(real_server_ids=["rs-3mlpbuut"])
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.GetGaapRealServersStatus(ctx, &tencentcloud.GetGaapRealServersStatusArgs{
RealServerIds: []string{
"rs-3mlpbuut",
},
}, 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 realServersStatus = Tencentcloud.GetGaapRealServersStatus.Invoke(new()
{
RealServerIds = new[]
{
"rs-3mlpbuut",
},
});
});
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.GetGaapRealServersStatusArgs;
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 realServersStatus = TencentcloudFunctions.getGaapRealServersStatus(GetGaapRealServersStatusArgs.builder()
.realServerIds("rs-3mlpbuut")
.build());
}
}
variables:
realServersStatus:
fn::invoke:
function: tencentcloud:getGaapRealServersStatus
arguments:
realServerIds:
- rs-3mlpbuut
Using getGaapRealServersStatus
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 getGaapRealServersStatus(args: GetGaapRealServersStatusArgs, opts?: InvokeOptions): Promise<GetGaapRealServersStatusResult>
function getGaapRealServersStatusOutput(args: GetGaapRealServersStatusOutputArgs, opts?: InvokeOptions): Output<GetGaapRealServersStatusResult>
def get_gaap_real_servers_status(id: Optional[str] = None,
real_server_ids: Optional[Sequence[str]] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGaapRealServersStatusResult
def get_gaap_real_servers_status_output(id: Optional[pulumi.Input[str]] = None,
real_server_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaapRealServersStatusResult]
func GetGaapRealServersStatus(ctx *Context, args *GetGaapRealServersStatusArgs, opts ...InvokeOption) (*GetGaapRealServersStatusResult, error)
func GetGaapRealServersStatusOutput(ctx *Context, args *GetGaapRealServersStatusOutputArgs, opts ...InvokeOption) GetGaapRealServersStatusResultOutput
> Note: This function is named GetGaapRealServersStatus
in the Go SDK.
public static class GetGaapRealServersStatus
{
public static Task<GetGaapRealServersStatusResult> InvokeAsync(GetGaapRealServersStatusArgs args, InvokeOptions? opts = null)
public static Output<GetGaapRealServersStatusResult> Invoke(GetGaapRealServersStatusInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGaapRealServersStatusResult> getGaapRealServersStatus(GetGaapRealServersStatusArgs args, InvokeOptions options)
public static Output<GetGaapRealServersStatusResult> getGaapRealServersStatus(GetGaapRealServersStatusArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getGaapRealServersStatus:getGaapRealServersStatus
arguments:
# arguments dictionary
The following arguments are supported:
- Real
Server List<string>Ids - Real Server Ids.
- Id string
- Result
Output stringFile - Used to save results.
- Real
Server []stringIds - Real Server Ids.
- Id string
- Result
Output stringFile - Used to save results.
- real
Server List<String>Ids - Real Server Ids.
- id String
- result
Output StringFile - Used to save results.
- real
Server string[]Ids - Real Server Ids.
- id string
- result
Output stringFile - Used to save results.
- real_
server_ Sequence[str]ids - Real Server Ids.
- id str
- result_
output_ strfile - Used to save results.
- real
Server List<String>Ids - Real Server Ids.
- id String
- result
Output StringFile - Used to save results.
getGaapRealServersStatus Result
The following output properties are available:
- Id string
- Real
Server List<string>Ids - Real
Server List<GetStatus Sets Gaap Real Servers Status Real Server Status Set> - Real Server Status Set.
- Result
Output stringFile
- Id string
- Real
Server []stringIds - Real
Server []GetStatus Sets Gaap Real Servers Status Real Server Status Set - Real Server Status Set.
- Result
Output stringFile
- id String
- real
Server List<String>Ids - real
Server List<GetStatus Sets Gaap Real Servers Status Real Server Status Set> - Real Server Status Set.
- result
Output StringFile
- id string
- real
Server string[]Ids - real
Server GetStatus Sets Gaap Real Servers Status Real Server Status Set[] - Real Server Status Set.
- result
Output stringFile
- id str
- real_
server_ Sequence[str]ids - real_
server_ Sequence[Getstatus_ sets Gaap Real Servers Status Real Server Status Set] - Real Server Status Set.
- result_
output_ strfile
- id String
- real
Server List<String>Ids - real
Server List<Property Map>Status Sets - Real Server Status Set.
- result
Output StringFile
Supporting Types
GetGaapRealServersStatusRealServerStatusSet
- Bind
Status double - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.
- Group
Id string - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained.
- Proxy
Id string - Bind the proxy ID of this real server, which is an empty string when not bound.
- Real
Server stringId - Real Server Id.
- Bind
Status float64 - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.
- Group
Id string - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained.
- Proxy
Id string - Bind the proxy ID of this real server, which is an empty string when not bound.
- Real
Server stringId - Real Server Id.
- bind
Status Double - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.
- group
Id String - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained.
- proxy
Id String - Bind the proxy ID of this real server, which is an empty string when not bound.
- real
Server StringId - Real Server Id.
- bind
Status number - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.
- group
Id string - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained.
- proxy
Id string - Bind the proxy ID of this real server, which is an empty string when not bound.
- real
Server stringId - Real Server Id.
- bind_
status float - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.
- group_
id str - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained.
- proxy_
id str - Bind the proxy ID of this real server, which is an empty string when not bound.
- real_
server_ strid - Real Server Id.
- bind
Status Number - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.
- group
Id String - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained.
- proxy
Id String - Bind the proxy ID of this real server, which is an empty string when not bound.
- real
Server StringId - Real Server Id.
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