MockableAuthorizationArmClient.GetAlertOperation 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.
Get the specified alert operation.
- Request Path. : /{scope}/providers/Microsoft.Authorization/roleManagementAlertOperations/{operationId}.
- Operation Id. : AlertOperationOperationGroup_Get.
- Default Api Version. : 2022-08-01-preview.
public virtual Azure.Response<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult> GetAlertOperation(Azure.Core.ResourceIdentifier scope, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlertOperation : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult>
override this.GetAlertOperation : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.Models.RoleManagementAlertOperationResult>
Public Overridable Function GetAlertOperation (scope As ResourceIdentifier, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleManagementAlertOperationResult)
Parameters
- scope
- ResourceIdentifier
The scope that the resource will apply against.
- operationId
- String
The id of the alert operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
scope or operationId is null.
operationId is an empty string, and was expected to be non-empty.