Frontend Endpoints - List By Front Door
列出 Front Door 中的所有前端终结点。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints?api-version=2021-06-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
front
|
path | True |
string minLength: 5maxLength: 64 pattern: ^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$ |
全局唯一的 Front Door 的名称。 |
resource
|
path | True |
string minLength: 1maxLength: 80 pattern: ^[a-zA-Z0-9_\-\(\)\.]*[^\.]$ |
Azure 订阅中的资源组的名称。 |
subscription
|
path | True |
string |
唯一标识 Azure 订阅Microsoft的订阅凭据。 订阅 ID 构成了每个服务调用的 URI 的一部分。 |
api-version
|
query | True |
string |
客户端 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行 |
|
Other Status Codes |
Front Door 错误响应,描述作失败的原因。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
List Frontend endpoints in a Front Door
示例请求
示例响应
{
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
"name": "frontendEndpoint1",
"properties": {
"hostName": "www.contoso.com",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 60,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
}
}
}
]
}
定义
名称 | 说明 |
---|---|
Custom |
域的 Https 设置 |
Custom |
FrontendEndpoint 的自定义 Https 预配状态。 |
Custom |
预配子状态显示自定义 HTTPS 启用/禁用过程的进度。 |
Error |
错误响应指示 Front Door 服务无法处理传入请求。 错误消息中提供了原因。 |
Front |
定义 SSL 证书的源 |
Front |
定义用于安全连接到 frontendEndpoint 的证书的类型 |
Front |
Front Door 或 Front Door 子资源的资源状态。 |
Front |
定义用于安全传送的 TLS 扩展协议 |
Frontend |
用于路由的前端终结点。 |
Frontend |
列出前端终结点的请求的结果。 它包含前端终结点对象列表和 URL 链接,用于获取下一组结果。 |
Minimum |
客户端建立与 Front Door 的 SSL 握手所需的最低 TLS 版本。 |
Session |
是否允许在此主机上进行会话关联。 有效选项为“Enabled”或“Disabled” |
Vault |
包含 SSL 证书的 Key Vault |
Web |
为每个主机定义 Web 应用程序防火墙策略(如果适用) |
CustomHttpsConfiguration
域的 Https 设置
名称 | 类型 | 说明 |
---|---|---|
certificateSource |
定义 SSL 证书的源 |
|
frontDoorCertificateSourceParameters.certificateType |
定义用于安全连接到 frontendEndpoint 的证书的类型 |
|
keyVaultCertificateSourceParameters.secretName |
string |
表示完整证书 PFX 的 Key Vault 机密的名称 |
keyVaultCertificateSourceParameters.secretVersion |
string |
表示完整证书 PFX 的 Key Vault 机密的版本 |
keyVaultCertificateSourceParameters.vault |
包含 SSL 证书的 Key Vault |
|
minimumTlsVersion |
客户端建立与 Front Door 的 SSL 握手所需的最低 TLS 版本。 |
|
protocolType |
定义用于安全传送的 TLS 扩展协议 |
CustomHttpsProvisioningState
FrontendEndpoint 的自定义 Https 预配状态。
值 | 说明 |
---|---|
Disabled | |
Disabling | |
Enabled | |
Enabling | |
Failed |
CustomHttpsProvisioningSubstate
预配子状态显示自定义 HTTPS 启用/禁用过程的进度。
值 | 说明 |
---|---|
CertificateDeleted | |
CertificateDeployed | |
DeletingCertificate | |
DeployingCertificate | |
DomainControlValidationRequestApproved | |
DomainControlValidationRequestRejected | |
DomainControlValidationRequestTimedOut | |
IssuingCertificate | |
PendingDomainControlValidationREquestApproval | |
SubmittingDomainControlValidationRequest |
ErrorResponse
错误响应指示 Front Door 服务无法处理传入请求。 错误消息中提供了原因。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
message |
string |
指示作失败的原因的错误消息。 |
FrontDoorCertificateSource
定义 SSL 证书的源
值 | 说明 |
---|---|
AzureKeyVault | |
FrontDoor |
FrontDoorCertificateType
定义用于安全连接到 frontendEndpoint 的证书的类型
值 | 说明 |
---|---|
Dedicated |
FrontDoorResourceState
Front Door 或 Front Door 子资源的资源状态。
值 | 说明 |
---|---|
Creating | |
Deleting | |
Disabled | |
Disabling | |
Enabled | |
Enabling | |
Migrated | |
Migrating |
FrontDoorTlsProtocolType
定义用于安全传送的 TLS 扩展协议
值 | 说明 |
---|---|
ServerNameIndication |
FrontendEndpoint
用于路由的前端终结点。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.customHttpsConfiguration |
指定如何启用 HTTPS 的配置 |
|
properties.customHttpsProvisioningState |
FrontendEndpoint 的自定义 Https 预配状态。 |
|
properties.customHttpsProvisioningSubstate |
预配子状态显示自定义 HTTPS 启用/禁用过程的进度。 |
|
properties.hostName |
string |
frontendEndpoint 的主机名。 必须是域名。 |
properties.resourceState |
Front Door 或 Front Door 子资源的资源状态。 |
|
properties.sessionAffinityEnabledState |
是否允许在此主机上进行会话关联。 有效选项为“Enabled”或“Disabled” |
|
properties.sessionAffinityTtlSeconds |
integer |
闲置。 此字段将被忽略。 要以秒为单位用于会话相关性的 TTL(如果适用)。 |
properties.webApplicationFirewallPolicyLink |
为每个主机定义 Web 应用程序防火墙策略(如果适用) |
|
type |
string |
资源类型。 |
FrontendEndpointsListResult
列出前端终结点的请求的结果。 它包含前端终结点对象列表和 URL 链接,用于获取下一组结果。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一组前端终结点(如果有)的 URL。 |
value |
Front Door 中的前端终结点列表。 |
MinimumTLSVersion
客户端建立与 Front Door 的 SSL 握手所需的最低 TLS 版本。
值 | 说明 |
---|---|
1.0 | |
1.2 |
SessionAffinityEnabledState
是否允许在此主机上进行会话关联。 有效选项为“Enabled”或“Disabled”
值 | 说明 |
---|---|
Disabled | |
Enabled |
Vault
包含 SSL 证书的 Key Vault
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
WebApplicationFirewallPolicyLink
为每个主机定义 Web 应用程序防火墙策略(如果适用)
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |