IResourcePolicy Interface
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ResourcePolicyTypeConverter))]
public interface IResourcePolicy : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ResourcePolicyTypeConverter))>]
type IResourcePolicy = interface
interface IJsonSerializable
Public Interface IResourcePolicy
Implements IJsonSerializable
- Derived
- Attributes
- Implements
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. |
| Resource |
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. |
Methods
| Name | Description |
|---|---|
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |