1. Packages
  2. Rancher2 Provider
  3. API Docs
  4. getConfigMapV2
Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi

rancher2.getConfigMapV2

Explore with Pulumi AI

rancher2 logo
Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi

    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:

    ClusterId string
    The cluster id of the configMap V2 (string)
    Name string
    The name of the configMap v2 (string)
    Namespace string
    The namespaces of the configMap v2. Default: default (string)
    ClusterId string
    The cluster id of the configMap V2 (string)
    Name string
    The name of the configMap v2 (string)
    Namespace string
    The namespaces of the configMap v2. Default: default (string)
    clusterId String
    The cluster id of the configMap V2 (string)
    name String
    The name of the configMap v2 (string)
    namespace String
    The namespaces of the configMap v2. Default: default (string)
    clusterId string
    The cluster id of the configMap V2 (string)
    name string
    The name of the configMap v2 (string)
    namespace string
    The namespaces of the configMap v2. Default: default (string)
    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)
    clusterId String
    The cluster id of the configMap V2 (string)
    name String
    The name of the configMap v2 (string)
    namespace String
    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)
    ClusterId 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
    ResourceVersion string
    (Computed) The k8s resource version (string)
    Namespace string
    Annotations map[string]string
    (Computed) Annotations for the configMap v2 (map)
    ClusterId 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
    ResourceVersion string
    (Computed) The k8s resource version (string)
    Namespace string
    annotations Map<String,String>
    (Computed) Annotations for the configMap v2 (map)
    clusterId 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
    resourceVersion String
    (Computed) The k8s resource version (string)
    namespace String
    annotations {[key: string]: string}
    (Computed) Annotations for the configMap v2 (map)
    clusterId 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
    resourceVersion 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)
    clusterId 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
    resourceVersion 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.
    rancher2 logo
    Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi