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

ALIYUN::NAS::FileSystem

ALIYUN::NAS::FileSystem類型用于創建文件系統。

語法

{
  "Type": "ALIYUN::NAS::FileSystem",
  "Properties": {
    "SnapshotId": String,
    "Description": String,
    "StorageType": String,
    "DeletionForce": Boolean,
    "EncryptType": Integer,
    "VpcId": String,
    "ZoneId": String,
    "Capacity": Integer,
    "Tags": List,
    "ProtocolType": String,
    "FileSystemType": String,
    "Bandwidth": Integer,
    "VSwitchId": String,
    "Duration": Integer,
    "ChargeType": String
  }
}  

屬性

屬性名稱

類型

必須

允許更新

描述

約束

ProtocolType

String

協議類型。

取值:

  • NFS:NFS協議。

  • SMB:SMB協議。

  • cpfs:CPFS協議。

StorageType

String

存儲類型。

取值:

  • 當FileSystemType取值為standard時:

    • Performance:性能型。

    • Capacity:容量型。

  • 當FileSystemType取值為extreme時:

    • standard:標準型。

    • advance:高級型。

  • 當FileSystemType取值為cpfs時:

    • advance_100:100 MB/s/TiB 基線。

    • advance_200:200 MB/s/TiB 基線。

DeletionForce

Boolean

是否強制刪除。

取值:

  • true:強制刪除。

  • false(默認值):不強制刪除。

Description

String

文件系統描述。

長度為2~128個字符。必須以英文字母或漢字開頭,不能以http://https://開頭。可包含英文字母、漢字、數字、半角冒號(:)、下劃線(_)和短劃線(-)。

ZoneId

String

可用區ID。

Tags

List

標簽。

每個實例最多綁定20個標簽。

更多信息,請參見Tags屬性

SnapshotId

String

快照ID。

可以通過指定SnapshotId從指定快照創建NAS實例,目前僅支持極速型NAS。

說明

通過快照創建的文件系統版本需和快照源文件系統版本一致。如果不一致,可以執行以下步驟:

  1. 把快照源文件數據拷貝到創建的文件系統中。

  2. 拷貝完成后,把業務遷移到新的文件系統。

EncryptType

Integer

文件系統是否加密。使用KMS托管密鑰,對文件系統落盤數據進行加密存儲。在讀寫加密數據時,無需解密。

當FileSystemType取值為standard或extreme時該參數有效。取值:

  • 0:不加密。

  • 1:加密。

Capacity

Integer

文件系統容量。

當FileSystemType取值為extreme或cpfs時該參數有效且必須指定。

取值范圍:

  • 當FileSystemType取值為extreme時:100~262,144。

  • 當FileSystemType取值為cpfs時:2048~512,000。

單位:GB。

FileSystemType

String

文件系統類型。

取值:

  • standard(默認值):通用型。

  • extreme:極速型。

  • cpfs:并行文件系統。

VpcId

String

專有網絡ID,指定VpcId和VSwitchId可以在創建文件系統實例的同時預配置一個默認掛載點。

當FileSystemType取值為cpfs時,該參數必須指定。

Bandwidth

Integer

文件系統吞吐上限。

當FileSystemType取值為cpfs時該參數必須指定,取值根據Capacity確定。更多信息,請參見CPFS購買頁面

單位:Mbps。

VSwitchId

String

交換機ID,指定VpcId和VSwitchId可以在創建文件系統實例的同時預配置一個默認掛載點。

當FileSystemType取值為cpfs時該參數必須指定。

Duration

Integer

包年包月時長。

當ChargeType取值為Subscription時該參數有效且必須指定。當包年包月實例到期時未進行續費,實例會自動到期釋放。取值:

  • 1

  • 2

  • 3

  • 6

  • 12

  • 36

單位:月。

ChargeType

String

付費類型。

取值:

  • PayAsYouGo:按量付費。

  • Subscription:包年包月。

Tags語法

"Tags": [
  {
    "Key": String,
    "Value": String
  }
]  

Tags屬性

屬性名稱

類型

必須

允許更新

描述

約束

Key

String

標簽鍵。

長度為1~128個字符,不能以aliyunacs:開頭,不能包含http://https://

Value

String

標簽值。

長度為0~128個字符,不能以aliyunacs:開頭,不能包含http://https://

返回值

Fn::GetAtt

FileSystemId:文件系統ID。

示例

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Description: Test NAS FileSystem
Parameters: {}
Resources:
  FileSystem:
    Type: ALIYUN::NAS::FileSystem
    Properties:
      ProtocolType: NFS
      StorageType: Capacity
Outputs:
  FileSystemId:
    Description: ID of the file system created
    Value:
      Fn::GetAtt:
        - FileSystem
        - FileSystemId

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": "Test NAS FileSystem",
  "Parameters": {
  },
  "Resources": {
    "FileSystem": {
      "Type": "ALIYUN::NAS::FileSystem",
      "Properties": {
        "ProtocolType": "NFS",
        "StorageType": "Capacity"
      }
    }
  },
  "Outputs": {
    "FileSystemId": {
      "Description": "ID of the file system created",
      "Value": {
        "Fn::GetAtt": [
          "FileSystem",
          "FileSystemId"
        ]
      }
    }
  }
}

更多示例,請參見創建文件系統、創建權限組、創建權限規則和創建掛載點的組合示例:YAML示例