1. Packages
  2. Rancher2
  3. API Docs
  4. MultiClusterApp
Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi

rancher2.MultiClusterApp

Explore with Pulumi AI

rancher2 logo
Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi

    Provides a Rancher v2 multi_cluster_app resource. This can be used to deploy multi_cluster_app on Rancher v2.

    This resource can also modify Rancher v2 multi cluster apps in 3 ways:

    • Add/Remove targets: If targets arguments is modified, the multi cluster app targets will be updated.
    • Rollback: If revision_id argument is provided or modified the app will be rolled back accordingly. A new revision_id will be generated in Rancher. It will also generate a non-empty pulumi preview that will require manual .tf file intervention. Use carefully.
    • Update: If any other argument is modified the app will be upgraded.

    Note: In case of multiple resource modification in a row, rollback has preference.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as rancher2 from "@pulumi/rancher2";
    
    // Create a new rancher2 Multi Cluster App
    const foo = new rancher2.MultiClusterApp("foo", {
        answers: [{
            values: {
                ingressHost: "test.xip.io",
            },
        }],
        catalogName: "<catalog_name>",
        roles: ["project-member"],
        targets: [{
            projectId: "<project_id>",
        }],
        templateName: "<template_name>",
        templateVersion: "<template_version>",
    });
    
    import pulumi
    import pulumi_rancher2 as rancher2
    
    # Create a new rancher2 Multi Cluster App
    foo = rancher2.MultiClusterApp("foo",
        answers=[rancher2.MultiClusterAppAnswerArgs(
            values={
                "ingressHost": "test.xip.io",
            },
        )],
        catalog_name="<catalog_name>",
        roles=["project-member"],
        targets=[rancher2.MultiClusterAppTargetArgs(
            project_id="<project_id>",
        )],
        template_name="<template_name>",
        template_version="<template_version>")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rancher2/sdk/v6/go/rancher2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new rancher2 Multi Cluster App
    		_, err := rancher2.NewMultiClusterApp(ctx, "foo", &rancher2.MultiClusterAppArgs{
    			Answers: rancher2.MultiClusterAppAnswerArray{
    				&rancher2.MultiClusterAppAnswerArgs{
    					Values: pulumi.Map{
    						"ingressHost": pulumi.Any("test.xip.io"),
    					},
    				},
    			},
    			CatalogName: pulumi.String("<catalog_name>"),
    			Roles: pulumi.StringArray{
    				pulumi.String("project-member"),
    			},
    			Targets: rancher2.MultiClusterAppTargetArray{
    				&rancher2.MultiClusterAppTargetArgs{
    					ProjectId: pulumi.String("<project_id>"),
    				},
    			},
    			TemplateName:    pulumi.String("<template_name>"),
    			TemplateVersion: pulumi.String("<template_version>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rancher2 = Pulumi.Rancher2;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new rancher2 Multi Cluster App
        var foo = new Rancher2.MultiClusterApp("foo", new()
        {
            Answers = new[]
            {
                new Rancher2.Inputs.MultiClusterAppAnswerArgs
                {
                    Values = 
                    {
                        { "ingressHost", "test.xip.io" },
                    },
                },
            },
            CatalogName = "<catalog_name>",
            Roles = new[]
            {
                "project-member",
            },
            Targets = new[]
            {
                new Rancher2.Inputs.MultiClusterAppTargetArgs
                {
                    ProjectId = "<project_id>",
                },
            },
            TemplateName = "<template_name>",
            TemplateVersion = "<template_version>",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rancher2.MultiClusterApp;
    import com.pulumi.rancher2.MultiClusterAppArgs;
    import com.pulumi.rancher2.inputs.MultiClusterAppAnswerArgs;
    import com.pulumi.rancher2.inputs.MultiClusterAppTargetArgs;
    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) {
            var foo = new MultiClusterApp("foo", MultiClusterAppArgs.builder()        
                .answers(MultiClusterAppAnswerArgs.builder()
                    .values(Map.of("ingressHost", "test.xip.io"))
                    .build())
                .catalogName("<catalog_name>")
                .roles("project-member")
                .targets(MultiClusterAppTargetArgs.builder()
                    .projectId("<project_id>")
                    .build())
                .templateName("<template_name>")
                .templateVersion("<template_version>")
                .build());
    
        }
    }
    
    resources:
      # Create a new rancher2 Multi Cluster App
      foo:
        type: rancher2:MultiClusterApp
        properties:
          answers:
            - values:
                ingressHost: test.xip.io
          catalogName: <catalog_name>
          roles:
            - project-member
          targets:
            - projectId: <project_id>
          templateName: <template_name>
          templateVersion: <template_version>
    
    import * as pulumi from "@pulumi/pulumi";
    import * as rancher2 from "@pulumi/rancher2";
    
    // Create a new rancher2 Multi Cluster App overriding answers
    const foo = new rancher2.MultiClusterApp("foo", {
        answers: [
            {
                values: {
                    ingressHost: "test.xip.io",
                },
            },
            {
                projectId: "<project_id2>",
                values: {
                    ingressHost: "test2.xip.io",
                },
            },
        ],
        catalogName: "<catalog_name>",
        roles: ["project-member"],
        targets: [
            {
                projectId: "<project_id1>",
            },
            {
                projectId: "<project_id2>",
            },
        ],
        templateName: "<template_name>",
        templateVersion: "<template_version>",
    });
    
    import pulumi
    import pulumi_rancher2 as rancher2
    
    # Create a new rancher2 Multi Cluster App overriding answers
    foo = rancher2.MultiClusterApp("foo",
        answers=[
            rancher2.MultiClusterAppAnswerArgs(
                values={
                    "ingressHost": "test.xip.io",
                },
            ),
            rancher2.MultiClusterAppAnswerArgs(
                project_id="<project_id2>",
                values={
                    "ingressHost": "test2.xip.io",
                },
            ),
        ],
        catalog_name="<catalog_name>",
        roles=["project-member"],
        targets=[
            rancher2.MultiClusterAppTargetArgs(
                project_id="<project_id1>",
            ),
            rancher2.MultiClusterAppTargetArgs(
                project_id="<project_id2>",
            ),
        ],
        template_name="<template_name>",
        template_version="<template_version>")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rancher2/sdk/v6/go/rancher2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new rancher2 Multi Cluster App overriding answers
    		_, err := rancher2.NewMultiClusterApp(ctx, "foo", &rancher2.MultiClusterAppArgs{
    			Answers: rancher2.MultiClusterAppAnswerArray{
    				&rancher2.MultiClusterAppAnswerArgs{
    					Values: pulumi.Map{
    						"ingressHost": pulumi.Any("test.xip.io"),
    					},
    				},
    				&rancher2.MultiClusterAppAnswerArgs{
    					ProjectId: pulumi.String("<project_id2>"),
    					Values: pulumi.Map{
    						"ingressHost": pulumi.Any("test2.xip.io"),
    					},
    				},
    			},
    			CatalogName: pulumi.String("<catalog_name>"),
    			Roles: pulumi.StringArray{
    				pulumi.String("project-member"),
    			},
    			Targets: rancher2.MultiClusterAppTargetArray{
    				&rancher2.MultiClusterAppTargetArgs{
    					ProjectId: pulumi.String("<project_id1>"),
    				},
    				&rancher2.MultiClusterAppTargetArgs{
    					ProjectId: pulumi.String("<project_id2>"),
    				},
    			},
    			TemplateName:    pulumi.String("<template_name>"),
    			TemplateVersion: pulumi.String("<template_version>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rancher2 = Pulumi.Rancher2;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new rancher2 Multi Cluster App overriding answers
        var foo = new Rancher2.MultiClusterApp("foo", new()
        {
            Answers = new[]
            {
                new Rancher2.Inputs.MultiClusterAppAnswerArgs
                {
                    Values = 
                    {
                        { "ingressHost", "test.xip.io" },
                    },
                },
                new Rancher2.Inputs.MultiClusterAppAnswerArgs
                {
                    ProjectId = "<project_id2>",
                    Values = 
                    {
                        { "ingressHost", "test2.xip.io" },
                    },
                },
            },
            CatalogName = "<catalog_name>",
            Roles = new[]
            {
                "project-member",
            },
            Targets = new[]
            {
                new Rancher2.Inputs.MultiClusterAppTargetArgs
                {
                    ProjectId = "<project_id1>",
                },
                new Rancher2.Inputs.MultiClusterAppTargetArgs
                {
                    ProjectId = "<project_id2>",
                },
            },
            TemplateName = "<template_name>",
            TemplateVersion = "<template_version>",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rancher2.MultiClusterApp;
    import com.pulumi.rancher2.MultiClusterAppArgs;
    import com.pulumi.rancher2.inputs.MultiClusterAppAnswerArgs;
    import com.pulumi.rancher2.inputs.MultiClusterAppTargetArgs;
    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) {
            var foo = new MultiClusterApp("foo", MultiClusterAppArgs.builder()        
                .answers(            
                    MultiClusterAppAnswerArgs.builder()
                        .values(Map.of("ingressHost", "test.xip.io"))
                        .build(),
                    MultiClusterAppAnswerArgs.builder()
                        .projectId("<project_id2>")
                        .values(Map.of("ingressHost", "test2.xip.io"))
                        .build())
                .catalogName("<catalog_name>")
                .roles("project-member")
                .targets(            
                    MultiClusterAppTargetArgs.builder()
                        .projectId("<project_id1>")
                        .build(),
                    MultiClusterAppTargetArgs.builder()
                        .projectId("<project_id2>")
                        .build())
                .templateName("<template_name>")
                .templateVersion("<template_version>")
                .build());
    
        }
    }
    
    resources:
      # Create a new rancher2 Multi Cluster App overriding answers
      foo:
        type: rancher2:MultiClusterApp
        properties:
          answers:
            - values:
                ingressHost: test.xip.io
            - projectId: <project_id2>
              values:
                ingressHost: test2.xip.io
          catalogName: <catalog_name>
          roles:
            - project-member
          targets:
            - projectId: <project_id1>
            - projectId: <project_id2>
          templateName: <template_name>
          templateVersion: <template_version>
    

    Create MultiClusterApp Resource

    new MultiClusterApp(name: string, args: MultiClusterAppArgs, opts?: CustomResourceOptions);
    @overload
    def MultiClusterApp(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        annotations: Optional[Mapping[str, Any]] = None,
                        answers: Optional[Sequence[MultiClusterAppAnswerArgs]] = None,
                        catalog_name: Optional[str] = None,
                        labels: Optional[Mapping[str, Any]] = None,
                        members: Optional[Sequence[MultiClusterAppMemberArgs]] = None,
                        name: Optional[str] = None,
                        revision_history_limit: Optional[int] = None,
                        revision_id: Optional[str] = None,
                        roles: Optional[Sequence[str]] = None,
                        targets: Optional[Sequence[MultiClusterAppTargetArgs]] = None,
                        template_name: Optional[str] = None,
                        template_version: Optional[str] = None,
                        upgrade_strategy: Optional[MultiClusterAppUpgradeStrategyArgs] = None,
                        wait: Optional[bool] = None)
    @overload
    def MultiClusterApp(resource_name: str,
                        args: MultiClusterAppArgs,
                        opts: Optional[ResourceOptions] = None)
    func NewMultiClusterApp(ctx *Context, name string, args MultiClusterAppArgs, opts ...ResourceOption) (*MultiClusterApp, error)
    public MultiClusterApp(string name, MultiClusterAppArgs args, CustomResourceOptions? opts = null)
    public MultiClusterApp(String name, MultiClusterAppArgs args)
    public MultiClusterApp(String name, MultiClusterAppArgs args, CustomResourceOptions options)
    
    type: rancher2:MultiClusterApp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MultiClusterAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MultiClusterAppArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MultiClusterAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MultiClusterAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MultiClusterAppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MultiClusterApp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MultiClusterApp resource accepts the following input properties:

    CatalogName string
    The multi cluster app catalog name (string)
    Roles List<string>
    The multi cluster app roles (list)
    Targets List<MultiClusterAppTarget>
    The multi cluster app target projects (list)
    TemplateName string
    The multi cluster app template name (string)
    Annotations Dictionary<string, object>
    Annotations for multi cluster app object (map)
    Answers List<MultiClusterAppAnswer>
    The multi cluster app answers (list)
    Labels Dictionary<string, object>
    Labels for multi cluster app object (map)
    Members List<MultiClusterAppMember>
    The multi cluster app answers (list)
    Name string
    The multi cluster app name (string)
    RevisionHistoryLimit int
    The multi cluster app revision history limit. Default 10 (int)
    RevisionId string
    Current revision id for the multi cluster app (string)
    TemplateVersion string
    The multi cluster app template version. Default: latest (string)
    UpgradeStrategy MultiClusterAppUpgradeStrategy
    The multi cluster app upgrade strategy (list MaxItems:1)
    Wait bool
    Wait until the multi cluster app is active. Default true (bool)
    CatalogName string
    The multi cluster app catalog name (string)
    Roles []string
    The multi cluster app roles (list)
    Targets []MultiClusterAppTargetArgs
    The multi cluster app target projects (list)
    TemplateName string
    The multi cluster app template name (string)
    Annotations map[string]interface{}
    Annotations for multi cluster app object (map)
    Answers []MultiClusterAppAnswerArgs
    The multi cluster app answers (list)
    Labels map[string]interface{}
    Labels for multi cluster app object (map)
    Members []MultiClusterAppMemberArgs
    The multi cluster app answers (list)
    Name string
    The multi cluster app name (string)
    RevisionHistoryLimit int
    The multi cluster app revision history limit. Default 10 (int)
    RevisionId string
    Current revision id for the multi cluster app (string)
    TemplateVersion string
    The multi cluster app template version. Default: latest (string)
    UpgradeStrategy MultiClusterAppUpgradeStrategyArgs
    The multi cluster app upgrade strategy (list MaxItems:1)
    Wait bool
    Wait until the multi cluster app is active. Default true (bool)
    catalogName String
    The multi cluster app catalog name (string)
    roles List<String>
    The multi cluster app roles (list)
    targets List<MultiClusterAppTarget>
    The multi cluster app target projects (list)
    templateName String
    The multi cluster app template name (string)
    annotations Map<String,Object>
    Annotations for multi cluster app object (map)
    answers List<MultiClusterAppAnswer>
    The multi cluster app answers (list)
    labels Map<String,Object>
    Labels for multi cluster app object (map)
    members List<MultiClusterAppMember>
    The multi cluster app answers (list)
    name String
    The multi cluster app name (string)
    revisionHistoryLimit Integer
    The multi cluster app revision history limit. Default 10 (int)
    revisionId String
    Current revision id for the multi cluster app (string)
    templateVersion String
    The multi cluster app template version. Default: latest (string)
    upgradeStrategy MultiClusterAppUpgradeStrategy
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait_ Boolean
    Wait until the multi cluster app is active. Default true (bool)
    catalogName string
    The multi cluster app catalog name (string)
    roles string[]
    The multi cluster app roles (list)
    targets MultiClusterAppTarget[]
    The multi cluster app target projects (list)
    templateName string
    The multi cluster app template name (string)
    annotations {[key: string]: any}
    Annotations for multi cluster app object (map)
    answers MultiClusterAppAnswer[]
    The multi cluster app answers (list)
    labels {[key: string]: any}
    Labels for multi cluster app object (map)
    members MultiClusterAppMember[]
    The multi cluster app answers (list)
    name string
    The multi cluster app name (string)
    revisionHistoryLimit number
    The multi cluster app revision history limit. Default 10 (int)
    revisionId string
    Current revision id for the multi cluster app (string)
    templateVersion string
    The multi cluster app template version. Default: latest (string)
    upgradeStrategy MultiClusterAppUpgradeStrategy
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait boolean
    Wait until the multi cluster app is active. Default true (bool)
    catalog_name str
    The multi cluster app catalog name (string)
    roles Sequence[str]
    The multi cluster app roles (list)
    targets Sequence[MultiClusterAppTargetArgs]
    The multi cluster app target projects (list)
    template_name str
    The multi cluster app template name (string)
    annotations Mapping[str, Any]
    Annotations for multi cluster app object (map)
    answers Sequence[MultiClusterAppAnswerArgs]
    The multi cluster app answers (list)
    labels Mapping[str, Any]
    Labels for multi cluster app object (map)
    members Sequence[MultiClusterAppMemberArgs]
    The multi cluster app answers (list)
    name str
    The multi cluster app name (string)
    revision_history_limit int
    The multi cluster app revision history limit. Default 10 (int)
    revision_id str
    Current revision id for the multi cluster app (string)
    template_version str
    The multi cluster app template version. Default: latest (string)
    upgrade_strategy MultiClusterAppUpgradeStrategyArgs
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait bool
    Wait until the multi cluster app is active. Default true (bool)
    catalogName String
    The multi cluster app catalog name (string)
    roles List<String>
    The multi cluster app roles (list)
    targets List<Property Map>
    The multi cluster app target projects (list)
    templateName String
    The multi cluster app template name (string)
    annotations Map<Any>
    Annotations for multi cluster app object (map)
    answers List<Property Map>
    The multi cluster app answers (list)
    labels Map<Any>
    Labels for multi cluster app object (map)
    members List<Property Map>
    The multi cluster app answers (list)
    name String
    The multi cluster app name (string)
    revisionHistoryLimit Number
    The multi cluster app revision history limit. Default 10 (int)
    revisionId String
    Current revision id for the multi cluster app (string)
    templateVersion String
    The multi cluster app template version. Default: latest (string)
    upgradeStrategy Property Map
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait Boolean
    Wait until the multi cluster app is active. Default true (bool)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MultiClusterApp resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateVersionId string
    (Computed) The multi cluster app template version ID (string)
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateVersionId string
    (Computed) The multi cluster app template version ID (string)
    id String
    The provider-assigned unique ID for this managed resource.
    templateVersionId String
    (Computed) The multi cluster app template version ID (string)
    id string
    The provider-assigned unique ID for this managed resource.
    templateVersionId string
    (Computed) The multi cluster app template version ID (string)
    id str
    The provider-assigned unique ID for this managed resource.
    template_version_id str
    (Computed) The multi cluster app template version ID (string)
    id String
    The provider-assigned unique ID for this managed resource.
    templateVersionId String
    (Computed) The multi cluster app template version ID (string)

    Look up Existing MultiClusterApp Resource

    Get an existing MultiClusterApp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MultiClusterAppState, opts?: CustomResourceOptions): MultiClusterApp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, Any]] = None,
            answers: Optional[Sequence[MultiClusterAppAnswerArgs]] = None,
            catalog_name: Optional[str] = None,
            labels: Optional[Mapping[str, Any]] = None,
            members: Optional[Sequence[MultiClusterAppMemberArgs]] = None,
            name: Optional[str] = None,
            revision_history_limit: Optional[int] = None,
            revision_id: Optional[str] = None,
            roles: Optional[Sequence[str]] = None,
            targets: Optional[Sequence[MultiClusterAppTargetArgs]] = None,
            template_name: Optional[str] = None,
            template_version: Optional[str] = None,
            template_version_id: Optional[str] = None,
            upgrade_strategy: Optional[MultiClusterAppUpgradeStrategyArgs] = None,
            wait: Optional[bool] = None) -> MultiClusterApp
    func GetMultiClusterApp(ctx *Context, name string, id IDInput, state *MultiClusterAppState, opts ...ResourceOption) (*MultiClusterApp, error)
    public static MultiClusterApp Get(string name, Input<string> id, MultiClusterAppState? state, CustomResourceOptions? opts = null)
    public static MultiClusterApp get(String name, Output<String> id, MultiClusterAppState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Annotations Dictionary<string, object>
    Annotations for multi cluster app object (map)
    Answers List<MultiClusterAppAnswer>
    The multi cluster app answers (list)
    CatalogName string
    The multi cluster app catalog name (string)
    Labels Dictionary<string, object>
    Labels for multi cluster app object (map)
    Members List<MultiClusterAppMember>
    The multi cluster app answers (list)
    Name string
    The multi cluster app name (string)
    RevisionHistoryLimit int
    The multi cluster app revision history limit. Default 10 (int)
    RevisionId string
    Current revision id for the multi cluster app (string)
    Roles List<string>
    The multi cluster app roles (list)
    Targets List<MultiClusterAppTarget>
    The multi cluster app target projects (list)
    TemplateName string
    The multi cluster app template name (string)
    TemplateVersion string
    The multi cluster app template version. Default: latest (string)
    TemplateVersionId string
    (Computed) The multi cluster app template version ID (string)
    UpgradeStrategy MultiClusterAppUpgradeStrategy
    The multi cluster app upgrade strategy (list MaxItems:1)
    Wait bool
    Wait until the multi cluster app is active. Default true (bool)
    Annotations map[string]interface{}
    Annotations for multi cluster app object (map)
    Answers []MultiClusterAppAnswerArgs
    The multi cluster app answers (list)
    CatalogName string
    The multi cluster app catalog name (string)
    Labels map[string]interface{}
    Labels for multi cluster app object (map)
    Members []MultiClusterAppMemberArgs
    The multi cluster app answers (list)
    Name string
    The multi cluster app name (string)
    RevisionHistoryLimit int
    The multi cluster app revision history limit. Default 10 (int)
    RevisionId string
    Current revision id for the multi cluster app (string)
    Roles []string
    The multi cluster app roles (list)
    Targets []MultiClusterAppTargetArgs
    The multi cluster app target projects (list)
    TemplateName string
    The multi cluster app template name (string)
    TemplateVersion string
    The multi cluster app template version. Default: latest (string)
    TemplateVersionId string
    (Computed) The multi cluster app template version ID (string)
    UpgradeStrategy MultiClusterAppUpgradeStrategyArgs
    The multi cluster app upgrade strategy (list MaxItems:1)
    Wait bool
    Wait until the multi cluster app is active. Default true (bool)
    annotations Map<String,Object>
    Annotations for multi cluster app object (map)
    answers List<MultiClusterAppAnswer>
    The multi cluster app answers (list)
    catalogName String
    The multi cluster app catalog name (string)
    labels Map<String,Object>
    Labels for multi cluster app object (map)
    members List<MultiClusterAppMember>
    The multi cluster app answers (list)
    name String
    The multi cluster app name (string)
    revisionHistoryLimit Integer
    The multi cluster app revision history limit. Default 10 (int)
    revisionId String
    Current revision id for the multi cluster app (string)
    roles List<String>
    The multi cluster app roles (list)
    targets List<MultiClusterAppTarget>
    The multi cluster app target projects (list)
    templateName String
    The multi cluster app template name (string)
    templateVersion String
    The multi cluster app template version. Default: latest (string)
    templateVersionId String
    (Computed) The multi cluster app template version ID (string)
    upgradeStrategy MultiClusterAppUpgradeStrategy
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait_ Boolean
    Wait until the multi cluster app is active. Default true (bool)
    annotations {[key: string]: any}
    Annotations for multi cluster app object (map)
    answers MultiClusterAppAnswer[]
    The multi cluster app answers (list)
    catalogName string
    The multi cluster app catalog name (string)
    labels {[key: string]: any}
    Labels for multi cluster app object (map)
    members MultiClusterAppMember[]
    The multi cluster app answers (list)
    name string
    The multi cluster app name (string)
    revisionHistoryLimit number
    The multi cluster app revision history limit. Default 10 (int)
    revisionId string
    Current revision id for the multi cluster app (string)
    roles string[]
    The multi cluster app roles (list)
    targets MultiClusterAppTarget[]
    The multi cluster app target projects (list)
    templateName string
    The multi cluster app template name (string)
    templateVersion string
    The multi cluster app template version. Default: latest (string)
    templateVersionId string
    (Computed) The multi cluster app template version ID (string)
    upgradeStrategy MultiClusterAppUpgradeStrategy
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait boolean
    Wait until the multi cluster app is active. Default true (bool)
    annotations Mapping[str, Any]
    Annotations for multi cluster app object (map)
    answers Sequence[MultiClusterAppAnswerArgs]
    The multi cluster app answers (list)
    catalog_name str
    The multi cluster app catalog name (string)
    labels Mapping[str, Any]
    Labels for multi cluster app object (map)
    members Sequence[MultiClusterAppMemberArgs]
    The multi cluster app answers (list)
    name str
    The multi cluster app name (string)
    revision_history_limit int
    The multi cluster app revision history limit. Default 10 (int)
    revision_id str
    Current revision id for the multi cluster app (string)
    roles Sequence[str]
    The multi cluster app roles (list)
    targets Sequence[MultiClusterAppTargetArgs]
    The multi cluster app target projects (list)
    template_name str
    The multi cluster app template name (string)
    template_version str
    The multi cluster app template version. Default: latest (string)
    template_version_id str
    (Computed) The multi cluster app template version ID (string)
    upgrade_strategy MultiClusterAppUpgradeStrategyArgs
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait bool
    Wait until the multi cluster app is active. Default true (bool)
    annotations Map<Any>
    Annotations for multi cluster app object (map)
    answers List<Property Map>
    The multi cluster app answers (list)
    catalogName String
    The multi cluster app catalog name (string)
    labels Map<Any>
    Labels for multi cluster app object (map)
    members List<Property Map>
    The multi cluster app answers (list)
    name String
    The multi cluster app name (string)
    revisionHistoryLimit Number
    The multi cluster app revision history limit. Default 10 (int)
    revisionId String
    Current revision id for the multi cluster app (string)
    roles List<String>
    The multi cluster app roles (list)
    targets List<Property Map>
    The multi cluster app target projects (list)
    templateName String
    The multi cluster app template name (string)
    templateVersion String
    The multi cluster app template version. Default: latest (string)
    templateVersionId String
    (Computed) The multi cluster app template version ID (string)
    upgradeStrategy Property Map
    The multi cluster app upgrade strategy (list MaxItems:1)
    wait Boolean
    Wait until the multi cluster app is active. Default true (bool)

    Supporting Types

    MultiClusterAppAnswer, MultiClusterAppAnswerArgs

    ClusterId string
    Cluster ID for answer (string)
    ProjectId string
    Project ID for target (string)
    Values Dictionary<string, object>
    Key/values for answer (map)
    ClusterId string
    Cluster ID for answer (string)
    ProjectId string
    Project ID for target (string)
    Values map[string]interface{}
    Key/values for answer (map)
    clusterId String
    Cluster ID for answer (string)
    projectId String
    Project ID for target (string)
    values Map<String,Object>
    Key/values for answer (map)
    clusterId string
    Cluster ID for answer (string)
    projectId string
    Project ID for target (string)
    values {[key: string]: any}
    Key/values for answer (map)
    cluster_id str
    Cluster ID for answer (string)
    project_id str
    Project ID for target (string)
    values Mapping[str, Any]
    Key/values for answer (map)
    clusterId String
    Cluster ID for answer (string)
    projectId String
    Project ID for target (string)
    values Map<Any>
    Key/values for answer (map)

    MultiClusterAppMember, MultiClusterAppMemberArgs

    AccessType string
    Member access type. Valid values: ["member" | "owner" | "read-only"] (string)
    GroupPrincipalId string
    Member group principal id (string)
    UserPrincipalId string
    Member user principal id (string)
    AccessType string
    Member access type. Valid values: ["member" | "owner" | "read-only"] (string)
    GroupPrincipalId string
    Member group principal id (string)
    UserPrincipalId string
    Member user principal id (string)
    accessType String
    Member access type. Valid values: ["member" | "owner" | "read-only"] (string)
    groupPrincipalId String
    Member group principal id (string)
    userPrincipalId String
    Member user principal id (string)
    accessType string
    Member access type. Valid values: ["member" | "owner" | "read-only"] (string)
    groupPrincipalId string
    Member group principal id (string)
    userPrincipalId string
    Member user principal id (string)
    access_type str
    Member access type. Valid values: ["member" | "owner" | "read-only"] (string)
    group_principal_id str
    Member group principal id (string)
    user_principal_id str
    Member user principal id (string)
    accessType String
    Member access type. Valid values: ["member" | "owner" | "read-only"] (string)
    groupPrincipalId String
    Member group principal id (string)
    userPrincipalId String
    Member user principal id (string)

    MultiClusterAppTarget, MultiClusterAppTargetArgs

    ProjectId string
    Project ID for target (string)
    AppId string
    App ID for target (string)
    HealthState string
    App health state for target (string)
    State string
    App state for target (string)
    ProjectId string
    Project ID for target (string)
    AppId string
    App ID for target (string)
    HealthState string
    App health state for target (string)
    State string
    App state for target (string)
    projectId String
    Project ID for target (string)
    appId String
    App ID for target (string)
    healthState String
    App health state for target (string)
    state String
    App state for target (string)
    projectId string
    Project ID for target (string)
    appId string
    App ID for target (string)
    healthState string
    App health state for target (string)
    state string
    App state for target (string)
    project_id str
    Project ID for target (string)
    app_id str
    App ID for target (string)
    health_state str
    App health state for target (string)
    state str
    App state for target (string)
    projectId String
    Project ID for target (string)
    appId String
    App ID for target (string)
    healthState String
    App health state for target (string)
    state String
    App state for target (string)

    MultiClusterAppUpgradeStrategy, MultiClusterAppUpgradeStrategyArgs

    RollingUpdate MultiClusterAppUpgradeStrategyRollingUpdate
    Upgrade strategy rolling update (list MaxItems:1)
    RollingUpdate MultiClusterAppUpgradeStrategyRollingUpdate
    Upgrade strategy rolling update (list MaxItems:1)
    rollingUpdate MultiClusterAppUpgradeStrategyRollingUpdate
    Upgrade strategy rolling update (list MaxItems:1)
    rollingUpdate MultiClusterAppUpgradeStrategyRollingUpdate
    Upgrade strategy rolling update (list MaxItems:1)
    rolling_update MultiClusterAppUpgradeStrategyRollingUpdate
    Upgrade strategy rolling update (list MaxItems:1)
    rollingUpdate Property Map
    Upgrade strategy rolling update (list MaxItems:1)

    MultiClusterAppUpgradeStrategyRollingUpdate, MultiClusterAppUpgradeStrategyRollingUpdateArgs

    BatchSize int
    Rolling update batch size. Default 1 (int)
    Interval int
    Rolling update interval. Default 1 (int)
    BatchSize int
    Rolling update batch size. Default 1 (int)
    Interval int
    Rolling update interval. Default 1 (int)
    batchSize Integer
    Rolling update batch size. Default 1 (int)
    interval Integer
    Rolling update interval. Default 1 (int)
    batchSize number
    Rolling update batch size. Default 1 (int)
    interval number
    Rolling update interval. Default 1 (int)
    batch_size int
    Rolling update batch size. Default 1 (int)
    interval int
    Rolling update interval. Default 1 (int)
    batchSize Number
    Rolling update batch size. Default 1 (int)
    interval Number
    Rolling update interval. Default 1 (int)

    Import

    Multi cluster app can be imported using the multi cluster app ID in the format <multi_cluster_app_name>

    $ pulumi import rancher2:index/multiClusterApp:MultiClusterApp foo &lt;MULTI_CLUSTER_APP_ID&gt;
    

    Package Details

    Repository
    Rancher2 pulumi/pulumi-rancher2
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rancher2 Terraform Provider.
    rancher2 logo
    Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi