getMultiClusterApp
Use this data source to retrieve information about a Rancher v2 multi cluster app.
Example Usage
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(Rancher2.GetMultiClusterApp.InvokeAsync(new Rancher2.GetMultiClusterAppArgs
{
Name = "foo",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v2/go/rancher2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rancher2.LookupMultiClusterApp(ctx, &rancher2.LookupMultiClusterAppArgs{
Name: "foo",
}, nil)
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_rancher2 as rancher2
foo = rancher2.get_multi_cluster_app(name="foo")
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const foo = pulumi.output(rancher2.getMultiClusterApp({
name: "foo",
}, { async: true }));
Using getMultiClusterApp
function getMultiClusterApp(args: GetMultiClusterAppArgs, opts?: InvokeOptions): Promise<GetMultiClusterAppResult>
def get_multi_cluster_app(name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetMultiClusterAppResult
func LookupMultiClusterApp(ctx *Context, args *LookupMultiClusterAppArgs, opts ...InvokeOption) (*LookupMultiClusterAppResult, error)
Note: This function is named
LookupMultiClusterApp
in the Go SDK.
public static class GetMultiClusterApp {
public static Task<GetMultiClusterAppResult> InvokeAsync(GetMultiClusterAppArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Name string
The multi cluster app name (string)
- Name string
The multi cluster app name (string)
- name string
The multi cluster app name (string)
- name str
The multi cluster app name (string)
getMultiClusterApp Result
The following output properties are available:
- Annotations Dictionary<string, object>
(Computed) Annotations for multi cluster app object (map)
- Answers
List<Get
Multi Cluster App Answer> (Computed) The multi cluster app answers (list)
- Catalog
Name string (Computed) The multi cluster app catalog name (string)
- Id string
The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, object>
(Computed) Labels for multi cluster app object (map)
- Members
List<Get
Multi Cluster App Member> (Computed) The multi cluster app members (list)
- Name string
- Revision
History intLimit (Computed) The multi cluster app revision history limit (int)
- Revision
Id string (Computed) Current revision id for the multi cluster app (string)
- Roles List<string>
(Computed) The multi cluster app roles (list)
- Targets
List<Get
Multi Cluster App Target> (Computed) The multi cluster app target projects (list)
- Template
Name string (Computed) The multi cluster app template name (string)
- Template
Version string (Computed) The multi cluster app template version (string)
- Template
Version stringId (Computed) The multi cluster app template version ID (string)
- Upgrade
Strategies List<GetMulti Cluster App Upgrade Strategy> (Computed) The multi cluster app upgrade strategy (list)
- Annotations map[string]interface{}
(Computed) Annotations for multi cluster app object (map)
- Answers
[]Get
Multi Cluster App Answer (Computed) The multi cluster app answers (list)
- Catalog
Name string (Computed) The multi cluster app catalog name (string)
- Id string
The provider-assigned unique ID for this managed resource.
- Labels map[string]interface{}
(Computed) Labels for multi cluster app object (map)
- Members
[]Get
Multi Cluster App Member (Computed) The multi cluster app members (list)
- Name string
- Revision
History intLimit (Computed) The multi cluster app revision history limit (int)
- Revision
Id string (Computed) Current revision id for the multi cluster app (string)
- Roles []string
(Computed) The multi cluster app roles (list)
- Targets
[]Get
Multi Cluster App Target (Computed) The multi cluster app target projects (list)
- Template
Name string (Computed) The multi cluster app template name (string)
- Template
Version string (Computed) The multi cluster app template version (string)
- Template
Version stringId (Computed) The multi cluster app template version ID (string)
- Upgrade
Strategies []GetMulti Cluster App Upgrade Strategy (Computed) The multi cluster app upgrade strategy (list)
- annotations {[key: string]: any}
(Computed) Annotations for multi cluster app object (map)
- answers
Get
Multi Cluster App Answer[] (Computed) The multi cluster app answers (list)
- catalog
Name string (Computed) The multi cluster app catalog name (string)
- id string
The provider-assigned unique ID for this managed resource.
- labels {[key: string]: any}
(Computed) Labels for multi cluster app object (map)
- members
Get
Multi Cluster App Member[] (Computed) The multi cluster app members (list)
- name string
- revision
History numberLimit (Computed) The multi cluster app revision history limit (int)
- revision
Id string (Computed) Current revision id for the multi cluster app (string)
- roles string[]
(Computed) The multi cluster app roles (list)
- targets
Get
Multi Cluster App Target[] (Computed) The multi cluster app target projects (list)
- template
Name string (Computed) The multi cluster app template name (string)
- template
Version string (Computed) The multi cluster app template version (string)
- template
Version stringId (Computed) The multi cluster app template version ID (string)
- upgrade
Strategies GetMulti Cluster App Upgrade Strategy[] (Computed) The multi cluster app upgrade strategy (list)
- annotations Mapping[str, Any]
(Computed) Annotations for multi cluster app object (map)
- answers
Sequence[Get
Multi Cluster App Answer] (Computed) The multi cluster app answers (list)
- catalog_
name str (Computed) The multi cluster app catalog name (string)
- id str
The provider-assigned unique ID for this managed resource.
- labels Mapping[str, Any]
(Computed) Labels for multi cluster app object (map)
- members
Sequence[Get
Multi Cluster App Member] (Computed) The multi cluster app members (list)
- name str
- revision_
history_ intlimit (Computed) The multi cluster app revision history limit (int)
- revision_
id str (Computed) Current revision id for the multi cluster app (string)
- roles Sequence[str]
(Computed) The multi cluster app roles (list)
- targets
Sequence[Get
Multi Cluster App Target] (Computed) The multi cluster app target projects (list)
- template_
name str (Computed) The multi cluster app template name (string)
- template_
version str (Computed) The multi cluster app template version (string)
- template_
version_ strid (Computed) The multi cluster app template version ID (string)
- upgrade_
strategies Sequence[GetMulti Cluster App Upgrade Strategy] (Computed) The multi cluster app upgrade strategy (list)
Supporting Types
GetMultiClusterAppAnswer
- cluster_
id str - project_
id str - values Mapping[str, Any]
GetMultiClusterAppMember
- Access
Type string - Group
Principal stringId - User
Principal stringId
- Access
Type string - Group
Principal stringId - User
Principal stringId
- access
Type string - group
Principal stringId - user
Principal stringId
- access_
type str - group_
principal_ strid - user_
principal_ strid
GetMultiClusterAppTarget
- App
Id string - Health
State string - Project
Id string - State string
- App
Id string - Health
State string - Project
Id string - State string
- app
Id string - health
State string - project
Id string - state string
- app_
id str - health_
state str - project_
id str - state str
GetMultiClusterAppUpgradeStrategy
GetMultiClusterAppUpgradeStrategyRollingUpdate
- batch_
size int - interval int
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.