Skip to content

Commit

Permalink
Updated arm api version (#15168)
Browse files Browse the repository at this point in the history
* updated arm api version

* fixed review comments

* Remove update package

Co-authored-by: Vineet Mimrot <--get>
  • Loading branch information
vineetmimrot authored Aug 24, 2021
1 parent 9363dd7 commit f6b62fe
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Tasks/AzureResourceGroupDeploymentV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 184,
"Patch": 1
"Minor": 192,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureResourceGroupDeploymentV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 184,
"Patch": 2
"Minor": 192,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 184,
"Patch": 1
"Minor": 192,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureResourceManagerTemplateDeploymentV3/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 3,
"Minor": 184,
"Patch": 1
"Minor": 192,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.119.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class ManagementGroupManagementClient extends azureServiceClientBase.Azur
constructor(credentials: msRestAzure.ApplicationTokenCredentials, managementGroupId: string, options?: any) {
super(credentials);
this.validateInputs(managementGroupId);
this.apiVersion = '2019-05-10';
this.apiVersion = '2021-04-01';
this.acceptLanguage = 'en-US';
this.generateClientRequestId = true;
if (!!options && !!options.longRunningOperationRetryTimeout) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class ResourceManagementClient extends azureServiceClient.ServiceClient {
constructor(credentials: msRestAzure.ApplicationTokenCredentials, resourceGroupName: string, subscriptionId: string, options?: any) {
super(credentials, subscriptionId);

this.apiVersion = (credentials.isAzureStackEnvironment) ? '2016-06-01' : '2019-10-01';
this.apiVersion = (credentials.isAzureStackEnvironment) ? '2016-06-01' : '2021-04-01';
this.acceptLanguage = 'en-US';
this.generateClientRequestId = true;
if (!!options && !!options.longRunningOperationRetryTimeout) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class SubscriptionManagementClient extends azureServiceClientBase.AzureSe
constructor(credentials: msRestAzure.ApplicationTokenCredentials, subscriptionId: string, options?: any) {
super(credentials);
this.validateInputs(subscriptionId);
this.apiVersion = '2019-05-10';
this.apiVersion = '2021-04-01';
this.acceptLanguage = 'en-US';
this.generateClientRequestId = true;
if (!!options && !!options.longRunningOperationRetryTimeout) {
Expand Down
2 changes: 1 addition & 1 deletion common-npm-packages/azure-arm-rest-v2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-pipelines-tasks-azure-arm-rest-v2",
"version": "2.0.4",
"version": "2.0.5",
"description": "Common Lib for Azure ARM REST apis",
"repository": {
"type": "git",
Expand Down

0 comments on commit f6b62fe

Please sign in to comment.