SecurityCenterLocationResource.GetOperationResult 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.
Returns operation results for long running operations.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{location}/operationResults/{operationId}.
- Operation Id. : OperationResultsOperationGroup_Get.
- Default Api Version. : 2025-10-01-preview.
- Resource. : SecurityCenterLocationResource.
public virtual Azure.Response GetOperationResult(string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationResult : string * System.Threading.CancellationToken -> Azure.Response
override this.GetOperationResult : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function GetOperationResult (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- operationId
- String
The ID of an ongoing async operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.