Skip to content

Commit

Permalink
Op fix (#42750)
Browse files Browse the repository at this point in the history
* fix resource type

* rerecord
  • Loading branch information
JoshLove-msft authored Mar 15, 2024
1 parent 9463d82 commit f12054e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/provisioning/Azure.Provisioning/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/provisioning/Azure.Provisioning",
"Tag": "net/provisioning/Azure.Provisioning_336cf2dff6"
"Tag": "net/provisioning/Azure.Provisioning_24cfc1037a"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace Azure.Provisioning.OperationalInsights
/// </summary>
public class OperationalInsightsWorkspace : Resource<OperationalInsightsWorkspaceData>
{
// https://learn.microsoft.com/azure/templates/microsoft.insights/2020-02-02/components?pivots=deployment-language-bicep
private const string ResourceTypeName = "Microsoft.Insights/components";
// https://learn.microsoft.com/en-us/azure/templates/microsoft.operationalinsights/2022-10-01/workspaces?pivots=deployment-language-bicep
private const string ResourceTypeName = "Microsoft.OperationalInsights/workspaces";
// https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/RestOperations/WorkspacesRestOperations.cs#L36C42-L36C52
internal const string DefaultVersion = "2022-10-01";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ targetScope = 'resourceGroup'
param location string = resourceGroup().location


resource operationalInsightsWorkspace_nSkskRVz7 'Microsoft.Insights/components@2022-10-01' = {
resource operationalInsightsWorkspace_nSkskRVz7 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
name: toLower(take(concat('opinsights', uniqueString(resourceGroup().id)), 24))
location: location
properties: {
Expand Down

0 comments on commit f12054e

Please sign in to comment.