@azure-tools/typespec-azure-resource-manager
Version:
TypeSpec Azure Resource Manager library
8 lines • 632 B
TypeScript
/**
* Verify that a delete operation only
*/
export declare const armDeleteResponseCodesRule: import("@typespec/compiler").LinterRuleDefinition<"arm-delete-operation-response-codes", {
readonly sync: "Synchronous delete operations must have 200, 204 and default responses. They must not have any other responses. Consider using the 'ArmResourceDeleteSync' template.";
readonly async: "Long-running delete operations must have 202, 204 and default responses. They must not have any other responses. Consider using the 'ArmResourceDeleteWithoutOkAsync' template.";
}>;
//# sourceMappingURL=arm-delete-response-codes.d.ts.map