共用方式為


Web Apps - Update Relay Service Connection Slot

建立新的混合式聯機組態的描述(PUT),或更新現有的聯機組態(PATCH)。

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}?api-version=2024-11-01

URI 參數

名稱 位於 必要 類型 Description
entityName
path True

string

混合式聯機組態的名稱。

name
path True

string

應用程式的名稱。

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+[^\.]$

資源所屬的資源群組名稱。

slot
path True

string

部署位置的名稱。 如果未指定位置,API 將會建立或更新生產位置的混合式連線。

subscriptionId
path True

string

您的 Azure 訂用帳戶識別碼。 這是 GUID 格式的字串(例如 0000000000-0000-0000-0000-0000000000000000)。

api-version
query True

string

API 版本

要求本文

名稱 類型 Description
kind

string

資源種類。

properties.biztalkUri

string

properties.entityConnectionString

string

properties.entityName

string

properties.hostname

string

properties.port

integer (int32)

properties.resourceConnectionString

string

properties.resourceType

string

回應

名稱 類型 Description
200 OK

RelayServiceConnectionEntity

還行

Other Status Codes

DefaultErrorResponse

App Service 錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 流

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

定義

名稱 Description
DefaultErrorResponse

App Service 錯誤回應。

Details
Error

錯誤模型。

RelayServiceConnectionEntity

App Service 應用程式的混合式連線。

DefaultErrorResponse

App Service 錯誤回應。

名稱 類型 Description
error

Error

錯誤模型。

Details

名稱 類型 Description
code

string

以程式設計方式識別錯誤的標準化字串。

message

string

詳細的錯誤描述和偵錯資訊。

target

string

詳細的錯誤描述和偵錯資訊。

Error

錯誤模型。

名稱 類型 Description
code

string

以程式設計方式識別錯誤的標準化字串。

details

Details[]

詳細的錯誤。

innererror

string

偵錯錯誤的詳細資訊。

message

string

詳細的錯誤描述和偵錯資訊。

target

string

詳細的錯誤描述和偵錯資訊。

RelayServiceConnectionEntity

App Service 應用程式的混合式連線。

名稱 類型 Description
id

string

資源標識碼。

kind

string

資源種類。

name

string

資源名稱。

properties.biztalkUri

string

properties.entityConnectionString

string

properties.entityName

string

properties.hostname

string

properties.port

integer (int32)

properties.resourceConnectionString

string

properties.resourceType

string

type

string

資源類型。