Class PolicyAssignmentUpdate
java.lang.Object
com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate
The PolicyAssignmentUpdate model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentity()Get the identity property: The managed identity associated with the policy assignment.location()Get the location property: The location of the policy assignment.voidvalidate()Validates the instance.withIdentity(Identity identity) Set the identity property: The managed identity associated with the policy assignment.withLocation(String location) Set the location property: The location of the policy assignment.
-
Constructor Details
-
PolicyAssignmentUpdate
public PolicyAssignmentUpdate()
-
-
Method Details
-
location
Get the location property: The location of the policy assignment. Only required when utilizing managed identity.- Returns:
- the location value.
-
withLocation
Set the location property: The location of the policy assignment. Only required when utilizing managed identity.- Parameters:
location- the location value to set.- Returns:
- the PolicyAssignmentUpdate object itself.
-
identity
Get the identity property: The managed identity associated with the policy assignment.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The managed identity associated with the policy assignment.- Parameters:
identity- the identity value to set.- Returns:
- the PolicyAssignmentUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-