Resource interface
所有 Azure 资源管理器资源的响应中返回的常见字段
- 扩展
-
BaseResource
属性
| id | 资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。它只能由服务器填充。 |
| name | 资源的名称 注意:此属性不会序列化。它只能由服务器填充。 |
| type | 资源的类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。它只能由服务器填充。 |
属性详细信息
id
资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。它只能由服务器填充。
id?: undefined | string
属性值
undefined | string
name
资源的名称 注意:此属性不会序列化。它只能由服务器填充。
name?: undefined | string
属性值
undefined | string
type
资源的类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。它只能由服务器填充。
type?: undefined | string
属性值
undefined | string