Skip to content

ConfigMapProps

Properties for defining a ConfigMap.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-configmap

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksae"
&alicloudroscdksae.ConfigMapProps {
    Data: interface{},
    Name: interface{},
    NamespaceId: interface{},
    Description: interface{},
}

Properties

Name Type Description
Data interface{} Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items.
Name interface{} Property name: The name of the config map.
NamespaceId interface{} Property namespaceId: The ID of the namespace to which this config map instance belongs.
Description interface{} Property description: Describe information, do not enter the space without more than 255 characters.

DataRequired

Data interface{}
  • Type: interface{}

Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items.


NameRequired

Name interface{}
  • Type: interface{}

Property name: The name of the config map.


NamespaceIdRequired

NamespaceId interface{}
  • Type: interface{}

Property namespaceId: The ID of the namespace to which this config map instance belongs.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Describe information, do not enter the space without more than 255 characters.