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.MachineLearningServices/workspaces/connections/deployments]: "Sku does not exist on the resource definition" #2307

Open
1 task done
AMSDavis opened this issue Oct 8, 2024 · 0 comments

Comments

@AMSDavis
Copy link

AMSDavis commented Oct 8, 2024

Resource Type

Microsoft.MachineLearningServices/workspaces/connections/deployments

Api Version

2024-07-01-preview

Issue Type

Missing property(s)

Other Notes

"sku" property is required in order for connection to deploy, however I get a bicep BCP187 warning that the "sku" property does not exist in the resource or type definition.

A Similar (possibly related?) issue is reported here, but for a slightly different resource type and older api version: #2182

Bicep Repro

resource modelDeploymentConnections 'Microsoft.MachineLearningServices/workspaces/connections/deployments@2024-07-01-preview' = [
  for model in modelDeployments: {
    name: model.name
    properties: {
      type: 'Azure.OpenAI'
      model: {
        format: model.properties.model.format
        name: model.properties.model.name
        //version: model.properties.model.version
      }
    }
    sku: {
      name: model.sku.name
      capacity: model.sku.capacity
    }
    parent: aiHub::aiServicesConnection
  }
]

Confirm

  • I have read the troubleshooting guide and looked for duplicates.
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

1 participant