Partager via


PolicyProperties Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.PolicyPropertiesTypeConverter))]
public class PolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IPolicyProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.PolicyPropertiesTypeConverter))>]
type PolicyProperties = class
    interface IPolicyProperties
    interface IJsonSerializable
Public Class PolicyProperties
Implements IPolicyProperties
Inheritance
PolicyProperties
Attributes
Implements

Constructors

PolicyProperties()

Creates an new PolicyProperties instance.

Properties

ScopeDisplayName

Display name of the resource

ScopeId

Scope id of the resource

ScopeType

Type of the resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IPolicyProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to