Delen via


Web Apps - Get Host Name Binding Slot

Beschrijving voor Get the named hostname binding for an app (or deployment slot, if specified).

GET 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
hostName
path True

string

Hostnaam in de hostnaambinding.

name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

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

slot
path True

string

Naam van de implementatiesite. Als er geen site is opgegeven, is de API de benoemde binding voor de productiesite.

subscriptionId
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

Antwoorden

Name Type Description
200 OK

HostNameBinding

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
AzureResourceType

Azure-resourcetype.

CustomHostNameDnsRecordType

Aangepast DNS-recordtype.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

HostNameBinding

Een hostnaambindingsobject.

HostNameType

Hostnaamtype.

SslState

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

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

AzureResourceType

Azure-resourcetype.

properties.customHostNameDnsRecordType

CustomHostNameDnsRecordType

Aangepast DNS-recordtype.

properties.domainId

string

Volledig gekwalificeerde ARM-domeinresource-URI.

properties.hostNameType

HostNameType

Hostnaamtype.

properties.siteName

string

App Service app-naam.

properties.sslState

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