Class PolicySetDefinitionData
- Namespace
- Azure.ResourceManager.Resources
- Assembly
- Azure.ResourceManager.dll
A class representing the PolicySetDefinition data model. The policy set definition.
public class PolicySetDefinitionData : ResourceData, IJsonModel<PolicySetDefinitionData>, IPersistableModel<PolicySetDefinitionData>
- Inheritance
-
PolicySetDefinitionData
- Implements
-
IJsonModel<PolicySetDefinitionData>IPersistableModel<PolicySetDefinitionData>
- Inherited Members
Constructors
PolicySetDefinitionData()
Initializes a new instance of PolicySetDefinitionData.
public PolicySetDefinitionData()
Properties
Description
The policy set definition description.
public string Description { get; set; }
Property Value
DisplayName
The display name of the policy set definition.
public string DisplayName { get; set; }
Property Value
Metadata
The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
To assign an object to this property use System.BinaryData.FromObjectAsJson``1(``0,System.Text.Json.JsonSerializerOptions).
To assign an already formatted json string to this property use System.BinaryData.FromString(System.String).
Examples:
- BinaryData.FromObjectAsJson("foo")Creates a payload of "foo".
- BinaryData.FromString("\"foo\"")Creates a payload of "foo".
- BinaryData.FromObjectAsJson(new { key = "value" })Creates a payload of { "key": "value" }.
- BinaryData.FromString("{\"key\": \"value\"}")Creates a payload of { "key": "value" }.
public BinaryData Metadata { get; set; }
Property Value
- BinaryData
Parameters
The policy set definition parameters that can be used in policy definition references.
public IDictionary<string, ArmPolicyParameter> Parameters { get; }
Property Value
PolicyDefinitionGroups
The metadata describing groups of policy definition references within the policy set definition.
public IList<PolicyDefinitionGroup> PolicyDefinitionGroups { get; }
Property Value
PolicyDefinitions
An array of policy definition references.
public IList<PolicyDefinitionReference> PolicyDefinitions { get; }
Property Value
PolicyType
The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
public PolicyType? PolicyType { get; set; }