你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Rule Sets - List By Profile
Lists配置文件中的现有 AzureFrontDoor 规则集。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets?api-version=2023-05-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
profile
|
path | True |
string |
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 配置文件的名称。 |
resource
|
path | True |
string |
Azure 订阅中的资源组的名称。 Regex pattern: |
subscription
|
path | True |
string |
Azure 订阅 ID。 |
api-version
|
query | True |
string |
要与客户端请求一起使用的 API 的版本。 当前版本为 2023-05-01。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
Other Status Codes |
描述操作失败原因的 Azure Front Door 错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
RuleSets_ListByProfile
Sample Request
GET https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/ruleSets?api-version=2023-05-01
Sample Response
{
"value": [
{
"name": "ruleSet1",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/rulesets/ruleSet1",
"type": "Microsoft.Cdn/profiles/rulesets",
"properties": {
"provisioningState": "Succeeded",
"deploymentStatus": "NotStarted"
}
}
]
}
定义
名称 | 说明 |
---|---|
Afd |
错误响应 |
Afd |
预配状态 |
Deployment |
|
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Identity |
创建/修改资源的标识类型 |
Rule |
友好 RuleSet 名称映射到任何 RuleSet 或机密相关信息。 |
Rule |
列出规则集的请求的结果。 它包含规则集对象的列表和用于获取下一组结果的 URL 链接。 |
System |
只读系统数据 |
AfdErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
AfdProvisioningState
预配状态
名称 | 类型 | 说明 |
---|---|---|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |
DeploymentStatus
名称 | 类型 | 说明 |
---|---|---|
Failed |
string |
|
InProgress |
string |
|
NotStarted |
string |
|
Succeeded |
string |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
IdentityType
创建/修改资源的标识类型
名称 | 类型 | 说明 |
---|---|---|
application |
string |
|
key |
string |
|
managedIdentity |
string |
|
user |
string |
RuleSet
友好 RuleSet 名称映射到任何 RuleSet 或机密相关信息。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
name |
string |
资源名称。 |
properties.deploymentStatus | ||
properties.profileName |
string |
保存规则集的配置文件的名称。 |
properties.provisioningState |
预配状态 |
|
systemData |
只读系统数据 |
|
type |
string |
资源类型。 |
RuleSetListResult
列出规则集的请求的结果。 它包含规则集对象的列表和用于获取下一组结果的 URL 链接。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一组规则集对象的 URL(如果有)。 |
value |
Rule |
配置文件中的 AzureFrontDoor 规则集列表。 |
SystemData
只读系统数据
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string |
资源的创建时间戳 (UTC) |
createdBy |
string |
创建资源的标识的标识符 |
createdByType |
创建资源的标识类型 |
|
lastModifiedAt |
string |
资源上次修改的时间戳 (UTC) |
lastModifiedBy |
string |
上次修改资源的标识的标识符 |
lastModifiedByType |
上次修改资源的标识类型 |