Microsoft.Network NetworkExperimentProfiles 2019-11-01
Bicep 資源定義
NetworkExperimentProfiles 資源類型可以部署到:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.Network/NetworkExperimentProfiles 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.Network/NetworkExperimentProfiles@2019-11-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
etag: 'string'
properties: {
enabledState: 'string'
}
}
屬性值
NetworkExperimentProfiles
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 | 字串 (必要) |
location | 資源位置。 | 字串 |
tags | 資源標籤。 | 標記名稱和值的字典。 請參閱 範本中的標記 |
etag | 取得每當更新資源時變更的唯一隻讀字串。 | 字串 |
properties | 設定檔的屬性 | ProfileProperties |
ProfileProperties
名稱 | 描述 | 值 |
---|---|---|
enabledState | 實驗的狀態 | 'Disabled' 'Enabled' |
ARM 範本資源定義
NetworkExperimentProfiles 資源類型可以部署到:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.Network/NetworkExperimentProfiles 資源,請將下列 JSON 新增至您的範本。
{
"type": "Microsoft.Network/NetworkExperimentProfiles",
"apiVersion": "2019-11-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"etag": "string",
"properties": {
"enabledState": "string"
}
}
屬性值
NetworkExperimentProfiles
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 'Microsoft.Network/NetworkExperimentProfiles' |
apiVersion | 資源 API 版本 | '2019-11-01' |
NAME | 資源名稱 | 字串 (必要) |
location | 資源位置。 | 字串 |
tags | 資源標籤。 | 標記名稱和值的字典。 請參閱 範本中的標記 |
etag | 取得每當更新資源時變更的唯一隻讀字串。 | 字串 |
properties | 設定檔的屬性 | ProfileProperties |
ProfileProperties
名稱 | 描述 | 值 |
---|---|---|
enabledState | 實驗的狀態 | 'Disabled' 'Enabled' |
Terraform (AzAPI 提供者) 資源定義
NetworkExperimentProfiles 資源類型可以部署到:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.Network/NetworkExperimentProfiles 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/NetworkExperimentProfiles@2019-11-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
enabledState = "string"
}
etag = "string"
})
}
屬性值
NetworkExperimentProfiles
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 「Microsoft.Network/NetworkExperimentProfiles@2019-11-01」 |
NAME | 資源名稱 | 字串 (必要) |
location | 資源位置。 | 字串 |
parent_id | 若要部署至資源群組,請使用該資源群組的識別碼。 | 字串 (必要) |
tags | 資源標籤。 | 標記名稱和值的字典。 |
etag | 取得每當更新資源時變更的唯一隻讀字串。 | 字串 |
properties | 設定檔的屬性 | ProfileProperties |
ProfileProperties
名稱 | 描述 | 值 |
---|---|---|
enabledState | 實驗的狀態 | 「Disabled」 「Enabled」 |