Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi
rancher2.getConfigMapV2
Explore with Pulumi AI
Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above.
Using getConfigMapV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConfigMapV2(args: GetConfigMapV2Args, opts?: InvokeOptions): Promise<GetConfigMapV2Result>
function getConfigMapV2Output(args: GetConfigMapV2OutputArgs, opts?: InvokeOptions): Output<GetConfigMapV2Result>
def get_config_map_v2(cluster_id: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigMapV2Result
def get_config_map_v2_output(cluster_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigMapV2Result]
func LookupConfigMapV2(ctx *Context, args *LookupConfigMapV2Args, opts ...InvokeOption) (*LookupConfigMapV2Result, error)
func LookupConfigMapV2Output(ctx *Context, args *LookupConfigMapV2OutputArgs, opts ...InvokeOption) LookupConfigMapV2ResultOutput
> Note: This function is named LookupConfigMapV2
in the Go SDK.
public static class GetConfigMapV2
{
public static Task<GetConfigMapV2Result> InvokeAsync(GetConfigMapV2Args args, InvokeOptions? opts = null)
public static Output<GetConfigMapV2Result> Invoke(GetConfigMapV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigMapV2Result> getConfigMapV2(GetConfigMapV2Args args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rancher2:index/getConfigMapV2:getConfigMapV2
arguments:
# arguments dictionary
The following arguments are supported:
- cluster_
id str - The cluster id of the configMap V2 (string)
- name str
- The name of the configMap v2 (string)
- namespace str
- The namespaces of the configMap v2. Default:
default
(string)
getConfigMapV2 Result
The following output properties are available:
- Annotations Dictionary<string, string>
- (Computed) Annotations for the configMap v2 (map)
- Cluster
Id string - Data Dictionary<string, string>
- (Computed) The data of the configMap v2 (map)
- Id string
- The provider-assigned unique ID for this managed resource.
- Immutable bool
- (Computed) If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s
ImmutableEphemeralVolumes
feature gate (bool) - Labels Dictionary<string, string>
- (Computed) Labels for the configMap v2 (map)
- Name string
- Resource
Version string - (Computed) The k8s resource version (string)
- Namespace string
- Annotations map[string]string
- (Computed) Annotations for the configMap v2 (map)
- Cluster
Id string - Data map[string]string
- (Computed) The data of the configMap v2 (map)
- Id string
- The provider-assigned unique ID for this managed resource.
- Immutable bool
- (Computed) If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s
ImmutableEphemeralVolumes
feature gate (bool) - Labels map[string]string
- (Computed) Labels for the configMap v2 (map)
- Name string
- Resource
Version string - (Computed) The k8s resource version (string)
- Namespace string
- annotations Map<String,String>
- (Computed) Annotations for the configMap v2 (map)
- cluster
Id String - data Map<String,String>
- (Computed) The data of the configMap v2 (map)
- id String
- The provider-assigned unique ID for this managed resource.
- immutable Boolean
- (Computed) If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s
ImmutableEphemeralVolumes
feature gate (bool) - labels Map<String,String>
- (Computed) Labels for the configMap v2 (map)
- name String
- resource
Version String - (Computed) The k8s resource version (string)
- namespace String
- annotations {[key: string]: string}
- (Computed) Annotations for the configMap v2 (map)
- cluster
Id string - data {[key: string]: string}
- (Computed) The data of the configMap v2 (map)
- id string
- The provider-assigned unique ID for this managed resource.
- immutable boolean
- (Computed) If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s
ImmutableEphemeralVolumes
feature gate (bool) - labels {[key: string]: string}
- (Computed) Labels for the configMap v2 (map)
- name string
- resource
Version string - (Computed) The k8s resource version (string)
- namespace string
- annotations Mapping[str, str]
- (Computed) Annotations for the configMap v2 (map)
- cluster_
id str - data Mapping[str, str]
- (Computed) The data of the configMap v2 (map)
- id str
- The provider-assigned unique ID for this managed resource.
- immutable bool
- (Computed) If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s
ImmutableEphemeralVolumes
feature gate (bool) - labels Mapping[str, str]
- (Computed) Labels for the configMap v2 (map)
- name str
- resource_
version str - (Computed) The k8s resource version (string)
- namespace str
- annotations Map<String>
- (Computed) Annotations for the configMap v2 (map)
- cluster
Id String - data Map<String>
- (Computed) The data of the configMap v2 (map)
- id String
- The provider-assigned unique ID for this managed resource.
- immutable Boolean
- (Computed) If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s
ImmutableEphemeralVolumes
feature gate (bool) - labels Map<String>
- (Computed) Labels for the configMap v2 (map)
- name String
- resource
Version String - (Computed) The k8s resource version (string)
- namespace String
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.