Share via


ArmPolicyInsightsModelFactory.PolicyDefinitionSummary Method

Definition

Initializes a new instance of PolicyDefinitionSummary.

public static Azure.ResourceManager.PolicyInsights.Models.PolicyDefinitionSummary PolicyDefinitionSummary (Azure.Core.ResourceIdentifier policyDefinitionId = default, string policyDefinitionReferenceId = default, System.Collections.Generic.IEnumerable<string> policyDefinitionGroupNames = default, string effect = default, Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults results = default);
static member PolicyDefinitionSummary : Azure.Core.ResourceIdentifier * string * seq<string> * string * Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults -> Azure.ResourceManager.PolicyInsights.Models.PolicyDefinitionSummary
Public Shared Function PolicyDefinitionSummary (Optional policyDefinitionId As ResourceIdentifier = Nothing, Optional policyDefinitionReferenceId As String = Nothing, Optional policyDefinitionGroupNames As IEnumerable(Of String) = Nothing, Optional effect As String = Nothing, Optional results As PolicySummaryResults = Nothing) As PolicyDefinitionSummary

Parameters

policyDefinitionId
ResourceIdentifier

Policy definition ID.

policyDefinitionReferenceId
String

Policy definition reference ID.

policyDefinitionGroupNames
IEnumerable<String>

Policy definition group names.

effect
String

Policy effect, i.e. policy definition action.

results
PolicySummaryResults

Compliance summary for the policy definition.

Returns

A new PolicyDefinitionSummary instance for mocking.

Applies to