Delen via


Web Apps - Update Hybrid Connection

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}/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.

namespaceName
path True

string

De naamruimte voor deze hybride verbinding.

relayName
path True

string

De relaynaam voor deze hybride verbinding.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

subscriptionId
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

HybridConnection

OK

Other Status Codes

DefaultErrorResponse

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
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

HybridConnection

Hybrid Connection-contract. Dit wordt gebruikt om een hybride verbinding te configureren.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

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.