GetApp
Use this data source to retrieve information about a Rancher v2 app.
Example Usage
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>",
}));
}
}
Coming soon!
import pulumi
import pulumi_rancher2 as rancher2
rancher2 = rancher2.get_app(name="foo",
project_id="<project_id>",
target_namespace="<namespace_name>")import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const rancher2App = pulumi.output(rancher2.getApp({
name: "foo",
projectId: "<project_id>",
targetNamespace: "<namespace_name>",
}, { async: true }));Using GetApp
function getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>function get_app(annotations=None, name=None, project_id=None, target_namespace=None, opts=None)func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)Note: This function is named
LookupAppin the Go SDK.
public static class GetApp {
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Name string
The app name (string)
- Project
Id string The id of the project where the app is deployed (string)
- Annotations Dictionary<string, object>
(Computed) Annotations for the catalog (map)
- Target
Namespace string The namespace name where the app is deployed (string)
- Name string
The app name (string)
- Project
Id string The id of the project where the app is deployed (string)
- Annotations map[string]interface{}
(Computed) Annotations for the catalog (map)
- Target
Namespace string The namespace name where the app is deployed (string)
- name string
The app name (string)
- project
Id string The id of the project where the app is deployed (string)
- annotations {[key: string]: any}
(Computed) Annotations for the catalog (map)
- target
Namespace string The namespace name where the app is deployed (string)
- name str
The app name (string)
- project_
id str The id of the project where the app is deployed (string)
- annotations Dict[str, Any]
(Computed) Annotations for the catalog (map)
- target_
namespace str The namespace name where the app is deployed (string)
GetApp Result
The following output properties are available:
- Annotations Dictionary<string, object>
(Computed) Annotations for the catalog (map)
- Answers Dictionary<string, object>
(Computed) Answers for the app (map)
- Catalog
Name string (Computed) Catalog name of the app (string)
- Description string
(Computed) Description for the app (string)
- External
Id string (Computed) The URL of the helm catalog app (string)
- Id string
The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, object>
(Computed) Labels for the catalog (map)
- Name string
- Project
Id string - Revision
Id string (Computed) Current revision id for the app (string)
- Target
Namespace string - Template
Name string (Computed) Template name of the app (string)
- Template
Version string (Computed) Template version of the app (string)
- Values
Yaml string (Computed) values.yaml base64 encoded file content for the app (string)
- Annotations map[string]interface{}
(Computed) Annotations for the catalog (map)
- Answers map[string]interface{}
(Computed) Answers for the app (map)
- Catalog
Name string (Computed) Catalog name of the app (string)
- Description string
(Computed) Description for the app (string)
- External
Id string (Computed) The URL of the helm catalog app (string)
- Id string
The provider-assigned unique ID for this managed resource.
- Labels map[string]interface{}
(Computed) Labels for the catalog (map)
- Name string
- Project
Id string - Revision
Id string (Computed) Current revision id for the app (string)
- Target
Namespace string - Template
Name string (Computed) Template name of the app (string)
- Template
Version string (Computed) Template version of the app (string)
- Values
Yaml string (Computed) values.yaml base64 encoded file content for the app (string)
- annotations {[key: string]: any}
(Computed) Annotations for the catalog (map)
- answers {[key: string]: any}
(Computed) Answers for the app (map)
- catalog
Name string (Computed) Catalog name of the app (string)
- description string
(Computed) Description for the app (string)
- external
Id string (Computed) The URL of the helm catalog app (string)
- id string
The provider-assigned unique ID for this managed resource.
- labels {[key: string]: any}
(Computed) Labels for the catalog (map)
- name string
- project
Id string - revision
Id string (Computed) Current revision id for the app (string)
- target
Namespace string - template
Name string (Computed) Template name of the app (string)
- template
Version string (Computed) Template version of the app (string)
- values
Yaml string (Computed) values.yaml base64 encoded file content for the app (string)
- annotations Dict[str, Any]
(Computed) Annotations for the catalog (map)
- answers Dict[str, Any]
(Computed) Answers for the app (map)
- catalog_
name str (Computed) Catalog name of the app (string)
- description str
(Computed) Description for the app (string)
- external_
id str (Computed) The URL of the helm catalog app (string)
- id str
The provider-assigned unique ID for this managed resource.
- labels Dict[str, Any]
(Computed) Labels for the catalog (map)
- name str
- project_
id str - revision_
id str (Computed) Current revision id for the app (string)
- target_
namespace str - template_
name str (Computed) Template name of the app (string)
- template_
version str (Computed) Template version of the app (string)
- values_
yaml str (Computed) values.yaml base64 encoded file content for the app (string)
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.