parameters:
  "service-dir":
    default: "sdk/edgezones"
emit:
  - "@azure-tools/typespec-autorest"
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/resource-manager"
options:
  "@azure-tools/typespec-autorest":
    azure-resource-provider-folder: "resource-manager"
    emit-common-types-schema: "never"
    # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag
    arm-resource-flattening: true
    use-read-only-status-schema: true
    emitter-output-dir: "{project-root}/.."
    output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/edgezones.json"
  "@azure-tools/typespec-python":
    package-dir: "azure-mgmt-edgezones"
    namespace: "azure.mgmt.edgezones"
    generate-test: true
    generate-sample: true
    flavor: "azure"
  "@azure-tools/typespec-java":
    package-dir: "azure-resourcemanager-edgezones"
    flavor: "azure"
    namespace: "com.azure.resourcemanager.edgezones"
    service-name: "Edge Zones"
  "@azure-tools/typespec-go":
    service-dir: "sdk/resourcemanager/edgezones"
    package-dir: "armedgezones"
    module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}"
    fix-const-stuttering: true
    flavor: "azure"
    generate-samples: true
    generate-fakes: true
    head-as-boolean: true
    inject-spans: true
  "@azure-tools/typespec-ts":
    is-modular-library: true
    experimental-extensible-enums: true
    package-dir: "arm-edgezones"
    flavor: "azure"
    package-details:
      name: "@azure/arm-edgezones"
