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",
        }));
    }

}

Coming soon!

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>
function  get_multi_cluster_app(name=None, opts=None)
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<GetMultiClusterAppAnswer>

(Computed) The multi cluster app answers (list)

CatalogName 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<GetMultiClusterAppMember>

(Computed) The multi cluster app members (list)

Name string
RevisionHistoryLimit int

(Computed) The multi cluster app revision history limit (int)

RevisionId string

(Computed) Current revision id for the multi cluster app (string)

Roles List<string>

(Computed) The multi cluster app roles (list)

Targets List<GetMultiClusterAppTarget>

(Computed) The multi cluster app target projects (list)

TemplateName string

(Computed) The multi cluster app template name (string)

TemplateVersion string

(Computed) The multi cluster app template version (string)

TemplateVersionId string

(Computed) The multi cluster app template version ID (string)

UpgradeStrategies List<GetMultiClusterAppUpgradeStrategy>

(Computed) The multi cluster app upgrade strategy (list)

Annotations map[string]interface{}

(Computed) Annotations for multi cluster app object (map)

Answers []GetMultiClusterAppAnswer

(Computed) The multi cluster app answers (list)

CatalogName 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 []GetMultiClusterAppMember

(Computed) The multi cluster app members (list)

Name string
RevisionHistoryLimit int

(Computed) The multi cluster app revision history limit (int)

RevisionId string

(Computed) Current revision id for the multi cluster app (string)

Roles []string

(Computed) The multi cluster app roles (list)

Targets []GetMultiClusterAppTarget

(Computed) The multi cluster app target projects (list)

TemplateName string

(Computed) The multi cluster app template name (string)

TemplateVersion string

(Computed) The multi cluster app template version (string)

TemplateVersionId string

(Computed) The multi cluster app template version ID (string)

UpgradeStrategies []GetMultiClusterAppUpgradeStrategy

(Computed) The multi cluster app upgrade strategy (list)

annotations {[key: string]: any}

(Computed) Annotations for multi cluster app object (map)

answers GetMultiClusterAppAnswer[]

(Computed) The multi cluster app answers (list)

catalogName 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 GetMultiClusterAppMember[]

(Computed) The multi cluster app members (list)

name string
revisionHistoryLimit number

(Computed) The multi cluster app revision history limit (int)

revisionId string

(Computed) Current revision id for the multi cluster app (string)

roles string[]

(Computed) The multi cluster app roles (list)

targets GetMultiClusterAppTarget[]

(Computed) The multi cluster app target projects (list)

templateName string

(Computed) The multi cluster app template name (string)

templateVersion string

(Computed) The multi cluster app template version (string)

templateVersionId string

(Computed) The multi cluster app template version ID (string)

upgradeStrategies GetMultiClusterAppUpgradeStrategy[]

(Computed) The multi cluster app upgrade strategy (list)

annotations Dict[str, Any]

(Computed) Annotations for multi cluster app object (map)

answers List[GetMultiClusterAppAnswer]

(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 Dict[str, Any]

(Computed) Labels for multi cluster app object (map)

members List[GetMultiClusterAppMember]

(Computed) The multi cluster app members (list)

name str
revision_history_limit float

(Computed) The multi cluster app revision history limit (int)

revision_id str

(Computed) Current revision id for the multi cluster app (string)

roles List[str]

(Computed) The multi cluster app roles (list)

targets List[GetMultiClusterAppTarget]

(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_id str

(Computed) The multi cluster app template version ID (string)

upgrade_strategies List[GetMultiClusterAppUpgradeStrategy]

(Computed) The multi cluster app upgrade strategy (list)

Supporting Types

GetMultiClusterAppAnswer

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

ClusterId string
ProjectId string
Values Dictionary<string, object>
ClusterId string
ProjectId string
Values map[string]interface{}
clusterId string
projectId string
values {[key: string]: any}
cluster_id str
project_id str
values Dict[str, Any]

GetMultiClusterAppMember

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

AccessType string
GroupPrincipalId string
UserPrincipalId string
AccessType string
GroupPrincipalId string
UserPrincipalId string
accessType string
groupPrincipalId string
userPrincipalId string
accessType str
group_principal_id str
user_principal_id str

GetMultiClusterAppTarget

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

AppId string
HealthState string
ProjectId string
State string
AppId string
HealthState string
ProjectId string
State string
appId string
healthState string
projectId string
state string
appId str
healthState str
project_id str
state str

GetMultiClusterAppUpgradeStrategy

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

RollingUpdate GetMultiClusterAppUpgradeStrategyRollingUpdateArgs
RollingUpdate GetMultiClusterAppUpgradeStrategyRollingUpdate
rollingUpdate GetMultiClusterAppUpgradeStrategyRollingUpdate
rollingUpdate Dict[GetMultiClusterAppUpgradeStrategyRollingUpdate]

GetMultiClusterAppUpgradeStrategyRollingUpdate

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

BatchSize int
Interval int
BatchSize int
Interval int
batchSize number
interval number
batchSize float
interval float

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.