EnvironmentPlaceholders
Placeholders which can be used manifests.
These can occur both in the Asset Manifest as well as the general Cloud Assembly manifest.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Cxapi;
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
using AlibabaCloud.SDK.ROS.CDK.Cxapi;
EnvironmentPlaceholders.Replace(object Object, EnvironmentPlaceholderValues Values);
Replace the environment placeholders in all strings found in a complex object.
- Type: object
ReplaceAsync
using AlibabaCloud.SDK.ROS.CDK.Cxapi;
EnvironmentPlaceholders.ReplaceAsync(object Object, IEnvironmentPlaceholderProvider Provider);
Like 'replace', but asynchronous.
- Type: object
Constants
| Name | Type | Description |
|---|---|---|
CurrentAccount |
string |
Insert this into the destination fields to be replaced with the current account. |
CurrentRegion |
string |
Insert this into the destination fields to be replaced with the current region. |
CurrentAccountRequired
public string CurrentAccount { get; }
- Type: string
Insert this into the destination fields to be replaced with the current account.
CurrentRegionRequired
public string CurrentRegion { get; }
- Type: string
Insert this into the destination fields to be replaced with the current region.