1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getApiGatewayServiceReleaseVersions
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getApiGatewayServiceReleaseVersions

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of apiGateway service_release_versions

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getApiGatewayServiceReleaseVersions({
        serviceId: "service-nxz6yync",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_api_gateway_service_release_versions(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.LookupApiGatewayServiceReleaseVersions(ctx, &tencentcloud.LookupApiGatewayServiceReleaseVersionsArgs{
    			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.GetApiGatewayServiceReleaseVersions.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.GetApiGatewayServiceReleaseVersionsArgs;
    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.getApiGatewayServiceReleaseVersions(GetApiGatewayServiceReleaseVersionsArgs.builder()
                .serviceId("service-nxz6yync")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getApiGatewayServiceReleaseVersions
          arguments:
            serviceId: service-nxz6yync
    

    Using getApiGatewayServiceReleaseVersions

    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 getApiGatewayServiceReleaseVersions(args: GetApiGatewayServiceReleaseVersionsArgs, opts?: InvokeOptions): Promise<GetApiGatewayServiceReleaseVersionsResult>
    function getApiGatewayServiceReleaseVersionsOutput(args: GetApiGatewayServiceReleaseVersionsOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayServiceReleaseVersionsResult>
    def get_api_gateway_service_release_versions(id: Optional[str] = None,
                                                 result_output_file: Optional[str] = None,
                                                 service_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetApiGatewayServiceReleaseVersionsResult
    def get_api_gateway_service_release_versions_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[GetApiGatewayServiceReleaseVersionsResult]
    func LookupApiGatewayServiceReleaseVersions(ctx *Context, args *LookupApiGatewayServiceReleaseVersionsArgs, opts ...InvokeOption) (*LookupApiGatewayServiceReleaseVersionsResult, error)
    func LookupApiGatewayServiceReleaseVersionsOutput(ctx *Context, args *LookupApiGatewayServiceReleaseVersionsOutputArgs, opts ...InvokeOption) LookupApiGatewayServiceReleaseVersionsResultOutput

    > Note: This function is named LookupApiGatewayServiceReleaseVersions in the Go SDK.

    public static class GetApiGatewayServiceReleaseVersions 
    {
        public static Task<GetApiGatewayServiceReleaseVersionsResult> InvokeAsync(GetApiGatewayServiceReleaseVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetApiGatewayServiceReleaseVersionsResult> Invoke(GetApiGatewayServiceReleaseVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApiGatewayServiceReleaseVersionsResult> getApiGatewayServiceReleaseVersions(GetApiGatewayServiceReleaseVersionsArgs args, InvokeOptions options)
    public static Output<GetApiGatewayServiceReleaseVersionsResult> getApiGatewayServiceReleaseVersions(GetApiGatewayServiceReleaseVersionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getApiGatewayServiceReleaseVersions:getApiGatewayServiceReleaseVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceId string
    The unique ID of the service to be queried.
    Id string
    ResultOutputFile string
    Used to save results.
    ServiceId string
    The unique ID of the service to be queried.
    Id string
    ResultOutputFile string
    Used to save results.
    serviceId String
    The unique ID of the service to be queried.
    id String
    resultOutputFile String
    Used to save results.
    serviceId string
    The unique ID of the service to be queried.
    id string
    resultOutputFile string
    Used to save results.
    service_id str
    The unique ID of the service to be queried.
    id str
    result_output_file str
    Used to save results.
    serviceId String
    The unique ID of the service to be queried.
    id String
    resultOutputFile String
    Used to save results.

    getApiGatewayServiceReleaseVersions Result

    The following output properties are available:

    Id string
    Results List<GetApiGatewayServiceReleaseVersionsResult>
    List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
    ServiceId string
    ResultOutputFile string
    Id string
    Results []GetApiGatewayServiceReleaseVersionsResult
    List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
    ServiceId string
    ResultOutputFile string
    id String
    results List<GetApiGatewayServiceReleaseVersionsResult>
    List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
    serviceId String
    resultOutputFile String
    id string
    results GetApiGatewayServiceReleaseVersionsResult[]
    List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
    serviceId string
    resultOutputFile string
    id str
    results Sequence[GetApiGatewayServiceReleaseVersionsResult]
    List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
    service_id str
    result_output_file str
    id String
    results List<Property Map>
    List of service releases.Note: This field may return null, indicating that no valid value can be obtained.
    serviceId String
    resultOutputFile String

    Supporting Types

    GetApiGatewayServiceReleaseVersionsResult

    VersionDesc string
    Version description.Note: This field may return null, indicating that no valid value can be obtained.
    VersionName string
    Version number.Note: This field may return null, indicating that no valid value can be obtained.
    VersionDesc string
    Version description.Note: This field may return null, indicating that no valid value can be obtained.
    VersionName string
    Version number.Note: This field may return null, indicating that no valid value can be obtained.
    versionDesc String
    Version description.Note: This field may return null, indicating that no valid value can be obtained.
    versionName String
    Version number.Note: This field may return null, indicating that no valid value can be obtained.
    versionDesc string
    Version description.Note: This field may return null, indicating that no valid value can be obtained.
    versionName string
    Version number.Note: This field may return null, indicating that no valid value can be obtained.
    version_desc str
    Version description.Note: This field may return null, indicating that no valid value can be obtained.
    version_name str
    Version number.Note: This field may return null, indicating that no valid value can be obtained.
    versionDesc String
    Version description.Note: This field may return null, indicating that no valid value can be obtained.
    versionName String
    Version number.Note: This field may return null, indicating that no valid value can be obtained.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack