Compartir a través de


Policy interface

A Policy.

Extends

Properties

createdDate

The creation date of the policy. NOTE: This property will not be serialized. It can only be populated by the server.

description

The description of the policy.

evaluatorType

The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy).

factData

The fact data of the policy.

factName

The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc.

provisioningState

The provisioning status of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

status

The status of the policy.

threshold

The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy).

uniqueIdentifier

The unique immutable identifier of a resource (Guid). NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

The identifier of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

location

The location of the resource.

name

The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

tags

The tags of the resource.

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

createdDate

The creation date of the policy. NOTE: This property will not be serialized. It can only be populated by the server.

createdDate?: Date

Property Value

Date

description

The description of the policy.

description?: string

Property Value

string

evaluatorType

The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy).

evaluatorType?: string

Property Value

string

factData

The fact data of the policy.

factData?: string

Property Value

string

factName

The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc.

factName?: string

Property Value

string

provisioningState

The provisioning status of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

status

The status of the policy.

status?: string

Property Value

string

threshold

The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy).

threshold?: string

Property Value

string

uniqueIdentifier

The unique immutable identifier of a resource (Guid). NOTE: This property will not be serialized. It can only be populated by the server.

uniqueIdentifier?: string

Property Value

string

Inherited Property Details

id

The identifier of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From Resource.id

location

The location of the resource.

location?: string

Property Value

string

Inherited From Resource.location

name

The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From Resource.name

tags

The tags of the resource.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From Resource.tags

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From Resource.type