PolicyAssignmentUpdate 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 for Patch request.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyAssignmentUpdateTypeConverter))]
public class PolicyAssignmentUpdate : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignmentUpdate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyAssignmentUpdateTypeConverter))>]
type PolicyAssignmentUpdate = class
interface IPolicyAssignmentUpdate
interface IJsonSerializable
Public Class PolicyAssignmentUpdate
Implements IPolicyAssignmentUpdate
- Inheritance
-
PolicyAssignmentUpdate
- Attributes
- Implements
Constructors
PolicyAssignmentUpdate() |
Creates an new PolicyAssignmentUpdate instance. |
Properties
IdentityPrincipalId |
The principal ID of the resource identity. This property will only be provided for a system assigned identity |
IdentityTenantId |
The tenant ID of the resource identity. This property will only be provided for a system assigned identity |
IdentityType |
The identity type. This is the only required field when adding a system or user assigned identity to a resource. |
IdentityUserAssignedIdentity |
The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |
Location |
The location of the policy assignment. Only required when utilizing managed identity. |
Override |
The policy property value override. |
ResourceSelector |
The resource selector list to filter policies by resource properties. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PolicyAssignmentUpdate. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PolicyAssignmentUpdate. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignmentUpdate. |
FromJsonString(String) |
Creates a new instance of PolicyAssignmentUpdate, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of PolicyAssignmentUpdate into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |