你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApplyUpdatesOperationsExtensions.GetParentAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用父级跟踪资源汇报
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ApplyUpdate> GetParentAsync (this Microsoft.Azure.Management.Maintenance.IApplyUpdatesOperations operations, string resourceGroupName, string resourceParentType, string resourceParentName, string providerName, string resourceType, string resourceName, string applyUpdateName, System.Threading.CancellationToken cancellationToken = default);
static member GetParentAsync : Microsoft.Azure.Management.Maintenance.IApplyUpdatesOperations * string * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ApplyUpdate>
<Extension()>
Public Function GetParentAsync (operations As IApplyUpdatesOperations, resourceGroupName As String, resourceParentType As String, resourceParentName As String, providerName As String, resourceType As String, resourceName As String, applyUpdateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplyUpdate)
参数
- operations
- IApplyUpdatesOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源组名称
- resourceParentType
- String
资源父类型
- resourceParentName
- String
资源父标识符
- providerName
- String
资源提供程序名称
- resourceType
- String
资源类型
- resourceName
- String
资源标识符
- applyUpdateName
- String
applyUpdate ID
- cancellationToken
- CancellationToken
取消标记。
返回
注解
使用父级跟踪资源的维护更新