EnvironmentPlaceholders
Placeholders which can be used manifests.
These can occur both in the Asset Manifest as well as the general Cloud Assembly manifest.
Initializers
import com.aliyun.ros.cdk.cxapi.EnvironmentPlaceholders;
new EnvironmentPlaceholders();
| Name | Type | Description |
|---|---|---|
Static Functions
| Name | Description |
|---|---|
replace |
Replace the environment placeholders in all strings found in a complex object. |
replaceAsync |
Like 'replace', but asynchronous. |
replace
import com.aliyun.ros.cdk.cxapi.EnvironmentPlaceholders;
EnvironmentPlaceholders.replace(java.lang.Object object, EnvironmentPlaceholderValues values)
Replace the environment placeholders in all strings found in a complex object.
- Type: java.lang.Object
replaceAsync
import com.aliyun.ros.cdk.cxapi.EnvironmentPlaceholders;
EnvironmentPlaceholders.replaceAsync(java.lang.Object object, IEnvironmentPlaceholderProvider provider)
Like 'replace', but asynchronous.
- Type: java.lang.Object
Constants
| Name | Type | Description |
|---|---|---|
CURRENT_ACCOUNT |
java.lang.String |
Insert this into the destination fields to be replaced with the current account. |
CURRENT_REGION |
java.lang.String |
Insert this into the destination fields to be replaced with the current region. |
CURRENT_ACCOUNTRequired
public java.lang.String getCurrentAccount();
- Type: java.lang.String
Insert this into the destination fields to be replaced with the current account.
CURRENT_REGIONRequired
public java.lang.String getCurrentRegion();
- Type: java.lang.String
Insert this into the destination fields to be replaced with the current region.