Share via


VMRoleMessage [SPFSDK][VMROLE]

 

Applies To: Windows Azure Pack

The VMRoleMessage object represents a provisioning state message.

Syntax

"VMRoleMessage": 
{
    "VmId": "Guid",
    "MessageQualifier": "Error | Warning | Info",
    "Message": "Localized description of the message."
}

Properties

Important

For more information about the Access column, see Property Access [SPFSDK][VMROLE].

Name

Type

Access

Description

VmId

Guid

R

The identifier of the virtual machine that has failed. Otherwise, it is null if the message concerns the VM role.

MessageQualifier

String

R

The kind of the message that uses one of the following values:

  • Error

  • Warning

  • Info

Message

String

R

The localized description of the status message.

Remarks

The following code example provides a sample VMRoleMessage object.

"Substate":
{
    "VMRoleMessages": [
        {
            "VmId": "{1F7CF751-69B3-4317-A8C3-6B8A9C85A022}",
            "MessageQualifier": "Error",
            "Message": "Deployment failed."
        },
        {
            "VmId": "{88BE3487-801C-4B26-AC0A-58AE3FE5ECB9}",
            "MessageQualifier": "Error",
            "Message": "Deployment failed."
        },
    ]
}

See Also

VirtualMachineRole (Instance) [SPFSDK][VMROLE]
VMRoleSubstate [SPFSDK][VMROLE]
Property Access [SPFSDK][VMROLE]