DATASOURCE::ComputeNest::ServiceInstance タイプは、サービスインスタンスに関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::ComputeNest::ServiceInstance",
"Properties": {
"ServiceInstanceId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
ServiceInstanceId | String | はい | はい | サービスインスタンスの ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソースリソースのリフレッシュポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
Progress: サービスインスタンスのデプロイの進捗状況。単位: %。
Parameters: サービスに構成されているパラメーター。
ResourceGroupId: リソースグループの ID。
EnableInstanceOps: サービスインスタンスがホステッド O&M 機能をサポートしているかどうかを示します。
ServiceInstanceName: サービスインスタンスの名前。
CreateTime: 作成時間。
NetworkConfig: ネットワーク構成。
Service: サービスに関する情報。
PredefinedParameterName: プランの名前。
Source: サービスインスタンスのソース。
Components: プロダクトコンポーネント。
LicenseEndTime: ライセンスの有効期限。
ServiceInstanceId: サービスインスタンスの ID。
UserId: カスタマーの Alibaba Cloud アカウント ID。
EnableUserPrometheus: Prometheus モニタリング機能が有効になっているかどうかを示します。
ServiceType: サービスのカテゴリ。
StatusDetail: サービスインスタンスのデプロイステータスの詳細。
UpdateTime: 更新時間。
Outputs: サービスインスタンスの作成後に返される出力。
TemplateName: テンプレートの名前。
IsOperated: サービスインスタンスでホステッド O&M 機能が有効になっているかどうかを示します。
SupplierUid: サービスプロバイダーの Alibaba Cloud アカウント ID。
MarketInstanceId: Alibaba Cloud Marketplace でのサービスインスタンスの ID。
Tags: カスタマーによって追加されたカスタムタグ。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ServiceInstanceId:
Type: String
Description:
en: The ID of the service instance.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::ComputeNest::ServiceInstance
Properties:
ServiceInstanceId:
Ref: ServiceInstanceId
Outputs:
Progress:
Description: 'The deployment progress of the service instance. Unit: percentage.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- Progress
Parameters:
Description: The parameters configured for the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Parameters
ResourceGroupId:
Description: The resource group ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
EnableInstanceOps:
Description: Indicates whether the service instance supports the operation feature.
Value:
Fn::GetAtt:
- ExtensionDataSource
- EnableInstanceOps
ServiceInstanceName:
Description: The name of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ServiceInstanceName
CreateTime:
Description: The time when the serviceInstance was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
NetworkConfig:
Description: The network configurations.
Value:
Fn::GetAtt:
- ExtensionDataSource
- NetworkConfig
Service:
Description: The information about the service to which the service instance belongs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Service
PredefinedParameterName:
Description: The name of the package .
Value:
Fn::GetAtt:
- ExtensionDataSource
- PredefinedParameterName
Source:
Description: The source of the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Source
Components:
Description: Cloud Marketplace additional billing items.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Components
LicenseEndTime:
Description: The expiration time of licence.
Value:
Fn::GetAtt:
- ExtensionDataSource
- LicenseEndTime
ServiceInstanceId:
Description: The ID of the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ServiceInstanceId
UserId:
Description: The AliUid of the user.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UserId
EnableUserPrometheus:
Description: Whether to enable Prometheus monitoring.
Value:
Fn::GetAtt:
- ExtensionDataSource
- EnableUserPrometheus
ServiceType:
Description: The type of the service.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ServiceType
StatusDetail:
Description: The description of the deployment state of the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- StatusDetail
UpdateTime:
Description: The time when the serviceInstance was last updated.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UpdateTime
Outputs:
Description: The outputs returned from creating the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Outputs
TemplateName:
Description: The name of the template.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TemplateName
IsOperated:
Description: Indicates whether the hosted O&M feature is enabled for the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IsOperated
SupplierUid:
Description: The Alibaba Cloud account ID of the service provider.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SupplierUid
MarketInstanceId:
Description: The ID of the cloud marketplace instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- MarketInstanceId
Tags:
Description: The tags of the service instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ServiceInstanceId": {
"Type": "String",
"Description": {
"en": "The ID of the service instance."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ComputeNest::ServiceInstance",
"Properties": {
"ServiceInstanceId": {
"Ref": "ServiceInstanceId"
}
}
}
},
"Outputs": {
"Progress": {
"Description": "サービスインスタンスのデプロイの進捗状況。単位: パーセンテージ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Progress"
]
}
},
"Parameters": {
"Description": "サービスインスタンスに構成されているパラメーター。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Parameters"
]
}
},
"ResourceGroupId": {
"Description": "リソースグループ ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"EnableInstanceOps": {
"Description": "サービスインスタンスが操作機能をサポートしているかどうかを示します。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"EnableInstanceOps"
]
}
},
"ServiceInstanceName": {
"Description": "リソースの名前。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ServiceInstanceName"
]
}
},
"CreateTime": {
"Description": "serviceInstance が作成された日時。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"NetworkConfig": {
"Description": "ネットワーク構成。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"NetworkConfig"
]
}
},
"Service": {
"Description": "サービスインスタンスが属するサービスに関する情報。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Service"
]
}
},
"PredefinedParameterName": {
"Description": "パッケージの名前。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PredefinedParameterName"
]
}
},
"Source": {
"Description": "サービスインスタンスのソース。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Source"
]
}
},
"Components": {
"Description": "Cloud Marketplace の追加課金項目。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Components"
]
}
},
"LicenseEndTime": {
"Description": "ライセンスの有効期限。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"LicenseEndTime"
]
}
},
"ServiceInstanceId": {
"Description": "サービスインスタンスの ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ServiceInstanceId"
]
}
},
"UserId": {
"Description": "ユーザーの AliUid。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UserId"
]
}
},
"EnableUserPrometheus": {
"Description": "Prometheus モニタリングを有効にするかどうか。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"EnableUserPrometheus"
]
}
},
"ServiceType": {
"Description": "サービスのタイプ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ServiceType"
]
}
},
"StatusDetail": {
"Description": "サービスインスタンスのデプロイ状態の説明。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"StatusDetail"
]
}
},
"UpdateTime": {
"Description": "serviceInstance が最後に更新された日時。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UpdateTime"
]
}
},
"Outputs": {
"Description": "サービスインスタンスの作成から返された出力。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Outputs"
]
}
},
"TemplateName": {
"Description": "テンプレートの名前。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TemplateName"
]
}
},
"IsOperated": {
"Description": "サービスインスタンスでホステッド O&M 機能が有効になっているかどうかを示します。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IsOperated"
]
}
},
"SupplierUid": {
"Description": "サービスプロバイダーの Alibaba Cloud アカウント ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SupplierUid"
]
}
},
"MarketInstanceId": {
"Description": "Cloud Marketplace インスタンスの ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"MarketInstanceId"
]
}
},
"Tags": {
"Description": "サービスインスタンスのタグ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
}
}
}