Skip to content

arm-resource-path-segment-invalid-chars

Id
@azure-tools/typespec-azure-resource-manager/arm-resource-path-segment-invalid-chars

Arm resource name must contain only alphanumeric characters.

ARM resource path segments must contain only alphanumeric characters or dashes, starting with a lowercase letter.

model FooResource is TrackedResource<{}> {
...ResourceNameParameter<FooResource, SegmentName = "/foo/bar">;
}
model FooResource is TrackedResource<{}> {
...ResourceNameParameter<FooResource>;
}