tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getApiGatewayServiceEnvironmentList
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 apiGateway service_environment_list
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getApiGatewayServiceEnvironmentList({
serviceId: "service-nxz6yync",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_api_gateway_service_environment_list(service_id="service-nxz6yync")
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.LookupApiGatewayServiceEnvironmentList(ctx, &tencentcloud.LookupApiGatewayServiceEnvironmentListArgs{
ServiceId: "service-nxz6yync",
}, 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.GetApiGatewayServiceEnvironmentList.Invoke(new()
{
ServiceId = "service-nxz6yync",
});
});
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.GetApiGatewayServiceEnvironmentListArgs;
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.getApiGatewayServiceEnvironmentList(GetApiGatewayServiceEnvironmentListArgs.builder()
.serviceId("service-nxz6yync")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getApiGatewayServiceEnvironmentList
arguments:
serviceId: service-nxz6yync
Using getApiGatewayServiceEnvironmentList
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 getApiGatewayServiceEnvironmentList(args: GetApiGatewayServiceEnvironmentListArgs, opts?: InvokeOptions): Promise<GetApiGatewayServiceEnvironmentListResult>
function getApiGatewayServiceEnvironmentListOutput(args: GetApiGatewayServiceEnvironmentListOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayServiceEnvironmentListResult>
def get_api_gateway_service_environment_list(id: Optional[str] = None,
result_output_file: Optional[str] = None,
service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiGatewayServiceEnvironmentListResult
def get_api_gateway_service_environment_list_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
service_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiGatewayServiceEnvironmentListResult]
func LookupApiGatewayServiceEnvironmentList(ctx *Context, args *LookupApiGatewayServiceEnvironmentListArgs, opts ...InvokeOption) (*LookupApiGatewayServiceEnvironmentListResult, error)
func LookupApiGatewayServiceEnvironmentListOutput(ctx *Context, args *LookupApiGatewayServiceEnvironmentListOutputArgs, opts ...InvokeOption) LookupApiGatewayServiceEnvironmentListResultOutput
> Note: This function is named LookupApiGatewayServiceEnvironmentList
in the Go SDK.
public static class GetApiGatewayServiceEnvironmentList
{
public static Task<GetApiGatewayServiceEnvironmentListResult> InvokeAsync(GetApiGatewayServiceEnvironmentListArgs args, InvokeOptions? opts = null)
public static Output<GetApiGatewayServiceEnvironmentListResult> Invoke(GetApiGatewayServiceEnvironmentListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApiGatewayServiceEnvironmentListResult> getApiGatewayServiceEnvironmentList(GetApiGatewayServiceEnvironmentListArgs args, InvokeOptions options)
public static Output<GetApiGatewayServiceEnvironmentListResult> getApiGatewayServiceEnvironmentList(GetApiGatewayServiceEnvironmentListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getApiGatewayServiceEnvironmentList:getApiGatewayServiceEnvironmentList
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Id string - The unique ID of the service to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- Service
Id string - The unique ID of the service to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- service
Id String - The unique ID of the service to be queried.
- id String
- result
Output StringFile - Used to save results.
- service
Id string - The unique ID of the service to be queried.
- id string
- result
Output stringFile - Used to save results.
- service_
id str - The unique ID of the service to be queried.
- id str
- result_
output_ strfile - Used to save results.
- service
Id String - The unique ID of the service to be queried.
- id String
- result
Output StringFile - Used to save results.
getApiGatewayServiceEnvironmentList Result
The following output properties are available:
- Id string
- Results
List<Get
Api Gateway Service Environment List Result> - Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
- Service
Id string - Result
Output stringFile
- Id string
- Results
[]Get
Api Gateway Service Environment List Result - Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
- Service
Id string - Result
Output stringFile
- id String
- results
List<Get
Api Gateway Service Environment List Result> - Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
- service
Id String - result
Output StringFile
- id string
- results
Get
Api Gateway Service Environment List Result[] - Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
- service
Id string - result
Output stringFile
- id str
- results
Sequence[Get
Api Gateway Service Environment List Result] - Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
- service_
id str - result_
output_ strfile
- id String
- results List<Property Map>
- Service binding environment details.Note: This field may return null, indicating that no valid value can be obtained.
- service
Id String - result
Output StringFile
Supporting Types
GetApiGatewayServiceEnvironmentListResult
- Environment
Name string - Environment name.
- Status double
- Release status, 1 means released, 0 means not released.
- Url string
- Access path.
- Version
Name string - Running version.
- Environment
Name string - Environment name.
- Status float64
- Release status, 1 means released, 0 means not released.
- Url string
- Access path.
- Version
Name string - Running version.
- environment
Name String - Environment name.
- status Double
- Release status, 1 means released, 0 means not released.
- url String
- Access path.
- version
Name String - Running version.
- environment
Name string - Environment name.
- status number
- Release status, 1 means released, 0 means not released.
- url string
- Access path.
- version
Name string - Running version.
- environment_
name str - Environment name.
- status float
- Release status, 1 means released, 0 means not released.
- url str
- Access path.
- version_
name str - Running version.
- environment
Name String - Environment name.
- status Number
- Release status, 1 means released, 0 means not released.
- url String
- Access path.
- version
Name String - Running version.
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