Class GetApps
Inheritance
System.Object
GetApps
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 GetApps
Methods
View SourceInvokeAsync(GetAppsArgs, InvokeOptions)
This data source provides the apps of the current Alibaba Cloud user.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var dataApigatway = Output.Create(AliCloud.ApiGateway.GetApps.InvokeAsync(new AliCloud.ApiGateway.GetAppsArgs
{
OutputFile = "outapps",
}));
this.FirstAppId = dataApigatway.Apply(dataApigatway => dataApigatway.Apps[0].Id);
}
[Output("firstAppId")]
public Output<string> FirstAppId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetAppsResult> InvokeAsync(GetAppsArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAppsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAppsResult> |