Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 663 Bytes

provisioning-state-validation.md

File metadata and controls

40 lines (23 loc) · 663 Bytes

ProvisioningStateValidation

Category

ARM Error

Applies to

ARM OpenAPI(swagger) specs

Related ARM Guideline Code

  • RPC-Async-V1-03

Output Message

ProvisioningState must have terminal states: Succeeded, Failed and Canceled.

Description

Per ARM guideline, provisioningState must have terminal states: Succeeded, Failed and Canceled.

CreatedAt

July 07, 2022

LastModifiedAt

July 07, 2022

How to fix the violation

Ensure the provisioningState has states: 'Succeeded, Failed and Canceled', like

   provisioningState: {
            type: "string",
            enum: ["Canceled", "Succeeded", "Failed"],
          },