ServiceResource interface
服务拓扑中服务的资源表示形式。
- 扩展
属性
| target |
服务中的资源所属或应部署到的 Azure 位置。 |
| target |
服务中的资源所属或应部署到的订阅。 |
继承属性
| id | 资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。 |
| location | 资源所在的地理位置 |
| name | 资源的名称 注意:此属性不会被序列化。 它只能由服务器填充。 |
| tags | 资源标记。 |
| type | 资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。 |
属性详细信息
targetLocation
服务中的资源所属或应部署到的 Azure 位置。
targetLocation: string
属性值
string
targetSubscriptionId
服务中的资源所属或应部署到的订阅。
targetSubscriptionId: string
属性值
string
继承属性详细信息
id
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。
id?: string
属性值
string
location
name
tags
资源标记。
tags?: {[propertyName: string]: string}
属性值
{[propertyName: string]: string}
type
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。
type?: string
属性值
string