Skip to content

arm-no-record

-
@azure-tools/typespec-azure-resource-manager/arm-no-record

ARM requires Resource provider teams to define types explicitly. This is to ensure good customer experience in terms of the discoverability of concrete type definitions.

model Address {
address: Record<string>;
city: string;
state: string;
}
model Address {
street: string;
city: string;
state: string;
country: string;
postalCode: string;
}
model Address is Record<string>;
model Address {
street: string;
city: string;
state: string;
country: string;
postalCode: string;
}
model Address extends Record<string> {}
model Address {
street: string;
city: string;
state: string;
country: string;
postalCode: string;
}