Language

Any Class

Definition

Anything

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.AnyTypeConverter))]
public class Any : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAny
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.AnyTypeConverter))]
public class Any : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IExternalEvaluationEndpointSettingsDetails, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignmentPropertiesMetadata, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionPropertiesMetadata, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionPropertiesPolicyRule, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyExemptionPropertiesMetadata, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicySetDefinitionPropertiesMetadata, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.AnyTypeConverter))>]
type Any = class
    interface IAny
    interface IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.AnyTypeConverter))>]
type Any = class
    interface IAny
    interface IJsonSerializable
    interface IAssociativeArray<obj>
    interface IPolicyAssignmentPropertiesMetadata
    interface IPolicyDefinitionPropertiesMetadata
    interface IPolicyExemptionPropertiesMetadata
    interface IPolicySetDefinitionPropertiesMetadata
    interface IPolicyDefinitionPropertiesPolicyRule
    interface IExternalEvaluationEndpointSettingsDetails
Public Class Any
Implements IAny
Public Class Any
Implements IAssociativeArray(Of Object), IExternalEvaluationEndpointSettingsDetails, IPolicyAssignmentPropertiesMetadata, IPolicyDefinitionPropertiesMetadata, IPolicyDefinitionPropertiesPolicyRule, IPolicyExemptionPropertiesMetadata, IPolicySetDefinitionPropertiesMetadata
Inheritance
Any
Attributes
Implements

Constructors

Name Description
Any()

Creates an new Any instance.

Fields

Name Description
__additionalProperties

Properties

Name Description
IsScalar

True when this instance wraps a scalar value rather than a key-value dictionary.

Item[String]
ScalarValue

The scalar value. Only meaningful when IsScalar is true.

Methods

Name Description
Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)

Copies entries from an untyped IDictionary (e.g. a PowerShell Hashtable).

CopyFrom(PSObject)

Copies entries from a PSObject.

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Any.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Any.

FromJson(JsonNode)

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

FromJsonString(String)

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

FromScalar(Object)

Creates an Any that wraps a single scalar (string, number, bool, or array).

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of Any into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

TryGetValue(String, Object)

Operators

Name Description
Implicit(Any to Dictionary<String,Object>)

Explicit Interface Implementations

Name Description
IAssociativeArray<Object>.AdditionalProperties

Applies to