Microsoft.DatabaseFleetManager 機隊

Bicep 資源定義

機隊資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

資源格式

若要建立 Microsoft.DatabaseFleetManager/fleets 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.DatabaseFleetManager/fleets@2025-02-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.DatabaseFleetManager/fleets

名稱 說明 價值
位置 資源所在的地理位置 字串 (必要)
名稱 資源名稱 字串

約束:
模式 = ^.+$ (必要)
屬性 車隊屬性。 FleetProperties
標記 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

FleetProperties

名稱 說明 價值
說明 車隊描述。 字串

TrackedResourceTags

名稱 說明 價值

ARM 樣本資源定義

機隊資源類型可以使用目標作業來部署:

使用範例

資源格式

若要建立 Microsoft.DatabaseFleetManager/fleets 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.DatabaseFleetManager/fleets",
  "apiVersion": "2025-02-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "description": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.DatabaseFleetManager/fleets

名稱 說明 價值
apiVersion API 版本 “2025-02-01-預覽”
位置 資源所在的地理位置 字串 (必要)
名稱 資源名稱 字串

約束:
模式 = ^.+$ (必要)
屬性 車隊屬性。 FleetProperties
標記 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.DatabaseFleetManager/fleets”

FleetProperties

名稱 說明 價值
說明 車隊描述。 字串

TrackedResourceTags

名稱 說明 價值

Terraform (AzAPI 提供者) 資源定義

機隊資源類型可以使用目標作業來部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要建立 Microsoft.DatabaseFleetManager/fleets 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DatabaseFleetManager/fleets@2025-02-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      description = "string"
    }
  }
}

屬性值

Microsoft.DatabaseFleetManager/fleets

名稱 說明 價值
位置 資源所在的地理位置 字串 (必要)
名稱 資源名稱 字串

約束:
模式 = ^.+$ (必要)
屬性 車隊屬性。 FleetProperties
標記 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.DatabaseFleetManager/fleets@2025-02-01-preview”

FleetProperties

名稱 說明 價值
說明 車隊描述。 字串

TrackedResourceTags

名稱 說明 價值