Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit c0f1f09

Browse files
authored
fix arm api version (#676)
Co-authored-by: Dmitrii Korolev <dmkorolev@microsoft.com>
1 parent e6a5388 commit c0f1f09

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ArmTemplates/Common/Constants/GlobalConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static class GlobalConstants
1212
public const string ExtractDescription = "Extract an existing API Management instance";
1313

1414
public const string ApiVersion = "2021-08-01";
15-
public const string LinkedAPIVersion = "2021-08-01";
15+
public const string ArmApiVersion = "2022-01-01";
1616
public const int NumOfRecords = 100;
1717

1818
public const string azAccessToken = "account get-access-token --query \"accessToken\" --output json";

src/ArmTemplates/Creator/TemplateCreators/MasterTemplateCreator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public MasterTemplateResource CreateLinkedMasterTemplateResource(string name, st
227227
{
228228
Name = name,
229229
Type = "Microsoft.Resources/deployments",
230-
ApiVersion = GlobalConstants.LinkedAPIVersion,
230+
ApiVersion = GlobalConstants.ArmApiVersion,
231231
Properties = new MasterTemplateProperties()
232232
{
233233
mode = "Incremental",

src/ArmTemplates/Extractor/EntityExtractors/MasterTemplateExtractor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public MasterTemplateResource CreateLinkedMasterTemplateResource(string name, st
270270
{
271271
Name = name,
272272
Type = "Microsoft.Resources/deployments",
273-
ApiVersion = GlobalConstants.LinkedAPIVersion,
273+
ApiVersion = GlobalConstants.ArmApiVersion,
274274
Properties = new MasterTemplateProperties()
275275
{
276276
mode = "Incremental",

0 commit comments

Comments
 (0)