PolicyAssignmentInner 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.
The policy assignment.
[Microsoft.Rest.Serialization.JsonTransformation]
public class PolicyAssignmentInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PolicyAssignmentInner = class
inherit Resource
Public Class PolicyAssignmentInner
Inherits Resource
- Inheritance
- Attributes
Constructors
PolicyAssignmentInner() |
Initializes a new instance of the PolicyAssignmentInner class. |
PolicyAssignmentInner(String, String, String, String, String, String, IList<String>, Object, String, Object, EnforcementMode, PolicySku, String, Identity) |
Initializes a new instance of the PolicyAssignmentInner class. |
Properties
Description |
Gets or sets this message will be part of response in case of policy violation. |
DisplayName |
Gets or sets the display name of the policy assignment. |
EnforcementMode |
Gets or sets the policy assignment enforcement mode. Possible values are Default and DoNotEnforce. Possible values include: 'Default', 'DoNotEnforce' |
Id |
Resource Id. Setter is protected because Id needs to be set in Network resources. (Inherited from ProxyResource) |
Identity |
Gets or sets the managed identity associated with the policy assignment. |
Location |
Gets or sets the location of the policy assignment. Only required when utilizing managed identity. |
Metadata |
Gets or sets the policy assignment metadata. |
Name |
Resource name (Inherited from ProxyResource) |
NotScopes |
Gets or sets the policy's excluded scopes. |
Parameters |
Gets or sets required if a parameter is used in policy rule. |
PolicyDefinitionId |
Gets or sets the ID of the policy definition or policy set definition being assigned. |
Scope |
Gets or sets the scope for the policy assignment. |
Sku |
Gets or sets the policy sku. This property is optional, obsolete, and will be ignored. |
Tags |
Resource tags (Inherited from Resource) |
Type |
Resource type (Inherited from ProxyResource) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET