Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::ComputeNest::ServiceInstance

Última atualização: Jun 27, 2026

Consulta os detalhes de uma instância de serviço do ComputeNest.

Sintaxe

{
  "Type": "DATASOURCE::ComputeNest::ServiceInstance",
  "Properties": {
    "ServiceInstanceId": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

ServiceInstanceId

String

Sim

Sim

ID da instância de serviço.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos da fonte de dados ao atualizar a pilha.

Valores válidos:

  • Never (padrão): não atualiza os recursos da fonte de dados ao atualizar a pilha.

  • Always: atualiza os recursos da fonte de dados ao atualizar a pilha.

Valores de retorno

Fn::GetAtt

  • Progress: progresso da implantação da instância de serviço, em porcentagem.

  • Parameters: parâmetros configurados para a instância de serviço.

  • ResourceGroupId: ID do grupo de recursos.

  • EnableInstanceOps: indica se a instância de serviço oferece suporte a O&M gerenciado.

  • ServiceInstanceName: nome da instância de serviço.

  • CreateTime: hora de criação da instância de serviço.

  • NetworkConfig: configurações de rede.

  • Service: informações sobre o serviço.

  • PredefinedParameterName: nome do plano de parâmetros predefinido.

  • Source: source da instância de serviço.

  • Components: componentes do produto.

  • LicenseEndTime: hora de expiração da licença.

  • ServiceInstanceId: ID da instância de serviço.

  • UserId: ID da conta Alibaba Cloud do cliente.

  • EnableUserPrometheus: indica se o monitoramento Prometheus está ativado.

  • ServiceType: categoria do serviço.

  • StatusDetail: detalhes do status de implantação da instância de serviço.

  • UpdateTime: hora da última atualização da instância de serviço.

  • Outputs: saídas retornadas após a criação da instância de serviço.

  • TemplateName: nome do modelo.

  • IsOperated: indica se o O&M gerenciado está ativado para a instância de serviço.

  • SupplierUid: ID da conta Alibaba Cloud do provedor de serviços.

  • MarketInstanceId: ID da instância de serviço no Alibaba Cloud Marketplace.

  • Tags: tags personalizadas adicionadas pelo cliente.

Exemplos

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": "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"
        ]
      }
    }
  }
}