ภาษา

AuthorizationExtensions.RefreshAll Method

Definition

Refresh all alerts for a resource scope. <item> Mocking. To mock this method, please mock RefreshAll(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

public static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult> RefreshAll(this Azure.ResourceManager.ArmClient client, Azure.WaitUntil waitUntil, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member RefreshAll : Azure.ResourceManager.ArmClient * Azure.WaitUntil * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult>
<Extension()>
Public Function RefreshAll (client As ArmClient, waitUntil As WaitUntil, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of RoleManagementAlertOperationResult)

Parameters

client
ArmClient

The ArmClient the method will execute against.

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to