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 "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.NewEnvironmentPlaceholders() 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 "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.EnvironmentPlaceholders_Replace(object interface{}, values EnvironmentPlaceholderValues) interface{}
Replace the environment placeholders in all strings found in a complex object.
- Type: interface{}
ReplaceAsync
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.EnvironmentPlaceholders_ReplaceAsync(object interface{}, provider IEnvironmentPlaceholderProvider) interface{}
Like 'replace', but asynchronous.
- Type: interface{}
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. |
CurrentAccount
Required
func CurrentAccount() *string
- Type: *string
Insert this into the destination fields to be replaced with the current account.
CurrentRegion
Required
func CurrentRegion() *string
- Type: *string
Insert this into the destination fields to be replaced with the current region.