Class GetApp
Inheritance
System.Object
GetApp
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.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public static class GetApp
Methods
View SourceInvokeAsync(GetAppArgs, InvokeOptions)
Use this data source to retrieve information about a Rancher v2 app.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
class MyStack : Stack
{
public MyStack()
{
var rancher2 = Output.Create(Rancher2.GetApp.InvokeAsync(new Rancher2.GetAppArgs
{
Name = "foo",
ProjectId = "<project_id>",
TargetNamespace = "<namespace_name>",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAppArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAppResult> |