Show / Hide Table of Contents

Class GetApis

Inheritance
System.Object
GetApis
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.ApiGateway
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetApis

Methods

View Source

InvokeAsync(GetApisArgs, InvokeOptions)

This data source provides the apis of the current Alibaba Cloud user.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var dataApigatwayApis = Output.Create(AliCloud.ApiGateway.GetApis.InvokeAsync(new AliCloud.ApiGateway.GetApisArgs
    {
        OutputFile = "output_ApiGatawayApis",
    }));
    this.FirstApiId = data.Alicloud_api_gateway_apis.Data_apigatway.Apis[0].Id;
}

[Output("firstApiId")]
public Output<string> FirstApiId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetApisResult> InvokeAsync(GetApisArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetApisArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetApisResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.