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