你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DenySettings 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.
Defines how resources deployed by the Deployment stack are locked.
public class DenySettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.DenySettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.DenySettings>
type DenySettings = class
interface IJsonModel<DenySettings>
interface IPersistableModel<DenySettings>
Public Class DenySettings
Implements IJsonModel(Of DenySettings), IPersistableModel(Of DenySettings)
- Inheritance
-
DenySettings
- Implements
Constructors
DenySettings(DenySettingsMode) |
Initializes a new instance of DenySettings. |
Properties
ApplyToChildScopes |
DenySettings will be applied to child resource scopes of every managed resource with a deny assignment. |
ExcludedActions |
List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to 'denyWriteAndDelete', then the following actions are automatically appended to 'excludedActions': '*/read' and 'Microsoft.Authorization/locks/delete'. If the denySetting mode is set to 'denyDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will be removed. |
ExcludedPrincipals |
List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted. |
Mode |
denySettings Mode that defines denied actions. |
Explicit Interface Implementations
IJsonModel<DenySettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DenySettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DenySettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DenySettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DenySettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |