From 9d617df07258d37433c426367265687283258e89 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Fri, 13 Dec 2024 17:42:07 +0000 Subject: [PATCH] make build_sdks --- sdk/dotnet/GetApp.cs | 26 + sdk/dotnet/GetCatalog.cs | 24 + sdk/dotnet/GetCatalogV2.cs | 6 + sdk/dotnet/GetCertificate.cs | 49 + sdk/dotnet/GetCloudCredential.cs | 24 + sdk/dotnet/GetCluster.cs | 24 + sdk/dotnet/GetClusterDriver.cs | 24 + sdk/dotnet/GetClusterRoleTemplateBinding.cs | 25 + sdk/dotnet/GetClusterTemplate.cs | 26 + sdk/dotnet/GetClusterV2.cs | 25 + sdk/dotnet/GetConfigMapV2.cs | 6 + sdk/dotnet/GetEtcdBackup.cs | 25 + sdk/dotnet/GetGlobalRole.cs | 24 + sdk/dotnet/GetGlobalRoleBinding.cs | 25 + sdk/dotnet/GetMultiClusterApp.cs | 24 + sdk/dotnet/GetNamespace.cs | 25 + sdk/dotnet/GetNodeDriver.cs | 24 + sdk/dotnet/GetNodePool.cs | 25 + sdk/dotnet/GetNodeTemplate.cs | 24 + ...dSecurityAdmissionConfigurationTemplate.cs | 3 + sdk/dotnet/GetPrincipal.cs | 24 + sdk/dotnet/GetProject.cs | 6 + sdk/dotnet/GetProjectRoleTemplateBinding.cs | 25 + sdk/dotnet/GetRegistry.cs | 49 + sdk/dotnet/GetRoleTemplate.cs | 24 + sdk/dotnet/GetSecret.cs | 49 + sdk/dotnet/GetSecretV2.cs | 6 + sdk/dotnet/GetSetting.cs | 24 + sdk/dotnet/GetStorageClassV2.cs | 6 + sdk/dotnet/GetUser.cs | 24 + sdk/dotnet/Utilities.cs | 7 + sdk/go/rancher2/getApp.go | 16 +- sdk/go/rancher2/getCatalog.go | 16 +- sdk/go/rancher2/getCatalogV2.go | 16 +- sdk/go/rancher2/getCertificate.go | 16 +- sdk/go/rancher2/getCloudCredential.go | 16 +- sdk/go/rancher2/getCluster.go | 16 +- sdk/go/rancher2/getClusterDriver.go | 16 +- .../rancher2/getClusterRoleTemplateBinding.go | 16 +- sdk/go/rancher2/getClusterTemplate.go | 16 +- sdk/go/rancher2/getClusterV2.go | 16 +- sdk/go/rancher2/getConfigMapV2.go | 16 +- sdk/go/rancher2/getEtcdBackup.go | 16 +- sdk/go/rancher2/getGlobalRole.go | 16 +- sdk/go/rancher2/getGlobalRoleBinding.go | 16 +- sdk/go/rancher2/getMultiClusterApp.go | 16 +- sdk/go/rancher2/getNamespace.go | 16 +- sdk/go/rancher2/getNodeDriver.go | 16 +- sdk/go/rancher2/getNodePool.go | 16 +- sdk/go/rancher2/getNodeTemplate.go | 16 +- ...dSecurityAdmissionConfigurationTemplate.go | 16 +- sdk/go/rancher2/getPrincipal.go | 16 +- sdk/go/rancher2/getProject.go | 16 +- .../rancher2/getProjectRoleTemplateBinding.go | 16 +- sdk/go/rancher2/getRegistry.go | 16 +- sdk/go/rancher2/getRoleTemplate.go | 16 +- sdk/go/rancher2/getSecret.go | 16 +- sdk/go/rancher2/getSecretV2.go | 16 +- sdk/go/rancher2/getSetting.go | 16 +- sdk/go/rancher2/getStorageClassV2.go | 16 +- sdk/go/rancher2/getUser.go | 16 +- sdk/java/build.gradle | 2 +- .../pulumi/rancher2/Rancher2Functions.java | 1688 ++++++++++++++--- .../java/com/pulumi/rancher2/Utilities.java | 31 +- sdk/nodejs/package.json | 2 +- sdk/python/pyproject.toml | 4 +- 66 files changed, 2254 insertions(+), 655 deletions(-) diff --git a/sdk/dotnet/GetApp.cs b/sdk/dotnet/GetApp.cs index c5bcc8e95..2c1654e6b 100644 --- a/sdk/dotnet/GetApp.cs +++ b/sdk/dotnet/GetApp.cs @@ -62,6 +62,32 @@ public static Task InvokeAsync(GetAppArgs args, InvokeOptions? opt /// public static Output Invoke(GetAppInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 app. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var rancher2 = Rancher2.GetApp.Invoke(new() + /// { + /// Name = "foo", + /// ProjectId = "<project_id>", + /// TargetNamespace = "<namespace_name>", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAppInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetCatalog.cs b/sdk/dotnet/GetCatalog.cs index 8327f075c..a00e96a5f 100644 --- a/sdk/dotnet/GetCatalog.cs +++ b/sdk/dotnet/GetCatalog.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetCatalogArgs args, InvokeOpti /// public static Output Invoke(GetCatalogInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalog:getCatalog", args ?? new GetCatalogInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 catalog. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var library = Rancher2.GetCatalog.Invoke(new() + /// { + /// Name = "catalog", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetCatalogInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalog:getCatalog", args ?? new GetCatalogInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetCatalogV2.cs b/sdk/dotnet/GetCatalogV2.cs index 979b36be1..6851709af 100644 --- a/sdk/dotnet/GetCatalogV2.cs +++ b/sdk/dotnet/GetCatalogV2.cs @@ -22,6 +22,12 @@ public static Task InvokeAsync(GetCatalogV2Args args, Invoke /// public static Output Invoke(GetCatalogV2InvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalogV2:getCatalogV2", args ?? new GetCatalogV2InvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher2 catalog v2. Catalog v2 resource is available at Rancher v2.5.x and above. + /// + public static Output Invoke(GetCatalogV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalogV2:getCatalogV2", args ?? new GetCatalogV2InvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetCertificate.cs b/sdk/dotnet/GetCertificate.cs index 3c74d8644..9f7db6b13 100644 --- a/sdk/dotnet/GetCertificate.cs +++ b/sdk/dotnet/GetCertificate.cs @@ -108,6 +108,55 @@ public static Task InvokeAsync(GetCertificateArgs args, In /// public static Output Invoke(GetCertificateInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCertificate:getCertificate", args ?? new GetCertificateInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 certificate. + /// + /// Depending of the availability, there are 2 types of Rancher v2 certificates: + /// - Project certificate: Available to all namespaces in the `project_id` + /// - Namespaced certificate: Available to just `namespace_id` in the `project_id` + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Retrieve a rancher2 Project Certificate + /// var foo = Rancher2.GetCertificate.Invoke(new() + /// { + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); + /// ``` + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Retrieve a rancher2 Namespaced Certificate + /// var foo = Rancher2.GetCertificate.Invoke(new() + /// { + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// NamespaceId = "<namespace_id>", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetCertificateInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCertificate:getCertificate", args ?? new GetCertificateInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetCloudCredential.cs b/sdk/dotnet/GetCloudCredential.cs index d118d251b..11c3aa950 100644 --- a/sdk/dotnet/GetCloudCredential.cs +++ b/sdk/dotnet/GetCloudCredential.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetCloudCredentialArgs /// public static Output Invoke(GetCloudCredentialInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCloudCredential:getCloudCredential", args ?? new GetCloudCredentialInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 Cloud Credential. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = Rancher2.GetCloudCredential.Invoke(new() + /// { + /// Name = "test", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetCloudCredentialInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCloudCredential:getCloudCredential", args ?? new GetCloudCredentialInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetCluster.cs b/sdk/dotnet/GetCluster.cs index 20c73e3c8..d6c925af6 100644 --- a/sdk/dotnet/GetCluster.cs +++ b/sdk/dotnet/GetCluster.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetClusterArgs args, InvokeOpti /// public static Output Invoke(GetClusterInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCluster:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 cluster. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo_custom = Rancher2.GetCluster.Invoke(new() + /// { + /// Name = "foo-custom", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetClusterInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCluster:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetClusterDriver.cs b/sdk/dotnet/GetClusterDriver.cs index 218afb975..427332788 100644 --- a/sdk/dotnet/GetClusterDriver.cs +++ b/sdk/dotnet/GetClusterDriver.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetClusterDriverArgs args /// public static Output Invoke(GetClusterDriverInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterDriver:getClusterDriver", args ?? new GetClusterDriverInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetClusterDriver.Invoke(new() + /// { + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetClusterDriverInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterDriver:getClusterDriver", args ?? new GetClusterDriverInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetClusterRoleTemplateBinding.cs b/sdk/dotnet/GetClusterRoleTemplateBinding.cs index 43066a976..ed15f8203 100644 --- a/sdk/dotnet/GetClusterRoleTemplateBinding.cs +++ b/sdk/dotnet/GetClusterRoleTemplateBinding.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetClusterRo /// public static Output Invoke(GetClusterRoleTemplateBindingInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args ?? new GetClusterRoleTemplateBindingInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 cluster role template binding. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetClusterRoleTemplateBinding.Invoke(new() + /// { + /// Name = "foo", + /// ClusterId = "foo_id", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetClusterRoleTemplateBindingInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args ?? new GetClusterRoleTemplateBindingInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetClusterTemplate.cs b/sdk/dotnet/GetClusterTemplate.cs index ee14b9661..a5e61798c 100644 --- a/sdk/dotnet/GetClusterTemplate.cs +++ b/sdk/dotnet/GetClusterTemplate.cs @@ -62,6 +62,32 @@ public static Task InvokeAsync(GetClusterTemplateArgs /// public static Output Invoke(GetClusterTemplateInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterTemplate:getClusterTemplate", args ?? new GetClusterTemplateInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 cluster template. + /// + /// Cluster Templates are available from Rancher v2.3.x and above. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetClusterTemplate.Invoke(new() + /// { + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetClusterTemplateInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterTemplate:getClusterTemplate", args ?? new GetClusterTemplateInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetClusterV2.cs b/sdk/dotnet/GetClusterV2.cs index 14c26322d..ec66c53da 100644 --- a/sdk/dotnet/GetClusterV2.cs +++ b/sdk/dotnet/GetClusterV2.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetClusterV2Args args, Invoke /// public static Output Invoke(GetClusterV2InvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterV2:getClusterV2", args ?? new GetClusterV2InvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 cluster. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetClusterV2.Invoke(new() + /// { + /// Name = "foo", + /// FleetNamespace = "fleet-ns", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetClusterV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterV2:getClusterV2", args ?? new GetClusterV2InvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetConfigMapV2.cs b/sdk/dotnet/GetConfigMapV2.cs index e60228c5c..249a9019e 100644 --- a/sdk/dotnet/GetConfigMapV2.cs +++ b/sdk/dotnet/GetConfigMapV2.cs @@ -22,6 +22,12 @@ public static Task InvokeAsync(GetConfigMapV2Args args, In /// public static Output Invoke(GetConfigMapV2InvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getConfigMapV2:getConfigMapV2", args ?? new GetConfigMapV2InvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. + /// + public static Output Invoke(GetConfigMapV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getConfigMapV2:getConfigMapV2", args ?? new GetConfigMapV2InvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetEtcdBackup.cs b/sdk/dotnet/GetEtcdBackup.cs index bc1aff3f4..ae3a9024a 100644 --- a/sdk/dotnet/GetEtcdBackup.cs +++ b/sdk/dotnet/GetEtcdBackup.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetEtcdBackupArgs args, Invo /// public static Output Invoke(GetEtcdBackupInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getEtcdBackup:getEtcdBackup", args ?? new GetEtcdBackupInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 etcd backup. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetEtcdBackup.Invoke(new() + /// { + /// ClusterId = "<CLUSTER_ID>", + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetEtcdBackupInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getEtcdBackup:getEtcdBackup", args ?? new GetEtcdBackupInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetGlobalRole.cs b/sdk/dotnet/GetGlobalRole.cs index 44b1adfaf..920b7e0ee 100644 --- a/sdk/dotnet/GetGlobalRole.cs +++ b/sdk/dotnet/GetGlobalRole.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetGlobalRoleArgs args, Invo /// public static Output Invoke(GetGlobalRoleInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRole:getGlobalRole", args ?? new GetGlobalRoleInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 global role resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetGlobalRole.Invoke(new() + /// { + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetGlobalRoleInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRole:getGlobalRole", args ?? new GetGlobalRoleInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetGlobalRoleBinding.cs b/sdk/dotnet/GetGlobalRoleBinding.cs index 66e1f1f58..7025f84a7 100644 --- a/sdk/dotnet/GetGlobalRoleBinding.cs +++ b/sdk/dotnet/GetGlobalRoleBinding.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetGlobalRoleBindingA /// public static Output Invoke(GetGlobalRoleBindingInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args ?? new GetGlobalRoleBindingInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 global role binding. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetGlobalRoleBinding.Invoke(new() + /// { + /// Name = "foo", + /// GlobalRoleId = "foo_id", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetGlobalRoleBindingInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args ?? new GetGlobalRoleBindingInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetMultiClusterApp.cs b/sdk/dotnet/GetMultiClusterApp.cs index a9cb0872e..e3ec33e3e 100644 --- a/sdk/dotnet/GetMultiClusterApp.cs +++ b/sdk/dotnet/GetMultiClusterApp.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetMultiClusterAppArgs /// public static Output Invoke(GetMultiClusterAppInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", args ?? new GetMultiClusterAppInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 multi cluster app. + /// + /// ## Example Usage + /// + /// ```csharp + /// 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", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetMultiClusterAppInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", args ?? new GetMultiClusterAppInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetNamespace.cs b/sdk/dotnet/GetNamespace.cs index cc7e9103c..e327d6a31 100644 --- a/sdk/dotnet/GetNamespace.cs +++ b/sdk/dotnet/GetNamespace.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetNamespaceArgs args, Invoke /// public static Output Invoke(GetNamespaceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNamespace:getNamespace", args ?? new GetNamespaceInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 namespace. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetNamespace.Invoke(new() + /// { + /// Name = "foo", + /// ProjectId = foo_custom.DefaultProjectId, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetNamespaceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNamespace:getNamespace", args ?? new GetNamespaceInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetNodeDriver.cs b/sdk/dotnet/GetNodeDriver.cs index 96bb16879..3d5dcc959 100644 --- a/sdk/dotnet/GetNodeDriver.cs +++ b/sdk/dotnet/GetNodeDriver.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetNodeDriverArgs args, Invo /// public static Output Invoke(GetNodeDriverInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeDriver:getNodeDriver", args ?? new GetNodeDriverInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 Node Driver resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetNodeDriver.Invoke(new() + /// { + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetNodeDriverInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeDriver:getNodeDriver", args ?? new GetNodeDriverInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetNodePool.cs b/sdk/dotnet/GetNodePool.cs index 849d6f908..09d2be983 100644 --- a/sdk/dotnet/GetNodePool.cs +++ b/sdk/dotnet/GetNodePool.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetNodePoolArgs args, InvokeOp /// public static Output Invoke(GetNodePoolInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodePool:getNodePool", args ?? new GetNodePoolInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 Node Pool resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetNodePool.Invoke(new() + /// { + /// ClusterId = foo_custom.Id, + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetNodePoolInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodePool:getNodePool", args ?? new GetNodePoolInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetNodeTemplate.cs b/sdk/dotnet/GetNodeTemplate.cs index 201b44e51..a6cc37eb1 100644 --- a/sdk/dotnet/GetNodeTemplate.cs +++ b/sdk/dotnet/GetNodeTemplate.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetNodeTemplateArgs args, /// public static Output Invoke(GetNodeTemplateInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeTemplate:getNodeTemplate", args ?? new GetNodeTemplateInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 Node Template resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetNodeTemplate.Invoke(new() + /// { + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetNodeTemplateInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeTemplate:getNodeTemplate", args ?? new GetNodeTemplateInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetPodSecurityAdmissionConfigurationTemplate.cs b/sdk/dotnet/GetPodSecurityAdmissionConfigurationTemplate.cs index c1a29ec63..b112390ef 100644 --- a/sdk/dotnet/GetPodSecurityAdmissionConfigurationTemplate.cs +++ b/sdk/dotnet/GetPodSecurityAdmissionConfigurationTemplate.cs @@ -16,6 +16,9 @@ public static Task InvokeAsy public static Output Invoke(GetPodSecurityAdmissionConfigurationTemplateInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", args ?? new GetPodSecurityAdmissionConfigurationTemplateInvokeArgs(), options.WithDefaults()); + + public static Output Invoke(GetPodSecurityAdmissionConfigurationTemplateInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", args ?? new GetPodSecurityAdmissionConfigurationTemplateInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetPrincipal.cs b/sdk/dotnet/GetPrincipal.cs index d199e5ec0..046b69cc9 100644 --- a/sdk/dotnet/GetPrincipal.cs +++ b/sdk/dotnet/GetPrincipal.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetPrincipalArgs args, Invoke /// public static Output Invoke(GetPrincipalInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getPrincipal:getPrincipal", args ?? new GetPrincipalInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 Principal resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetPrincipal.Invoke(new() + /// { + /// Name = "user@example.com", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPrincipalInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getPrincipal:getPrincipal", args ?? new GetPrincipalInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetProject.cs b/sdk/dotnet/GetProject.cs index 1c735a033..98b6533f4 100644 --- a/sdk/dotnet/GetProject.cs +++ b/sdk/dotnet/GetProject.cs @@ -22,6 +22,12 @@ public static Task InvokeAsync(GetProjectArgs args, InvokeOpti /// public static Output Invoke(GetProjectInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); + + /// + /// ## Example Usage + /// + public static Output Invoke(GetProjectInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetProjectRoleTemplateBinding.cs b/sdk/dotnet/GetProjectRoleTemplateBinding.cs index 98839b051..ec76968d5 100644 --- a/sdk/dotnet/GetProjectRoleTemplateBinding.cs +++ b/sdk/dotnet/GetProjectRoleTemplateBinding.cs @@ -60,6 +60,31 @@ public static Task InvokeAsync(GetProjectRo /// public static Output Invoke(GetProjectRoleTemplateBindingInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args ?? new GetProjectRoleTemplateBindingInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 project role template binding. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetProjectRoleTemplateBinding.Invoke(new() + /// { + /// Name = "foo", + /// ProjectId = "foo_id", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetProjectRoleTemplateBindingInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args ?? new GetProjectRoleTemplateBindingInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetRegistry.cs b/sdk/dotnet/GetRegistry.cs index 093aaf11c..8b45bf8aa 100644 --- a/sdk/dotnet/GetRegistry.cs +++ b/sdk/dotnet/GetRegistry.cs @@ -108,6 +108,55 @@ public static Task InvokeAsync(GetRegistryArgs args, InvokeOp /// public static Output Invoke(GetRegistryInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRegistry:getRegistry", args ?? new GetRegistryInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 docker registry. + /// + /// Depending of the availability, there are 2 types of Rancher v2 docker registries: + /// - Project registry: Available to all namespaces in the `project_id` + /// - Namespaced registry: Available to just `namespace_id` in the `project_id` + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Retrieve a rancher2 Project Registry + /// var foo = Rancher2.GetRegistry.Invoke(new() + /// { + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); + /// ``` + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Retrieve a rancher2 Namespaced Registry + /// var foo = Rancher2.GetRegistry.Invoke(new() + /// { + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// NamespaceId = "<namespace_id>", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRegistryInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRegistry:getRegistry", args ?? new GetRegistryInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetRoleTemplate.cs b/sdk/dotnet/GetRoleTemplate.cs index 2176a9d9e..931a6dc5b 100644 --- a/sdk/dotnet/GetRoleTemplate.cs +++ b/sdk/dotnet/GetRoleTemplate.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetRoleTemplateArgs args, /// public static Output Invoke(GetRoleTemplateInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRoleTemplate:getRoleTemplate", args ?? new GetRoleTemplateInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 role template resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetRoleTemplate.Invoke(new() + /// { + /// Name = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetRoleTemplateInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRoleTemplate:getRoleTemplate", args ?? new GetRoleTemplateInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetSecret.cs b/sdk/dotnet/GetSecret.cs index 1a65b8869..ddb42b422 100644 --- a/sdk/dotnet/GetSecret.cs +++ b/sdk/dotnet/GetSecret.cs @@ -108,6 +108,55 @@ public static Task InvokeAsync(GetSecretArgs args, InvokeOption /// public static Output Invoke(GetSecretInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecret:getSecret", args ?? new GetSecretInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 secret. + /// + /// Depending of the availability, there are 2 types of Rancher v2 secrets: + /// - Project secret: Available to all namespaces in the `project_id` + /// - Namespaced secret: Available to just `namespace_id` in the `project_id` + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Retrieve a rancher2 Project Secret + /// var foo = Rancher2.GetSecret.Invoke(new() + /// { + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); + /// ``` + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Retrieve a rancher2 Namespaced Secret + /// var foo = Rancher2.GetSecret.Invoke(new() + /// { + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// NamespaceId = "<namespace_id>", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSecretInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecret:getSecret", args ?? new GetSecretInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetSecretV2.cs b/sdk/dotnet/GetSecretV2.cs index 52f5ce3d7..a30e90890 100644 --- a/sdk/dotnet/GetSecretV2.cs +++ b/sdk/dotnet/GetSecretV2.cs @@ -22,6 +22,12 @@ public static Task InvokeAsync(GetSecretV2Args args, InvokeOp /// public static Output Invoke(GetSecretV2InvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecretV2:getSecretV2", args ?? new GetSecretV2InvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher2 secret v2. Secret v2 resource is available at Rancher v2.5.x and above. + /// + public static Output Invoke(GetSecretV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecretV2:getSecretV2", args ?? new GetSecretV2InvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetSetting.cs b/sdk/dotnet/GetSetting.cs index 6d4003c01..982154fd5 100644 --- a/sdk/dotnet/GetSetting.cs +++ b/sdk/dotnet/GetSetting.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetSettingArgs args, InvokeOpti /// public static Output Invoke(GetSettingInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSetting:getSetting", args ?? new GetSettingInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 setting. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var server_image = Rancher2.GetSetting.Invoke(new() + /// { + /// Name = "server-image", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSettingInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSetting:getSetting", args ?? new GetSettingInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetStorageClassV2.cs b/sdk/dotnet/GetStorageClassV2.cs index 06dae38b9..a989aa007 100644 --- a/sdk/dotnet/GetStorageClassV2.cs +++ b/sdk/dotnet/GetStorageClassV2.cs @@ -22,6 +22,12 @@ public static Task InvokeAsync(GetStorageClassV2Args ar /// public static Output Invoke(GetStorageClassV2InvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getStorageClassV2:getStorageClassV2", args ?? new GetStorageClassV2InvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher2 Storage Class v2. Storage Class v2 resource is available at Rancher v2.5.x and above. + /// + public static Output Invoke(GetStorageClassV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getStorageClassV2:getStorageClassV2", args ?? new GetStorageClassV2InvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetUser.cs b/sdk/dotnet/GetUser.cs index 8b24a6b02..54f54ba2c 100644 --- a/sdk/dotnet/GetUser.cs +++ b/sdk/dotnet/GetUser.cs @@ -58,6 +58,30 @@ public static Task InvokeAsync(GetUserArgs? args = null, InvokeOp /// public static Output Invoke(GetUserInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve information about a Rancher v2 user + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Rancher2 = Pulumi.Rancher2; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var foo = Rancher2.GetUser.Invoke(new() + /// { + /// Username = "foo", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetUserInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/Utilities.cs b/sdk/dotnet/Utilities.cs index c6d1a22f6..f43224e55 100644 --- a/sdk/dotnet/Utilities.cs +++ b/sdk/dotnet/Utilities.cs @@ -56,6 +56,13 @@ static class Utilities return dst; } + public static global::Pulumi.InvokeOutputOptions WithDefaults(this global::Pulumi.InvokeOutputOptions? src) + { + var dst = src ?? new global::Pulumi.InvokeOutputOptions{}; + dst.Version = src?.Version ?? Version; + return dst; + } + private readonly static string version; public static string Version => version; diff --git a/sdk/go/rancher2/getApp.go b/sdk/go/rancher2/getApp.go index 4f3591b3a..f02024197 100644 --- a/sdk/go/rancher2/getApp.go +++ b/sdk/go/rancher2/getApp.go @@ -92,21 +92,11 @@ type LookupAppResult struct { } func LookupAppOutput(ctx *pulumi.Context, args LookupAppOutputArgs, opts ...pulumi.InvokeOption) LookupAppResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupAppResultOutput, error) { args := v.(LookupAppArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupAppResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getApp:getApp", args, &rv, "", opts...) - if err != nil { - return LookupAppResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupAppResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupAppResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getApp:getApp", args, LookupAppResultOutput{}, options).(LookupAppResultOutput), nil }).(LookupAppResultOutput) } diff --git a/sdk/go/rancher2/getCatalog.go b/sdk/go/rancher2/getCatalog.go index 260e1498e..157cd7410 100644 --- a/sdk/go/rancher2/getCatalog.go +++ b/sdk/go/rancher2/getCatalog.go @@ -87,21 +87,11 @@ type LookupCatalogResult struct { } func LookupCatalogOutput(ctx *pulumi.Context, args LookupCatalogOutputArgs, opts ...pulumi.InvokeOption) LookupCatalogResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupCatalogResultOutput, error) { args := v.(LookupCatalogArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupCatalogResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getCatalog:getCatalog", args, &rv, "", opts...) - if err != nil { - return LookupCatalogResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupCatalogResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupCatalogResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getCatalog:getCatalog", args, LookupCatalogResultOutput{}, options).(LookupCatalogResultOutput), nil }).(LookupCatalogResultOutput) } diff --git a/sdk/go/rancher2/getCatalogV2.go b/sdk/go/rancher2/getCatalogV2.go index 37b9c9d07..929b47b60 100644 --- a/sdk/go/rancher2/getCatalogV2.go +++ b/sdk/go/rancher2/getCatalogV2.go @@ -73,21 +73,11 @@ type LookupCatalogV2Result struct { } func LookupCatalogV2Output(ctx *pulumi.Context, args LookupCatalogV2OutputArgs, opts ...pulumi.InvokeOption) LookupCatalogV2ResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupCatalogV2ResultOutput, error) { args := v.(LookupCatalogV2Args) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupCatalogV2Result - secret, err := ctx.InvokePackageRaw("rancher2:index/getCatalogV2:getCatalogV2", args, &rv, "", opts...) - if err != nil { - return LookupCatalogV2ResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupCatalogV2ResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupCatalogV2ResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getCatalogV2:getCatalogV2", args, LookupCatalogV2ResultOutput{}, options).(LookupCatalogV2ResultOutput), nil }).(LookupCatalogV2ResultOutput) } diff --git a/sdk/go/rancher2/getCertificate.go b/sdk/go/rancher2/getCertificate.go index f30f2328a..20b59cd8e 100644 --- a/sdk/go/rancher2/getCertificate.go +++ b/sdk/go/rancher2/getCertificate.go @@ -109,21 +109,11 @@ type LookupCertificateResult struct { } func LookupCertificateOutput(ctx *pulumi.Context, args LookupCertificateOutputArgs, opts ...pulumi.InvokeOption) LookupCertificateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupCertificateResultOutput, error) { args := v.(LookupCertificateArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupCertificateResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getCertificate:getCertificate", args, &rv, "", opts...) - if err != nil { - return LookupCertificateResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupCertificateResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupCertificateResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getCertificate:getCertificate", args, LookupCertificateResultOutput{}, options).(LookupCertificateResultOutput), nil }).(LookupCertificateResultOutput) } diff --git a/sdk/go/rancher2/getCloudCredential.go b/sdk/go/rancher2/getCloudCredential.go index 769e85c58..57865e03a 100644 --- a/sdk/go/rancher2/getCloudCredential.go +++ b/sdk/go/rancher2/getCloudCredential.go @@ -66,21 +66,11 @@ type LookupCloudCredentialResult struct { } func LookupCloudCredentialOutput(ctx *pulumi.Context, args LookupCloudCredentialOutputArgs, opts ...pulumi.InvokeOption) LookupCloudCredentialResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupCloudCredentialResultOutput, error) { args := v.(LookupCloudCredentialArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupCloudCredentialResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getCloudCredential:getCloudCredential", args, &rv, "", opts...) - if err != nil { - return LookupCloudCredentialResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupCloudCredentialResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupCloudCredentialResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getCloudCredential:getCloudCredential", args, LookupCloudCredentialResultOutput{}, options).(LookupCloudCredentialResultOutput), nil }).(LookupCloudCredentialResultOutput) } diff --git a/sdk/go/rancher2/getCluster.go b/sdk/go/rancher2/getCluster.go index 7cdf9d813..ebbcfa378 100644 --- a/sdk/go/rancher2/getCluster.go +++ b/sdk/go/rancher2/getCluster.go @@ -118,21 +118,11 @@ type LookupClusterResult struct { } func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupClusterResultOutput, error) { args := v.(LookupClusterArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupClusterResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getCluster:getCluster", args, &rv, "", opts...) - if err != nil { - return LookupClusterResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupClusterResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupClusterResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getCluster:getCluster", args, LookupClusterResultOutput{}, options).(LookupClusterResultOutput), nil }).(LookupClusterResultOutput) } diff --git a/sdk/go/rancher2/getClusterDriver.go b/sdk/go/rancher2/getClusterDriver.go index 138110d67..561151d1a 100644 --- a/sdk/go/rancher2/getClusterDriver.go +++ b/sdk/go/rancher2/getClusterDriver.go @@ -81,21 +81,11 @@ type LookupClusterDriverResult struct { } func LookupClusterDriverOutput(ctx *pulumi.Context, args LookupClusterDriverOutputArgs, opts ...pulumi.InvokeOption) LookupClusterDriverResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupClusterDriverResultOutput, error) { args := v.(LookupClusterDriverArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupClusterDriverResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getClusterDriver:getClusterDriver", args, &rv, "", opts...) - if err != nil { - return LookupClusterDriverResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupClusterDriverResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupClusterDriverResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getClusterDriver:getClusterDriver", args, LookupClusterDriverResultOutput{}, options).(LookupClusterDriverResultOutput), nil }).(LookupClusterDriverResultOutput) } diff --git a/sdk/go/rancher2/getClusterRoleTemplateBinding.go b/sdk/go/rancher2/getClusterRoleTemplateBinding.go index 072fac17a..367197c25 100644 --- a/sdk/go/rancher2/getClusterRoleTemplateBinding.go +++ b/sdk/go/rancher2/getClusterRoleTemplateBinding.go @@ -81,21 +81,11 @@ type LookupClusterRoleTemplateBindingResult struct { } func LookupClusterRoleTemplateBindingOutput(ctx *pulumi.Context, args LookupClusterRoleTemplateBindingOutputArgs, opts ...pulumi.InvokeOption) LookupClusterRoleTemplateBindingResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupClusterRoleTemplateBindingResultOutput, error) { args := v.(LookupClusterRoleTemplateBindingArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupClusterRoleTemplateBindingResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args, &rv, "", opts...) - if err != nil { - return LookupClusterRoleTemplateBindingResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupClusterRoleTemplateBindingResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupClusterRoleTemplateBindingResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args, LookupClusterRoleTemplateBindingResultOutput{}, options).(LookupClusterRoleTemplateBindingResultOutput), nil }).(LookupClusterRoleTemplateBindingResultOutput) } diff --git a/sdk/go/rancher2/getClusterTemplate.go b/sdk/go/rancher2/getClusterTemplate.go index aceba4c12..a2b2b8528 100644 --- a/sdk/go/rancher2/getClusterTemplate.go +++ b/sdk/go/rancher2/getClusterTemplate.go @@ -80,21 +80,11 @@ type LookupClusterTemplateResult struct { } func LookupClusterTemplateOutput(ctx *pulumi.Context, args LookupClusterTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupClusterTemplateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupClusterTemplateResultOutput, error) { args := v.(LookupClusterTemplateArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupClusterTemplateResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getClusterTemplate:getClusterTemplate", args, &rv, "", opts...) - if err != nil { - return LookupClusterTemplateResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupClusterTemplateResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupClusterTemplateResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getClusterTemplate:getClusterTemplate", args, LookupClusterTemplateResultOutput{}, options).(LookupClusterTemplateResultOutput), nil }).(LookupClusterTemplateResultOutput) } diff --git a/sdk/go/rancher2/getClusterV2.go b/sdk/go/rancher2/getClusterV2.go index c43613f13..d90cca18c 100644 --- a/sdk/go/rancher2/getClusterV2.go +++ b/sdk/go/rancher2/getClusterV2.go @@ -90,21 +90,11 @@ type LookupClusterV2Result struct { } func LookupClusterV2Output(ctx *pulumi.Context, args LookupClusterV2OutputArgs, opts ...pulumi.InvokeOption) LookupClusterV2ResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupClusterV2ResultOutput, error) { args := v.(LookupClusterV2Args) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupClusterV2Result - secret, err := ctx.InvokePackageRaw("rancher2:index/getClusterV2:getClusterV2", args, &rv, "", opts...) - if err != nil { - return LookupClusterV2ResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupClusterV2ResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupClusterV2ResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getClusterV2:getClusterV2", args, LookupClusterV2ResultOutput{}, options).(LookupClusterV2ResultOutput), nil }).(LookupClusterV2ResultOutput) } diff --git a/sdk/go/rancher2/getConfigMapV2.go b/sdk/go/rancher2/getConfigMapV2.go index b5f882212..fcc110dff 100644 --- a/sdk/go/rancher2/getConfigMapV2.go +++ b/sdk/go/rancher2/getConfigMapV2.go @@ -52,21 +52,11 @@ type LookupConfigMapV2Result struct { } func LookupConfigMapV2Output(ctx *pulumi.Context, args LookupConfigMapV2OutputArgs, opts ...pulumi.InvokeOption) LookupConfigMapV2ResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupConfigMapV2ResultOutput, error) { args := v.(LookupConfigMapV2Args) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupConfigMapV2Result - secret, err := ctx.InvokePackageRaw("rancher2:index/getConfigMapV2:getConfigMapV2", args, &rv, "", opts...) - if err != nil { - return LookupConfigMapV2ResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupConfigMapV2ResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupConfigMapV2ResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getConfigMapV2:getConfigMapV2", args, LookupConfigMapV2ResultOutput{}, options).(LookupConfigMapV2ResultOutput), nil }).(LookupConfigMapV2ResultOutput) } diff --git a/sdk/go/rancher2/getEtcdBackup.go b/sdk/go/rancher2/getEtcdBackup.go index 1b357c507..6a9d25d92 100644 --- a/sdk/go/rancher2/getEtcdBackup.go +++ b/sdk/go/rancher2/getEtcdBackup.go @@ -78,21 +78,11 @@ type LookupEtcdBackupResult struct { } func LookupEtcdBackupOutput(ctx *pulumi.Context, args LookupEtcdBackupOutputArgs, opts ...pulumi.InvokeOption) LookupEtcdBackupResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupEtcdBackupResultOutput, error) { args := v.(LookupEtcdBackupArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupEtcdBackupResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getEtcdBackup:getEtcdBackup", args, &rv, "", opts...) - if err != nil { - return LookupEtcdBackupResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupEtcdBackupResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupEtcdBackupResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getEtcdBackup:getEtcdBackup", args, LookupEtcdBackupResultOutput{}, options).(LookupEtcdBackupResultOutput), nil }).(LookupEtcdBackupResultOutput) } diff --git a/sdk/go/rancher2/getGlobalRole.go b/sdk/go/rancher2/getGlobalRole.go index 60e9dc320..7a31c9a95 100644 --- a/sdk/go/rancher2/getGlobalRole.go +++ b/sdk/go/rancher2/getGlobalRole.go @@ -78,21 +78,11 @@ type LookupGlobalRoleResult struct { } func LookupGlobalRoleOutput(ctx *pulumi.Context, args LookupGlobalRoleOutputArgs, opts ...pulumi.InvokeOption) LookupGlobalRoleResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupGlobalRoleResultOutput, error) { args := v.(LookupGlobalRoleArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupGlobalRoleResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getGlobalRole:getGlobalRole", args, &rv, "", opts...) - if err != nil { - return LookupGlobalRoleResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupGlobalRoleResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupGlobalRoleResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getGlobalRole:getGlobalRole", args, LookupGlobalRoleResultOutput{}, options).(LookupGlobalRoleResultOutput), nil }).(LookupGlobalRoleResultOutput) } diff --git a/sdk/go/rancher2/getGlobalRoleBinding.go b/sdk/go/rancher2/getGlobalRoleBinding.go index db9e75067..ae0a9d61d 100644 --- a/sdk/go/rancher2/getGlobalRoleBinding.go +++ b/sdk/go/rancher2/getGlobalRoleBinding.go @@ -74,21 +74,11 @@ type LookupGlobalRoleBindingResult struct { } func LookupGlobalRoleBindingOutput(ctx *pulumi.Context, args LookupGlobalRoleBindingOutputArgs, opts ...pulumi.InvokeOption) LookupGlobalRoleBindingResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupGlobalRoleBindingResultOutput, error) { args := v.(LookupGlobalRoleBindingArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupGlobalRoleBindingResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args, &rv, "", opts...) - if err != nil { - return LookupGlobalRoleBindingResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupGlobalRoleBindingResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupGlobalRoleBindingResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args, LookupGlobalRoleBindingResultOutput{}, options).(LookupGlobalRoleBindingResultOutput), nil }).(LookupGlobalRoleBindingResultOutput) } diff --git a/sdk/go/rancher2/getMultiClusterApp.go b/sdk/go/rancher2/getMultiClusterApp.go index 47793e7b8..9c796e19f 100644 --- a/sdk/go/rancher2/getMultiClusterApp.go +++ b/sdk/go/rancher2/getMultiClusterApp.go @@ -88,21 +88,11 @@ type LookupMultiClusterAppResult struct { } func LookupMultiClusterAppOutput(ctx *pulumi.Context, args LookupMultiClusterAppOutputArgs, opts ...pulumi.InvokeOption) LookupMultiClusterAppResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupMultiClusterAppResultOutput, error) { args := v.(LookupMultiClusterAppArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupMultiClusterAppResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getMultiClusterApp:getMultiClusterApp", args, &rv, "", opts...) - if err != nil { - return LookupMultiClusterAppResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupMultiClusterAppResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupMultiClusterAppResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getMultiClusterApp:getMultiClusterApp", args, LookupMultiClusterAppResultOutput{}, options).(LookupMultiClusterAppResultOutput), nil }).(LookupMultiClusterAppResultOutput) } diff --git a/sdk/go/rancher2/getNamespace.go b/sdk/go/rancher2/getNamespace.go index e03bb1e78..ee123b638 100644 --- a/sdk/go/rancher2/getNamespace.go +++ b/sdk/go/rancher2/getNamespace.go @@ -76,21 +76,11 @@ type LookupNamespaceResult struct { } func LookupNamespaceOutput(ctx *pulumi.Context, args LookupNamespaceOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupNamespaceResultOutput, error) { args := v.(LookupNamespaceArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNamespaceResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getNamespace:getNamespace", args, &rv, "", opts...) - if err != nil { - return LookupNamespaceResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupNamespaceResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupNamespaceResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getNamespace:getNamespace", args, LookupNamespaceResultOutput{}, options).(LookupNamespaceResultOutput), nil }).(LookupNamespaceResultOutput) } diff --git a/sdk/go/rancher2/getNodeDriver.go b/sdk/go/rancher2/getNodeDriver.go index 7e7221d32..292f12608 100644 --- a/sdk/go/rancher2/getNodeDriver.go +++ b/sdk/go/rancher2/getNodeDriver.go @@ -83,21 +83,11 @@ type LookupNodeDriverResult struct { } func LookupNodeDriverOutput(ctx *pulumi.Context, args LookupNodeDriverOutputArgs, opts ...pulumi.InvokeOption) LookupNodeDriverResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupNodeDriverResultOutput, error) { args := v.(LookupNodeDriverArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNodeDriverResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getNodeDriver:getNodeDriver", args, &rv, "", opts...) - if err != nil { - return LookupNodeDriverResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupNodeDriverResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupNodeDriverResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getNodeDriver:getNodeDriver", args, LookupNodeDriverResultOutput{}, options).(LookupNodeDriverResultOutput), nil }).(LookupNodeDriverResultOutput) } diff --git a/sdk/go/rancher2/getNodePool.go b/sdk/go/rancher2/getNodePool.go index eb4f3f216..732c33c9d 100644 --- a/sdk/go/rancher2/getNodePool.go +++ b/sdk/go/rancher2/getNodePool.go @@ -87,21 +87,11 @@ type LookupNodePoolResult struct { } func LookupNodePoolOutput(ctx *pulumi.Context, args LookupNodePoolOutputArgs, opts ...pulumi.InvokeOption) LookupNodePoolResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupNodePoolResultOutput, error) { args := v.(LookupNodePoolArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNodePoolResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getNodePool:getNodePool", args, &rv, "", opts...) - if err != nil { - return LookupNodePoolResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupNodePoolResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupNodePoolResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getNodePool:getNodePool", args, LookupNodePoolResultOutput{}, options).(LookupNodePoolResultOutput), nil }).(LookupNodePoolResultOutput) } diff --git a/sdk/go/rancher2/getNodeTemplate.go b/sdk/go/rancher2/getNodeTemplate.go index c4f483199..c09758bd4 100644 --- a/sdk/go/rancher2/getNodeTemplate.go +++ b/sdk/go/rancher2/getNodeTemplate.go @@ -92,21 +92,11 @@ type LookupNodeTemplateResult struct { } func LookupNodeTemplateOutput(ctx *pulumi.Context, args LookupNodeTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupNodeTemplateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupNodeTemplateResultOutput, error) { args := v.(LookupNodeTemplateArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNodeTemplateResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getNodeTemplate:getNodeTemplate", args, &rv, "", opts...) - if err != nil { - return LookupNodeTemplateResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupNodeTemplateResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupNodeTemplateResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getNodeTemplate:getNodeTemplate", args, LookupNodeTemplateResultOutput{}, options).(LookupNodeTemplateResultOutput), nil }).(LookupNodeTemplateResultOutput) } diff --git a/sdk/go/rancher2/getPodSecurityAdmissionConfigurationTemplate.go b/sdk/go/rancher2/getPodSecurityAdmissionConfigurationTemplate.go index 55c9d1a78..f83644975 100644 --- a/sdk/go/rancher2/getPodSecurityAdmissionConfigurationTemplate.go +++ b/sdk/go/rancher2/getPodSecurityAdmissionConfigurationTemplate.go @@ -41,21 +41,11 @@ type LookupPodSecurityAdmissionConfigurationTemplateResult struct { } func LookupPodSecurityAdmissionConfigurationTemplateOutput(ctx *pulumi.Context, args LookupPodSecurityAdmissionConfigurationTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupPodSecurityAdmissionConfigurationTemplateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupPodSecurityAdmissionConfigurationTemplateResultOutput, error) { args := v.(LookupPodSecurityAdmissionConfigurationTemplateArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupPodSecurityAdmissionConfigurationTemplateResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", args, &rv, "", opts...) - if err != nil { - return LookupPodSecurityAdmissionConfigurationTemplateResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupPodSecurityAdmissionConfigurationTemplateResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupPodSecurityAdmissionConfigurationTemplateResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", args, LookupPodSecurityAdmissionConfigurationTemplateResultOutput{}, options).(LookupPodSecurityAdmissionConfigurationTemplateResultOutput), nil }).(LookupPodSecurityAdmissionConfigurationTemplateResultOutput) } diff --git a/sdk/go/rancher2/getPrincipal.go b/sdk/go/rancher2/getPrincipal.go index 59b7f472c..98414a4ee 100644 --- a/sdk/go/rancher2/getPrincipal.go +++ b/sdk/go/rancher2/getPrincipal.go @@ -65,21 +65,11 @@ type GetPrincipalResult struct { } func GetPrincipalOutput(ctx *pulumi.Context, args GetPrincipalOutputArgs, opts ...pulumi.InvokeOption) GetPrincipalResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetPrincipalResultOutput, error) { args := v.(GetPrincipalArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetPrincipalResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getPrincipal:getPrincipal", args, &rv, "", opts...) - if err != nil { - return GetPrincipalResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetPrincipalResultOutput) - if secret { - return pulumi.ToSecret(output).(GetPrincipalResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getPrincipal:getPrincipal", args, GetPrincipalResultOutput{}, options).(GetPrincipalResultOutput), nil }).(GetPrincipalResultOutput) } diff --git a/sdk/go/rancher2/getProject.go b/sdk/go/rancher2/getProject.go index 09ea0ba9e..2a3ecf6ac 100644 --- a/sdk/go/rancher2/getProject.go +++ b/sdk/go/rancher2/getProject.go @@ -51,21 +51,11 @@ type LookupProjectResult struct { } func LookupProjectOutput(ctx *pulumi.Context, args LookupProjectOutputArgs, opts ...pulumi.InvokeOption) LookupProjectResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupProjectResultOutput, error) { args := v.(LookupProjectArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupProjectResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getProject:getProject", args, &rv, "", opts...) - if err != nil { - return LookupProjectResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupProjectResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupProjectResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getProject:getProject", args, LookupProjectResultOutput{}, options).(LookupProjectResultOutput), nil }).(LookupProjectResultOutput) } diff --git a/sdk/go/rancher2/getProjectRoleTemplateBinding.go b/sdk/go/rancher2/getProjectRoleTemplateBinding.go index d1755368a..ff3e4d84d 100644 --- a/sdk/go/rancher2/getProjectRoleTemplateBinding.go +++ b/sdk/go/rancher2/getProjectRoleTemplateBinding.go @@ -81,21 +81,11 @@ type LookupProjectRoleTemplateBindingResult struct { } func LookupProjectRoleTemplateBindingOutput(ctx *pulumi.Context, args LookupProjectRoleTemplateBindingOutputArgs, opts ...pulumi.InvokeOption) LookupProjectRoleTemplateBindingResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupProjectRoleTemplateBindingResultOutput, error) { args := v.(LookupProjectRoleTemplateBindingArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupProjectRoleTemplateBindingResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args, &rv, "", opts...) - if err != nil { - return LookupProjectRoleTemplateBindingResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupProjectRoleTemplateBindingResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupProjectRoleTemplateBindingResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args, LookupProjectRoleTemplateBindingResultOutput{}, options).(LookupProjectRoleTemplateBindingResultOutput), nil }).(LookupProjectRoleTemplateBindingResultOutput) } diff --git a/sdk/go/rancher2/getRegistry.go b/sdk/go/rancher2/getRegistry.go index 6cd25d243..be7629dc7 100644 --- a/sdk/go/rancher2/getRegistry.go +++ b/sdk/go/rancher2/getRegistry.go @@ -109,21 +109,11 @@ type LookupRegistryResult struct { } func LookupRegistryOutput(ctx *pulumi.Context, args LookupRegistryOutputArgs, opts ...pulumi.InvokeOption) LookupRegistryResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupRegistryResultOutput, error) { args := v.(LookupRegistryArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupRegistryResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getRegistry:getRegistry", args, &rv, "", opts...) - if err != nil { - return LookupRegistryResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupRegistryResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupRegistryResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getRegistry:getRegistry", args, LookupRegistryResultOutput{}, options).(LookupRegistryResultOutput), nil }).(LookupRegistryResultOutput) } diff --git a/sdk/go/rancher2/getRoleTemplate.go b/sdk/go/rancher2/getRoleTemplate.go index 03d88303f..3303ba237 100644 --- a/sdk/go/rancher2/getRoleTemplate.go +++ b/sdk/go/rancher2/getRoleTemplate.go @@ -91,21 +91,11 @@ type LookupRoleTemplateResult struct { } func LookupRoleTemplateOutput(ctx *pulumi.Context, args LookupRoleTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupRoleTemplateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupRoleTemplateResultOutput, error) { args := v.(LookupRoleTemplateArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupRoleTemplateResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getRoleTemplate:getRoleTemplate", args, &rv, "", opts...) - if err != nil { - return LookupRoleTemplateResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupRoleTemplateResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupRoleTemplateResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getRoleTemplate:getRoleTemplate", args, LookupRoleTemplateResultOutput{}, options).(LookupRoleTemplateResultOutput), nil }).(LookupRoleTemplateResultOutput) } diff --git a/sdk/go/rancher2/getSecret.go b/sdk/go/rancher2/getSecret.go index 3351d052b..b29c5f5ff 100644 --- a/sdk/go/rancher2/getSecret.go +++ b/sdk/go/rancher2/getSecret.go @@ -109,21 +109,11 @@ type LookupSecretResult struct { } func LookupSecretOutput(ctx *pulumi.Context, args LookupSecretOutputArgs, opts ...pulumi.InvokeOption) LookupSecretResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupSecretResultOutput, error) { args := v.(LookupSecretArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSecretResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getSecret:getSecret", args, &rv, "", opts...) - if err != nil { - return LookupSecretResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupSecretResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupSecretResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getSecret:getSecret", args, LookupSecretResultOutput{}, options).(LookupSecretResultOutput), nil }).(LookupSecretResultOutput) } diff --git a/sdk/go/rancher2/getSecretV2.go b/sdk/go/rancher2/getSecretV2.go index b27dfffa8..61a48cea6 100644 --- a/sdk/go/rancher2/getSecretV2.go +++ b/sdk/go/rancher2/getSecretV2.go @@ -54,21 +54,11 @@ type LookupSecretV2Result struct { } func LookupSecretV2Output(ctx *pulumi.Context, args LookupSecretV2OutputArgs, opts ...pulumi.InvokeOption) LookupSecretV2ResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupSecretV2ResultOutput, error) { args := v.(LookupSecretV2Args) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSecretV2Result - secret, err := ctx.InvokePackageRaw("rancher2:index/getSecretV2:getSecretV2", args, &rv, "", opts...) - if err != nil { - return LookupSecretV2ResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupSecretV2ResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupSecretV2ResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getSecretV2:getSecretV2", args, LookupSecretV2ResultOutput{}, options).(LookupSecretV2ResultOutput), nil }).(LookupSecretV2ResultOutput) } diff --git a/sdk/go/rancher2/getSetting.go b/sdk/go/rancher2/getSetting.go index 8a6ec5814..72b9e0f1a 100644 --- a/sdk/go/rancher2/getSetting.go +++ b/sdk/go/rancher2/getSetting.go @@ -64,21 +64,11 @@ type LookupSettingResult struct { } func LookupSettingOutput(ctx *pulumi.Context, args LookupSettingOutputArgs, opts ...pulumi.InvokeOption) LookupSettingResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupSettingResultOutput, error) { args := v.(LookupSettingArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSettingResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getSetting:getSetting", args, &rv, "", opts...) - if err != nil { - return LookupSettingResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupSettingResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupSettingResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getSetting:getSetting", args, LookupSettingResultOutput{}, options).(LookupSettingResultOutput), nil }).(LookupSettingResultOutput) } diff --git a/sdk/go/rancher2/getStorageClassV2.go b/sdk/go/rancher2/getStorageClassV2.go index c187934a6..cb3f9999e 100644 --- a/sdk/go/rancher2/getStorageClassV2.go +++ b/sdk/go/rancher2/getStorageClassV2.go @@ -57,21 +57,11 @@ type LookupStorageClassV2Result struct { } func LookupStorageClassV2Output(ctx *pulumi.Context, args LookupStorageClassV2OutputArgs, opts ...pulumi.InvokeOption) LookupStorageClassV2ResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupStorageClassV2ResultOutput, error) { args := v.(LookupStorageClassV2Args) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupStorageClassV2Result - secret, err := ctx.InvokePackageRaw("rancher2:index/getStorageClassV2:getStorageClassV2", args, &rv, "", opts...) - if err != nil { - return LookupStorageClassV2ResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupStorageClassV2ResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupStorageClassV2ResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getStorageClassV2:getStorageClassV2", args, LookupStorageClassV2ResultOutput{}, options).(LookupStorageClassV2ResultOutput), nil }).(LookupStorageClassV2ResultOutput) } diff --git a/sdk/go/rancher2/getUser.go b/sdk/go/rancher2/getUser.go index e6dec8117..a090c847b 100644 --- a/sdk/go/rancher2/getUser.go +++ b/sdk/go/rancher2/getUser.go @@ -79,21 +79,11 @@ type LookupUserResult struct { } func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupUserResultOutput, error) { args := v.(LookupUserArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupUserResult - secret, err := ctx.InvokePackageRaw("rancher2:index/getUser:getUser", args, &rv, "", opts...) - if err != nil { - return LookupUserResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupUserResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupUserResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("rancher2:index/getUser:getUser", args, LookupUserResultOutput{}, options).(LookupUserResultOutput), nil }).(LookupUserResultOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 2b7d7ce53..ed1361aac 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.18.0") + implementation("com.pulumi:pulumi:0.20.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java b/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java index 76d9993f5..0a7ac3ec3 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java @@ -7,6 +7,7 @@ import com.pulumi.core.TypeShape; import com.pulumi.deployment.Deployment; import com.pulumi.deployment.InvokeOptions; +import com.pulumi.deployment.InvokeOutputOptions; import com.pulumi.rancher2.Utilities; import com.pulumi.rancher2.inputs.GetAppArgs; import com.pulumi.rancher2.inputs.GetAppPlainArgs; @@ -233,6 +234,50 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args) public static Output getApp(GetAppArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getApp:getApp", TypeShape.of(GetAppResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 app. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetAppArgs;
+     * 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 rancher2 = Rancher2Functions.getApp(GetAppArgs.builder()
+     *             .name("foo")
+     *             .projectId("")
+     *             .targetNamespace("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getApp(GetAppArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getApp:getApp", TypeShape.of(GetAppResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 app. * @@ -403,6 +448,48 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai public static Output getCatalog(GetCatalogArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 catalog. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetCatalogArgs;
+     * 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 library = Rancher2Functions.getCatalog(GetCatalogArgs.builder()
+     *             .name("catalog")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getCatalog(GetCatalogArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 catalog. * @@ -466,6 +553,13 @@ public static CompletableFuture getCatalogV2Plain(GetCatalog public static Output getCatalogV2(GetCatalogV2Args args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getCatalogV2:getCatalogV2", TypeShape.of(GetCatalogV2Result.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher2 catalog v2. Catalog v2 resource is available at Rancher v2.5.x and above. + * + */ + public static Output getCatalogV2(GetCatalogV2Args args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getCatalogV2:getCatalogV2", TypeShape.of(GetCatalogV2Result.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher2 catalog v2. Catalog v2 resource is available at Rancher v2.5.x and above. * @@ -725,6 +819,90 @@ public static CompletableFuture getCertificatePlain(GetCer public static Output getCertificate(GetCertificateArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getCertificate:getCertificate", TypeShape.of(GetCertificateResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 certificate. + * + * Depending of the availability, there are 2 types of Rancher v2 certificates: + * - Project certificate: Available to all namespaces in the `project_id` + * - Namespaced certificate: Available to just `namespace_id` in the `project_id` + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetCertificateArgs;
+     * 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) {
+     *         // Retrieve a rancher2 Project Certificate
+     *         final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder()
+     *             .name("")
+     *             .projectId("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetCertificateArgs;
+     * 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) {
+     *         // Retrieve a rancher2 Namespaced Certificate
+     *         final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder()
+     *             .name("")
+     *             .projectId("")
+     *             .namespaceId("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getCertificate(GetCertificateArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getCertificate:getCertificate", TypeShape.of(GetCertificateResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 certificate. * @@ -974,11 +1152,11 @@ public static Output getCloudCredential(GetCloudCreden * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getCloudCredentialPlain(GetCloudCredentialPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("rancher2:index/getCloudCredential:getCloudCredential", TypeShape.of(GetCloudCredentialResult.class), args, Utilities.withVersion(options)); + public static Output getCloudCredential(GetCloudCredentialArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getCloudCredential:getCloudCredential", TypeShape.of(GetCloudCredentialResult.class), args, Utilities.withVersion(options)); } /** - * Use this data source to retrieve information about a Rancher v2 cluster. + * Use this data source to retrieve information about a Rancher v2 Cloud Credential. * * ## Example Usage * @@ -991,7 +1169,7 @@ public static CompletableFuture getCloudCredentialPlai * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.rancher2.Rancher2Functions; - * import com.pulumi.rancher2.inputs.GetClusterArgs; + * import com.pulumi.rancher2.inputs.GetCloudCredentialArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1005,8 +1183,8 @@ public static CompletableFuture getCloudCredentialPlai * } * * public static void stack(Context ctx) { - * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() - * .name("foo-custom") + * final var test = Rancher2Functions.getCloudCredential(GetCloudCredentialArgs.builder() + * .name("test") * .build()); * * } @@ -1016,8 +1194,8 @@ public static CompletableFuture getCloudCredentialPlai * <!--End PulumiCodeChooser --> * */ - public static Output getCluster(GetClusterArgs args) { - return getCluster(args, InvokeOptions.Empty); + public static CompletableFuture getCloudCredentialPlain(GetCloudCredentialPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("rancher2:index/getCloudCredential:getCloudCredential", TypeShape.of(GetCloudCredentialResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to retrieve information about a Rancher v2 cluster. @@ -1058,8 +1236,8 @@ public static Output getCluster(GetClusterArgs args) { * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getClusterPlain(GetClusterPlainArgs args) { - return getClusterPlain(args, InvokeOptions.Empty); + public static Output getCluster(GetClusterArgs args) { + return getCluster(args, InvokeOptions.Empty); } /** * Use this data source to retrieve information about a Rancher v2 cluster. @@ -1100,8 +1278,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * <!--End PulumiCodeChooser --> * */ - public static Output getCluster(GetClusterArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("rancher2:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getClusterPlain(GetClusterPlainArgs args) { + return getClusterPlain(args, InvokeOptions.Empty); } /** * Use this data source to retrieve information about a Rancher v2 cluster. @@ -1142,11 +1320,11 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getClusterPlain(GetClusterPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("rancher2:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + public static Output getCluster(GetClusterArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); } /** - * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. + * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage * @@ -1159,7 +1337,7 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.rancher2.Rancher2Functions; - * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * import com.pulumi.rancher2.inputs.GetClusterArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1173,8 +1351,8 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * } * * public static void stack(Context ctx) { - * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() - * .name("foo") + * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() + * .name("foo-custom") * .build()); * * } @@ -1184,11 +1362,11 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * <!--End PulumiCodeChooser --> * */ - public static Output getClusterDriver(GetClusterDriverArgs args) { - return getClusterDriver(args, InvokeOptions.Empty); + public static Output getCluster(GetClusterArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); } /** - * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. + * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage * @@ -1201,7 +1379,7 @@ public static Output getClusterDriver(GetClusterDriverAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.rancher2.Rancher2Functions; - * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * import com.pulumi.rancher2.inputs.GetClusterArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1215,8 +1393,8 @@ public static Output getClusterDriver(GetClusterDriverAr * } * * public static void stack(Context ctx) { - * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() - * .name("foo") + * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() + * .name("foo-custom") * .build()); * * } @@ -1226,8 +1404,8 @@ public static Output getClusterDriver(GetClusterDriverAr * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getClusterDriverPlain(GetClusterDriverPlainArgs args) { - return getClusterDriverPlain(args, InvokeOptions.Empty); + public static CompletableFuture getClusterPlain(GetClusterPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("rancher2:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. @@ -1268,8 +1446,8 @@ public static CompletableFuture getClusterDriverPlain(Ge * <!--End PulumiCodeChooser --> * */ - public static Output getClusterDriver(GetClusterDriverArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("rancher2:index/getClusterDriver:getClusterDriver", TypeShape.of(GetClusterDriverResult.class), args, Utilities.withVersion(options)); + public static Output getClusterDriver(GetClusterDriverArgs args) { + return getClusterDriver(args, InvokeOptions.Empty); } /** * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. @@ -1310,11 +1488,11 @@ public static Output getClusterDriver(GetClusterDriverAr * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getClusterDriverPlain(GetClusterDriverPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("rancher2:index/getClusterDriver:getClusterDriver", TypeShape.of(GetClusterDriverResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getClusterDriverPlain(GetClusterDriverPlainArgs args) { + return getClusterDriverPlain(args, InvokeOptions.Empty); } /** - * Use this data source to retrieve information about a Rancher v2 cluster role template binding. + * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage * @@ -1327,7 +1505,7 @@ public static CompletableFuture getClusterDriverPlain(Ge * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.rancher2.Rancher2Functions; - * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1341,9 +1519,8 @@ public static CompletableFuture getClusterDriverPlain(Ge * } * * public static void stack(Context ctx) { - * final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder() + * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() * .name("foo") - * .clusterId("foo_id") * .build()); * * } @@ -1353,11 +1530,11 @@ public static CompletableFuture getClusterDriverPlain(Ge * <!--End PulumiCodeChooser --> * */ - public static Output getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs args) { - return getClusterRoleTemplateBinding(args, InvokeOptions.Empty); + public static Output getClusterDriver(GetClusterDriverArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getClusterDriver:getClusterDriver", TypeShape.of(GetClusterDriverResult.class), args, Utilities.withVersion(options)); } /** - * Use this data source to retrieve information about a Rancher v2 cluster role template binding. + * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage * @@ -1370,7 +1547,7 @@ public static Output getClusterRoleTemplate * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.rancher2.Rancher2Functions; - * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1384,9 +1561,8 @@ public static Output getClusterRoleTemplate * } * * public static void stack(Context ctx) { - * final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder() + * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() * .name("foo") - * .clusterId("foo_id") * .build()); * * } @@ -1396,11 +1572,11 @@ public static Output getClusterRoleTemplate * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getClusterRoleTemplateBindingPlain(GetClusterRoleTemplateBindingPlainArgs args) { - return getClusterRoleTemplateBindingPlain(args, InvokeOptions.Empty); + public static Output getClusterDriver(GetClusterDriverArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getClusterDriver:getClusterDriver", TypeShape.of(GetClusterDriverResult.class), args, Utilities.withVersion(options)); } /** - * Use this data source to retrieve information about a Rancher v2 cluster role template binding. + * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage * @@ -1413,7 +1589,135 @@ public static CompletableFuture getClusterR * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.rancher2.Rancher2Functions; - * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * 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.getClusterDriver(GetClusterDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * } + * + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterDriverPlain(GetClusterDriverPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("rancher2:index/getClusterDriver:getClusterDriver", TypeShape.of(GetClusterDriverResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster role template binding. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterRoleTemplateBindingArgs;
+     * 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.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder()
+     *             .name("foo")
+     *             .clusterId("foo_id")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs args) { + return getClusterRoleTemplateBinding(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster role template binding. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterRoleTemplateBindingArgs;
+     * 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.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder()
+     *             .name("foo")
+     *             .clusterId("foo_id")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterRoleTemplateBindingPlain(GetClusterRoleTemplateBindingPlainArgs args) { + return getClusterRoleTemplateBindingPlain(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster role template binding. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterRoleTemplateBindingArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1442,6 +1746,49 @@ public static CompletableFuture getClusterR
     public static Output getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs args, InvokeOptions options) {
         return Deployment.getInstance().invoke("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", TypeShape.of(GetClusterRoleTemplateBindingResult.class), args, Utilities.withVersion(options));
     }
+    /**
+     * Use this data source to retrieve information about a Rancher v2 cluster role template binding.
+     * 
+     * ## Example Usage
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * 
+     * {@code
+     * 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.GetClusterRoleTemplateBindingArgs;
+     * 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.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder()
+     *             .name("foo")
+     *             .clusterId("foo_id")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", TypeShape.of(GetClusterRoleTemplateBindingResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 cluster role template binding. * @@ -1617,6 +1964,50 @@ public static CompletableFuture getClusterTemplatePlai public static Output getClusterTemplate(GetClusterTemplateArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getClusterTemplate:getClusterTemplate", TypeShape.of(GetClusterTemplateResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 cluster template. + * + * Cluster Templates are available from Rancher v2.3.x and above. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterTemplateArgs;
+     * 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.getClusterTemplate(GetClusterTemplateArgs.builder()
+     *             .name("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterTemplate(GetClusterTemplateArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getClusterTemplate:getClusterTemplate", TypeShape.of(GetClusterTemplateResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 cluster template. * @@ -1691,7 +2082,429 @@ public static CompletableFuture getClusterTemplatePlai * public static void stack(Context ctx) { * final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() * .name("foo") - * .fleetNamespace("fleet-ns") + * .fleetNamespace("fleet-ns") + * .build()); + * + * } + * } + * } + *
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterV2(GetClusterV2Args args) { + return getClusterV2(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterV2Args;
+     * 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.getClusterV2(GetClusterV2Args.builder()
+     *             .name("foo")
+     *             .fleetNamespace("fleet-ns")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterV2Plain(GetClusterV2PlainArgs args) { + return getClusterV2Plain(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterV2Args;
+     * 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.getClusterV2(GetClusterV2Args.builder()
+     *             .name("foo")
+     *             .fleetNamespace("fleet-ns")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterV2(GetClusterV2Args args, InvokeOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getClusterV2:getClusterV2", TypeShape.of(GetClusterV2Result.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterV2Args;
+     * 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.getClusterV2(GetClusterV2Args.builder()
+     *             .name("foo")
+     *             .fleetNamespace("fleet-ns")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterV2(GetClusterV2Args args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getClusterV2:getClusterV2", TypeShape.of(GetClusterV2Result.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 cluster. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetClusterV2Args;
+     * 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.getClusterV2(GetClusterV2Args.builder()
+     *             .name("foo")
+     *             .fleetNamespace("fleet-ns")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterV2Plain(GetClusterV2PlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("rancher2:index/getClusterV2:getClusterV2", TypeShape.of(GetClusterV2Result.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. + * + */ + public static Output getConfigMapV2(GetConfigMapV2Args args) { + return getConfigMapV2(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. + * + */ + public static CompletableFuture getConfigMapV2Plain(GetConfigMapV2PlainArgs args) { + return getConfigMapV2Plain(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. + * + */ + public static Output getConfigMapV2(GetConfigMapV2Args args, InvokeOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getConfigMapV2:getConfigMapV2", TypeShape.of(GetConfigMapV2Result.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. + * + */ + public static Output getConfigMapV2(GetConfigMapV2Args args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getConfigMapV2:getConfigMapV2", TypeShape.of(GetConfigMapV2Result.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. + * + */ + public static CompletableFuture getConfigMapV2Plain(GetConfigMapV2PlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("rancher2:index/getConfigMapV2:getConfigMapV2", TypeShape.of(GetConfigMapV2Result.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 etcd backup. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetEtcdBackupArgs;
+     * 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.getEtcdBackup(GetEtcdBackupArgs.builder()
+     *             .clusterId("")
+     *             .name("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getEtcdBackup(GetEtcdBackupArgs args) { + return getEtcdBackup(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher v2 etcd backup. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetEtcdBackupArgs;
+     * 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.getEtcdBackup(GetEtcdBackupArgs.builder()
+     *             .clusterId("")
+     *             .name("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getEtcdBackupPlain(GetEtcdBackupPlainArgs args) { + return getEtcdBackupPlain(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve information about a Rancher v2 etcd backup. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetEtcdBackupArgs;
+     * 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.getEtcdBackup(GetEtcdBackupArgs.builder()
+     *             .clusterId("")
+     *             .name("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getEtcdBackup(GetEtcdBackupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getEtcdBackup:getEtcdBackup", TypeShape.of(GetEtcdBackupResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 etcd backup. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetEtcdBackupArgs;
+     * 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.getEtcdBackup(GetEtcdBackupArgs.builder()
+     *             .clusterId("")
+     *             .name("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getEtcdBackup(GetEtcdBackupArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getEtcdBackup:getEtcdBackup", TypeShape.of(GetEtcdBackupResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 etcd backup. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetEtcdBackupArgs;
+     * 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.getEtcdBackup(GetEtcdBackupArgs.builder()
+     *             .clusterId("")
+     *             .name("foo")
      *             .build());
      * 
      *     }
@@ -1701,11 +2514,11 @@ public static CompletableFuture getClusterTemplatePlai
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getClusterV2(GetClusterV2Args args) {
-        return getClusterV2(args, InvokeOptions.Empty);
+    public static CompletableFuture getEtcdBackupPlain(GetEtcdBackupPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getEtcdBackup:getEtcdBackup", TypeShape.of(GetEtcdBackupResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 cluster.
+     * Use this data source to retrieve information about a Rancher v2 global role resource.
      * 
      * ## Example Usage
      * 
@@ -1718,7 +2531,7 @@ public static Output getClusterV2(GetClusterV2Args args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetClusterV2Args;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1732,9 +2545,8 @@ public static Output getClusterV2(GetClusterV2Args args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()
+     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
      *             .name("foo")
-     *             .fleetNamespace("fleet-ns")
      *             .build());
      * 
      *     }
@@ -1744,11 +2556,11 @@ public static Output getClusterV2(GetClusterV2Args args) {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getClusterV2Plain(GetClusterV2PlainArgs args) {
-        return getClusterV2Plain(args, InvokeOptions.Empty);
+    public static Output getGlobalRole(GetGlobalRoleArgs args) {
+        return getGlobalRole(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 cluster.
+     * Use this data source to retrieve information about a Rancher v2 global role resource.
      * 
      * ## Example Usage
      * 
@@ -1761,7 +2573,7 @@ public static CompletableFuture getClusterV2Plain(GetCluster
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetClusterV2Args;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1775,9 +2587,8 @@ public static CompletableFuture getClusterV2Plain(GetCluster
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()
+     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
      *             .name("foo")
-     *             .fleetNamespace("fleet-ns")
      *             .build());
      * 
      *     }
@@ -1787,11 +2598,11 @@ public static CompletableFuture getClusterV2Plain(GetCluster
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getClusterV2(GetClusterV2Args args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getClusterV2:getClusterV2", TypeShape.of(GetClusterV2Result.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getGlobalRolePlain(GetGlobalRolePlainArgs args) {
+        return getGlobalRolePlain(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 cluster.
+     * Use this data source to retrieve information about a Rancher v2 global role resource.
      * 
      * ## Example Usage
      * 
@@ -1804,7 +2615,7 @@ public static Output getClusterV2(GetClusterV2Args args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetClusterV2Args;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1818,9 +2629,8 @@ public static Output getClusterV2(GetClusterV2Args args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()
+     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
      *             .name("foo")
-     *             .fleetNamespace("fleet-ns")
      *             .build());
      * 
      *     }
@@ -1830,39 +2640,11 @@ public static Output getClusterV2(GetClusterV2Args args, Inv
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getClusterV2Plain(GetClusterV2PlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getClusterV2:getClusterV2", TypeShape.of(GetClusterV2Result.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above.
-     * 
-     */
-    public static Output getConfigMapV2(GetConfigMapV2Args args) {
-        return getConfigMapV2(args, InvokeOptions.Empty);
-    }
-    /**
-     * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above.
-     * 
-     */
-    public static CompletableFuture getConfigMapV2Plain(GetConfigMapV2PlainArgs args) {
-        return getConfigMapV2Plain(args, InvokeOptions.Empty);
-    }
-    /**
-     * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above.
-     * 
-     */
-    public static Output getConfigMapV2(GetConfigMapV2Args args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getConfigMapV2:getConfigMapV2", TypeShape.of(GetConfigMapV2Result.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above.
-     * 
-     */
-    public static CompletableFuture getConfigMapV2Plain(GetConfigMapV2PlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getConfigMapV2:getConfigMapV2", TypeShape.of(GetConfigMapV2Result.class), args, Utilities.withVersion(options));
+    public static Output getGlobalRole(GetGlobalRoleArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getGlobalRole:getGlobalRole", TypeShape.of(GetGlobalRoleResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 etcd backup.
+     * Use this data source to retrieve information about a Rancher v2 global role resource.
      * 
      * ## Example Usage
      * 
@@ -1875,7 +2657,7 @@ public static CompletableFuture getConfigMapV2Plain(GetCon
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1889,8 +2671,7 @@ public static CompletableFuture getConfigMapV2Plain(GetCon
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder()
-     *             .clusterId("")
+     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
      *             .name("foo")
      *             .build());
      * 
@@ -1901,11 +2682,11 @@ public static CompletableFuture getConfigMapV2Plain(GetCon
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getEtcdBackup(GetEtcdBackupArgs args) {
-        return getEtcdBackup(args, InvokeOptions.Empty);
+    public static Output getGlobalRole(GetGlobalRoleArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getGlobalRole:getGlobalRole", TypeShape.of(GetGlobalRoleResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 etcd backup.
+     * Use this data source to retrieve information about a Rancher v2 global role resource.
      * 
      * ## Example Usage
      * 
@@ -1918,7 +2699,7 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args)
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1932,8 +2713,7 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder()
-     *             .clusterId("")
+     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
      *             .name("foo")
      *             .build());
      * 
@@ -1944,11 +2724,11 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args)
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getEtcdBackupPlain(GetEtcdBackupPlainArgs args) {
-        return getEtcdBackupPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getGlobalRolePlain(GetGlobalRolePlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getGlobalRole:getGlobalRole", TypeShape.of(GetGlobalRoleResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 etcd backup.
+     * Use this data source to retrieve information about a Rancher v2 global role binding.
      * 
      * ## Example Usage
      * 
@@ -1961,7 +2741,7 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1975,9 +2755,9 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder()
-     *             .clusterId("")
+     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
      *             .name("foo")
+     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -1987,11 +2767,11 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getEtcdBackup(GetEtcdBackupArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getEtcdBackup:getEtcdBackup", TypeShape.of(GetEtcdBackupResult.class), args, Utilities.withVersion(options));
+    public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args) {
+        return getGlobalRoleBinding(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 etcd backup.
+     * Use this data source to retrieve information about a Rancher v2 global role binding.
      * 
      * ## Example Usage
      * 
@@ -2004,7 +2784,7 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2018,9 +2798,9 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder()
-     *             .clusterId("")
+     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
      *             .name("foo")
+     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2030,11 +2810,11 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getEtcdBackupPlain(GetEtcdBackupPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getEtcdBackup:getEtcdBackup", TypeShape.of(GetEtcdBackupResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getGlobalRoleBindingPlain(GetGlobalRoleBindingPlainArgs args) {
+        return getGlobalRoleBindingPlain(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role resource.
+     * Use this data source to retrieve information about a Rancher v2 global role binding.
      * 
      * ## Example Usage
      * 
@@ -2047,7 +2827,7 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2061,8 +2841,9 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
+     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
      *             .name("foo")
+     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2072,11 +2853,11 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getGlobalRole(GetGlobalRoleArgs args) {
-        return getGlobalRole(args, InvokeOptions.Empty);
+    public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", TypeShape.of(GetGlobalRoleBindingResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role resource.
+     * Use this data source to retrieve information about a Rancher v2 global role binding.
      * 
      * ## Example Usage
      * 
@@ -2089,7 +2870,7 @@ public static Output getGlobalRole(GetGlobalRoleArgs args)
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2103,8 +2884,9 @@ public static Output getGlobalRole(GetGlobalRoleArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
+     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
      *             .name("foo")
+     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2114,11 +2896,11 @@ public static Output getGlobalRole(GetGlobalRoleArgs args)
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getGlobalRolePlain(GetGlobalRolePlainArgs args) {
-        return getGlobalRolePlain(args, InvokeOptions.Empty);
+    public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", TypeShape.of(GetGlobalRoleBindingResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role resource.
+     * Use this data source to retrieve information about a Rancher v2 global role binding.
      * 
      * ## Example Usage
      * 
@@ -2131,7 +2913,7 @@ public static CompletableFuture getGlobalRolePlain(GetGloba
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
+     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2145,8 +2927,9 @@ public static CompletableFuture getGlobalRolePlain(GetGloba
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
+     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
      *             .name("foo")
+     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2156,11 +2939,11 @@ public static CompletableFuture getGlobalRolePlain(GetGloba
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getGlobalRole(GetGlobalRoleArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getGlobalRole:getGlobalRole", TypeShape.of(GetGlobalRoleResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getGlobalRoleBindingPlain(GetGlobalRoleBindingPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", TypeShape.of(GetGlobalRoleBindingResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role resource.
+     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
      * 
      * ## Example Usage
      * 
@@ -2173,7 +2956,7 @@ public static Output getGlobalRole(GetGlobalRoleArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs;
+     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2187,7 +2970,7 @@ public static Output getGlobalRole(GetGlobalRoleArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()
+     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
      *             .name("foo")
      *             .build());
      * 
@@ -2198,11 +2981,11 @@ public static Output getGlobalRole(GetGlobalRoleArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getGlobalRolePlain(GetGlobalRolePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getGlobalRole:getGlobalRole", TypeShape.of(GetGlobalRoleResult.class), args, Utilities.withVersion(options));
+    public static Output getMultiClusterApp(GetMultiClusterAppArgs args) {
+        return getMultiClusterApp(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role binding.
+     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
      * 
      * ## Example Usage
      * 
@@ -2215,7 +2998,7 @@ public static CompletableFuture getGlobalRolePlain(GetGloba
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
+     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2229,9 +3012,8 @@ public static CompletableFuture getGlobalRolePlain(GetGloba
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
+     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
      *             .name("foo")
-     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2241,11 +3023,11 @@ public static CompletableFuture getGlobalRolePlain(GetGloba
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args) {
-        return getGlobalRoleBinding(args, InvokeOptions.Empty);
+    public static CompletableFuture getMultiClusterAppPlain(GetMultiClusterAppPlainArgs args) {
+        return getMultiClusterAppPlain(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role binding.
+     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
      * 
      * ## Example Usage
      * 
@@ -2258,7 +3040,7 @@ public static Output getGlobalRoleBinding(GetGlobalR
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
+     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2272,9 +3054,8 @@ public static Output getGlobalRoleBinding(GetGlobalR
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
+     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
      *             .name("foo")
-     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2284,11 +3065,11 @@ public static Output getGlobalRoleBinding(GetGlobalR
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getGlobalRoleBindingPlain(GetGlobalRoleBindingPlainArgs args) {
-        return getGlobalRoleBindingPlain(args, InvokeOptions.Empty);
+    public static Output getMultiClusterApp(GetMultiClusterAppArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", TypeShape.of(GetMultiClusterAppResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role binding.
+     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
      * 
      * ## Example Usage
      * 
@@ -2301,7 +3082,7 @@ public static CompletableFuture getGlobalRoleBinding
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
+     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2315,9 +3096,8 @@ public static CompletableFuture getGlobalRoleBinding
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
+     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
      *             .name("foo")
-     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2327,11 +3107,11 @@ public static CompletableFuture getGlobalRoleBinding
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", TypeShape.of(GetGlobalRoleBindingResult.class), args, Utilities.withVersion(options));
+    public static Output getMultiClusterApp(GetMultiClusterAppArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", TypeShape.of(GetMultiClusterAppResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 global role binding.
+     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
      * 
      * ## Example Usage
      * 
@@ -2344,7 +3124,7 @@ public static Output getGlobalRoleBinding(GetGlobalR
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;
+     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2358,9 +3138,8 @@ public static Output getGlobalRoleBinding(GetGlobalR
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()
+     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
      *             .name("foo")
-     *             .globalRoleId("foo_id")
      *             .build());
      * 
      *     }
@@ -2370,11 +3149,11 @@ public static Output getGlobalRoleBinding(GetGlobalR
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getGlobalRoleBindingPlain(GetGlobalRoleBindingPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", TypeShape.of(GetGlobalRoleBindingResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getMultiClusterAppPlain(GetMultiClusterAppPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getMultiClusterApp:getMultiClusterApp", TypeShape.of(GetMultiClusterAppResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
+     * Use this data source to retrieve information about a Rancher v2 namespace.
      * 
      * ## Example Usage
      * 
@@ -2387,7 +3166,7 @@ public static CompletableFuture getGlobalRoleBinding
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
+     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2401,8 +3180,9 @@ public static CompletableFuture getGlobalRoleBinding
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
+     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
      *             .name("foo")
+     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2412,11 +3192,11 @@ public static CompletableFuture getGlobalRoleBinding
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getMultiClusterApp(GetMultiClusterAppArgs args) {
-        return getMultiClusterApp(args, InvokeOptions.Empty);
+    public static Output getNamespace(GetNamespaceArgs args) {
+        return getNamespace(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
+     * Use this data source to retrieve information about a Rancher v2 namespace.
      * 
      * ## Example Usage
      * 
@@ -2429,7 +3209,7 @@ public static Output getMultiClusterApp(GetMultiCluste
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
+     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2443,8 +3223,9 @@ public static Output getMultiClusterApp(GetMultiCluste
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
+     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
      *             .name("foo")
+     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2454,11 +3235,11 @@ public static Output getMultiClusterApp(GetMultiCluste
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getMultiClusterAppPlain(GetMultiClusterAppPlainArgs args) {
-        return getMultiClusterAppPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getNamespacePlain(GetNamespacePlainArgs args) {
+        return getNamespacePlain(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
+     * Use this data source to retrieve information about a Rancher v2 namespace.
      * 
      * ## Example Usage
      * 
@@ -2471,7 +3252,7 @@ public static CompletableFuture getMultiClusterAppPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
+     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2485,8 +3266,9 @@ public static CompletableFuture getMultiClusterAppPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
+     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
      *             .name("foo")
+     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2496,11 +3278,11 @@ public static CompletableFuture getMultiClusterAppPlai
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getMultiClusterApp(GetMultiClusterAppArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", TypeShape.of(GetMultiClusterAppResult.class), args, Utilities.withVersion(options));
+    public static Output getNamespace(GetNamespaceArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNamespace:getNamespace", TypeShape.of(GetNamespaceResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 multi cluster app.
+     * Use this data source to retrieve information about a Rancher v2 namespace.
      * 
      * ## Example Usage
      * 
@@ -2513,7 +3295,7 @@ public static Output getMultiClusterApp(GetMultiCluste
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;
+     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2527,8 +3309,9 @@ public static Output getMultiClusterApp(GetMultiCluste
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()
+     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
      *             .name("foo")
+     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2538,8 +3321,8 @@ public static Output getMultiClusterApp(GetMultiCluste
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getMultiClusterAppPlain(GetMultiClusterAppPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getMultiClusterApp:getMultiClusterApp", TypeShape.of(GetMultiClusterAppResult.class), args, Utilities.withVersion(options));
+    public static Output getNamespace(GetNamespaceArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNamespace:getNamespace", TypeShape.of(GetNamespaceResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 namespace.
@@ -2581,11 +3364,11 @@ public static CompletableFuture getMultiClusterAppPlai
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNamespace(GetNamespaceArgs args) {
-        return getNamespace(args, InvokeOptions.Empty);
+    public static CompletableFuture getNamespacePlain(GetNamespacePlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getNamespace:getNamespace", TypeShape.of(GetNamespaceResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 namespace.
+     * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
      * 
      * ## Example Usage
      * 
@@ -2598,7 +3381,7 @@ public static Output getNamespace(GetNamespaceArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
+     * import com.pulumi.rancher2.inputs.GetNodeDriverArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2612,9 +3395,8 @@ public static Output getNamespace(GetNamespaceArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
+     *         final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder()
      *             .name("foo")
-     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2624,11 +3406,11 @@ public static Output getNamespace(GetNamespaceArgs args) {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNamespacePlain(GetNamespacePlainArgs args) {
-        return getNamespacePlain(args, InvokeOptions.Empty);
+    public static Output getNodeDriver(GetNodeDriverArgs args) {
+        return getNodeDriver(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 namespace.
+     * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
      * 
      * ## Example Usage
      * 
@@ -2641,7 +3423,7 @@ public static CompletableFuture getNamespacePlain(GetNamespa
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
+     * import com.pulumi.rancher2.inputs.GetNodeDriverArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2655,9 +3437,8 @@ public static CompletableFuture getNamespacePlain(GetNamespa
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
+     *         final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder()
      *             .name("foo")
-     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2667,11 +3448,11 @@ public static CompletableFuture getNamespacePlain(GetNamespa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNamespace(GetNamespaceArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getNamespace:getNamespace", TypeShape.of(GetNamespaceResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getNodeDriverPlain(GetNodeDriverPlainArgs args) {
+        return getNodeDriverPlain(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 namespace.
+     * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
      * 
      * ## Example Usage
      * 
@@ -2684,7 +3465,7 @@ public static Output getNamespace(GetNamespaceArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetNamespaceArgs;
+     * import com.pulumi.rancher2.inputs.GetNodeDriverArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2698,9 +3479,8 @@ public static Output getNamespace(GetNamespaceArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()
+     *         final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder()
      *             .name("foo")
-     *             .projectId(foo_custom.defaultProjectId())
      *             .build());
      * 
      *     }
@@ -2710,8 +3490,8 @@ public static Output getNamespace(GetNamespaceArgs args, Inv
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNamespacePlain(GetNamespacePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getNamespace:getNamespace", TypeShape.of(GetNamespaceResult.class), args, Utilities.withVersion(options));
+    public static Output getNodeDriver(GetNodeDriverArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNodeDriver:getNodeDriver", TypeShape.of(GetNodeDriverResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
@@ -2752,8 +3532,8 @@ public static CompletableFuture getNamespacePlain(GetNamespa
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNodeDriver(GetNodeDriverArgs args) {
-        return getNodeDriver(args, InvokeOptions.Empty);
+    public static Output getNodeDriver(GetNodeDriverArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNodeDriver:getNodeDriver", TypeShape.of(GetNodeDriverResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
@@ -2794,11 +3574,11 @@ public static Output getNodeDriver(GetNodeDriverArgs args)
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNodeDriverPlain(GetNodeDriverPlainArgs args) {
-        return getNodeDriverPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getNodeDriverPlain(GetNodeDriverPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getNodeDriver:getNodeDriver", TypeShape.of(GetNodeDriverResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
+     * Use this data source to retrieve information about a Rancher v2 Node Pool resource.
      * 
      * ## Example Usage
      * 
@@ -2811,7 +3591,7 @@ public static CompletableFuture getNodeDriverPlain(GetNodeD
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetNodeDriverArgs;
+     * import com.pulumi.rancher2.inputs.GetNodePoolArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2825,7 +3605,8 @@ public static CompletableFuture getNodeDriverPlain(GetNodeD
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder()
+     *         final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder()
+     *             .clusterId(foo_custom.id())
      *             .name("foo")
      *             .build());
      * 
@@ -2836,11 +3617,11 @@ public static CompletableFuture getNodeDriverPlain(GetNodeD
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNodeDriver(GetNodeDriverArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getNodeDriver:getNodeDriver", TypeShape.of(GetNodeDriverResult.class), args, Utilities.withVersion(options));
+    public static Output getNodePool(GetNodePoolArgs args) {
+        return getNodePool(args, InvokeOptions.Empty);
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 Node Driver resource.
+     * Use this data source to retrieve information about a Rancher v2 Node Pool resource.
      * 
      * ## Example Usage
      * 
@@ -2853,7 +3634,7 @@ public static Output getNodeDriver(GetNodeDriverArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetNodeDriverArgs;
+     * import com.pulumi.rancher2.inputs.GetNodePoolArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2867,7 +3648,8 @@ public static Output getNodeDriver(GetNodeDriverArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder()
+     *         final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder()
+     *             .clusterId(foo_custom.id())
      *             .name("foo")
      *             .build());
      * 
@@ -2878,8 +3660,8 @@ public static Output getNodeDriver(GetNodeDriverArgs args,
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNodeDriverPlain(GetNodeDriverPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getNodeDriver:getNodeDriver", TypeShape.of(GetNodeDriverResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getNodePoolPlain(GetNodePoolPlainArgs args) {
+        return getNodePoolPlain(args, InvokeOptions.Empty);
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Pool resource.
@@ -2921,8 +3703,8 @@ public static CompletableFuture getNodeDriverPlain(GetNodeD
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNodePool(GetNodePoolArgs args) {
-        return getNodePool(args, InvokeOptions.Empty);
+    public static Output getNodePool(GetNodePoolArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNodePool:getNodePool", TypeShape.of(GetNodePoolResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Pool resource.
@@ -2964,8 +3746,8 @@ public static Output getNodePool(GetNodePoolArgs args) {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNodePoolPlain(GetNodePoolPlainArgs args) {
-        return getNodePoolPlain(args, InvokeOptions.Empty);
+    public static Output getNodePool(GetNodePoolArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNodePool:getNodePool", TypeShape.of(GetNodePoolResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Pool resource.
@@ -3007,11 +3789,11 @@ public static CompletableFuture getNodePoolPlain(GetNodePoolP
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNodePool(GetNodePoolArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("rancher2:index/getNodePool:getNodePool", TypeShape.of(GetNodePoolResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getNodePoolPlain(GetNodePoolPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("rancher2:index/getNodePool:getNodePool", TypeShape.of(GetNodePoolResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Use this data source to retrieve information about a Rancher v2 Node Pool resource.
+     * Use this data source to retrieve information about a Rancher v2 Node Template resource.
      * 
      * ## Example Usage
      * 
@@ -3024,7 +3806,7 @@ public static Output getNodePool(GetNodePoolArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetNodePoolArgs;
+     * import com.pulumi.rancher2.inputs.GetNodeTemplateArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3038,8 +3820,7 @@ public static Output getNodePool(GetNodePoolArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder()
-     *             .clusterId(foo_custom.id())
+     *         final var foo = Rancher2Functions.getNodeTemplate(GetNodeTemplateArgs.builder()
      *             .name("foo")
      *             .build());
      * 
@@ -3050,8 +3831,8 @@ public static Output getNodePool(GetNodePoolArgs args, Invoke
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNodePoolPlain(GetNodePoolPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getNodePool:getNodePool", TypeShape.of(GetNodePoolResult.class), args, Utilities.withVersion(options));
+    public static Output getNodeTemplate(GetNodeTemplateArgs args) {
+        return getNodeTemplate(args, InvokeOptions.Empty);
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Template resource.
@@ -3092,8 +3873,8 @@ public static CompletableFuture getNodePoolPlain(GetNodePoolP
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNodeTemplate(GetNodeTemplateArgs args) {
-        return getNodeTemplate(args, InvokeOptions.Empty);
+    public static CompletableFuture getNodeTemplatePlain(GetNodeTemplatePlainArgs args) {
+        return getNodeTemplatePlain(args, InvokeOptions.Empty);
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Template resource.
@@ -3134,8 +3915,8 @@ public static Output getNodeTemplate(GetNodeTemplateArgs
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getNodeTemplatePlain(GetNodeTemplatePlainArgs args) {
-        return getNodeTemplatePlain(args, InvokeOptions.Empty);
+    public static Output getNodeTemplate(GetNodeTemplateArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getNodeTemplate:getNodeTemplate", TypeShape.of(GetNodeTemplateResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 Node Template resource.
@@ -3176,7 +3957,7 @@ public static CompletableFuture getNodeTemplatePlain(GetN
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getNodeTemplate(GetNodeTemplateArgs args, InvokeOptions options) {
+    public static Output getNodeTemplate(GetNodeTemplateArgs args, InvokeOutputOptions options) {
         return Deployment.getInstance().invoke("rancher2:index/getNodeTemplate:getNodeTemplate", TypeShape.of(GetNodeTemplateResult.class), args, Utilities.withVersion(options));
     }
     /**
@@ -3230,6 +4011,9 @@ public static CompletableFuture getPodSecurityAdmissionConfigurationTemplate(GetPodSecurityAdmissionConfigurationTemplateArgs args, InvokeOptions options) {
         return Deployment.getInstance().invoke("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", TypeShape.of(GetPodSecurityAdmissionConfigurationTemplateResult.class), args, Utilities.withVersion(options));
     }
+    public static Output getPodSecurityAdmissionConfigurationTemplate(GetPodSecurityAdmissionConfigurationTemplateArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", TypeShape.of(GetPodSecurityAdmissionConfigurationTemplateResult.class), args, Utilities.withVersion(options));
+    }
     public static CompletableFuture getPodSecurityAdmissionConfigurationTemplatePlain(GetPodSecurityAdmissionConfigurationTemplatePlainArgs args, InvokeOptions options) {
         return Deployment.getInstance().invokeAsync("rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate", TypeShape.of(GetPodSecurityAdmissionConfigurationTemplateResult.class), args, Utilities.withVersion(options));
     }
@@ -3359,6 +4143,48 @@ public static CompletableFuture getPrincipalPlain(GetPrincip
     public static Output getPrincipal(GetPrincipalArgs args, InvokeOptions options) {
         return Deployment.getInstance().invoke("rancher2:index/getPrincipal:getPrincipal", TypeShape.of(GetPrincipalResult.class), args, Utilities.withVersion(options));
     }
+    /**
+     * Use this data source to retrieve information about a Rancher v2 Principal resource.
+     * 
+     * ## Example Usage
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * 
+     * {@code
+     * 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.GetPrincipalArgs;
+     * 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 }{{@code
+     *     public static void main(String[] args) }{{@code
+     *         Pulumi.run(App::stack);
+     *     }}{@code
+     * 
+     *     public static void stack(Context ctx) }{{@code
+     *         final var foo = Rancher2Functions.getPrincipal(GetPrincipalArgs.builder()
+     *             .name("user}{@literal @}{@code example.com")
+     *             .build());
+     * 
+     *     }}{@code
+     * }}{@code
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getPrincipal(GetPrincipalArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getPrincipal:getPrincipal", TypeShape.of(GetPrincipalResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 Principal resource. * @@ -3422,6 +4248,13 @@ public static CompletableFuture getProjectPlain(GetProjectPlai public static Output getProject(GetProjectArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getProject:getProject", TypeShape.of(GetProjectResult.class), args, Utilities.withVersion(options)); } + /** + * ## Example Usage + * + */ + public static Output getProject(GetProjectArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getProject:getProject", TypeShape.of(GetProjectResult.class), args, Utilities.withVersion(options)); + } /** * ## Example Usage * @@ -3554,15 +4387,140 @@ public static CompletableFuture getProjectR *
* <!--End PulumiCodeChooser --> * - */ - public static Output getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", TypeShape.of(GetProjectRoleTemplateBindingResult.class), args, Utilities.withVersion(options)); - } - /** - * Use this data source to retrieve information about a Rancher v2 project role template binding. - * - * ## Example Usage - * + */ + public static Output getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", TypeShape.of(GetProjectRoleTemplateBindingResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 project role template binding. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetProjectRoleTemplateBindingArgs;
+     * 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.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder()
+     *             .name("foo")
+     *             .projectId("foo_id")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", TypeShape.of(GetProjectRoleTemplateBindingResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 project role template binding. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetProjectRoleTemplateBindingArgs;
+     * 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.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder()
+     *             .name("foo")
+     *             .projectId("foo_id")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getProjectRoleTemplateBindingPlain(GetProjectRoleTemplateBindingPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", TypeShape.of(GetProjectRoleTemplateBindingResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve information about a Rancher v2 docker registry. + * + * Depending of the availability, there are 2 types of Rancher v2 docker registries: + * - Project registry: Available to all namespaces in the `project_id` + * - Namespaced registry: Available to just `namespace_id` in the `project_id` + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetRegistryArgs;
+     * 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) {
+     *         // Retrieve a rancher2 Project Registry
+     *         final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder()
+     *             .name("")
+     *             .projectId("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -3572,7 +4530,7 @@ public static Output getProjectRoleTemplate
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.rancher2.Rancher2Functions;
-     * import com.pulumi.rancher2.inputs.GetProjectRoleTemplateBindingArgs;
+     * import com.pulumi.rancher2.inputs.GetRegistryArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3586,9 +4544,11 @@ public static Output getProjectRoleTemplate
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var foo = Rancher2Functions.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder()
-     *             .name("foo")
-     *             .projectId("foo_id")
+     *         // Retrieve a rancher2 Namespaced Registry
+     *         final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder()
+     *             .name("")
+     *             .projectId("")
+     *             .namespaceId("")
      *             .build());
      * 
      *     }
@@ -3598,8 +4558,8 @@ public static Output getProjectRoleTemplate
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getProjectRoleTemplateBindingPlain(GetProjectRoleTemplateBindingPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", TypeShape.of(GetProjectRoleTemplateBindingResult.class), args, Utilities.withVersion(options));
+    public static Output getRegistry(GetRegistryArgs args) {
+        return getRegistry(args, InvokeOptions.Empty);
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 docker registry.
@@ -3682,8 +4642,8 @@ public static CompletableFuture getProjectR
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getRegistry(GetRegistryArgs args) {
-        return getRegistry(args, InvokeOptions.Empty);
+    public static CompletableFuture getRegistryPlain(GetRegistryPlainArgs args) {
+        return getRegistryPlain(args, InvokeOptions.Empty);
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 docker registry.
@@ -3766,8 +4726,8 @@ public static Output getRegistry(GetRegistryArgs args) {
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static CompletableFuture getRegistryPlain(GetRegistryPlainArgs args) {
-        return getRegistryPlain(args, InvokeOptions.Empty);
+    public static Output getRegistry(GetRegistryArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("rancher2:index/getRegistry:getRegistry", TypeShape.of(GetRegistryResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Use this data source to retrieve information about a Rancher v2 docker registry.
@@ -3850,7 +4810,7 @@ public static CompletableFuture getRegistryPlain(GetRegistryP
      * <!--End PulumiCodeChooser -->
      * 
      */
-    public static Output getRegistry(GetRegistryArgs args, InvokeOptions options) {
+    public static Output getRegistry(GetRegistryArgs args, InvokeOutputOptions options) {
         return Deployment.getInstance().invoke("rancher2:index/getRegistry:getRegistry", TypeShape.of(GetRegistryResult.class), args, Utilities.withVersion(options));
     }
     /**
@@ -4063,6 +5023,48 @@ public static CompletableFuture getRoleTemplatePlain(GetR
     public static Output getRoleTemplate(GetRoleTemplateArgs args, InvokeOptions options) {
         return Deployment.getInstance().invoke("rancher2:index/getRoleTemplate:getRoleTemplate", TypeShape.of(GetRoleTemplateResult.class), args, Utilities.withVersion(options));
     }
+    /**
+     * Use this data source to retrieve information about a Rancher v2 role template resource.
+     * 
+     * ## Example Usage
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * 
+     * {@code
+     * 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.GetRoleTemplateArgs;
+     * 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.getRoleTemplate(GetRoleTemplateArgs.builder()
+     *             .name("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getRoleTemplate(GetRoleTemplateArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getRoleTemplate:getRoleTemplate", TypeShape.of(GetRoleTemplateResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 role template resource. * @@ -4357,6 +5359,90 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr public static Output getSecret(GetSecretArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getSecret:getSecret", TypeShape.of(GetSecretResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 secret. + * + * Depending of the availability, there are 2 types of Rancher v2 secrets: + * - Project secret: Available to all namespaces in the `project_id` + * - Namespaced secret: Available to just `namespace_id` in the `project_id` + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetSecretArgs;
+     * 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) {
+     *         // Retrieve a rancher2 Project Secret
+     *         final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder()
+     *             .name("")
+     *             .projectId("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetSecretArgs;
+     * 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) {
+     *         // Retrieve a rancher2 Namespaced Secret
+     *         final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder()
+     *             .name("")
+     *             .projectId("")
+     *             .namespaceId("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSecret(GetSecretArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getSecret:getSecret", TypeShape.of(GetSecretResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 secret. * @@ -4462,6 +5548,13 @@ public static CompletableFuture getSecretV2Plain(GetSecretV2P public static Output getSecretV2(GetSecretV2Args args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getSecretV2:getSecretV2", TypeShape.of(GetSecretV2Result.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher2 secret v2. Secret v2 resource is available at Rancher v2.5.x and above. + * + */ + public static Output getSecretV2(GetSecretV2Args args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getSecretV2:getSecretV2", TypeShape.of(GetSecretV2Result.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher2 secret v2. Secret v2 resource is available at Rancher v2.5.x and above. * @@ -4595,6 +5688,48 @@ public static CompletableFuture getSettingPlain(GetSettingPlai public static Output getSetting(GetSettingArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getSetting:getSetting", TypeShape.of(GetSettingResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 setting. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetSettingArgs;
+     * 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 server-image = Rancher2Functions.getSetting(GetSettingArgs.builder()
+     *             .name("server-image")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getSetting(GetSettingArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getSetting:getSetting", TypeShape.of(GetSettingResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 setting. * @@ -4658,6 +5793,13 @@ public static CompletableFuture getStorageClassV2Plain( public static Output getStorageClassV2(GetStorageClassV2Args args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getStorageClassV2:getStorageClassV2", TypeShape.of(GetStorageClassV2Result.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher2 Storage Class v2. Storage Class v2 resource is available at Rancher v2.5.x and above. + * + */ + public static Output getStorageClassV2(GetStorageClassV2Args args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getStorageClassV2:getStorageClassV2", TypeShape.of(GetStorageClassV2Result.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher2 Storage Class v2. Storage Class v2 resource is available at Rancher v2.5.x and above. * @@ -4875,6 +6017,48 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg public static Output getUser(GetUserArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("rancher2:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve information about a Rancher v2 user + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * 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.GetUserArgs;
+     * 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.getUser(GetUserArgs.builder()
+     *             .username("foo")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getUser(GetUserArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("rancher2:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve information about a Rancher v2 user * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Utilities.java b/sdk/java/src/main/java/com/pulumi/rancher2/Utilities.java index effa2ad41..12a734b13 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Utilities.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Utilities.java @@ -14,6 +14,7 @@ import javax.annotation.Nullable; import com.pulumi.core.internal.Environment; import com.pulumi.deployment.InvokeOptions; +import com.pulumi.deployment.InvokeOutputOptions; public class Utilities { @@ -57,16 +58,28 @@ public static Optional getEnvDouble(java.lang.String... names) return Optional.empty(); } - public static InvokeOptions withVersion(@Nullable InvokeOptions options) { - if (options != null && options.getVersion().isPresent()) { - return options; - } - return new InvokeOptions( - options == null ? null : options.getParent().orElse(null), - options == null ? null : options.getProvider().orElse(null), - getVersion() - ); + public static InvokeOptions withVersion(@Nullable InvokeOptions options) { + if (options != null && options.getVersion().isPresent()) { + return options; + } + return new InvokeOptions( + options == null ? null : options.getParent().orElse(null), + options == null ? null : options.getProvider().orElse(null), + getVersion() + ); + } + + public static InvokeOutputOptions withVersion(@Nullable InvokeOutputOptions options) { + if (options != null && options.getVersion().isPresent()) { + return options; } + return new InvokeOutputOptions( + options == null ? null : options.getParent().orElse(null), + options == null ? null : options.getProvider().orElse(null), + getVersion(), + options == null ? null : options.getDependsOn() + ); + } private static final java.lang.String version; public static java.lang.String getVersion() { diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 83d7e3a0a..8237b3fe9 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -13,7 +13,7 @@ "build": "tsc" }, "dependencies": { - "@pulumi/pulumi": "^3.136.0" + "@pulumi/pulumi": "^3.142.0" }, "devDependencies": { "@types/mime": "^2.0.0", diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index d7ba57f59..75e7e1cc8 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "pulumi_rancher2" description = "A Pulumi package for creating and managing rancher2 resources." - dependencies = ["parver>=0.2.1", "pulumi>=3.136.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""] + dependencies = ["parver>=0.2.1", "pulumi>=3.142.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""] keywords = ["pulumi", "rancher2"] readme = "README.md" - requires-python = ">=3.8" + requires-python = ">=3.9" version = "8.0.0a0+dev" [project.license] text = "Apache-2.0"