@azure-tools/typespec-azure-resource-manager
Version:
TypeSpec Azure Resource Manager library
8 lines • 611 B
TypeScript
/**
* Verify that a post operation has the correct response codes.
*/
export declare const armPostResponseCodesRule: import("@typespec/compiler").LinterRuleDefinition<"arm-post-operation-response-codes", {
readonly sync: "Synchronous post operations must have a 200 or 204 response and a default response. They must not have any other responses.";
readonly async: "Long-running post operations must have 202 and default responses. They must also have a 200 response if the final response has a schema. They must not have any other responses.";
}>;
//# sourceMappingURL=arm-post-response-codes.d.ts.map