MockableMaintenanceArmClient.GetMaintenanceApplyUpdateAsync Method

Definition

Track maintenance updates to resource with parent.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>> GetMaintenanceApplyUpdateAsync(Azure.Core.ResourceIdentifier scope, string applyUpdateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMaintenanceApplyUpdateAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
override this.GetMaintenanceApplyUpdateAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
Public Overridable Function GetMaintenanceApplyUpdateAsync (scope As ResourceIdentifier, applyUpdateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceApplyUpdateResource))

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

applyUpdateName
String

The name of the ApplyUpdate.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

applyUpdateName is null.

applyUpdateName is an empty string, and was expected to be non-empty.

Applies to