[x] Azure services should not define fixed enum (some of our generation to enum is not correct, which should be extensible enum, pending this until we have a decision for extensible enum)
[x] Arm doesn't allow property as Record type
Expected:
[x] Arm doesn't allow model extends Record type
Expected: use ...Record<unknown> instead.
[x] name in Resource model should be in the ResourceNameParameter template
Expected: if the type of name is string then use ResourceNameParameter, otherwise add #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-name-pattern" "For backward compatibility"
[x] Missing identifying properties for array properties
[x] ProvisioningState lacks one of 'Succeeded', 'Failed', 'Canceled'.
Deprecated syntax:
Linter warning needs fix:
[x] ArmResourceDeleteSync Expected:
suppress "@azure-tools/typespec-azure-core/no-response-body" "For backward compatibility"
[x] ArmResourceDeleteAsync Expected:
suppress deprecated "For backward compatibility"
suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility"
suppress "@azure-tools/typespec-azure-core/no-response-body" "For backward compatibility"
[x] Azure services should not define fixed enum (some of our generation to enum is not correct, which should be extensible enum, pending this until we have a decision for extensible enum)
[x] Arm doesn't allow property as Record type Expected:
suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
[x] Arm doesn't allow model extends Record type Expected: use
...Record<unknown>
instead.[x] name in Resource model should be in the ResourceNameParameter template Expected: if the type of name is
string
then useResourceNameParameter
, otherwise add #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-name-pattern" "For backward compatibility"[x] Missing identifying properties for array properties
[x] ProvisioningState lacks one of 'Succeeded', 'Failed', 'Canceled'.
Breaking changes
[x] @parameterVisibility("read") => @parameterVisibility
[x] TrackedResource => Azure.ResourceManager.TrackedResource