Microsoft.TestBase testBase帳戶

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.TestBase/testBaseAccounts@2023-11-01-preview' = {
  identity: {
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    sku: {
      locations: [
        'string'
      ]
      name: 'string'
      resourceType: 'string'
      tier: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.TestBase/testBaseAccounts

名字 描述 價值
身分識別 testBaseAccount 的身分識別。 SystemAssignedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
模式 = ^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$ (必要)
性能 測試基底帳戶的屬性。 TestBaseAccountResourceProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

SystemAssignedServiceIdentity

名字 描述 價值
型別 受控服務識別的類型(已指派系統或無)。 'None'
'SystemAssigned' (必要)

TestBaseAccountResourceProperties

名字 描述 價值
SKU 測試基礎帳戶的 SKU。 TestBaseAccountSKU (必要)

TestBaseAccountSKU

名字 描述 價值
地點 SKU 可供使用的位置。 字串[]
名字 SKU 的名稱。 這通常是字母 + 數位碼,例如 B0 或 S0。 字串 (必要)
資源類型 SKU 適用的資源類型。 字串
分層 這個特定 SKU 的層。 'Standard' (必要)

TrackedResourceTags

名字 描述 價值

ARM 樣本資源定義

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

使用範例

資源格式

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

{
  "type": "Microsoft.TestBase/testBaseAccounts",
  "apiVersion": "2023-11-01-preview",
  "name": "string",
  "identity": {
    "type": "string"
  },
  "location": "string",
  "properties": {
    "sku": {
      "locations": [ "string" ],
      "name": "string",
      "resourceType": "string",
      "tier": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.TestBase/testBaseAccounts

名字 描述 價值
apiVersion API 版本 '2023-11-01-preview'
身分識別 testBaseAccount 的身分識別。 SystemAssignedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
模式 = ^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$ (必要)
性能 測試基底帳戶的屬性。 TestBaseAccountResourceProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 'Microsoft.TestBase/testBaseAccounts'

SystemAssignedServiceIdentity

名字 描述 價值
型別 受控服務識別的類型(已指派系統或無)。 'None'
'SystemAssigned' (必要)

TestBaseAccountResourceProperties

名字 描述 價值
SKU 測試基礎帳戶的 SKU。 TestBaseAccountSKU (必要)

TestBaseAccountSKU

名字 描述 價值
地點 SKU 可供使用的位置。 字串[]
名字 SKU 的名稱。 這通常是字母 + 數位碼,例如 B0 或 S0。 字串 (必要)
資源類型 SKU 適用的資源類型。 字串
分層 這個特定 SKU 的層。 'Standard' (必要)

TrackedResourceTags

名字 描述 價值

Terraform (AzAPI 提供者) 資源定義

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

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.TestBase/testBaseAccounts@2023-11-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      sku = {
        locations = [
          "string"
        ]
        name = "string"
        resourceType = "string"
        tier = "string"
      }
    }
  }
}

屬性值

Microsoft.TestBase/testBaseAccounts

名字 描述 價值
身分識別 testBaseAccount 的身分識別。 SystemAssignedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
模式 = ^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$ (必要)
性能 測試基底帳戶的屬性。 TestBaseAccountResourceProperties
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.TestBase/testBaseAccounts@2023-11-01-preview”

SystemAssignedServiceIdentity

名字 描述 價值
型別 受控服務識別的類型(已指派系統或無)。 'None'
'SystemAssigned' (必要)

TestBaseAccountResourceProperties

名字 描述 價值
SKU 測試基礎帳戶的 SKU。 TestBaseAccountSKU (必要)

TestBaseAccountSKU

名字 描述 價值
地點 SKU 可供使用的位置。 字串[]
名字 SKU 的名稱。 這通常是字母 + 數位碼,例如 B0 或 S0。 字串 (必要)
資源類型 SKU 適用的資源類型。 字串
分層 這個特定 SKU 的層。 'Standard' (必要)

TrackedResourceTags

名字 描述 價值