你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceUnitResource interface
表示服务单元资源的响应。
- 扩展
属性
artifacts | 服务单元的项目。 |
deployment |
描述要对资源执行的 ARM 部署的类型。 可能的值包括:“Incremental”、“Complete” |
target |
服务单元中的资源所属或应部署到的 Azure 资源组。 |
继承属性
id | 资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会被序列化。它只能由服务器填充。 |
location | 资源所在的地理位置 |
name | 资源的名称 注意:此属性不会被序列化。它只能由服务器填充。 |
tags | 资源标记。 |
type | 资源类型。 Ex-Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。 注意:此属性不会被序列化。 它只能由服务器填充。 |
属性详细信息
artifacts
deploymentMode
描述要对资源执行的 ARM 部署的类型。 可能的值包括:“Incremental”、“Complete”
deploymentMode: DeploymentMode
属性值
targetResourceGroup
服务单元中的资源所属或应部署到的 Azure 资源组。
targetResourceGroup: 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
资源类型。 Ex-Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。 注意:此属性不会被序列化。 它只能由服务器填充。
type?: string
属性值
string