Operations - List
列出所有可用的 CDN REST API作。
GET https://management.azure.com/providers/Microsoft.Cdn/operations?api-version=2025-04-15
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
api-version
|
query | True |
string minLength: 1 |
用于此操作的 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
还行。 请求已成功。 |
|
| Other Status Codes |
描述作失败的原因的 CDN 错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
Operations_List
示例请求
GET https://management.azure.com/providers/Microsoft.Cdn/operations?api-version=2025-04-15
示例响应
{
"value": [
{
"name": "Microsoft.Cdn/register/action",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Microsoft.Cdn Resource Provider",
"operation": "Registers the Microsoft.Cdn Resource Provider"
}
},
{
"name": "Microsoft.Cdn/edgenodes/read",
"display": {
"provider": "Microsoft.Cdn",
"resource": "EdgeNode",
"operation": "read"
}
},
{
"name": "Microsoft.Cdn/edgenodes/write",
"display": {
"provider": "Microsoft.Cdn",
"resource": "EdgeNode",
"operation": "write"
}
},
{
"name": "Microsoft.Cdn/edgenodes/delete",
"display": {
"provider": "Microsoft.Cdn",
"resource": "EdgeNode",
"operation": "delete"
}
},
{
"name": "Microsoft.Cdn/profiles/read",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Profile",
"operation": "read"
}
},
{
"name": "Microsoft.Cdn/profiles/write",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Profile",
"operation": "write"
}
},
{
"name": "Microsoft.Cdn/operationresults/profileresults/write",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Profile",
"operation": "write"
}
},
{
"name": "Microsoft.Cdn/operationresults/profileresults/delete",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Profile",
"operation": "delete"
}
},
{
"name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Profile",
"operation": "CheckResourceUsage"
}
},
{
"name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action",
"display": {
"provider": "Microsoft.Cdn",
"resource": "Profile",
"operation": "GenerateSsoUri"
}
}
]
}
定义
| 名称 | 说明 |
|---|---|
|
Dimension |
作类型:获取、读取、删除等。 |
| Display |
表示操作的对象。 |
|
Error |
资源管理错误附加信息。 |
|
Error |
错误详细信息。 |
|
Error |
错误响应 |
|
Log |
作的日志规范。 |
|
Metric |
资源指标的保留策略。 |
|
Metric |
操作的指标规范。 |
| Operation |
CDN REST API作 |
|
Operations |
列出 CDN作的请求的结果。 它包含操作列表和 URL 链接,用于获取下一组结果。 |
|
Service |
作的一个属性,包括日志规范。 |
DimensionProperties
作类型:获取、读取、删除等。
| 名称 | 类型 | 说明 |
|---|---|---|
| displayName |
string |
维度的显示名称。 |
| internalName |
string |
维度的内部名称。 |
| name |
string |
维度的名称。 |
Display
表示操作的对象。
| 名称 | 类型 | 说明 |
|---|---|---|
| description |
string |
作说明。 |
| operation |
string |
操作类型:读取、写入、删除等。 |
| provider |
string |
服务提供商:Microsoft.Cdn |
| resource |
string |
对其执行操作的资源:配置文件、终结点等。 |
ErrorAdditionalInfo
资源管理错误附加信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| info |
object |
其他信息。 |
| type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| additionalInfo |
错误附加信息。 |
|
| code |
string |
错误代码。 |
| details |
错误详细信息。 |
|
| message |
string |
错误消息。 |
| target |
string |
错误目标。 |
ErrorResponse
错误响应
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
LogSpecification
作的日志规范。
| 名称 | 类型 | 说明 |
|---|---|---|
| blobDuration |
string |
规范的 Blob 持续时间。 |
| displayName |
string |
日志规范的显示名称。 |
| logFilterPattern |
string |
基于名称进行筛选的模式 |
| name |
string |
日志规范的名称。 |
MetricAvailability
资源指标的保留策略。
| 名称 | 类型 | 说明 |
|---|---|---|
| blobDuration |
string |
|
| timeGrain |
string |
MetricSpecification
操作的指标规范。
| 名称 | 类型 | 说明 |
|---|---|---|
| aggregationType |
string |
指标聚合类型。 可能的值包括:“Average”、“Count”、“Total”。 |
| availabilities |
资源指标的保留策略。 |
|
| dimensions |
指标的维度 |
|
| displayDescription |
string |
显示指标规范的说明。 |
| displayName |
string |
指标规范的显示名称。 |
| fillGapWithZero |
boolean |
用于指定是否用零填充空白的属性。 |
| isInternal |
boolean |
用于指定指标的属性是内部指标。 |
| metricFilterPattern |
string |
基于名称进行筛选的模式 |
| name |
string |
指标规范的名称。 |
| supportedTimeGrainTypes |
string[] |
指标支持的时间粒度类型。 |
| unit |
string |
指标单位。 可能的值包括:“Bytes”、“Count”、“毫秒”。 |
Operation
CDN REST API作
| 名称 | 类型 | 说明 |
|---|---|---|
| display |
表示操作的对象。 |
|
| isDataAction |
boolean |
指示作是否为数据作 |
| name |
string |
作名称:{provider}/{resource}/{operation} |
| origin |
string |
作的起源。 |
| properties.serviceSpecification |
操作的一个属性,包括指标规范。 |
OperationsListResult
列出 CDN作的请求的结果。 它包含操作列表和 URL 链接,用于获取下一组结果。
| 名称 | 类型 | 说明 |
|---|---|---|
| nextLink |
string |
用于获取下一组操作列表结果(如果有)的 URL。 |
| value |
CDN 资源提供程序支持的 CDN作列表。 |
ServiceSpecification
作的一个属性,包括日志规范。
| 名称 | 类型 | 说明 |
|---|---|---|
| logSpecifications |
作的日志规范。 |
|
| metricSpecifications |
作的指标规范。 |