日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ALIYUN::KMS::Instance

ALIYUN::KMS::Instance類型用于創建一個KMS實例。

語法

{
  "Type": "ALIYUN::KMS::Instance",
  "Properties": {
    "ProductVersion": String,
    "Connection": Map,
    "InstanceChargeType": String,
    "KeyNum": Integer,
    "Log": Boolean,
    "LogStorage": Integer,
    "Period": Integer,
    "PeriodUnit": String,
    "RenewPeriod": Integer,
    "RenewStatus": String,
    "SecretNum": Integer,
    "Spec": Integer,
    "VpcNum": Integer
  }
}

屬性

屬性名稱

類型

必須

允許更新

描述

約束

ProductVersion

String

實例類型。

取值:

  • software:軟件類型密鑰。

  • hardware:硬件類型密鑰。

  • software-small:軟件基礎型密鑰。

  • hardware-small:硬件基礎型密鑰。

Connection

Map

密鑰實例的網絡連接配置。

更多信息,請參見Connection屬性

InstanceChargeType

String

實例的付費類型。

取值:

  • PayAsYouGo:后付費(按量付費)。

  • Subscription(默認值):預付費(包年包月)。

KeyNum

Integer

實例支持創建的密鑰數量。

取值范圍:

100~100000。

說明

當InstanceChargeType配置為Subscription時,此參數必填。

Log

Boolean

是否啟用日志分析。

取值:

  • true:啟用。

  • false:不啟用。

LogStorage

Integer

綁定的日志庫的數量。

取值范圍:

1000~500000。

Period

Integer

付費周期。

取值:

  • 當PeriodUnit取值為Year時:1~3。

  • 當PeriodUnit取值為Month時:1,2,3,6,12,24,36。

PeriodUnit

String

付費時長單位。

取值:

  • Month:月。

  • Year:年。

RenewPeriod

Integer

自動續費周期。

當設置RenewStatus為AutoRenewal時,必須指定該參數。

單位:月。

RenewStatus

String

自動續費狀態。

取值:

  • AutoRenewal:自動續費。

  • ManualRenewal(默認值):手動續費。

SecretNum

Integer

實例支持創建的憑據數量。

取值范圍:

0~100000。

說明

當InstanceChargeType配置為Subscription時,此參數必填。

Spec

Integer

實例的計算性能。

取值:

  • 200

  • 1000

  • 2000

  • 4000

單位:QPS。

VpcNum

Integer

實例的訪問管理總量。

取值范圍:

1~1000

說明

當InstanceChargeType配置為Subscription時,此參數必填。

Connection語法

"Connection": {
  "VpcId": String,
  "VSwitchIds": List,
  "ZoneIds": List
}

Connection屬性

屬性名稱

類型

必須

允許更新

描述

約束

VpcId

String

綁定KMS實例的VPC ID。

VSwitchIds

List

實例綁定的交換機列表。

數量限制:最大為1。

ZoneIds

List

實例綁定的可用區列表。

數量限制:最大為2。

返回值

Fn::GetAtt

InstanceId:KMS實例的ID

示例

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ProductVersion:
    Type: String
    Description:
      en: KMS Instance commodity type (software/software-small/hardware/hardware-small).
    AllowedValues:
      - software
      - software-small
      - hardware
      - hardware-small
    Required: true
Resources:
  Instance:
    Type: ALIYUN::KMS::Instance
    Properties:
      InstanceChargeType: PayAsYouGo
      ProductVersion:
        Ref: ProductVersion
Outputs:
  InstanceId:
    Description: The ID of the instance.
    Value:
      Fn::GetAtt:
        - Instance
        - InstanceId
                        

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ProductVersion": {
      "Type": "String",
      "Description": {
        "en": "KMS Instance commodity type (software/software-small/hardware/hardware-small)."
      },
      "AllowedValues": [
        "software",
        "software-small",
        "hardware",
        "hardware-small"
      ],
      "Required": true
    }
  },
  "Resources": {
    "Instance": {
      "Type": "ALIYUN::KMS::Instance",
      "Properties": {
        "InstanceChargeType": "PayAsYouGo",
        "ProductVersion": {
          "Ref": "ProductVersion"
        }
      }
    }
  },
  "Outputs": {
    "InstanceId": {
      "Description": "The ID of the instance.",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "InstanceId"
        ]
      }
    }
  }
}