ArmChaosModelFactory.ChaosRoleAssignmentError(String, String) Method
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.
Error details for a failed role assignment.
public static Azure.ResourceManager.Chaos.Models.ChaosRoleAssignmentError ChaosRoleAssignmentError(string code = default, string message = default);
static member ChaosRoleAssignmentError : string * string -> Azure.ResourceManager.Chaos.Models.ChaosRoleAssignmentError
Public Shared Function ChaosRoleAssignmentError (Optional code As String = Nothing, Optional message As String = Nothing) As ChaosRoleAssignmentError
Parameters
- code
- String
Azure error code.
- message
- String
Error message.
Returns
A new ChaosRoleAssignmentError instance for mocking.