ArmChaosModelFactory.ChaosRoleAssignmentError(String, String) Method

Definition

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.

Applies to