Web Apps - Update Hybrid Connection Slot
Beschrijving voor Maakt een nieuwe hybride verbinding met behulp van een Service Bus Relay.
PATCH 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-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
de naam van de web-app. |
namespace
|
path | True |
string |
De naamruimte voor deze hybride verbinding. |
relay
|
path | True |
string |
De relaynaam voor deze hybride verbinding. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
De naam van de site voor de web-app. |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Aanvraagbody
Name | Type | Description |
---|---|---|
kind |
string |
Soort resource. |
properties.hostname |
string |
De hostnaam van het eindpunt. |
properties.port |
integer |
De poort van het eindpunt. |
properties.relayArmUri |
string |
De ARM-URI naar de Service Bus-relay. |
properties.relayName |
string |
De naam van de Service Bus Relay. |
properties.sendKeyName |
string |
De naam van de Service Bus-sleutel met machtigingen voor verzenden. Dit wordt gebruikt om te verifiëren bij Service Bus. |
properties.sendKeyValue |
string |
De waarde van de Service Bus-sleutel. Dit wordt gebruikt om te verifiëren bij Service Bus. In ARM wordt deze sleutel niet normaal geretourneerd. Gebruik in plaats daarvan de API POST/listKeys. |
properties.serviceBusNamespace |
string |
De naam van de Service Bus-naamruimte. |
properties.serviceBusSuffix |
string |
Het achtervoegsel voor het service bus-eindpunt. Standaard is dit .servicebus.windows.net |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
App Service foutreactie. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | uw gebruikersaccount imiteren |
Definities
Name | Description |
---|---|
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Hybrid |
Hybrid Connection-contract. Dit wordt gebruikt om een hybride verbinding te configureren. |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
error |
Foutmodel. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
HybridConnection
Hybrid Connection-contract. Dit wordt gebruikt om een hybride verbinding te configureren.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.hostname |
string |
De hostnaam van het eindpunt. |
properties.port |
integer |
De poort van het eindpunt. |
properties.relayArmUri |
string |
De ARM-URI naar de Service Bus-relay. |
properties.relayName |
string |
De naam van de Service Bus Relay. |
properties.sendKeyName |
string |
De naam van de Service Bus-sleutel met machtigingen voor verzenden. Dit wordt gebruikt om te verifiëren bij Service Bus. |
properties.sendKeyValue |
string |
De waarde van de Service Bus-sleutel. Dit wordt gebruikt om te verifiëren bij Service Bus. In ARM wordt deze sleutel niet normaal geretourneerd. Gebruik in plaats daarvan de API POST/listKeys. |
properties.serviceBusNamespace |
string |
De naam van de Service Bus-naamruimte. |
properties.serviceBusSuffix |
string |
Het achtervoegsel voor het service bus-eindpunt. Standaard is dit .servicebus.windows.net |
type |
string |
Resourcetype. |