From 1bcc20d7c3523dfddc34a44881048824f3b86d1c Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Wed, 21 Aug 2019 19:39:12 -0700 Subject: [PATCH 1/5] Add blockchain to latest profile --- profiles/definitions/latest-2019-04-30.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/profiles/definitions/latest-2019-04-30.md b/profiles/definitions/latest-2019-04-30.md index d232011ad030..c011a4cc041a 100644 --- a/profiles/definitions/latest-2019-04-30.md +++ b/profiles/definitions/latest-2019-04-30.md @@ -41,6 +41,15 @@ profiles: - managedClusters/accessProfiles '2017-07-01': - containerServices + microsoft.blockchain: + '2018-06-01-preview': + - blockchainMembers + - blockchainMembers/consortiumMembers + - blockchainMembers/transactionNodes + - locations + - locations/blockchainMemberOperationResults + - operations + - skus microsoft.capacity: '2019-04-01': - appliedReservations From 7b4609776da798ad54384cbaccd1221f096b275b Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Wed, 21 Aug 2019 19:52:35 -0700 Subject: [PATCH 2/5] Add additional types --- profiles/definitions/latest-2019-04-30.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/definitions/latest-2019-04-30.md b/profiles/definitions/latest-2019-04-30.md index c011a4cc041a..5a4f50360390 100644 --- a/profiles/definitions/latest-2019-04-30.md +++ b/profiles/definitions/latest-2019-04-30.md @@ -45,9 +45,15 @@ profiles: '2018-06-01-preview': - blockchainMembers - blockchainMembers/consortiumMembers + - blockchainMembers/listApiKeys + - lockchainMembers/regenerateApiKeys - blockchainMembers/transactionNodes + - blockchainMembers/transactionNodes/listApiKeys + - blockchainMembers/transactionNodes/regenerateApiKeys - locations - locations/blockchainMemberOperationResults + - locations/checkNameAvailability + - locations/listConsortiums - operations - skus microsoft.capacity: From fcbe641c0ac1add81e57258e244bcde0e411e380 Mon Sep 17 00:00:00 2001 From: Aditi Date: Tue, 17 Aug 2021 09:03:00 -0700 Subject: [PATCH 3/5] Update operationId field in Swagger, update ListOperations Example --- .../2021-03-15-preview/customlocations.json | 16 ++++++++-------- .../examples/CustomLocationsListOperations.json | 13 ++++++++++++- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/customlocations.json b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/customlocations.json index 6a6c64eb40bc..74d51adf3d67 100644 --- a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/customlocations.json +++ b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/customlocations.json @@ -39,7 +39,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_ListOperations", + "operationId": "CustomLocations_ListOperations", "description": "Lists all available Custom Locations operations.", "parameters": [ { @@ -76,7 +76,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_ListBySubscription", + "operationId": "CustomLocations_ListBySubscription", "summary": "Gets a list of Custom Locations in a subscription.", "description": "Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location", "parameters": [ @@ -116,7 +116,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_ListByResourceGroup", + "operationId": "CustomLocations_ListByResourceGroup", "summary": "Gets a list of Custom Locations in the specified subscription and resource group.", "description": "Gets a list of Custom Locations in the specified subscription and resource group. The operation returns properties of each Custom Location.", "parameters": [ @@ -159,7 +159,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_Get", + "operationId": "CustomLocations_Get", "summary": "Gets a Custom Location.", "description": "Gets the details of the customLocation with a specified resource group and name.", "parameters": [ @@ -200,7 +200,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_CreateOrUpdate", + "operationId": "CustomLocations_CreateOrUpdate", "summary": "Creates or updates a Custom Location.", "description": "Creates or updates a Custom Location in the specified Subscription and Resource Group", "parameters": [ @@ -260,7 +260,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_Delete", + "operationId": "CustomLocations_Delete", "summary": "Deletes a Custom Location.", "description": "Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.", "parameters": [ @@ -305,7 +305,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_Update", + "operationId": "CustomLocations_Update", "summary": "Updates a Custom Location.", "description": "Updates a Custom Location with the specified Resource Name in the specified Resource Group and Subscription.", "parameters": [ @@ -358,7 +358,7 @@ "tags": [ "customLocations" ], - "operationId": "customLocations_ListEnabledResourceTypes", + "operationId": "CustomLocations_ListEnabledResourceTypes", "summary": "Gets the list of Enabled Resource Types.", "description": "Gets the list of the Enabled Resource Types.", "parameters": [ diff --git a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json index 3efbb3e8b69e..06951fb9df8a 100644 --- a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json +++ b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json @@ -50,6 +50,17 @@ "origin": "user,system", "isDataAction": false }, + { + "name": "Microsoft.ExtendedLocation/customLocations/deploy/action", + "display": { + "description": "Deploy permissions to a Custom Location resource", + "operation": "Deploy permissions to Custom Location", + "provider": "Microsoft.ExtendedLocation", + "resource": "Custom Locations" + }, + "origin": "user,system", + "isDataAction": true + }, { "name": "Microsoft.ExtendedLocation/customLocations/delete", "display": { @@ -98,4 +109,4 @@ } } } -} +} \ No newline at end of file From f2e20ba85a484919d101e5fbc0767079253f0b1c Mon Sep 17 00:00:00 2001 From: Aditi Date: Tue, 17 Aug 2021 11:14:36 -0700 Subject: [PATCH 4/5] Revert commit --- profiles/definitions/latest-2019-04-30.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/profiles/definitions/latest-2019-04-30.md b/profiles/definitions/latest-2019-04-30.md index 5a4f50360390..d232011ad030 100644 --- a/profiles/definitions/latest-2019-04-30.md +++ b/profiles/definitions/latest-2019-04-30.md @@ -41,21 +41,6 @@ profiles: - managedClusters/accessProfiles '2017-07-01': - containerServices - microsoft.blockchain: - '2018-06-01-preview': - - blockchainMembers - - blockchainMembers/consortiumMembers - - blockchainMembers/listApiKeys - - lockchainMembers/regenerateApiKeys - - blockchainMembers/transactionNodes - - blockchainMembers/transactionNodes/listApiKeys - - blockchainMembers/transactionNodes/regenerateApiKeys - - locations - - locations/blockchainMemberOperationResults - - locations/checkNameAvailability - - locations/listConsortiums - - operations - - skus microsoft.capacity: '2019-04-01': - appliedReservations From fbff0ef6c96d44b70c27e304307471465c68652b Mon Sep 17 00:00:00 2001 From: Aditi Date: Wed, 1 Sep 2021 18:00:49 -0700 Subject: [PATCH 5/5] prettier fix --- .../examples/CustomLocationsListOperations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json index 06951fb9df8a..fc740a16a6fe 100644 --- a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json +++ b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/examples/CustomLocationsListOperations.json @@ -109,4 +109,4 @@ } } } -} \ No newline at end of file +}