ArmResourcesModelFactory.StatusMessage(String, ResponseError) Method

Definition

Initializes a new instance of StatusMessage.

public static Azure.ResourceManager.Resources.Models.StatusMessage StatusMessage (string status = default, Azure.ResponseError error = default);
static member StatusMessage : string * Azure.ResponseError -> Azure.ResourceManager.Resources.Models.StatusMessage
Public Shared Function StatusMessage (Optional status As String = Nothing, Optional error As ResponseError = Nothing) As StatusMessage

Parameters

status
String

Status of the deployment operation.

error
ResponseError

The error reported by the operation.

Returns

A new StatusMessage instance for mocking.

Applies to