Compliance interface

Compliance of a scope

Extends

Properties

assessmentResult

An array of segment, which is the actually the compliance assessment.

assessmentTimestampUtcDate

The timestamp when the Compliance calculation was conducted.

resourceCount

The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Property Details

assessmentResult

An array of segment, which is the actually the compliance assessment.

assessmentResult?: ComplianceSegment[]

Property Value

assessmentTimestampUtcDate

The timestamp when the Compliance calculation was conducted.

assessmentTimestampUtcDate?: Date

Property Value

Date

resourceCount

The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).

resourceCount?: number

Property Value

number

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ExtensionResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ExtensionResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ExtensionResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ExtensionResource.type