ArmPolicyParameter Class
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.
The definition of a parameter that can be provided to the policy.
public class ArmPolicyParameter : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.ArmPolicyParameter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.ArmPolicyParameter>
type ArmPolicyParameter = class
interface IJsonModel<ArmPolicyParameter>
interface IPersistableModel<ArmPolicyParameter>
Public Class ArmPolicyParameter
Implements IJsonModel(Of ArmPolicyParameter), IPersistableModel(Of ArmPolicyParameter)
- Inheritance
-
ArmPolicyParameter
- Implements
Constructors
ArmPolicyParameter() |
Initializes a new instance of ArmPolicyParameter. |
Properties
AllowedValues |
The allowed values for the parameter. To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
DefaultValue |
The default value for the parameter if no value is provided. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Metadata |
General metadata for the parameter. |
ParameterType |
The data type of the parameter. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ArmPolicyParameter>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ArmPolicyParameter>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ArmPolicyParameter>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ArmPolicyParameter>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ArmPolicyParameter>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET