你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MaintenanceExtensions.GetApplyUpdatesByParentAsync 方法

定义

重载

GetApplyUpdatesByParentAsync(ResourceGroupResource, ResourceGroupResourceGetApplyUpdatesByParentOptions, CancellationToken)

使用父级跟踪资源的维护更新

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • 操作IdApplyUpdates_GetParent
GetApplyUpdatesByParentAsync(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

使用父级跟踪资源的维护更新

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • 操作IdApplyUpdates_GetParent

GetApplyUpdatesByParentAsync(ResourceGroupResource, ResourceGroupResourceGetApplyUpdatesByParentOptions, CancellationToken)

使用父级跟踪资源的维护更新

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • 操作IdApplyUpdates_GetParent
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>> GetApplyUpdatesByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetApplyUpdatesByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
<Extension()>
Public Function GetApplyUpdatesByParentAsync (resourceGroupResource As ResourceGroupResource, options As ResourceGroupResourceGetApplyUpdatesByParentOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceApplyUpdateResource))

参数

resourceGroupResource
ResourceGroupResource

方法 ResourceGroupResource 将对其执行的实例。

options
ResourceGroupResourceGetApplyUpdatesByParentOptions

一个属性包,其中包含除 LRO 限定符和请求上下文参数以外的此方法的所有参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

options 为 null。

适用于

GetApplyUpdatesByParentAsync(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

使用父级跟踪资源的维护更新

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • 操作IdApplyUpdates_GetParent
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>> GetApplyUpdatesByParentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string applyUpdateName, System.Threading.CancellationToken cancellationToken = default);
static member GetApplyUpdatesByParentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
<Extension()>
Public Function GetApplyUpdatesByParentAsync (resourceGroupResource As ResourceGroupResource, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, applyUpdateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceApplyUpdateResource))

参数

resourceGroupResource
ResourceGroupResource

方法 ResourceGroupResource 将对其执行的实例。

providerName
String

资源提供程序名称。

resourceParentType
String

资源父类型。

resourceParentName
String

资源父标识符。

resourceType
String

资源类型。

resourceName
String

资源标识符。

applyUpdateName
String

applyUpdate ID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

providerNameresourceParentTyperesourceParentNameresourceTyperesourceNameapplyUpdateName 是空字符串,预期为非空。

providerNameresourceParentTyperesourceParentNameresourceTyperesourceNameapplyUpdateName 为 null。

适用于