Web Apps - Create Or Update Host Name Binding Slot
Beschrijving voor Hiermee maakt u een hostnaambinding voor een app.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
host
|
path | True |
string |
Hostnaam in de hostnaambinding. |
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
Naam van de implementatiesite. Als er geen site is opgegeven, maakt de API een binding voor de productiesite. |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Aanvraagbody
Name | Type | Description |
---|---|---|
kind |
string |
Soort resource. |
properties.azureResourceName |
string |
Naam van Azure-resource. |
properties.azureResourceType |
Azure-resourcetype. |
|
properties.customHostNameDnsRecordType |
Aangepast DNS-recordtype. |
|
properties.domainId |
string |
Volledig gekwalificeerde ARM-domeinresource-URI. |
properties.hostNameType |
Hostnaamtype. |
|
properties.siteName |
string |
App Service app-naam. |
properties.sslState |
SSL-type |
|
properties.thumbprint |
string |
Vingerafdruk van SSL-certificaat |
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 |
---|---|
Azure |
Azure-resourcetype. |
Custom |
Aangepast DNS-recordtype. |
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Host |
Een hostnaambindingsobject. |
Host |
Hostnaamtype. |
Ssl |
SSL-type |
AzureResourceType
Azure-resourcetype.
Name | Type | Description |
---|---|---|
TrafficManager |
string |
|
Website |
string |
CustomHostNameDnsRecordType
Aangepast DNS-recordtype.
Name | Type | Description |
---|---|---|
A |
string |
|
CName |
string |
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. |
HostNameBinding
Een hostnaambindingsobject.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.azureResourceName |
string |
Naam van Azure-resource. |
properties.azureResourceType |
Azure-resourcetype. |
|
properties.customHostNameDnsRecordType |
Aangepast DNS-recordtype. |
|
properties.domainId |
string |
Volledig gekwalificeerde ARM-domeinresource-URI. |
properties.hostNameType |
Hostnaamtype. |
|
properties.siteName |
string |
App Service app-naam. |
properties.sslState |
SSL-type |
|
properties.thumbprint |
string |
Vingerafdruk van SSL-certificaat |
properties.virtualIP |
string |
Virtueel IP-adres dat is toegewezen aan de hostnaam als SSL op basis van IP is ingeschakeld. |
type |
string |
Resourcetype. |
HostNameType
Hostnaamtype.
Name | Type | Description |
---|---|---|
Managed |
string |
|
Verified |
string |
SslState
SSL-type
Name | Type | Description |
---|---|---|
Disabled |
string |
|
IpBasedEnabled |
string |
|
SniEnabled |
string |