policyRule resource type

Namespace: microsoft.graph.networkaccess

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

An abstract data type for rules within policies. This is an abstract type from which the forwardingRule resource and filteringRule resource types are derived.

Inherits from microsoft.graph.entity.

Methods

Method Return type Description
List policyRules microsoft.graph.networkaccess.policyRule collection Get a list of the microsoft.graph.networkaccess.policyRule objects and their properties.
Get policyRule microsoft.graph.networkaccess.policyRule Get a microsoft.graph.networkaccess.policyRule object.
Update policyRule microsoft.graph.networkaccess.policyRule Update the properties of a microsoft.graph.networkaccess.policyRule object.

Properties

Property Type Description
id String The unique identifier for the rule. Inherited from microsoft.graph.entity.
name String Name.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.networkaccess.policyRule",
  "id": "String (identifier)",
  "name": "String"
}