Profiles - List By Resource Group
列出資源群組內的所有 Azure Front Door Standard、Azure Front Door Premium 和 CDN 配置檔。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles?api-version=2025-04-15
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
resource
|
path | True |
string minLength: 1maxLength: 90 |
資源群組的名稱。 名稱不區分大小寫。 |
subscription
|
path | True |
string (uuid) |
目標訂用帳戶的標識碼。 此值必須是 UUID。 |
api-version
|
query | True |
string minLength: 1 |
要用於這項作業的 API 版本。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
還行。 要求已成功。 |
|
Other Status Codes |
描述作業失敗原因的CDN錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
範例
Profiles_ListByResourceGroup
範例要求
範例回覆
{
"value": [
{
"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"
}
},
{
"name": "profile2",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile2",
"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"
}
}
]
}
定義
名稱 | Description |
---|---|
scrubbing |
當 matchVariable 是集合時,請在選取器上操作,以指定套用此規則的集合中的哪些元素。 |
scrubbing |
定義記錄清除規則的狀態。 預設值已啟用。 |
created |
建立資源的身分識別類型。 |
Error |
資源管理錯誤其他資訊。 |
Error |
錯誤詳細數據。 |
Error |
錯誤回應 |
Managed |
受控服務識別(系統指派和/或使用者指派的身分識別) |
Managed |
受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 |
Profile |
配置檔是共用相同設定的端點邏輯群組。 |
Profile |
列出配置檔的要求結果。 其中包含配置檔物件清單和 URL 連結,以取得下一組結果。 |
Profile |
定義規則,以清除 Azure Front Door 配置文件記錄中的敏感性字段。 |
Profile |
配置檔的布建狀態。 |
Profile |
配置文件的資源狀態。 |
Profile |
定義記錄清除規則的內容。 |
Profile |
記錄清除設定的狀態。預設值為 Enabled。 |
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 Standard 配置檔的 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 是集合時,請在選取器上操作,以指定套用此規則的集合中的哪些元素。
值 | Description |
---|---|
EqualsAny |
scrubbingRuleEntryState
定義記錄清除規則的狀態。 預設值已啟用。
值 | Description |
---|---|
Disabled | |
Enabled |
createdByType
建立資源的身分識別類型。
值 | Description |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
資源管理錯誤其他資訊。
名稱 | 類型 | Description |
---|---|---|
info |
object |
其他資訊。 |
type |
string |
其他信息類型。 |
ErrorDetail
錯誤詳細數據。
名稱 | 類型 | Description |
---|---|---|
additionalInfo |
錯誤其他資訊。 |
|
code |
string |
錯誤碼。 |
details |
錯誤詳細數據。 |
|
message |
string |
錯誤訊息。 |
target |
string |
錯誤目標。 |
ErrorResponse
錯誤回應
名稱 | 類型 | Description |
---|---|---|
error |
error 物件。 |
ManagedServiceIdentity
受控服務識別(系統指派和/或使用者指派的身分識別)
名稱 | 類型 | Description |
---|---|---|
principalId |
string (uuid) |
系統指派身分識別的服務主體標識碼。 此屬性只會針對系統指派的身分識別提供。 |
tenantId |
string (uuid) |
系統指派身分識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。 |
type |
受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 |
|
userAssignedIdentities |
<string,
User |
與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 |
ManagedServiceIdentityType
受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。
值 | Description |
---|---|
None | |
SystemAssigned | |
SystemAssigned,UserAssigned | |
UserAssigned |
Profile
配置檔是共用相同設定的端點邏輯群組。
名稱 | 類型 | Description |
---|---|---|
id |
string (arm-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 |
前端門的標識碼。 |
properties.logScrubbing |
定義規則,以清除 Azure Front Door 配置文件記錄中的敏感性字段。 |
|
properties.originResponseTimeoutSeconds |
integer (int32) minimum: 16exclusiveMinimum: False |
將要求轉送至來源時傳送和接收逾時。 達到逾時時時,要求會失敗並傳回。 |
properties.provisioningState |
配置檔的布建狀態。 |
|
properties.resourceState |
配置文件的資源狀態。 |
|
sku |
定價層(定義 Azure Front Door Standard 或進階或 CDN 提供者、功能清單和速率)配置檔。 |
|
systemData |
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 |
|
tags |
object |
資源標籤。 |
type |
string |
資源的類型。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” |
ProfileListResult
列出配置檔的要求結果。 其中包含配置檔物件清單和 URL 連結,以取得下一組結果。
名稱 | 類型 | Description |
---|---|---|
nextLink |
string |
如果有的話,取得下一組配置檔物件的URL。 |
value |
Profile[] |
資源群組內的CDN配置檔案清單。 |
ProfileLogScrubbing
定義規則,以清除 Azure Front Door 配置文件記錄中的敏感性字段。
名稱 | 類型 | Description |
---|---|---|
scrubbingRules |
套用至 Azure Front Door 設定檔記錄的記錄清除規則清單。 |
|
state |
記錄清除設定的狀態。預設值為 Enabled。 |
ProfileProvisioningState
配置檔的布建狀態。
值 | Description |
---|---|
Creating | |
Deleting | |
Failed | |
Succeeded | |
Updating |
ProfileResourceState
配置文件的資源狀態。
值 | Description |
---|---|
AbortingMigration | |
Active | |
CommittingMigration | |
Creating | |
Deleting | |
Disabled | |
Migrated | |
Migrating | |
PendingMigrationCommit |
ProfileScrubbingRules
定義記錄清除規則的內容。
名稱 | 類型 | Description |
---|---|---|
matchVariable |
要從記錄中清除的變數。 |
|
selector |
string |
matchVariable 是集合時,運算子會用來指定此規則套用至集合中的哪些專案。 |
selectorMatchOperator |
當 matchVariable 是集合時,請在選取器上操作,以指定套用此規則的集合中的哪些元素。 |
|
state |
定義記錄清除規則的狀態。 預設值已啟用。 |
ProfileScrubbingState
記錄清除設定的狀態。預設值為 Enabled。
值 | Description |
---|---|
Disabled | |
Enabled |
scrubbingRuleEntryMatchVariable
要從記錄中清除的變數。
值 | Description |
---|---|
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 Standard 配置檔的 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 名稱。
名稱 | 類型 | Description |
---|---|---|
name |
定價層的名稱。 |
SkuName
定價層的名稱。
值 | Description |
---|---|
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
與建立和上次修改資源相關的元數據。
名稱 | 類型 | Description |
---|---|---|
createdAt |
string (date-time) |
資源建立的時間戳(UTC)。 |
createdBy |
string |
建立資源的身分識別。 |
createdByType |
建立資源的身分識別類型。 |
|
lastModifiedAt |
string (date-time) |
上次修改的資源時間戳 (UTC) |
lastModifiedBy |
string |
上次修改資源的身分識別。 |
lastModifiedByType |
上次修改資源的身分識別類型。 |
UserAssignedIdentity
使用者指派的身分識別屬性
名稱 | 類型 | Description |
---|---|---|
clientId |
string (uuid) |
指派之身分識別的用戶端標識碼。 |
principalId |
string (uuid) |
指派之身分識別的主體標識碼。 |