IService
-
Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource
-
Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai.datasource.Service, github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai.datasource.IService
Represents a Service.
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node for this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
AttrAccessToken | interface{} | Attribute AccessToken: The request token of the service. |
AttrCallerUid | interface{} | Attribute CallerUid: The user ID of the account that is used to create the service. |
AttrCpu | interface{} | Attribute Cpu: The CPU that you applied for each instance. |
AttrCreateTime | interface{} | Attribute CreateTime: The time when the service was created. |
AttrCurrentVersion | interface{} | Attribute CurrentVersion: The current version of the model. |
AttrExtraData | interface{} | Attribute ExtraData: The additional information about the service. |
AttrGpu | interface{} | Attribute Gpu: The GPU that you applied for each instance. |
AttrImage | interface{} | Attribute Image: The data image of the service. |
AttrInternetEndpoint | interface{} | Attribute InternetEndpoint: The public endpoint of the service. |
AttrIntranetEndpoint | interface{} | Attribute IntranetEndpoint: The private endpoint of the service. |
AttrLabels | interface{} | Attribute Labels: The tags of the service. |
AttrLatestVersion | interface{} | Attribute LatestVersion: The latest version of the service. |
AttrMemory | interface{} | Attribute Memory: The memory that you applied for each instance. |
AttrMessage | interface{} | Attribute Message: The summary of the service. |
AttrNamespace | interface{} | Attribute Namespace: The namespace of the service. |
AttrParentUid | interface{} | Attribute ParentUid: The user ID of the Alibaba Cloud account that is used to create the service. |
AttrPendingInstance | interface{} | Attribute PendingInstance: The number of instances for the suspended service. |
AttrReason | interface{} | Attribute Reason: The reason why the service is in the current state. |
AttrResource | interface{} | Attribute Resource: The resource group to which the service belongs. |
AttrResourceAlias | interface{} | Attribute ResourceAlias: The alias of the resource group to which the service belongs. |
AttrRole | interface{} | Attribute Role: The role of the service. |
AttrRoleAttrs | interface{} | Attribute RoleAttrs: The additional attributes of the service role. |
AttrRunningInstance | interface{} | Attribute RunningInstance: The number of instances for the running service. |
AttrSafetyLock | interface{} | Attribute SafetyLock: The security lock of the service. |
AttrServiceConfig | interface{} | Attribute ServiceConfig: The configurations of the service. |
AttrServiceGroup | interface{} | Attribute ServiceGroup: The group to which the service belongs. |
AttrServiceName | interface{} | Attribute ServiceName: The name of the service. |
AttrServiceUid | interface{} | Attribute ServiceUid: The ID of the service. |
AttrTotalInstance | interface{} | Attribute TotalInstance: The total number of instances of the service. |
AttrUpdateTime | interface{} | Attribute UpdateTime: The time when the service was updated. |
AttrWeight | interface{} | Attribute Weight: The weight of the canary release for the service. |
Props | ServiceProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node for 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.
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
AttrAccessTokenRequired
func AttrAccessToken() interface{}
- Type: interface{}
Attribute AccessToken: The request token of the service.
AttrCallerUidRequired
func AttrCallerUid() interface{}
- Type: interface{}
Attribute CallerUid: The user ID of the account that is used to create the service.
AttrCpuRequired
func AttrCpu() interface{}
- Type: interface{}
Attribute Cpu: The CPU that you applied for each instance.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: The time when the service was created.
AttrCurrentVersionRequired
func AttrCurrentVersion() interface{}
- Type: interface{}
Attribute CurrentVersion: The current version of the model.
AttrExtraDataRequired
func AttrExtraData() interface{}
- Type: interface{}
Attribute ExtraData: The additional information about the service.
AttrGpuRequired
func AttrGpu() interface{}
- Type: interface{}
Attribute Gpu: The GPU that you applied for each instance.
AttrImageRequired
func AttrImage() interface{}
- Type: interface{}
Attribute Image: The data image of the service.
AttrInternetEndpointRequired
func AttrInternetEndpoint() interface{}
- Type: interface{}
Attribute InternetEndpoint: The public endpoint of the service.
AttrIntranetEndpointRequired
func AttrIntranetEndpoint() interface{}
- Type: interface{}
Attribute IntranetEndpoint: The private endpoint of the service.
AttrLabelsRequired
func AttrLabels() interface{}
- Type: interface{}
Attribute Labels: The tags of the service.
AttrLatestVersionRequired
func AttrLatestVersion() interface{}
- Type: interface{}
Attribute LatestVersion: The latest version of the service.
AttrMemoryRequired
func AttrMemory() interface{}
- Type: interface{}
Attribute Memory: The memory that you applied for each instance.
AttrMessageRequired
func AttrMessage() interface{}
- Type: interface{}
Attribute Message: The summary of the service.
AttrNamespaceRequired
func AttrNamespace() interface{}
- Type: interface{}
Attribute Namespace: The namespace of the service.
AttrParentUidRequired
func AttrParentUid() interface{}
- Type: interface{}
Attribute ParentUid: The user ID of the Alibaba Cloud account that is used to create the service.
AttrPendingInstanceRequired
func AttrPendingInstance() interface{}
- Type: interface{}
Attribute PendingInstance: The number of instances for the suspended service.
AttrReasonRequired
func AttrReason() interface{}
- Type: interface{}
Attribute Reason: The reason why the service is in the current state.
AttrResourceRequired
func AttrResource() interface{}
- Type: interface{}
Attribute Resource: The resource group to which the service belongs.
AttrResourceAliasRequired
func AttrResourceAlias() interface{}
- Type: interface{}
Attribute ResourceAlias: The alias of the resource group to which the service belongs.
AttrRoleRequired
func AttrRole() interface{}
- Type: interface{}
Attribute Role: The role of the service.
AttrRoleAttrsRequired
func AttrRoleAttrs() interface{}
- Type: interface{}
Attribute RoleAttrs: The additional attributes of the service role.
AttrRunningInstanceRequired
func AttrRunningInstance() interface{}
- Type: interface{}
Attribute RunningInstance: The number of instances for the running service.
AttrSafetyLockRequired
func AttrSafetyLock() interface{}
- Type: interface{}
Attribute SafetyLock: The security lock of the service.
AttrServiceConfigRequired
func AttrServiceConfig() interface{}
- Type: interface{}
Attribute ServiceConfig: The configurations of the service.
AttrServiceGroupRequired
func AttrServiceGroup() interface{}
- Type: interface{}
Attribute ServiceGroup: The group to which the service belongs.
AttrServiceNameRequired
func AttrServiceName() interface{}
- Type: interface{}
Attribute ServiceName: The name of the service.
AttrServiceUidRequired
func AttrServiceUid() interface{}
- Type: interface{}
Attribute ServiceUid: The ID of the service.
The value of this property is the same as the value of ServiceId.
AttrTotalInstanceRequired
func AttrTotalInstance() interface{}
- Type: interface{}
Attribute TotalInstance: The total number of instances of the service.
AttrUpdateTimeRequired
func AttrUpdateTime() interface{}
- Type: interface{}
Attribute UpdateTime: The time when the service was updated.
AttrWeightRequired
func AttrWeight() interface{}
- Type: interface{}
Attribute Weight: The weight of the canary release for the service.
PropsRequired
func Props() ServiceProps
- Type: ServiceProps