你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GenericResource.UpdateStages.WithParentResource 接口
public static interface GenericResource.UpdateStages.WithParentResource
允许更改父资源的通用资源更新。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
abstract Update |
withParentResourceId(String parentResourceId)
指定父资源。 |
abstract Update |
withParentResourcePath(String parentResourcePath)
指定父资源相对路径。 |
方法详细信息
withParentResourceId
public abstract GenericResource.Update withParentResourceId(String parentResourceId)
指定父资源。
Parameters:
parentResourceId
- 父资源 ID
Returns:
通用资源更新的下一阶段
withParentResourcePath
public abstract GenericResource.Update withParentResourcePath(String parentResourcePath)
指定父资源相对路径。
Parameters:
parentResourcePath
- 父资源的相对路径
Returns:
通用资源更新的下一阶段