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 參數

名稱 位於 必要 類型 Description
profileName
path True

string

Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置檔的名稱,在資源群組中是唯一的。

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+$

Azure 訂用帳戶內的資源組名。

subscriptionId
path True

string

Azure 訂用帳戶標識碼。

api-version
query True

string

要與用戶端要求搭配使用的 API 版本。 目前的版本是 2025-04-15。

回應

名稱 類型 Description
200 OK

Profile

還行。 要求已成功。

Other Status Codes

ErrorResponse

描述作業失敗原因的CDN錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Profiles_Get

範例要求

GET https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1?api-version=2025-04-15

範例回覆

{
  "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"
  }
}

定義

名稱 Description
scrubbingRuleEntryMatchOperator

當 matchVariable 是集合時,請在選取器上操作,以指定套用此規則的集合中的哪些元素。

scrubbingRuleEntryState

定義記錄清除規則的狀態。 預設值已啟用。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorDetail

錯誤詳細數據。

ErrorResponse

錯誤回應

IdentityType

建立/修改資源的身分識別類型

ManagedServiceIdentity

受控服務識別(系統指派和/或使用者指派的身分識別)

ManagedServiceIdentityType

受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。

Profile

配置檔是共用相同設定的端點邏輯群組。

ProfileLogScrubbing

定義規則,以清除 Azure Front Door 配置文件記錄中的敏感性字段。

ProfileProvisioningState

配置檔的布建狀態。

ProfileResourceState

配置文件的資源狀態。

ProfileScrubbingRules

定義記錄清除規則的內容。

ProfileScrubbingState

記錄清除設定的狀態。預設值為 Enabled。

scrubbingRuleEntryMatchVariable

要從記錄中清除的變數。

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 名稱。

SkuName

定價層的名稱。

SystemData

唯讀系統數據

UserAssignedIdentity

使用者指派的身分識別屬性

scrubbingRuleEntryMatchOperator

當 matchVariable 是集合時,請在選取器上操作,以指定套用此規則的集合中的哪些元素。

Description
EqualsAny

scrubbingRuleEntryState

定義記錄清除規則的狀態。 預設值已啟用。

Description
Enabled
Disabled

ErrorAdditionalInfo

資源管理錯誤其他資訊。

名稱 類型 Description
info

object

其他資訊。

type

string

其他信息類型。

ErrorDetail

錯誤詳細數據。

名稱 類型 Description
additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

code

string

錯誤碼。

details

ErrorDetail[]

錯誤詳細數據。

message

string

錯誤訊息。

target

string

錯誤目標。

ErrorResponse

錯誤回應

名稱 類型 Description
error

ErrorDetail

錯誤詳細數據。

IdentityType

建立/修改資源的身分識別類型

Description
user
application
managedIdentity
key

ManagedServiceIdentity

受控服務識別(系統指派和/或使用者指派的身分識別)

名稱 類型 Description
principalId

string (uuid)

系統指派身分識別的服務主體標識碼。 此屬性只會針對系統指派的身分識別提供。

tenantId

string (uuid)

系統指派身分識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。

type

ManagedServiceIdentityType

受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。

userAssignedIdentities

<string,  UserAssignedIdentity>

User-Assigned 身分識別
與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。

ManagedServiceIdentityType

受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。

Description
None
SystemAssigned
UserAssigned
SystemAssigned, UserAssigned

Profile

配置檔是共用相同設定的端點邏輯群組。

名稱 類型 Description
id

string

資源標識碼。

identity

ManagedServiceIdentity

受控服務識別(系統指派和/或使用者指派的身分識別)。

kind

string

配置檔的種類。 入口網站用來區分傳統CDN配置檔和新的 AFD 設定檔。

location

string

資源位置。

name

string

資源名稱。

properties.extendedProperties

object

Key-Value 組,代表配置檔的其他屬性。

properties.frontDoorId

string

前端門的標識碼。

properties.logScrubbing

ProfileLogScrubbing

定義規則,以清除 Azure Front Door 配置文件記錄中的敏感性字段。

properties.originResponseTimeoutSeconds

integer (int32)

minimum: 16
exclusiveMinimum: False

將要求轉送至來源時傳送和接收逾時。 達到逾時時時,要求會失敗並傳回。

properties.provisioningState

ProfileProvisioningState

配置檔的布建狀態。

properties.resourceState

ProfileResourceState

配置文件的資源狀態。

sku

Sku

定價層(定義 Azure Front Door Standard 或進階或 CDN 提供者、功能清單和速率)配置檔。

systemData

SystemData

唯讀系統數據

tags

object

資源標籤。

type

string

資源類型。

ProfileLogScrubbing

定義規則,以清除 Azure Front Door 配置文件記錄中的敏感性字段。

名稱 類型 Description
scrubbingRules

ProfileScrubbingRules[]

套用至 Azure Front Door 設定檔記錄的記錄清除規則清單。

state

ProfileScrubbingState

記錄清除設定的狀態。預設值為 Enabled。

ProfileProvisioningState

配置檔的布建狀態。

Description
Succeeded
Failed
Updating
Deleting
Creating

ProfileResourceState

配置文件的資源狀態。

Description
Creating
Active
Deleting
Disabled
Migrating
Migrated
PendingMigrationCommit
CommittingMigration
AbortingMigration

ProfileScrubbingRules

定義記錄清除規則的內容。

名稱 類型 Description
matchVariable

scrubbingRuleEntryMatchVariable

要從記錄中清除的變數。

selector

string

matchVariable 是集合時,運算子會用來指定此規則套用至集合中的哪些專案。

selectorMatchOperator

scrubbingRuleEntryMatchOperator

當 matchVariable 是集合時,請在選取器上操作,以指定套用此規則的集合中的哪些元素。

state

scrubbingRuleEntryState

定義記錄清除規則的狀態。 預設值已啟用。

ProfileScrubbingState

記錄清除設定的狀態。預設值為 Enabled。

Description
Enabled
Disabled

scrubbingRuleEntryMatchVariable

要從記錄中清除的變數。

Description
RequestIPAddress
RequestUri
QueryStringArgNames

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

定價層的名稱。

SkuName

定價層的名稱。

Description
Standard_Verizon
Premium_Verizon
Custom_Verizon
Standard_Akamai
Standard_ChinaCdn
Standard_Microsoft
Standard_AzureFrontDoor
Premium_AzureFrontDoor
Standard_955BandWidth_ChinaCdn
Standard_AvgBandWidth_ChinaCdn
StandardPlus_ChinaCdn
StandardPlus_955BandWidth_ChinaCdn
StandardPlus_AvgBandWidth_ChinaCdn

SystemData

唯讀系統數據

名稱 類型 Description
createdAt

string (date-time)

資源建立的時間戳(UTC)

createdBy

string

建立資源的身分識別標識碼

createdByType

IdentityType

建立資源的身分識別類型

lastModifiedAt

string (date-time)

上次修改的資源時間戳 (UTC)

lastModifiedBy

string

上次修改資源之身分識別的標識碼

lastModifiedByType

IdentityType

上次修改資源的身分識別類型

UserAssignedIdentity

使用者指派的身分識別屬性

名稱 類型 Description
clientId

string (uuid)

指派之身分識別的用戶端標識碼。

principalId

string (uuid)

指派之身分識別的主體標識碼。