Namespace
- Implements: github.com/alibabacloud-go/ros-cdk/alicloudroscdksae.datasource.INamespace
This class encapsulates and extends the ROS resource type DATASOURCE::SAE::Namespace.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksae/datasource"
datasource.NewNamespace(scope Construct, id *string, props NamespaceProps, enableResourcePropertyConstraint *bool) Namespace
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | NamespaceProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsOptional
- Type: NamespaceProps
enableResourcePropertyConstraintOptional
- Type: *bool
Methods
| Name | Description |
|---|---|
ToString | Returns a string representation of this construct. |
Synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition | No description. |
AddCount | No description. |
AddDependency | No description. |
AddResourceDesc | No description. |
ApplyRemovalPolicy | No description. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | No description. |
GetAtt | No description. |
SetMetadata | No description. |
ToString
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksae/datasource"
datasource.Namespace_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Ref | *string | No description. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
Resource | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource | No description. |
AttrAppCount | interface{} | Attribute AppCount: The number of applications. |
AttrBelongRegion | interface{} | Attribute BelongRegion: The region to which the namespace belongs. |
AttrDescription | interface{} | Attribute Description: The description of the namespace. |
AttrJumpServerAppId | interface{} | Attribute JumpServerAppId: The ID of the jump server application. |
AttrJumpServerIp | interface{} | Attribute JumpServerIp: The IP address of the jump server. |
AttrLastChangeOrderId | interface{} | Attribute LastChangeOrderId: The ID of the change order. |
AttrLastChangeOrderRunning | interface{} | Attribute LastChangeOrderRunning: Indicates whether a change order is being executed in the namespace. |
AttrLastChangeOrderStatus | interface{} | Attribute LastChangeOrderStatus: The status of the latest change order. |
AttrNamespaceId | interface{} | Attribute NamespaceId: The ID of the namespace. |
AttrNamespaceName | interface{} | Attribute NamespaceName: The name of the namespace. |
AttrNameSpaceShortId | interface{} | Attribute NameSpaceShortId: The ID of the short namespace. |
AttrNotificationExpired | interface{} | Attribute NotificationExpired: Indicates whether the notification of a change order is expired. |
AttrSecurityGroupId | interface{} | Attribute SecurityGroupId: The ID of the security group. |
AttrTenantId | interface{} | Attribute TenantId: The ID of the tenant in the SAE namespace. |
AttrUserId | interface{} | Attribute UserId: The ID of the user. |
AttrVpcId | interface{} | Attribute VpcId: The ID of the virtual private cloud (VPC). |
AttrVpcName | interface{} | Attribute VpcName: The name of the VPC. |
AttrVSwitchId | interface{} | Attribute VSwitchId: The ID of the vSwitch. |
AttrVSwitchName | interface{} | Attribute VSwitchName: The name of the vSwitch. |
Props | NamespaceProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
RefRequired
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAppCountRequired
func AttrAppCount() interface{}
- Type: interface{}
Attribute AppCount: The number of applications.
AttrBelongRegionRequired
func AttrBelongRegion() interface{}
- Type: interface{}
Attribute BelongRegion: The region to which the namespace belongs.
AttrDescriptionRequired
func AttrDescription() interface{}
- Type: interface{}
Attribute Description: The description of the namespace.
AttrJumpServerAppIdRequired
func AttrJumpServerAppId() interface{}
- Type: interface{}
Attribute JumpServerAppId: The ID of the jump server application.
AttrJumpServerIpRequired
func AttrJumpServerIp() interface{}
- Type: interface{}
Attribute JumpServerIp: The IP address of the jump server.
AttrLastChangeOrderIdRequired
func AttrLastChangeOrderId() interface{}
- Type: interface{}
Attribute LastChangeOrderId: The ID of the change order.
AttrLastChangeOrderRunningRequired
func AttrLastChangeOrderRunning() interface{}
- Type: interface{}
Attribute LastChangeOrderRunning: Indicates whether a change order is being executed in the namespace.
AttrLastChangeOrderStatusRequired
func AttrLastChangeOrderStatus() interface{}
- Type: interface{}
Attribute LastChangeOrderStatus: The status of the latest change order.
AttrNamespaceIdRequired
func AttrNamespaceId() interface{}
- Type: interface{}
Attribute NamespaceId: The ID of the namespace.
AttrNamespaceNameRequired
func AttrNamespaceName() interface{}
- Type: interface{}
Attribute NamespaceName: The name of the namespace.
AttrNameSpaceShortIdRequired
func AttrNameSpaceShortId() interface{}
- Type: interface{}
Attribute NameSpaceShortId: The ID of the short namespace.
AttrNotificationExpiredRequired
func AttrNotificationExpired() interface{}
- Type: interface{}
Attribute NotificationExpired: Indicates whether the notification of a change order is expired.
AttrSecurityGroupIdRequired
func AttrSecurityGroupId() interface{}
- Type: interface{}
Attribute SecurityGroupId: The ID of the security group.
AttrTenantIdRequired
func AttrTenantId() interface{}
- Type: interface{}
Attribute TenantId: The ID of the tenant in the SAE namespace.
AttrUserIdRequired
func AttrUserId() interface{}
- Type: interface{}
Attribute UserId: The ID of the user.
AttrVpcIdRequired
func AttrVpcId() interface{}
- Type: interface{}
Attribute VpcId: The ID of the virtual private cloud (VPC).
AttrVpcNameRequired
func AttrVpcName() interface{}
- Type: interface{}
Attribute VpcName: The name of the VPC.
AttrVSwitchIdRequired
func AttrVSwitchId() interface{}
- Type: interface{}
Attribute VSwitchId: The ID of the vSwitch.
AttrVSwitchNameRequired
func AttrVSwitchName() interface{}
- Type: interface{}
Attribute VSwitchName: The name of the vSwitch.
PropsRequired
func Props() NamespaceProps
- Type: NamespaceProps