DevCenterResourcePolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A resource policy.
public class DevCenterResourcePolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevCenter.Models.DevCenterResourcePolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevCenter.Models.DevCenterResourcePolicy>
type DevCenterResourcePolicy = class
interface IJsonModel<DevCenterResourcePolicy>
interface IPersistableModel<DevCenterResourcePolicy>
Public Class DevCenterResourcePolicy
Implements IJsonModel(Of DevCenterResourcePolicy), IPersistableModel(Of DevCenterResourcePolicy)
- Inheritance
-
DevCenterResourcePolicy
- Implements
Constructors
| Name | Description |
|---|---|
| DevCenterResourcePolicy() |
Initializes a new instance of DevCenterResourcePolicy. |
Properties
| Name | Description |
|---|---|
| Action |
Policy action to be taken on the resources. This is optional, and defaults to allow. |
| Filter |
Optional. When specified, this expression is used to filter the resources. |
| Resources |
Resources that are included and shared as a part of a project policy. |
| ResourceType |
Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type. |