OSPolicy class

An OS policy defines the desired state configuration for a VM.

Constructors

OSPolicy({bool? allowNoResourceGroupMatch, String? description, String? id, String? mode, List<OSPolicyResourceGroup>? resourceGroups})
OSPolicy.fromJson(Map json_)

Properties

allowNoResourceGroupMatch bool?
This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM.
getter/setter pair
description String?
Policy description.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens.
getter/setter pair
mode String?
Policy mode
getter/setter pair
resourceGroups List<OSPolicyResourceGroup>?
List of resource groups for the policy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited