文档

DATASOURCE::GA::BandwidthPackages

更新时间:

DATASOURCE::GA::BandwidthPackages类型用于查询带宽包信息列表。

语法

{
  "Type": "DATASOURCE::GA::BandwidthPackages",
  "Properties": {
    "Type": String,
    "ResourceGroupId": String,
    "BandwidthPackageId": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

Type

String

带宽包的类型。

取值:Basic,基础带宽包。

ResourceGroupId

String

资源组ID。

BandwidthPackageId

String

带宽包ID。

返回值

Fn::GetAtt

  • BandwidthPackageIds:带宽包ID列表。

  • BandwidthPackages:带宽包详情列表。

属性名称

类型

描述

约束

BandwidthPackageIds

List

带宽包ID列表。

BandwidthPackages

List

带宽包详情列表。

ExpiredTime

String

带宽包到期时间的时间戳。

Type

String

带宽包的类型。

CbnGeographicRegionIdA

String

跨地域加速包的互通区域A。

ResourceGroupId

String

资源组ID。

CreateTime

String

带宽包的创建时间。

BandwidthPackageId

String

带宽包ID。

Ratio

String

95计费保底百分比。

CbnGeographicRegionIdB

String

跨地域加速包的互通区域B。

Bandwidth

Number

带宽包的带宽值。

BillingType

String

后付费计费方式。

BandwidthPackageName

String

带宽包的名称。

Description

String

带宽包的描述。

PaymentType

String

付费类型。

BandwidthType

String

带宽类型。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      BandwidthPackageId:
        Description:
          en: The Resource ID of the bandwidth.
        Required: false
        Type: String
      ResourceGroupId:
        AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
        Description:
          en: The ID of the resource group.
        Required: false
        Type: String
      Type:
        AllowedValues:
        - Basic
        - CrossDomain
        Description:
          en: 'The type of the bandwidth package. Value:
    
            Basic: Basic bandwidth package.
    
            CrossDomain: cross-region acceleration package.
    
            China Station only supports Basic.'
        Required: false
        Type: String
    Resources:
      ExtensionDataSource:
        Properties:
          BandwidthPackageId:
            Ref: BandwidthPackageId
          ResourceGroupId:
            Ref: ResourceGroupId
          Type:
            Ref: Type
        Type: DATASOURCE::GA::BandwidthPackages
    Outputs:
      BandwidthPackageIds:
        Description: The list of bandwidth package IDs.
        Value:
          Fn::GetAtt:
          - ExtensionDataSource
          - BandwidthPackageIds
      BandwidthPackages:
        Description: The list of bandwidth packages.
        Value:
          Fn::GetAtt:
          - ExtensionDataSource
          - BandwidthPackages
                            
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "Type": {
          "Type": "String",
          "Description": {
            "en": "The type of the bandwidth package. Value:\nBasic: Basic bandwidth package.\nCrossDomain: cross-region acceleration package.\nChina Station only supports Basic."
          },
          "AllowedValues": [
            "Basic",
            "CrossDomain"
          ],
          "Required": false
        },
        "ResourceGroupId": {
          "AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
          "Type": "String",
          "Description": {
            "en": "The ID of the resource group."
          },
          "Required": false
        },
        "BandwidthPackageId": {
          "Type": "String",
          "Description": {
            "en": "The Resource ID of the bandwidth."
          },
          "Required": false
        }
      },
      "Resources": {
        "ExtensionDataSource": {
          "Type": "DATASOURCE::GA::BandwidthPackages",
          "Properties": {
            "Type": {
              "Ref": "Type"
            },
            "ResourceGroupId": {
              "Ref": "ResourceGroupId"
            },
            "BandwidthPackageId": {
              "Ref": "BandwidthPackageId"
            }
          }
        }
      },
      "Outputs": {
        "BandwidthPackageIds": {
          "Description": "The list of bandwidth package IDs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "BandwidthPackageIds"
            ]
          }
        },
        "BandwidthPackages": {
          "Description": "The list of bandwidth packages.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "BandwidthPackages"
            ]
          }
        }
      }
    }
                            
  • 本页导读 (1)
文档反馈