Share via


ResourceManagerModelFactory.PolicySetDefinitionData Method

Definition

Initializes a new instance of PolicySetDefinitionData.

public static Azure.ResourceManager.Resources.PolicySetDefinitionData PolicySetDefinitionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Resources.Models.PolicyType? policyType = default, string displayName = default, string description = default, BinaryData metadata = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Resources.Models.ArmPolicyParameter> parameters = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.PolicyDefinitionReference> policyDefinitions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.PolicyDefinitionGroup> policyDefinitionGroups = default);
static member PolicySetDefinitionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Resources.Models.PolicyType> * string * string * BinaryData * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Resources.Models.ArmPolicyParameter> * seq<Azure.ResourceManager.Resources.Models.PolicyDefinitionReference> * seq<Azure.ResourceManager.Resources.Models.PolicyDefinitionGroup> -> Azure.ResourceManager.Resources.PolicySetDefinitionData
Public Shared Function PolicySetDefinitionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional policyType As Nullable(Of PolicyType) = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional metadata As BinaryData = Nothing, Optional parameters As IDictionary(Of String, ArmPolicyParameter) = Nothing, Optional policyDefinitions As IEnumerable(Of PolicyDefinitionReference) = Nothing, Optional policyDefinitionGroups As IEnumerable(Of PolicyDefinitionGroup) = Nothing) As PolicySetDefinitionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

policyType
Nullable<PolicyType>

The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.

displayName
String

The display name of the policy set definition.

description
String

The policy set definition description.

metadata
BinaryData

The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.

parameters
IDictionary<String,ArmPolicyParameter>

The policy set definition parameters that can be used in policy definition references.

policyDefinitions
IEnumerable<PolicyDefinitionReference>

An array of policy definition references.

policyDefinitionGroups
IEnumerable<PolicyDefinitionGroup>

The metadata describing groups of policy definition references within the policy set definition.

Returns

A new PolicySetDefinitionData instance for mocking.

Applies to