Creates a service in Elastic Algorithm Service (EAS).
Syntax
{
"Type": "ALIYUN::PAI::Service",
"Properties": {
"Develop": String,
"ServiceConfig": Map,
"Labels": Map
}
}
Properties
|
Property name |
Type |
Required |
Update allowed |
Description |
Constraints |
|
Develop |
String |
No |
No |
Whether to enable developer mode. |
Valid values:
|
|
ServiceConfig |
Map |
Yes |
Yes |
The configuration of the service. |
Example:
|
|
Labels |
Map |
No |
Yes |
The service labels. |
Example:
|
Return values
Fn::GetAtt
-
ServiceGroup: The group to which the service belongs.
-
Message: The service summary.
-
Memory: The memory requested for each instance.
-
CurrentVersion: The current version of the running model.
-
RunningInstance: The number of running service instances.
-
Cpu: The number of CPU cores requested for each instance.
-
Image: The service image.
-
Gpu: The number of GPUs requested for each instance.
-
CallerUid: The UID of the account that created the service.
-
Reason: The reason for the service status.
-
TotalInstance: The total number of service instances.
-
ServiceConfig: The service configuration.
-
AccessToken: The access token for the service.
-
InternetEndpoint: The public endpoint of the service.
-
ResourceAlias: The alias of the service's resource group.
-
CreateTime: The time when the service was created.
-
Resource: The service's resource group.
-
Labels: A list of service labels.
-
ExtraData: Additional information about the service.
-
Namespace: The service namespace.
-
Weight: The canary release weight for the service.
-
Role: The service role.
-
PendingInstance: The number of pending service instances.
-
LatestVersion: The latest version number of the service.
-
ServiceName: The name of the service.
-
SafetyLock: The service's security lock.
-
UpdateTime: The time when the service was last updated.
-
ServiceUid: The ID of the service. This value is the same as ServiceId.
-
RoleAttrs: Additional attributes of the service role.
-
ParentUid: The UID of the creator's Alibaba Cloud account.
-
IntranetEndpoint: The internal endpoint of the service.