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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET