GovernanceRuleResource.OperationResultsAsync 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 governance rules long run operation result for the requested scope by ruleId and operationId
- Request Path. : /{scope}/providers/Microsoft.Security/governanceRules/{ruleId}/operationResults/{operationId}.
- Operation Id. : GovernanceRules_OperationResults.
- Default Api Version. : 2022-01-01-preview.
- Resource. : GovernanceRuleResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterOperationResult>> OperationResultsAsync(string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member OperationResultsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterOperationResult>>
override this.OperationResultsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterOperationResult>>
Public Overridable Function OperationResultsAsync (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityCenterOperationResult))
Parameters
- operationId
- String
The governance rule long running operation unique key.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.