ArmPolicyInsightsModelFactory.PolicyDefinitionSummary 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.
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
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