All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::EDAS::UserDefineRegions

Last Updated:Nov 26, 2024

DATASOURCE::EDAS::UserDefineRegions is used to query custom namespaces.

Syntax

{
  "Type": "DATASOURCE::EDAS::UserDefineRegions",
  "Properties": {
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values (Fn::GetAtt)

Property

Type

Description

Constraint

Ids

List

The IDs of the namespaces.

None.

UserDefineRegions

List

Details of the namespaces.

None.

Id

Integer

The unique identifier.

None.

RegionName

String

The namespace name.

None.

UserId

String

The ID of the Alibaba Cloud account.

None.

DebugEnable

Boolean

Indicates whether remote debugging is enabled.

Valid values:

  • true

  • false

RegionId

String

The namespace ID.

Note

The ID cannot be changed after the namespace is created. The ID is in the Region ID:Unique Identifier format.

BelongRegion

String

The region ID of the namespace.

None.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Resources:
  UserDefineRegions:
    Type: DATASOURCE::EDAS::UserDefineRegions
    Properties: {}
Outputs:
  UserDefineRegions:
    Description: The list of user define regions.
    Value:
      Fn::GetAtt:
        - UserDefineRegions
        - UserDefineRegions
  Ids:
    Description: The list of user define region IDs.
    Value:
      Fn::GetAtt:
        - UserDefineRegions
        - Ids
                    
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "UserDefineRegions": {
      "Type": "DATASOURCE::EDAS::UserDefineRegions",
      "Properties": {}
    }
  },
  "Outputs": {
    "UserDefineRegions": {
      "Description": "The list of user define regions.",
      "Value": {
        "Fn::GetAtt": [
          "UserDefineRegions",
          "UserDefineRegions"
        ]
      }
    },
    "Ids": {
      "Description": "The list of user define region IDs.",
      "Value": {
        "Fn::GetAtt": [
          "UserDefineRegions",
          "Ids"
        ]
      }
    }
  }
}