Rancher 2 v7.1.0 published on Friday, Sep 27, 2024 by Pulumi
rancher2.getMultiClusterApp
Explore with Pulumi AI
Use this data source to retrieve information about a Rancher v2 multi cluster app.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const foo = rancher2.getMultiClusterApp({
name: "foo",
});
import pulumi
import pulumi_rancher2 as rancher2
foo = rancher2.get_multi_cluster_app(name="foo")
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v7/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
var foo = Rancher2.GetMultiClusterApp.Invoke(new()
{
Name = "foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Rancher2Functions;
import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
.name("foo")
.build());
}
}
variables:
foo:
fn::invoke:
Function: rancher2:getMultiClusterApp
Arguments:
name: foo
Using getMultiClusterApp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMultiClusterApp(args: GetMultiClusterAppArgs, opts?: InvokeOptions): Promise<GetMultiClusterAppResult>
function getMultiClusterAppOutput(args: GetMultiClusterAppOutputArgs, opts?: InvokeOptions): Output<GetMultiClusterAppResult>
def get_multi_cluster_app(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMultiClusterAppResult
def get_multi_cluster_app_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMultiClusterAppResult]
func LookupMultiClusterApp(ctx *Context, args *LookupMultiClusterAppArgs, opts ...InvokeOption) (*LookupMultiClusterAppResult, error)
func LookupMultiClusterAppOutput(ctx *Context, args *LookupMultiClusterAppOutputArgs, opts ...InvokeOption) LookupMultiClusterAppResultOutput
> Note: This function is named LookupMultiClusterApp
in the Go SDK.
public static class GetMultiClusterApp
{
public static Task<GetMultiClusterAppResult> InvokeAsync(GetMultiClusterAppArgs args, InvokeOptions? opts = null)
public static Output<GetMultiClusterAppResult> Invoke(GetMultiClusterAppInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMultiClusterAppResult> getMultiClusterApp(GetMultiClusterAppArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rancher2:index/getMultiClusterApp:getMultiClusterApp
arguments:
# arguments dictionary
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 string
- The multi cluster app name (string)
- name str
- The multi cluster app name (string)
- name String
- The multi cluster app name (string)
getMultiClusterApp Result
The following output properties are available:
- Annotations Dictionary<string, string>
- (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, string>
- (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]string
- (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]string
- (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 Map<String,String>
- (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 Map<String,String>
- (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 IntegerLimit - (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 {[key: string]: string}
- (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]: string}
- (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, str]
- (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, str]
- (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)
- annotations Map<String>
- (Computed) Annotations for multi cluster app object (map)
- answers List<Property Map>
- (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>
- (Computed) Labels for multi cluster app object (map)
- members List<Property Map>
- (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 List<String>
- (Computed) The multi cluster app roles (list)
- targets List<Property Map>
- (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<Property Map> - (Computed) The multi cluster app upgrade strategy (list)
Supporting Types
GetMultiClusterAppAnswer
- cluster_
id str - Cluster ID for answer
- project_
id str - Project ID for answer
- values Mapping[str, str]
- Key/values for answer
GetMultiClusterAppMember
- Access
Type string - Member access type: member, owner, read-only
- Group
Principal stringId - Member group principal id
- User
Principal stringId - Member user principal id
- Access
Type string - Member access type: member, owner, read-only
- Group
Principal stringId - Member group principal id
- User
Principal stringId - Member user principal id
- access
Type String - Member access type: member, owner, read-only
- group
Principal StringId - Member group principal id
- user
Principal StringId - Member user principal id
- access
Type string - Member access type: member, owner, read-only
- group
Principal stringId - Member group principal id
- user
Principal stringId - Member user principal id
- access_
type str - Member access type: member, owner, read-only
- group_
principal_ strid - Member group principal id
- user_
principal_ strid - Member user principal id
- access
Type String - Member access type: member, owner, read-only
- group
Principal StringId - Member group principal id
- user
Principal StringId - Member user principal id
GetMultiClusterAppTarget
- App
Id string - App ID for target
- Health
State string - App health state for target
- Project
Id string - Project ID for target
- State string
- App state for target
- App
Id string - App ID for target
- Health
State string - App health state for target
- Project
Id string - Project ID for target
- State string
- App state for target
- app
Id String - App ID for target
- health
State String - App health state for target
- project
Id String - Project ID for target
- state String
- App state for target
- app
Id string - App ID for target
- health
State string - App health state for target
- project
Id string - Project ID for target
- state string
- App state for target
- app_
id str - App ID for target
- health_
state str - App health state for target
- project_
id str - Project ID for target
- state str
- App state for target
- app
Id String - App ID for target
- health
State String - App health state for target
- project
Id String - Project ID for target
- state String
- App state for target
GetMultiClusterAppUpgradeStrategy
- Rolling
Update GetMulti Cluster App Upgrade Strategy Rolling Update - Rolling update for upgrade strategy
- Rolling
Update GetMulti Cluster App Upgrade Strategy Rolling Update - Rolling update for upgrade strategy
- rolling
Update GetMulti Cluster App Upgrade Strategy Rolling Update - Rolling update for upgrade strategy
- rolling
Update GetMulti Cluster App Upgrade Strategy Rolling Update - Rolling update for upgrade strategy
- rolling_
update GetMulti Cluster App Upgrade Strategy Rolling Update - Rolling update for upgrade strategy
- rolling
Update Property Map - Rolling update for upgrade strategy
GetMultiClusterAppUpgradeStrategyRollingUpdate
- batch_
size int - Rolling update batch size
- interval int
- Rolling update interval
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.