Microsoft.ApiManagement 服務/backends 2016-10-10
- 最新
- 2024-06-01-preview
- 2024-05-01
- 2023-09-01-preview
- 2023-05-01-preview
- 2023-03-01-preview
- 2022-09-01-preview
- 2022-08-01
- 2022-04-01-preview
- 2021-12-01-preview
- 2021-08-01
- 2021-04-01-preview
- 2021-01-01-preview
- 2020-12-01
- 2020-06-01-preview
- 2019-12-01
- 2019-12-01-preview
- 2019-01-01
- 2018-06-01-preview
- 2018-01-01
- 2017-03-01
- 2016-10-10
- 2016-07-07
Bicep 資源定義
服務/後端資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.ApiManagement/service/backends 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.ApiManagement/service/backends@2016-10-10' = {
parent: resourceSymbolicName
certificate: [
'string'
]
description: 'string'
header: {
{customized property}: [
'string'
]
}
name: 'string'
parameter: 'string'
password: 'string'
properties: {
skipCertificateChainValidation: bool
skipCertificateNameValidation: bool
}
protocol: 'string'
query: {
{customized property}: [
'string'
]
}
resourceId: 'string'
scheme: 'string'
title: 'string'
url: 'string'
username: 'string'
}
屬性值
BackendCredentialsContractHeader
名字 | 描述 | 價值 |
---|
BackendCredentialsContractQuery
名字 | 描述 | 價值 |
---|
BackendProperties
名字 | 描述 | 價值 |
---|---|---|
skipCertificateChainValidation | 旗標,指出使用此後端主機的自我簽署憑證時,是否應略過 SSL 憑證鏈結驗證。 | bool |
skipCertificateNameValidation | 旗標,指出使用此後端主機的自我簽署憑證時,是否應略過 SSL 憑證名稱驗證。 | bool |
Microsoft.ApiManagement/service/backends
名字 | 描述 | 價值 |
---|---|---|
證書 | 用戶端憑證指紋的清單。 | string[] |
描述 | 後端描述。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 |
頁眉 | 標頭參數描述。 | BackendCredentialsContractHeader |
名字 | 資源名稱 | 字串 約束: 最小長度 = 1 最大長度 = 255 模式 = ^[^*#&+:<>?]+$ (必要) |
參數 | 驗證參數值。 | 字串 約束: 最小長度 = 1 最大長度 = 300 (必要) |
父母 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:服務 |
密碼 | 線上至 WebProxy 伺服器的密碼 | 字串 |
性能 | 後端特有的屬性。 | BackendProperties |
協定 | 後端通訊協定。 | 'http' 'soap' (必要) |
查詢 | 查詢參數描述。 | BackendCredentialsContractQuery |
resourceId | 外部系統中資源的管理 URI。 此 URL 可以是 Logic Apps、Function Apps 或 Api Apps 的 Arm 資源識別符。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 |
方案 | 驗證配置名稱。 | 字串 約束: 最小長度 = 1 最大長度 = 100 (必要) |
標題 | 後端標題。 | 字串 約束: 最小長度 = 1 最大長度 = 300 |
url | WebProxy Server AbsoluteUri 屬性,其中包含儲存在 Uri 實例中的整個 URI,包括所有片段和查詢字串。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 (必要) |
username | 線上至 WebProxy 伺服器的使用者名稱 | 字串 |
ARM 樣本資源定義
服務/後端資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.ApiManagement/service/backends 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.ApiManagement/service/backends",
"apiVersion": "2016-10-10",
"name": "string",
"certificate": [ "string" ],
"description": "string",
"header": {
"{customized property}": [ "string" ]
},
"parameter": "string",
"password": "string",
"properties": {
"skipCertificateChainValidation": "bool",
"skipCertificateNameValidation": "bool"
},
"protocol": "string",
"query": {
"{customized property}": [ "string" ]
},
"resourceId": "string",
"scheme": "string",
"title": "string",
"url": "string",
"username": "string"
}
屬性值
BackendCredentialsContractHeader
名字 | 描述 | 價值 |
---|
BackendCredentialsContractQuery
名字 | 描述 | 價值 |
---|
BackendProperties
名字 | 描述 | 價值 |
---|---|---|
skipCertificateChainValidation | 旗標,指出使用此後端主機的自我簽署憑證時,是否應略過 SSL 憑證鏈結驗證。 | bool |
skipCertificateNameValidation | 旗標,指出使用此後端主機的自我簽署憑證時,是否應略過 SSL 憑證名稱驗證。 | bool |
Microsoft.ApiManagement/service/backends
名字 | 描述 | 價值 |
---|---|---|
apiVersion | API 版本 | '2016-10-10' |
證書 | 用戶端憑證指紋的清單。 | string[] |
描述 | 後端描述。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 |
頁眉 | 標頭參數描述。 | BackendCredentialsContractHeader |
名字 | 資源名稱 | 字串 約束: 最小長度 = 1 最大長度 = 255 模式 = ^[^*#&+:<>?]+$ (必要) |
參數 | 驗證參數值。 | 字串 約束: 最小長度 = 1 最大長度 = 300 (必要) |
密碼 | 線上至 WebProxy 伺服器的密碼 | 字串 |
性能 | 後端特有的屬性。 | BackendProperties |
協定 | 後端通訊協定。 | 'http' 'soap' (必要) |
查詢 | 查詢參數描述。 | BackendCredentialsContractQuery |
resourceId | 外部系統中資源的管理 URI。 此 URL 可以是 Logic Apps、Function Apps 或 Api Apps 的 Arm 資源識別符。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 |
方案 | 驗證配置名稱。 | 字串 約束: 最小長度 = 1 最大長度 = 100 (必要) |
標題 | 後端標題。 | 字串 約束: 最小長度 = 1 最大長度 = 300 |
類型 | 資源類型 | 'Microsoft.ApiManagement/service/backends' |
url | WebProxy Server AbsoluteUri 屬性,其中包含儲存在 Uri 實例中的整個 URI,包括所有片段和查詢字串。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 (必要) |
username | 線上至 WebProxy 伺服器的使用者名稱 | 字串 |
Terraform (AzAPI 提供者) 資源定義
服務/後端資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.ApiManagement/service/backends 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ApiManagement/service/backends@2016-10-10"
name = "string"
certificate = [
"string"
]
description = "string"
header = {
{customized property} = [
"string"
]
}
parameter = "string"
password = "string"
protocol = "string"
query = {
{customized property} = [
"string"
]
}
resourceId = "string"
scheme = "string"
title = "string"
url = "string"
username = "string"
body = jsonencode({
properties = {
skipCertificateChainValidation = bool
skipCertificateNameValidation = bool
}
})
}
屬性值
BackendCredentialsContractHeader
名字 | 描述 | 價值 |
---|
BackendCredentialsContractQuery
名字 | 描述 | 價值 |
---|
BackendProperties
名字 | 描述 | 價值 |
---|---|---|
skipCertificateChainValidation | 旗標,指出使用此後端主機的自我簽署憑證時,是否應略過 SSL 憑證鏈結驗證。 | bool |
skipCertificateNameValidation | 旗標,指出使用此後端主機的自我簽署憑證時,是否應略過 SSL 憑證名稱驗證。 | bool |
Microsoft.ApiManagement/service/backends
名字 | 描述 | 價值 |
---|---|---|
證書 | 用戶端憑證指紋的清單。 | string[] |
描述 | 後端描述。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 |
頁眉 | 標頭參數描述。 | BackendCredentialsContractHeader |
名字 | 資源名稱 | 字串 約束: 最小長度 = 1 最大長度 = 255 模式 = ^[^*#&+:<>?]+$ (必要) |
參數 | 驗證參數值。 | 字串 約束: 最小長度 = 1 最大長度 = 300 (必要) |
parent_id | 此資源為父系之資源的標識碼。 | 類型的資源標識碼:服務 |
密碼 | 線上至 WebProxy 伺服器的密碼 | 字串 |
性能 | 後端特有的屬性。 | BackendProperties |
協定 | 後端通訊協定。 | 'http' 'soap' (必要) |
查詢 | 查詢參數描述。 | BackendCredentialsContractQuery |
resourceId | 外部系統中資源的管理 URI。 此 URL 可以是 Logic Apps、Function Apps 或 Api Apps 的 Arm 資源識別符。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 |
方案 | 驗證配置名稱。 | 字串 約束: 最小長度 = 1 最大長度 = 100 (必要) |
標題 | 後端標題。 | 字串 約束: 最小長度 = 1 最大長度 = 300 |
類型 | 資源類型 | “Microsoft.ApiManagement/service/backends@2016-10-10” |
url | WebProxy Server AbsoluteUri 屬性,其中包含儲存在 Uri 實例中的整個 URI,包括所有片段和查詢字串。 | 字串 約束: 最小長度 = 1 最大長度 = 2000 (必要) |
username | 線上至 WebProxy 伺服器的使用者名稱 | 字串 |