Partager via


ParameterValues Class

Definition

The parameter values for the policy rule. The keys are the parameter names.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ParameterValuesTypeConverter))]
public class ParameterValues : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IParameterValues, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ParameterValuesTypeConverter))>]
type ParameterValues = class
    interface IParameterValues
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class ParameterValues
Implements IAssociativeArray(Of Object), IParameterValues
Inheritance
ParameterValues
Attributes
Implements

Constructors

ParameterValues()

Creates an new ParameterValues instance.

Fields

__additionalProperties

Properties

Item[String]

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ParameterValues.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ParameterValues.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IParameterValues.

FromJsonString(String)

Creates a new instance of ParameterValues, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of ParameterValues into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

TryGetValue(String, Object)

Operators

Implicit(ParameterValues to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to