parameters:
  "service-dir":
    default: "sdk/mongocluster"
emit:
  - "@azure-tools/typespec-autorest"
options:
  "@azure-tools/typespec-autorest":
    use-read-only-status-schema: true
    emitter-output-dir: "{project-root}/.."
    azure-resource-provider-folder: "resource-manager"
    output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/mongoCluster.json"
  "@azure-tools/typespec-python":
    package-dir: "azure-mgmt-mongocluster"
    package-name: "{package-dir}"
    flavor: "azure"
    generate-test: true
    generate-sample: true
  "@azure-tools/typespec-java":
    package-dir: "azure-resourcemanager-mongocluster"
    flavor: "azure"
    namespace: "com.azure.resourcemanager.mongocluster"
    service-name: "Mongo Cluster"
  "@azure-tools/typespec-go":
    service-dir: "sdk/resourcemanager/mongocluster"
    package-dir: "armmongocluster"
    module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}"
    fix-const-stuttering: true
    flavor: "azure"
    generate-examples: true
    generate-fakes: true
    head-as-boolean: true
    inject-spans: true
    remove-unreferenced-types: true
  "@azure-tools/typespec-csharp":
    package-dir: "Azure.ResourceManager.MongoCluster"
    flavor: azure
    clear-output-folder: true
    namespace: "{package-dir}"
  "@azure-tools/typespec-ts":
    azureSdkForJs: true
    isModularLibrary: true
    generateMetadata: true
    hierarchyClient: false
    experimentalExtensibleEnums: true
    enableOperationGroup: true
    package-dir: "arm-mongocluster"
    emitter-output-dir: "{project-root}/sdk/mongocluster/arm-mongocluster"
    flavor: "azure"
    packageDetails:
      name: "@azure/arm-mongocluster"
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/resource-manager"
