Ubiquex

advisor.ArmErrorResponse

azure_advisor_arm_error_response

`azure_advisor_arm_error_response` is Azure Advisor's own standard API error envelope, returned when a request to the Advisor management API fails -- not a deployable resource in its own right.

Example

import { intent, resource, stack } from "@ubx/sdk";
import { ArmErrorResponse } from "@ubx/sdk-azure/advisor";

export default stack("example", () => {
  intent({ summary: "example own arm error response" });

  resource(ArmErrorResponse, "example", {
    error: { code: "example" },
  });
});

Output properties

errorobject
ARM error response body.
2 properties
codestring
Gets or sets the string that can be used to programmatically identify the error.
messagestring
Gets or sets the string that describes the error in detail and provides debugging information.