Release v0.1.8-preview #179
Replies: 4 comments 20 replies
-
@jason-dou is there a way of the version of the type inside the .bicep file? Being defined in bicepconfig.json and referenced in .bicep file could lead the to problem where end user can take the .bicep file modify its bicepconfig.json with incorrect version that was used to verify the .bicep template functionality. It really looks like the version of the extension should not be defined in bicepconfig.json . |
Beta Was this translation helpful? Give feedback.
-
@slavizh we can add doc examples of defining the version of the type inside the .bicep file too. |
Beta Was this translation helpful? Give feedback.
-
@anthony-c-martin @shenglong I was creating some new docs on dynamic types, per the conversation above and I have a question, because I don't have a way to test the scenario. cc: @jason-dou So say I do this: extension 'br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:<v1.0-version>' as graphV1_0
extension 'br:mcr.microsoft.com/bicep/extensions/microsoftgraph/beta:<beta-version>' as graphBeta Other than generating the ARM template with the alias names, I don't see any real benefit to the extension 'br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:<v1.0-version-1>' as graphV1_0_latest
extension 'br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:<v1.0-version-2>' as graphV1_0_older
// using latest
resource group 'graphV1_0_latest:Microsoft.Graph/[email protected]' existing = {
uniqueName: groupName
}
// using an older version
resource app 'graphV1_0_older:Microsoft.Graph/[email protected]' existing = {
uniqueName: appName
} I can't fully test this because we only have the one type version for v1.0 at the moment. Also IntelliSense isn't working properly when you try to use the fully-qualified type name. |
Beta Was this translation helpful? Give feedback.
-
Howdy folks, Just an update here on dynamic types. Here and in our public docs, we've asked folks to migrate to dynamic types (from using the built-in types). Additionally, there are warnings in both VS/VS Code and when deploying a template file, if you are still using built-in types. The notices and warning indicate that built-in types will no longer work from January 24. However, we're pushing this date out by a little over a month (likely first week in March, or whenever the monthly Bicep release happens in March). We're doing this because we want to give you more time and we discovered some issues with dynamic types in some of our air-gapped clouds, as part of our final testing of national cloud support (which will be available soon). |
Beta Was this translation helpful? Give feedback.
-
We're excited to announce the release of v0.1.8-preview! This version is exclusively available on the Microsoft Artifact Registry (MAR) and can be accessed using dynamic types. Please note that it requires a minimum Bicep version of 0.30.3. For more information on how to migrate to dynamic types, check out How to migrate to dynamic types. Quickstart templates are also updated with examples using Graph Bicep resources in v0.1.8-preview.
Important
Built-in types are deprecated and will be retired on January 24, 2025. Until the retirement date, built-in types, denoted by
extension microsoftGraph
, will coexist with the new dynamic types. Any Microsoft Graph Bicep type changes will only be available through new versions of the dynamic types.What's changes
isManagementRestricted
property in[email protected]
resource typeIssues fixed
This discussion was created from the release Release v0.1.8-preview.
Beta Was this translation helpful? Give feedback.
All reactions