Profiles - Get
获取具有指定订阅和资源组下指定配置文件名称的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}?api-version=2025-04-15
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
profile
|
path | True |
string |
Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称,该配置文件在资源组中是唯一的。 |
resource
|
path | True |
string minLength: 1maxLength: 90 |
资源组的名称。 此名称不区分大小写。 |
subscription
|
path | True |
string (uuid) |
目标订阅的 ID。 该值必须是 UUID。 |
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 | 模拟用户帐户 |
示例
Profiles_Get
示例请求
示例响应
{
"name": "profile1",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
"type": "Microsoft.Cdn/profiles",
"tags": {},
"location": "global",
"sku": {
"name": "Premium_AzureFrontDoor"
},
"kind": "frontdoor",
"properties": {
"originResponseTimeoutSeconds": 30,
"logScrubbing": {
"state": "Enabled",
"scrubbingRules": []
},
"frontDoorId": "3b4682da-b3e2-47a1-96ca-08ab3cb7294e",
"provisioningState": "Succeeded",
"resourceState": "Active"
}
}
定义
名称 | 说明 |
---|---|
scrubbing |
如果 matchVariable 是集合,请对选择器进行操作,以指定此规则应用于的集合中的哪些元素。 |
scrubbing |
定义日志清理规则的状态。 默认值处于启用状态。 |
created |
创建资源的标识的类型。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Managed |
托管服务标识(系统分配和/或用户分配的标识) |
Managed |
托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 |
Profile |
配置文件是共享相同设置的终结点的逻辑分组。 |
Profile |
定义在 Azure Front Door 配置文件日志中清理敏感字段的规则。 |
Profile |
配置文件的预配状态。 |
Profile |
配置文件的资源状态。 |
Profile |
定义日志清理规则的内容。 |
Profile |
日志清理配置的状态。默认值为“已启用”。 |
scrubbing |
要从日志中清理的变量。 |
Sku |
Standard_Verizon = 标准 Verizon CDN 配置文件的 SKU 名称。 Premium_Verizon = 高级 Verizon CDN 配置文件的 SKU 名称。 Custom_Verizon = 自定义 Verizon CDN 配置文件的 SKU 名称。 Standard_Akamai = Akamai CDN 配置文件的 SKU 名称。 Standard_ChinaCdn = VOD、Web 的中国 CDN 配置文件的 SKU 名称,以及使用基于 GB 的计费模型下载方案。 Standard_Microsoft = Standard Microsoft CDN 配置文件的 SKU 名称。 Standard_AzureFrontDoor = Azure Front Door 标准配置文件的 SKU 名称。 Premium_AzureFrontDoor = Azure Front Door Premium 配置文件的 SKU 名称。 Standard_955BandWidth_ChinaCdn = 使用 95-5 峰值带宽计费模型的中国 CDN 配置文件的 SKU 名称,适用于 VOD、Web 和下载方案。 Standard_AvgBandWidth_ChinaCdn = VOD、Web 和下载方案的中国 CDN 配置文件的 SKU 名称,使用每月平均峰值带宽计费模型。 StandardPlus_ChinaCdn = 使用基于 GB 的计费模型进行实时传送视频流的中国 CDN 配置文件的 SKU 名称。 StandardPlus_955BandWidth_ChinaCdn = 使用 95-5 峰值带宽计费模型的中国 CDN 实时流式处理配置文件的 SKU 名称。 StandardPlus_AvgBandWidth_ChinaCdn = 使用每月平均峰值带宽计费模型的中国 CDN 实时流式处理配置文件的 SKU 名称。 |
Sku |
定价层的名称。 |
system |
与创建和上次修改资源相关的元数据。 |
User |
用户分配的标识属性 |
scrubbingRuleEntryMatchOperator
如果 matchVariable 是集合,请对选择器进行操作,以指定此规则应用于的集合中的哪些元素。
值 | 说明 |
---|---|
EqualsAny |
scrubbingRuleEntryState
定义日志清理规则的状态。 默认值处于启用状态。
值 | 说明 |
---|---|
Disabled | |
Enabled |
createdByType
创建资源的标识的类型。
值 | 说明 |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
ManagedServiceIdentity
托管服务标识(系统分配和/或用户分配的标识)
名称 | 类型 | 说明 |
---|---|---|
principalId |
string (uuid) |
系统分配标识的服务主体 ID。 此属性仅针对系统分配的标识提供。 |
tenantId |
string (uuid) |
系统分配标识的租户 ID。 此属性仅针对系统分配的标识提供。 |
type |
托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 |
|
userAssignedIdentities |
<string,
User |
与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 |
ManagedServiceIdentityType
托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。
值 | 说明 |
---|---|
None | |
SystemAssigned | |
SystemAssigned,UserAssigned | |
UserAssigned |
Profile
配置文件是共享相同设置的终结点的逻辑分组。
名称 | 类型 | 说明 |
---|---|---|
id |
string (arm-id) |
资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” |
identity |
托管服务标识(系统分配和/或用户分配的标识)。 |
|
kind |
string |
配置文件的类型。 门户用于区分传统的 CDN 配置文件和新的 AFD 配置文件。 |
location |
string |
资源所在的地理位置 |
name |
string |
资源的名称 |
properties.extendedProperties |
object |
Key-Value 对,表示配置文件的其他属性。 |
properties.frontDoorId |
string |
前门的 ID。 |
properties.logScrubbing |
定义在 Azure Front Door 配置文件日志中清理敏感字段的规则。 |
|
properties.originResponseTimeoutSeconds |
integer (int32) minimum: 16exclusiveMinimum: False |
向源转发请求时发送和接收超时。 达到超时时,请求会失败并返回。 |
properties.provisioningState |
配置文件的预配状态。 |
|
properties.resourceState |
配置文件的资源状态。 |
|
sku |
定价层(定义 Azure Front Door 标准版或高级版或 CDN 提供程序、功能列表和费率)配置文件。 |
|
systemData |
包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 |
|
tags |
object |
资源标记。 |
type |
string |
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
ProfileLogScrubbing
定义在 Azure Front Door 配置文件日志中清理敏感字段的规则。
名称 | 类型 | 说明 |
---|---|---|
scrubbingRules |
应用于 Azure Front Door 配置文件日志的日志清理规则列表。 |
|
state |
日志清理配置的状态。默认值为“已启用”。 |
ProfileProvisioningState
配置文件的预配状态。
值 | 说明 |
---|---|
Creating | |
Deleting | |
Failed | |
Succeeded | |
Updating |
ProfileResourceState
配置文件的资源状态。
值 | 说明 |
---|---|
AbortingMigration | |
Active | |
CommittingMigration | |
Creating | |
Deleting | |
Disabled | |
Migrated | |
Migrating | |
PendingMigrationCommit |
ProfileScrubbingRules
定义日志清理规则的内容。
名称 | 类型 | 说明 |
---|---|---|
matchVariable |
要从日志中清理的变量。 |
|
selector |
string |
matchVariable 是集合时,运算符用于指定此规则应用于的集合中的哪些元素。 |
selectorMatchOperator |
如果 matchVariable 是集合,请对选择器进行操作,以指定此规则应用于的集合中的哪些元素。 |
|
state |
定义日志清理规则的状态。 默认值处于启用状态。 |
ProfileScrubbingState
日志清理配置的状态。默认值为“已启用”。
值 | 说明 |
---|---|
Disabled | |
Enabled |
scrubbingRuleEntryMatchVariable
要从日志中清理的变量。
值 | 说明 |
---|---|
QueryStringArgNames | |
RequestIPAddress | |
RequestUri |
Sku
Standard_Verizon = 标准 Verizon CDN 配置文件的 SKU 名称。 Premium_Verizon = 高级 Verizon CDN 配置文件的 SKU 名称。 Custom_Verizon = 自定义 Verizon CDN 配置文件的 SKU 名称。 Standard_Akamai = Akamai CDN 配置文件的 SKU 名称。 Standard_ChinaCdn = VOD、Web 的中国 CDN 配置文件的 SKU 名称,以及使用基于 GB 的计费模型下载方案。 Standard_Microsoft = Standard Microsoft CDN 配置文件的 SKU 名称。 Standard_AzureFrontDoor = Azure Front Door 标准配置文件的 SKU 名称。 Premium_AzureFrontDoor = Azure Front Door Premium 配置文件的 SKU 名称。 Standard_955BandWidth_ChinaCdn = 使用 95-5 峰值带宽计费模型的中国 CDN 配置文件的 SKU 名称,适用于 VOD、Web 和下载方案。 Standard_AvgBandWidth_ChinaCdn = VOD、Web 和下载方案的中国 CDN 配置文件的 SKU 名称,使用每月平均峰值带宽计费模型。 StandardPlus_ChinaCdn = 使用基于 GB 的计费模型进行实时传送视频流的中国 CDN 配置文件的 SKU 名称。 StandardPlus_955BandWidth_ChinaCdn = 使用 95-5 峰值带宽计费模型的中国 CDN 实时流式处理配置文件的 SKU 名称。 StandardPlus_AvgBandWidth_ChinaCdn = 使用每月平均峰值带宽计费模型的中国 CDN 实时流式处理配置文件的 SKU 名称。
名称 | 类型 | 说明 |
---|---|---|
name |
定价层的名称。 |
SkuName
定价层的名称。
值 | 说明 |
---|---|
Custom_Verizon | |
Premium_AzureFrontDoor | |
Premium_Verizon | |
StandardPlus_955BandWidth_ChinaCdn | |
StandardPlus_AvgBandWidth_ChinaCdn | |
StandardPlus_ChinaCdn | |
Standard_955BandWidth_ChinaCdn | |
Standard_Akamai | |
Standard_AvgBandWidth_ChinaCdn | |
Standard_AzureFrontDoor | |
Standard_ChinaCdn | |
Standard_Microsoft | |
Standard_Verizon |
systemData
与创建和上次修改资源相关的元数据。
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string (date-time) |
资源创建时间戳(UTC)。 |
createdBy |
string |
创建资源的标识。 |
createdByType |
创建资源的标识的类型。 |
|
lastModifiedAt |
string (date-time) |
上次修改的资源时间戳(UTC) |
lastModifiedBy |
string |
上次修改资源的标识。 |
lastModifiedByType |
上次修改资源的标识的类型。 |
UserAssignedIdentity
用户分配的标识属性
名称 | 类型 | 说明 |
---|---|---|
clientId |
string (uuid) |
分配的标识的客户端 ID。 |
principalId |
string (uuid) |
已分配标识的主体 ID。 |