tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getApiGatewayApiPlugins
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 api_plugins
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getApiGatewayApiPlugins({
apiId: "api-0cvmf4x4",
environmentName: "test",
serviceId: "service-nxz6yync",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_api_gateway_api_plugins(api_id="api-0cvmf4x4",
environment_name="test",
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.LookupApiGatewayApiPlugins(ctx, &tencentcloud.LookupApiGatewayApiPluginsArgs{
ApiId: "api-0cvmf4x4",
EnvironmentName: pulumi.StringRef("test"),
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.GetApiGatewayApiPlugins.Invoke(new()
{
ApiId = "api-0cvmf4x4",
EnvironmentName = "test",
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.GetApiGatewayApiPluginsArgs;
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.getApiGatewayApiPlugins(GetApiGatewayApiPluginsArgs.builder()
.apiId("api-0cvmf4x4")
.environmentName("test")
.serviceId("service-nxz6yync")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getApiGatewayApiPlugins
arguments:
apiId: api-0cvmf4x4
environmentName: test
serviceId: service-nxz6yync
Using getApiGatewayApiPlugins
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 getApiGatewayApiPlugins(args: GetApiGatewayApiPluginsArgs, opts?: InvokeOptions): Promise<GetApiGatewayApiPluginsResult>
function getApiGatewayApiPluginsOutput(args: GetApiGatewayApiPluginsOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayApiPluginsResult>
def get_api_gateway_api_plugins(api_id: Optional[str] = None,
environment_name: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiGatewayApiPluginsResult
def get_api_gateway_api_plugins_output(api_id: Optional[pulumi.Input[str]] = None,
environment_name: Optional[pulumi.Input[str]] = None,
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[GetApiGatewayApiPluginsResult]
func LookupApiGatewayApiPlugins(ctx *Context, args *LookupApiGatewayApiPluginsArgs, opts ...InvokeOption) (*LookupApiGatewayApiPluginsResult, error)
func LookupApiGatewayApiPluginsOutput(ctx *Context, args *LookupApiGatewayApiPluginsOutputArgs, opts ...InvokeOption) LookupApiGatewayApiPluginsResultOutput
> Note: This function is named LookupApiGatewayApiPlugins
in the Go SDK.
public static class GetApiGatewayApiPlugins
{
public static Task<GetApiGatewayApiPluginsResult> InvokeAsync(GetApiGatewayApiPluginsArgs args, InvokeOptions? opts = null)
public static Output<GetApiGatewayApiPluginsResult> Invoke(GetApiGatewayApiPluginsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApiGatewayApiPluginsResult> getApiGatewayApiPlugins(GetApiGatewayApiPluginsArgs args, InvokeOptions options)
public static Output<GetApiGatewayApiPluginsResult> getApiGatewayApiPlugins(GetApiGatewayApiPluginsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getApiGatewayApiPlugins:getApiGatewayApiPlugins
arguments:
# arguments dictionary
The following arguments are supported:
- Api
Id string - API ID to be queried.
- Service
Id string - The service ID to be queried.
- Environment
Name string - Environment information.
- Id string
- Result
Output stringFile - Used to save results.
- Api
Id string - API ID to be queried.
- Service
Id string - The service ID to be queried.
- Environment
Name string - Environment information.
- Id string
- Result
Output stringFile - Used to save results.
- api
Id String - API ID to be queried.
- service
Id String - The service ID to be queried.
- environment
Name String - Environment information.
- id String
- result
Output StringFile - Used to save results.
- api
Id string - API ID to be queried.
- service
Id string - The service ID to be queried.
- environment
Name string - Environment information.
- id string
- result
Output stringFile - Used to save results.
- api_
id str - API ID to be queried.
- service_
id str - The service ID to be queried.
- environment_
name str - Environment information.
- id str
- result_
output_ strfile - Used to save results.
- api
Id String - API ID to be queried.
- service
Id String - The service ID to be queried.
- environment
Name String - Environment information.
- id String
- result
Output StringFile - Used to save results.
getApiGatewayApiPlugins Result
The following output properties are available:
- Api
Id string - Id string
- Results
List<Get
Api Gateway Api Plugins Result> - API list information that the plug-in can bind.
- Service
Id string - Environment
Name string - Result
Output stringFile
- Api
Id string - Id string
- Results
[]Get
Api Gateway Api Plugins Result - API list information that the plug-in can bind.
- Service
Id string - Environment
Name string - Result
Output stringFile
- api
Id String - id String
- results
List<Get
Api Gateway Api Plugins Result> - API list information that the plug-in can bind.
- service
Id String - environment
Name String - result
Output StringFile
- api
Id string - id string
- results
Get
Api Gateway Api Plugins Result[] - API list information that the plug-in can bind.
- service
Id string - environment
Name string - result
Output stringFile
- api_
id str - id str
- results
Sequence[Get
Api Gateway Api Plugins Result] - API list information that the plug-in can bind.
- service_
id str - environment_
name str - result_
output_ strfile
- api
Id String - id String
- results List<Property Map>
- API list information that the plug-in can bind.
- service
Id String - environment
Name String - result
Output StringFile
Supporting Types
GetApiGatewayApiPluginsResult
- Attached
Time string - Binding time.
- Description string
- Plugin description.
- Environment string
- Environment information.
- Plugin
Data string - Plug-in definition statement.
- Plugin
Id string - Plugin ID.
- Plugin
Name string - Plugin name.
- Plugin
Type string - Plugin type.
- Attached
Time string - Binding time.
- Description string
- Plugin description.
- Environment string
- Environment information.
- Plugin
Data string - Plug-in definition statement.
- Plugin
Id string - Plugin ID.
- Plugin
Name string - Plugin name.
- Plugin
Type string - Plugin type.
- attached
Time String - Binding time.
- description String
- Plugin description.
- environment String
- Environment information.
- plugin
Data String - Plug-in definition statement.
- plugin
Id String - Plugin ID.
- plugin
Name String - Plugin name.
- plugin
Type String - Plugin type.
- attached
Time string - Binding time.
- description string
- Plugin description.
- environment string
- Environment information.
- plugin
Data string - Plug-in definition statement.
- plugin
Id string - Plugin ID.
- plugin
Name string - Plugin name.
- plugin
Type string - Plugin type.
- attached_
time str - Binding time.
- description str
- Plugin description.
- environment str
- Environment information.
- plugin_
data str - Plug-in definition statement.
- plugin_
id str - Plugin ID.
- plugin_
name str - Plugin name.
- plugin_
type str - Plugin type.
- attached
Time String - Binding time.
- description String
- Plugin description.
- environment String
- Environment information.
- plugin
Data String - Plug-in definition statement.
- plugin
Id String - Plugin ID.
- plugin
Name String - Plugin name.
- plugin
Type String - Plugin type.
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