Web Apps - Create Or Update Hybrid Connection Slot
の説明 Service Bus リレーを使用して新しいハイブリッド接続を作成します。
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}?api-version=2023-12-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
name
|
path | True |
string |
Web アプリの名前。 |
namespace
|
path | True |
string |
このハイブリッド接続の名前空間。 |
relay
|
path | True |
string |
このハイブリッド接続のリレー名。 |
resource
|
path | True |
string |
リソースが属しているリソース グループの名前。 Regex pattern: |
slot
|
path | True |
string |
Web アプリのスロットの名前。 |
subscription
|
path | True |
string |
Azure のサブスクリプション ID。 これは GUID 形式の文字列です (たとえば、000000000-0000-0000-0000-000000000000000000000000000000000000000000000000000000000000、 |
api-version
|
query | True |
string |
API バージョン |
要求本文
名前 | 型 | 説明 |
---|---|---|
kind |
string |
リソースの種類。 |
properties.hostname |
string |
エンドポイントのホスト名。 |
properties.port |
integer |
エンドポイントのポート。 |
properties.relayArmUri |
string |
Service Bus リレーへの ARM URI。 |
properties.relayName |
string |
Service Bus リレーの名前。 |
properties.sendKeyName |
string |
送信アクセス許可を持つ Service Bus キーの名前。 これは、Service Bus に対する認証に使用されます。 |
properties.sendKeyValue |
string |
Service Bus キーの値。 これは、Service Bus に対する認証に使用されます。 ARM では、このキーは通常は返されません。代わりに POST /listKeys API を使用してください。 |
properties.serviceBusNamespace |
string |
Service Bus 名前空間の名前。 |
properties.serviceBusSuffix |
string |
Service Bus エンドポイントのサフィックス。 既定では、これは .servicebus.windows.net |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
エラー応答をApp Serviceします。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
定義
名前 | 説明 |
---|---|
Default |
エラー応答をApp Serviceします。 |
Details | |
Error |
エラー モデル。 |
Hybrid |
ハイブリッド接続コントラクト。 これは、ハイブリッド接続を構成するために使用されます。 |
DefaultErrorResponse
エラー応答をApp Serviceします。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
詳細なエラーの説明とデバッグ情報。 |
target |
string |
詳細なエラーの説明とデバッグ情報。 |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
エラーのデバッグに関する詳細情報。 |
message |
string |
詳細なエラーの説明とデバッグ情報。 |
target |
string |
詳細なエラーの説明とデバッグ情報。 |
HybridConnection
ハイブリッド接続コントラクト。 これは、ハイブリッド接続を構成するために使用されます。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
kind |
string |
リソースの種類。 |
name |
string |
リソース名。 |
properties.hostname |
string |
エンドポイントのホスト名。 |
properties.port |
integer |
エンドポイントのポート。 |
properties.relayArmUri |
string |
Service Bus リレーへの ARM URI。 |
properties.relayName |
string |
Service Bus リレーの名前。 |
properties.sendKeyName |
string |
送信アクセス許可を持つ Service Bus キーの名前。 これは、Service Bus に対する認証に使用されます。 |
properties.sendKeyValue |
string |
Service Bus キーの値。 これは、Service Bus に対する認証に使用されます。 ARM では、このキーは通常は返されません。代わりに POST /listKeys API を使用してください。 |
properties.serviceBusNamespace |
string |
Service Bus 名前空間の名前。 |
properties.serviceBusSuffix |
string |
Service Bus エンドポイントのサフィックス。 既定では、これは .servicebus.windows.net |
type |
string |
リソースの種類。 |