DATASOURCE::DirectMail::Ipfilter

更新时间:2025-02-28 03:06

DATASOURCE::DirectMail::Ipfilter类型用于获取单个IP筛选器详情。

语法

{
  "Type": "DATASOURCE::DirectMail::Ipfilter",
  "Properties": {
    "IpfilterId": String,
    "RefreshOptions": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

IpfilterId

String

IP记录的ID。

RefreshOptions

String

当资源栈更新时,数据源资源的刷新策略。

取值:

  • Never(默认值):更新堆栈时,从不刷新数据源资源。

  • Always:更新堆栈时,始终刷新数据源资源。

返回值

Fn::GetAtt

  • CreateTime:时间戳。

  • IpAddress:IP地址、IP区间或IP段。

  • IpfilterId:记录ID。

示例

YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  IpfilterId:
    Type: String
    Description:
      en: The ID of the resource.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::DirectMail::Ipfilter
    Properties:
      IpfilterId:
        Ref: IpfilterId
Outputs:
  CreateTime:
    Description: The creation time of the resource.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  IpAddress:
    Description: The IP address of the resource.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - IpAddress
  IpfilterId:
    Description: The ID of the resource.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - IpfilterId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "IpfilterId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the resource."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::DirectMail::Ipfilter",
      "Properties": {
        "IpfilterId": {
          "Ref": "IpfilterId"
        }
      }
    }
  },
  "Outputs": {
    "CreateTime": {
      "Description": "The creation time of the resource.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "IpAddress": {
      "Description": "The IP address of the resource.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "IpAddress"
        ]
      }
    },
    "IpfilterId": {
      "Description": "The ID of the resource.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "IpfilterId"
        ]
      }
    }
  }
}                    
  • 本页导读 (1)
  • 语法
  • 属性
  • 返回值
  • 示例
文档反馈
phone 联系我们

立即和Alibaba Cloud在线服务人员进行交谈,获取您想了解的产品信息以及最新折扣。

alicare alicarealicarealicare