Skip to content

NacosConfigProps

Properties for defining a NacosConfig.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosconfig

Initializer

import com.aliyun.ros.cdk.mse.NacosConfigProps;
NacosConfigProps.builder()
    .dataId(java.lang.String)
    .dataId(IResolvable)
    .group(java.lang.String)
    .group(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
//  .appName(java.lang.String)
//  .appName(IResolvable)
//  .betaIps(java.lang.String)
//  .betaIps(IResolvable)
//  .content(java.lang.String)
//  .content(IResolvable)
//  .desc(java.lang.String)
//  .desc(IResolvable)
//  .namespaceId(java.lang.String)
//  .namespaceId(IResolvable)
//  .tags(java.lang.String)
//  .type(java.lang.String)
//  .type(IResolvable)
    .build();

Properties

Name Type Description
dataId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataId: The data ID.
group java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property group: The ID of the group.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the instance.
appName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appName: The name of the application.
betaIps java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property betaIps: The list of IP addresses where the beta release of the configuration is performed.
content java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property content: The content of the configuration.
desc java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property desc: The description of the configuration.
namespaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespaceId: The ID of the namespace.
tags java.lang.String Property tags: The tag of the configuration.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: The format of the configuration.

dataIdRequired

public java.lang.Object getDataId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dataId: The data ID.


groupRequired

public java.lang.Object getGroup();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property group: The ID of the group.


instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: The ID of the instance.


appNameOptional

public java.lang.Object getAppName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property appName: The name of the application.


betaIpsOptional

public java.lang.Object getBetaIps();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property betaIps: The list of IP addresses where the beta release of the configuration is performed.


contentOptional

public java.lang.Object getContent();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property content: The content of the configuration.


descOptional

public java.lang.Object getDesc();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property desc: The description of the configuration.


namespaceIdOptional

public java.lang.Object getNamespaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property namespaceId: The ID of the namespace.


tagsOptional

public java.lang.String getTags();
  • Type: java.lang.String

Property tags: The tag of the configuration.


typeOptional

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property type: The format of the configuration.

Supported formats include TEXT, JSON, and XML.