Gateway Hostname Configuration - List By Service
A megadott átjáró gazdagépnév-konfigurációinak gyűjteményét sorolja fel.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations?api-version=2024-05-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations?$filter={$filter}&$top={$top}&$skip={$skip}&api-version=2024-05-01
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
gateway
|
path | True |
string minLength: 1maxLength: 80 |
Átjáró entitásazonosítója. Az aktuális API Management szolgáltatáspéldányban egyedinek kell lennie. Nem lehet "felügyelt" érték |
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
service
|
path | True |
string minLength: 1maxLength: 50 pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$ |
Az API Management szolgáltatás neve. |
subscription
|
path | True |
string (uuid) |
A cél-előfizetés azonosítója. Az értéknek UUID-nek kell lennie. |
api-version
|
query | True |
string minLength: 1 |
A művelethez használni kívánt API-verzió. |
$filter
|
query |
string |
| Mező | Használat | Támogatott operátorok | Támogatott függvények | |
|
$skip
|
query |
integer (int32) minimum: 0 |
Kihagyandó rekordok száma. |
|
$top
|
query |
integer (int32) minimum: 1 |
A visszaadni kívánt rekordok száma. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Gazdagépnév konfigurációs entitásainak gyűjteménye. |
|
Other Status Codes |
Hibaválasz, amely leírja, hogy miért nem sikerült a művelet. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow.
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
Name | Description |
---|---|
user_impersonation | a felhasználói fiók megszemélyesítése |
Példák
ApiManagementListGatewayHostnameConfigurations
Mintakérelem
Mintaválasz
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/gateways/gw1/hostnameConfigurations/default",
"type": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations",
"name": "default",
"properties": {
"hostname": "*",
"certificateId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
"negotiateClientCertificate": false
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/gateways/gw1/hostnameConfigurations/hostname1",
"type": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations",
"name": "default",
"properties": {
"hostname": "foo.bar.com",
"certificateId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert2",
"negotiateClientCertificate": true
}
}
],
"nextLink": ""
}
Definíciók
Name | Description |
---|---|
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Error |
Hibaválasz |
Gateway |
Paged Gateway hostname configuration list representation. |
Gateway |
Az átjáró gazdagépneve konfigurációjának részletei. |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
Name | Típus | Description |
---|---|---|
info |
object |
A további információk. |
type |
string |
A további információtípus. |
ErrorDetail
A hiba részletei.
Name | Típus | Description |
---|---|---|
additionalInfo |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hibacél. |
ErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
GatewayHostnameConfigurationCollection
Paged Gateway hostname configuration list representation.
Name | Típus | Description |
---|---|---|
nextLink |
string |
Ha van ilyen, a következő oldal hivatkozása. |
value |
Oldalértékek. |
GatewayHostnameConfigurationContract
Az átjáró gazdagépneve konfigurációjának részletei.
Name | Típus | Description |
---|---|---|
id |
string |
Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Az erőforrás neve |
properties.certificateId |
string |
A TLS-kapcsolat létesítésére használt tanúsítvány-entitás azonosítója |
properties.hostname |
string |
Állomásnév érték. Támogatja az érvényes tartománynevet, részleges vagy teljes helyettesítő karaktert |
properties.http2Enabled |
boolean |
Meghatározza, hogy a HTTP/2.0 támogatott-e |
properties.negotiateClientCertificate |
boolean |
Meghatározza, hogy az átjáró ügyféltanúsítványt kér-e |
properties.tls10Enabled |
boolean |
Megadja, hogy a TLS 1.0 támogatott-e |
properties.tls11Enabled |
boolean |
Megadja, hogy a TLS 1.1 támogatott-e |
type |
string |
Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts" |