MicrosoftGraphStsPolicy 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.MicrosoftGraphStsPolicyTypeConverter))]
public class MicrosoftGraphStsPolicy : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphStsPolicy, 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.MicrosoftGraphStsPolicyTypeConverter))>]
type MicrosoftGraphStsPolicy = class
    interface IMicrosoftGraphStsPolicy
    interface IJsonSerializable
    interface IMicrosoftGraphPolicyBase
    interface IMicrosoftGraphDirectoryObject
    interface IMicrosoftGraphEntityAutoGenerated
    interface IAssociativeArray<obj>
    interface IValidates
Public Class MicrosoftGraphStsPolicy
Implements IAssociativeArray(Of Object), IMicrosoftGraphStsPolicy, IValidates
Inheritance
MicrosoftGraphStsPolicy
Attributes
Implements

Constructors

MicrosoftGraphStsPolicy()

Creates an new MicrosoftGraphStsPolicy instance.

Properties

AppliesTo
Definition

A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required.

DeletedDateTime
Description

Description for this policy.

DisplayName

The name displayed in directory

Id

Read-only.

IsOrganizationDefault

If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false.

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 MicrosoftGraphStsPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphStsPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphStsPolicy. Note: the Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphStsPolicy 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 MicrosoftGraphStsPolicy, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphStsPolicy 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.

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to