Skip to content

IService

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Service, 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: Service Request authentication token.
AttrCallerUid interface{} Attribute CallerUid: The ID of the service creator, which can be the ID of the RAM account.
AttrCpu interface{} Attribute Cpu: Number of service CPU cores.
AttrCreateTime interface{} Attribute CreateTime: Creation time of the service.
AttrCurrentVersion interface{} Attribute CurrentVersion: Current running version of the service.
AttrExtraData interface{} Attribute ExtraData: Service Extra Information.
AttrGpu interface{} Attribute Gpu: Number of service GPU cards.
AttrImage interface{} Attribute Image: Service Deployment Mirroring.
AttrInternetEndpoint interface{} Attribute InternetEndpoint: Public network Endpoint of the service.
AttrIntranetEndpoint interface{} Attribute IntranetEndpoint: The intranet Endpoint of the service.
AttrLabels interface{} Attribute Labels: Service Tag.
AttrLatestVersion interface{} Attribute LatestVersion: The latest version of the service.
AttrMemory interface{} Attribute Memory: Memory of service (MB).
AttrMessage interface{} Attribute Message: Latest information on services.
AttrNamespace interface{} Attribute Namespace: The namespace to which the service belongs.
AttrParentUid interface{} Attribute ParentUid: Primary account ID of the creator.
AttrPendingInstance interface{} Attribute PendingInstance: Number of instances where the service is not currently ready.
AttrReason interface{} Attribute Reason: Service deployment failure reason.
AttrResource interface{} Attribute Resource: The ID of the resource group to which the service belongs.
AttrResourceAlias interface{} Attribute ResourceAlias: Name of the resource group where the service resides.
AttrRole interface{} Attribute Role: Grouping Service Role.
AttrRoleAttrs interface{} Attribute RoleAttrs: Grouping Service Role Properties.
AttrRunningInstance interface{} Attribute RunningInstance: Number of instances in service running.
AttrSafetyLock interface{} Attribute SafetyLock: Service Security Lock Status.
AttrServiceConfig interface{} Attribute ServiceConfig: Service configuration information.
AttrServiceGroup interface{} Attribute ServiceGroup: Group to which the service belongs.
AttrServiceName interface{} Attribute ServiceName: Service Name.
AttrServiceUid interface{} Attribute ServiceUid: Unique Service ID.
AttrTotalInstance interface{} Attribute TotalInstance: Total number of instances required by the service.
AttrUpdateTime interface{} Attribute UpdateTime: Service Last Updated.
AttrWeight interface{} Attribute Weight: Packet Service Traffic Weight.
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: Service Request authentication token.


AttrCallerUidRequired

func AttrCallerUid() interface{}
  • Type: interface{}

Attribute CallerUid: The ID of the service creator, which can be the ID of the RAM account.


AttrCpuRequired

func AttrCpu() interface{}
  • Type: interface{}

Attribute Cpu: Number of service CPU cores.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

Attribute CreateTime: Creation time of the service.


AttrCurrentVersionRequired

func AttrCurrentVersion() interface{}
  • Type: interface{}

Attribute CurrentVersion: Current running version of the service.


AttrExtraDataRequired

func AttrExtraData() interface{}
  • Type: interface{}

Attribute ExtraData: Service Extra Information.


AttrGpuRequired

func AttrGpu() interface{}
  • Type: interface{}

Attribute Gpu: Number of service GPU cards.


AttrImageRequired

func AttrImage() interface{}
  • Type: interface{}

Attribute Image: Service Deployment Mirroring.


AttrInternetEndpointRequired

func AttrInternetEndpoint() interface{}
  • Type: interface{}

Attribute InternetEndpoint: Public network Endpoint of the service.


AttrIntranetEndpointRequired

func AttrIntranetEndpoint() interface{}
  • Type: interface{}

Attribute IntranetEndpoint: The intranet Endpoint of the service.


AttrLabelsRequired

func AttrLabels() interface{}
  • Type: interface{}

Attribute Labels: Service Tag.


AttrLatestVersionRequired

func AttrLatestVersion() interface{}
  • Type: interface{}

Attribute LatestVersion: The latest version of the service.


AttrMemoryRequired

func AttrMemory() interface{}
  • Type: interface{}

Attribute Memory: Memory of service (MB).


AttrMessageRequired

func AttrMessage() interface{}
  • Type: interface{}

Attribute Message: Latest information on services.


AttrNamespaceRequired

func AttrNamespace() interface{}
  • Type: interface{}

Attribute Namespace: The namespace to which the service belongs.


AttrParentUidRequired

func AttrParentUid() interface{}
  • Type: interface{}

Attribute ParentUid: Primary account ID of the creator.


AttrPendingInstanceRequired

func AttrPendingInstance() interface{}
  • Type: interface{}

Attribute PendingInstance: Number of instances where the service is not currently ready.


AttrReasonRequired

func AttrReason() interface{}
  • Type: interface{}

Attribute Reason: Service deployment failure reason.


AttrResourceRequired

func AttrResource() interface{}
  • Type: interface{}

Attribute Resource: The ID of the resource group to which the service belongs.


AttrResourceAliasRequired

func AttrResourceAlias() interface{}
  • Type: interface{}

Attribute ResourceAlias: Name of the resource group where the service resides.


AttrRoleRequired

func AttrRole() interface{}
  • Type: interface{}

Attribute Role: Grouping Service Role.


AttrRoleAttrsRequired

func AttrRoleAttrs() interface{}
  • Type: interface{}

Attribute RoleAttrs: Grouping Service Role Properties.


AttrRunningInstanceRequired

func AttrRunningInstance() interface{}
  • Type: interface{}

Attribute RunningInstance: Number of instances in service running.


AttrSafetyLockRequired

func AttrSafetyLock() interface{}
  • Type: interface{}

Attribute SafetyLock: Service Security Lock Status.


AttrServiceConfigRequired

func AttrServiceConfig() interface{}
  • Type: interface{}

Attribute ServiceConfig: Service configuration information.


AttrServiceGroupRequired

func AttrServiceGroup() interface{}
  • Type: interface{}

Attribute ServiceGroup: Group to which the service belongs.


AttrServiceNameRequired

func AttrServiceName() interface{}
  • Type: interface{}

Attribute ServiceName: Service Name.


AttrServiceUidRequired

func AttrServiceUid() interface{}
  • Type: interface{}

Attribute ServiceUid: Unique Service ID.


AttrTotalInstanceRequired

func AttrTotalInstance() interface{}
  • Type: interface{}

Attribute TotalInstance: Total number of instances required by the service.


AttrUpdateTimeRequired

func AttrUpdateTime() interface{}
  • Type: interface{}

Attribute UpdateTime: Service Last Updated.


AttrWeightRequired

func AttrWeight() interface{}
  • Type: interface{}

Attribute Weight: Packet Service Traffic Weight.


PropsRequired

func Props() ServiceProps