Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Microsoft.CognitiveServices/accounts/deployments]: "dynamicThrottlingEnabled" is not read-only #2121

Open
1 task done
danielphil opened this issue Apr 12, 2024 · 1 comment

Comments

@danielphil
Copy link

Resource Type

Microsoft.CognitiveServices/accounts/deployments

Api Version

2023-10-01-preview

Issue Type

Property(s) inaccurately marked read-only/write-only

Other Notes

The dynamicThrottlingEnabled property on Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview is incorrectly being flagged as readonly. This property can be set to enable the dynamic quota feature on Azure OpenAI. See here for docs that show the parameter being set.

Thanks!

Bicep Repro

resource account 'Microsoft.CognitiveServices/accounts@2023-05-01' = {
  name: 'dopenai1234'
  location: 'swedencentral'
  kind: 'OpenAI'
  properties: {
    customSubDomainName: 'dopenai1234'
    publicNetworkAccess: 'Enabled'
  }
  sku: {
    name: 'S0'
  }
}

resource deployment 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview' = {
  parent: account
  name: 'gpt4'
  properties: {
    model: {
      format: 'OpenAI'
      name: 'gpt-4-32k'
      version: '0613'
    }
    raiPolicyName: null
    dynamicThrottlingEnabled: true // this line generates the error
  }
  sku: {
    name: 'Standard'
    capacity: 20
  }
}

Confirm

  • I have read the troubleshooting guide and looked for duplicates.
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @yangyuan. Please see https://aka.ms/biceptypesinfo for troubleshooting help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants