Freigeben über


ProjectPolicyProperties Class

Definition

Properties of an project policy.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ProjectPolicyPropertiesTypeConverter))]
public class ProjectPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IProjectPolicyProperties, Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ProjectPolicyPropertiesTypeConverter))>]
type ProjectPolicyProperties = class
    interface IProjectPolicyProperties
    interface IJsonSerializable
    interface IProjectPolicyUpdateProperties
    interface IValidates
Public Class ProjectPolicyProperties
Implements IProjectPolicyProperties, IValidates
Inheritance
ProjectPolicyProperties
Attributes
Implements

Constructors

Name Description
ProjectPolicyProperties()

Creates an new ProjectPolicyProperties instance.

Properties

Name Description
ProvisioningState

The provisioning state of the resource.

ResourcePolicy

Resource policies that are a part of this project policy.

Scope

Resources that have access to the shared resources that are a part of this project policy.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProjectPolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProjectPolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.IProjectPolicyProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProjectPolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to