AzureResourceEntity interface
表示 Azure 資源實體。
- Extends
屬性
| additional |
應該屬於實體的自定義欄位包,並將呈現給使用者。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| friendly |
圖表項目顯示名稱,這是圖表項目實例的簡短人類可讀描述。 這個屬性是選擇性的,而且可能是系統產生的。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| kind | 多型歧視性,指定這個物件可以是的不同類型 |
| resource |
資源注意的 Azure 資源識別碼:此屬性將不會串行化。 它只能由伺服器填入。 |
| subscription |
資源附註的訂用帳戶標識碼:此屬性將不會串行化。 它只能由伺服器填入。 |
繼承的屬性
| id | 資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。 |
| name | 資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。 |
| system |
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| type | 資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
additionalData
應該屬於實體的自定義欄位包,並將呈現給使用者。 注意:這個屬性不會串行化。 它只能由伺服器填入。
additionalData?: {[propertyName: string]: Record<string, unknown>}
屬性值
{[propertyName: string]: Record<string, unknown>}
friendlyName
圖表項目顯示名稱,這是圖表項目實例的簡短人類可讀描述。 這個屬性是選擇性的,而且可能是系統產生的。 注意:這個屬性不會串行化。 它只能由伺服器填入。
friendlyName?: string
屬性值
string
kind
多型歧視性,指定這個物件可以是的不同類型
kind: "AzureResource"
屬性值
"AzureResource"
resourceId
資源注意的 Azure 資源識別碼:此屬性將不會串行化。 它只能由伺服器填入。
resourceId?: string
屬性值
string
subscriptionId
資源附註的訂用帳戶標識碼:此屬性將不會串行化。 它只能由伺服器填入。
subscriptionId?: string
屬性值
string
繼承的屬性詳細資料
id
systemData
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。
systemData?: SystemData
屬性值
type
資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。
type?: string
屬性值
string
繼承自Entity.type