All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::ESA::UrlObservation

Last Updated:Jul 05, 2026

The ALIYUN::ESA::UrlObservation type creates a webpage monitoring configuration.

Syntax

{
  "Type": "ALIYUN::ESA::UrlObservation",
  "Properties": {
    "SdkType": String,
    "SiteId": Integer,
    "Url": String
  }
}

Properties

Parameter

Type

Required

Update allowed

Description

Constraints

SdkType

String

Yes

Yes

The SDK integration mode.

Valid values:

  • automatic: automatic integration.

  • manual: manual integration.

SiteId

Integer

Yes

No

The site ID.

None

Url

String

Yes

No

The URL of the page to monitor.

None

Return values

Fn::GetAtt

  • SdkType: The SDK integration mode.

  • ConfigId: The configuration ID.

  • Url: The URL of the page to monitor.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  SdkType:
    Type: String
    Description:
      en: |-
        SDK integration mode. Valid values:
        - automatic: automatic integration.
        - manual: manual integration.
    AllowedValues:
      - automatic
      - manual
    Required: true
  SiteId:
    Type: Number
    Description:
      en: The site ID.
    Required: true
  Url:
    Type: String
    Description:
      en: The URL of the page to monitor.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::ESA::UrlObservation
    Properties:
      SdkType:
        Ref: SdkType
      SiteId:
        Ref: SiteId
      Url:
        Ref: Url
Outputs:
  SdkType:
    Description: The SDK integration mode.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - SdkType
  ConfigId:
    Description: The configuration ID.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ConfigId
  Url:
    Description: The URL of the page to monitor.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Url
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "SdkType": {
      "Type": "String",
      "Description": {
        "en": "SDK integration mode. Valid values:\n- automatic: automatic integration.\n- manual: manual integration."
      },
      "AllowedValues": [
        "automatic",
        "manual"
      ],
      "Required": true
    },
    "SiteId": {
      "Type": "Number",
      "Description": {
        "en": "The site ID."
      },
      "Required": true
    },
    "Url": {
      "Type": "String",
      "Description": {
        "en": "The URL of the page to monitor."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ESA::UrlObservation",
      "Properties": {
        "SdkType": {
          "Ref": "SdkType"
        },
        "SiteId": {
          "Ref": "SiteId"
        },
        "Url": {
          "Ref": "Url"
        }
      }
    }
  },
  "Outputs": {
    "SdkType": {
      "Description": "The SDK integration mode.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "SdkType"
        ]
      }
    },
    "ConfigId": {
      "Description": "The configuration ID.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ConfigId"
        ]
      }
    },
    "Url": {
      "Description": "The URL of the page to monitor.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Url"
        ]
      }
    }
  }
}