Class ArmPolicyParameterValue
- Namespace
- Azure.ResourceManager.Resources.Models
- Assembly
- Azure.ResourceManager.dll
The value of a parameter.
public class ArmPolicyParameterValue : IJsonModel<ArmPolicyParameterValue>, IPersistableModel<ArmPolicyParameterValue>
- Inheritance
-
ArmPolicyParameterValue
- Implements
-
IJsonModel<ArmPolicyParameterValue>IPersistableModel<ArmPolicyParameterValue>
- Inherited Members
Constructors
ArmPolicyParameterValue()
Initializes a new instance of ArmPolicyParameterValue.
public ArmPolicyParameterValue()
Properties
Value
The value of the parameter.
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 Value { get; set; }
Property Value
- BinaryData