MockableAuthorizationArmClient.RefreshAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Refresh all alerts for a resource scope.
- Request Path. : /{scope}/providers/Microsoft.Authorization/roleManagementAlerts/refresh.
- Operation Id. : AlertsOperationGroup_RefreshAll.
- Default Api Version. : 2022-08-01-preview.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult> RefreshAll(Azure.WaitUntil waitUntil, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshAll : Azure.WaitUntil * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult>
override this.RefreshAll : Azure.WaitUntil * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult>
Public Overridable Function RefreshAll (waitUntil As WaitUntil, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of RoleManagementAlertOperationResult)
Parameters
- 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
scope is null.