Share via


Microsoft.AppConfiguration configurationStores 2020-07-01-preview

Bicep 資源定義

configurationStores 資源類型可以使用目標作業進行部署:

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

資源格式

若要建立 Microsoft.AppConfiguration/configurationStores 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.AppConfiguration/configurationStores@2020-07-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    encryption: {
      keyVaultProperties: {
        identityClientId: 'string'
        keyIdentifier: 'string'
      }
    }
    publicNetworkAccess: 'string'
  }
}

屬性值

configurationStores

名稱 描述
NAME 資源名稱 字串 (必要)

字元限制:5-50

有效字元:
英數字元、底線和連字號。
location 資源的位置。 建立資源之後,就無法變更此專案。 字串 (必要)
tags 資源的標記。 標記名稱和值的字典。 請參閱 範本中的標記
sku 組態存放區的 SKU。 需要 sku ()
身分識別 如果已設定,則為受控識別資訊。 ResourceIdentity
properties 組態存放區的屬性。 ConfigurationStoreProperties

ResourceIdentity

名稱 描述
類型 使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者指派身分識別清單。 使用者指派的身分識別字典金鑰會是 ARM 資源識別碼,格式為:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 object

ConfigurationStoreProperties

名稱 描述
加密 組態存放區的加密設定。 EncryptionProperties
publicNetworkAccess 啟用私人端點時,控制來自公用網路的資料平面流量許可權。 'Disabled'
'Enabled'

EncryptionProperties

名稱 描述
keyVaultProperties 金鑰保存庫屬性。 KeyVaultProperties

KeyVaultProperties

名稱 描述
identityClientId 用來存取金鑰保存庫之身分識別的用戶端識別碼。 字串
keyIdentifier 用來加密資料之金鑰保存庫金鑰的 URI。 字串

SKU

名稱 描述
NAME 組態存放區的 SKU 名稱。 字串 (必要)

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立應用程式組態存放區

部署至 Azure
此範本會建立Azure 應用程式組態存放區。
使用功能旗標建立應用程式組態存放區

部署至 Azure
此範本會建立具有一個功能旗標的新Azure 應用程式組態存放區。
使用功能旗標建立應用程式組態存放區

部署至 Azure
此範本會建立具有一個金鑰保存庫參考的新Azure 應用程式組態存放區。
使用輸出建立應用程式組態存放區

部署至 Azure
此範本會建立具有兩個索引鍵/值的新Azure 應用程式組態存放區。
應用程式組態索引鍵/值

部署至 Azure
此範本會建立新的Azure 應用程式組態存放區,其中包含由複製函式控制的三個索引鍵/值。

ARM 範本資源定義

configurationStores 資源類型可以使用目標作業進行部署:

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

資源格式

若要建立 Microsoft.AppConfiguration/configurationStores 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.AppConfiguration/configurationStores",
  "apiVersion": "2020-07-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {}
  },
  "properties": {
    "encryption": {
      "keyVaultProperties": {
        "identityClientId": "string",
        "keyIdentifier": "string"
      }
    },
    "publicNetworkAccess": "string"
  }
}

屬性值

configurationStores

名稱 描述
類型 資源類型 'Microsoft.AppConfiguration/configurationStores'
apiVersion 資源 API 版本 '2020-07-01-preview'
NAME 資源名稱 字串 (必要)

字元限制:5-50

有效字元:
英數字元、底線和連字號。
location 資源的位置。 建立資源之後,就無法變更此專案。 字串 (必要)
tags 資源的標記。 標記名稱和值的字典。 請參閱 範本中的標記
sku 組態存放區的 SKU。 需要 sku ()
身分識別 如果已設定,則為受控識別資訊。 ResourceIdentity
properties 組態存放區的屬性。 ConfigurationStoreProperties

ResourceIdentity

名稱 描述
類型 使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者指派身分識別清單。 使用者指派的身分識別字典金鑰會是 ARM 資源識別碼,格式為:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 object

ConfigurationStoreProperties

名稱 描述
加密 組態存放區的加密設定。 EncryptionProperties
publicNetworkAccess 啟用私人端點時,控制來自公用網路的資料平面流量許可權。 'Disabled'
'Enabled'

EncryptionProperties

名稱 描述
keyVaultProperties 金鑰保存庫屬性。 KeyVaultProperties

KeyVaultProperties

名稱 描述
identityClientId 用來存取金鑰保存庫之身分識別的用戶端識別碼。 字串
keyIdentifier 用來加密資料之金鑰保存庫金鑰的 URI。 字串

SKU

名稱 描述
NAME 組態存放區的 SKU 名稱。 需要字串 ()

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立應用程式組態存放區

部署至 Azure
此範本會建立Azure 應用程式組態存放區。
使用功能旗標建立應用程式組態存放區

部署至 Azure
此範本會建立具有一個功能旗標的新Azure 應用程式組態存放區。
使用功能旗標建立應用程式組態存放區

部署至 Azure
此範本會建立具有一個金鑰保存庫參考的新Azure 應用程式組態存放區。
使用輸出建立應用程式組態存放區

部署至 Azure
此範本會建立具有兩個索引鍵值的新Azure 應用程式組態存放區。
應用程式組態索引鍵/值

部署至 Azure
此範本會建立新的Azure 應用程式組態存放區,其中包含由複製函式控制的三個索引鍵/值。

Terraform (AzAPI 提供者) 資源定義

configurationStores 資源類型可以使用目標作業進行部署:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppConfiguration/configurationStores@2020-07-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      encryption = {
        keyVaultProperties = {
          identityClientId = "string"
          keyIdentifier = "string"
        }
      }
      publicNetworkAccess = "string"
    }
    sku = {
      name = "string"
    }
  })
}

屬性值

configurationStores

名稱 描述
類型 資源類型 「Microsoft.AppConfiguration/configurationStores@2020-07-01-preview」
NAME 資源名稱 需要字串 ()

字元限制:5-50

有效字元:
英數字元、底線和連字號。
location 資源的位置。 建立資源之後,就無法變更此專案。 需要字串 ()
parent_id 若要部署至資源群組,請使用該資源群組的識別碼。 需要字串 ()
tags 資源的標記。 標記名稱和值的字典。
sku 組態存放區的 SKU。 需要 sku ()
身分識別 如果已設定,則為受控識別資訊。 ResourceIdentity
properties 組態存放區的屬性。 ConfigurationStoreProperties

ResourceIdentity

名稱 描述
類型 使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 「SystemAssigned」
「SystemAssigned, UserAssigned」
「UserAssigned」
identity_ids 與資源相關聯的使用者指派身分識別清單。 使用者指派的身分識別字典索引鍵會是 ARM 資源識別碼,格式為:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 使用者身分識別識別碼的陣列。

ConfigurationStoreProperties

名稱 描述
加密 組態存放區的加密設定。 EncryptionProperties
publicNetworkAccess 啟用私人端點時,控制來自公用網路的資料平面流量許可權。 「Disabled」
「Enabled」

EncryptionProperties

名稱 描述
keyVaultProperties 金鑰保存庫屬性。 KeyVaultProperties

KeyVaultProperties

名稱 描述
identityClientId 用來存取金鑰保存庫之身分識別的用戶端識別碼。 字串
keyIdentifier 用來加密資料之金鑰保存庫金鑰的 URI。 字串

SKU

名稱 描述
NAME 組態存放區的 SKU 名稱。 字串 (必要)