DevTestLabResource.EvaluatePolicies 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.
Evaluates lab policy.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies
- Operation Id: PolicySets_EvaluatePolicies
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEvaluatePoliciesResult> EvaluatePolicies (string name, Azure.ResourceManager.DevTestLabs.Models.DevTestLabEvaluatePoliciesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member EvaluatePolicies : string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabEvaluatePoliciesContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEvaluatePoliciesResult>
override this.EvaluatePolicies : string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabEvaluatePoliciesContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEvaluatePoliciesResult>
Public Overridable Function EvaluatePolicies (name As String, content As DevTestLabEvaluatePoliciesContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabEvaluatePoliciesResult)
Parameters
- name
- String
The name of the policy set.
Request body for evaluating a policy set.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
name
is an empty string, and was expected to be non-empty.
name
or content
is null.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET