Azure / Azure/bicep-types-az

Microsoft.MachineLearningServices/workspaces: The property "managedNetwork" is not allowed on objects of type "WorkspaceProperties"

Open
#2,005 1 comment 0 reactions 0 assignees View on GitHub
Machine Learning Service Attention
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.MachineLearningServices/workspaces

### Api Version

2023-02-01-preview

### Issue Type

Missing property(s)

### Other Notes

The property "managedNetwork" is not allowed on objects of type "WorkspaceProperties". Permissible properties include "allowPublicAccessWhenBehindVnet", "description", "discoveryUrl", "encryption", "featureStoreSettings", "hbiWorkspace", "imageBuildCompute", "primaryUserAssignedIdentity", "serviceManagedResourcesSettings", "sharedPrivateLinkResources", "softDeleteRetentionInDays", "systemDatastoresAuthMode", "v1LegacyMode"

### Bicep Repro

resource azureaiResource 'Microsoft.MachineLearningServices/workspaces@2023-02-01-preview' = {
name: azureAIResourceName
location: location
kind: 'Hub'
identity: {
type: 'SystemAssigned'
}
properties: {
friendlyName: azureAIResourceName
storageAccount: storageAccount.id
keyVault: keyVault.id
applicationInsights: applicationInsights.id
containerRegistry: containerRegistry.id
publicNetworkAccess: peEnabled ? 'Disabled' : 'Enabled'
managedNetwork: {
//isolationMode: 'AllowInternetOutbound'
isolationMode: 'Disabled'
}
workspaceHubConfig: {
defaultWorkspaceResourceGroup: resourceGroup().id
}
}

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Microsoft.MachineLearningServices/workspaces definition for API version 2023-02-01-preview and inspect the WorkspaceProperties type. Update the resource definition so the managedNetwork property in the Bicep repro is accepted, then validate that the reported type error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.