Partilhar via


MicrosoftGraphPolicyBase Class

Definition

Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPolicyBaseTypeConverter))]
public class MicrosoftGraphPolicyBase : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPolicyBase, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPolicyBaseTypeConverter))>]
type MicrosoftGraphPolicyBase = class
    interface IMicrosoftGraphPolicyBase
    interface IJsonSerializable
    interface IMicrosoftGraphDirectoryObject
    interface IMicrosoftGraphEntityAutoGenerated
    interface IAssociativeArray<obj>
    interface IValidates
Public Class MicrosoftGraphPolicyBase
Implements IAssociativeArray(Of Object), IMicrosoftGraphPolicyBase, IValidates
Inheritance
MicrosoftGraphPolicyBase
Attributes
Implements

Constructors

MicrosoftGraphPolicyBase()

Creates an new MicrosoftGraphPolicyBase instance.

Fields

__additionalProperties

Properties

DeletedDateTime
Description

Description for this policy.

DisplayName

The name displayed in directory

Id

Read-only.

Item[String]
OdataId

The full id of object in directory

OdataType

The type of object in directory

Methods

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

Deserializes a IDictionary into an instance of MicrosoftGraphPolicyBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphPolicyBase.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPolicyBase. Note: the Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPolicyBase interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphPolicyBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)
Validate(IEventListener)

Validates that this object meets the validation criteria.

Operators

Implicit(MicrosoftGraphPolicyBase to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to