From 6e1502f376ecd1887b9e82576b73aca584eef0f1 Mon Sep 17 00:00:00 2001 From: Jimmy Campbell Date: Fri, 15 Jul 2022 10:37:51 -0700 Subject: [PATCH 1/5] Update swagger to match service implementation. * Remove list key values operation. * Update description for PUT private endpoint connection to be clear it can't be used to create. * Added example for list operations API. --- .../stable/2022-05-01/appconfiguration.json | 64 +-- ...toresUpdatePrivateEndpointConnection.json} | 0 .../2022-05-01/examples/OperationsList.json | 451 ++++++++++++++++++ 3 files changed, 459 insertions(+), 56 deletions(-) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/{ConfigurationStoresCreatePrivateEndpointConnection.json => ConfigurationStoresUpdatePrivateEndpointConnection.json} (100%) create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json index 74ec35ab49d4..a9c60ec85da0 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json @@ -504,7 +504,11 @@ } } }, - "x-ms-examples": {}, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/OperationsList.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -608,7 +612,7 @@ "PrivateEndpointConnections" ], "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "description": "Update the state of the specified private endpoint connection associated with the configuration store.", + "description": "Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection.", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -660,8 +664,8 @@ } }, "x-ms-examples": { - "PrivateEndpointConnection_CreateOrUpdate": { - "$ref": "./examples/ConfigurationStoresCreatePrivateEndpointConnection.json" + "PrivateEndpointConnection_Update": { + "$ref": "./examples/ConfigurationStoresUpdatePrivateEndpointConnection.json" } }, "x-ms-long-running-operation": true @@ -812,58 +816,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues": { - "get": { - "tags": [ - "KeyValues" - ], - "description": "Lists the key-values for a given configuration store.", - "operationId": "KeyValues_ListByConfigurationStore", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ConfigStoreNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "$skipToken", - "in": "query", - "description": "A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/KeyValueListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "KeyValues_ListByConfigurationStore": { - "$ref": "./examples/ConfigurationStoresListKeyValues.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}": { "get": { "tags": [ diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresCreatePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json similarity index 100% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresCreatePrivateEndpointConnection.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json new file mode 100644 index 000000000000..0066f328dc56 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json @@ -0,0 +1,451 @@ +{ + "parameters": { + "api-version": "2022-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AppConfiguration/operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Operation", + "operation": "List Operations", + "description": "Lists all of the operations supported by Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration", + "operation": "Register for Microsoft App Configuration", + "description": "Registers a subscription to use Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration", + "operation": "Unregister for Microsoft App Configuration", + "description": "Unregisters a subscription from using Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/operationsStatus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Get Operation Status", + "description": "Get the status of an operation." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/checkNameAvailability/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Check Name Availability", + "description": "Check whether the resource name is available for use." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/checkNameAvailability/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Check Name Availability", + "description": "Check whether the resource name is available for use." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Get Configuration Store or List Configuration Stores", + "description": "Gets the properties of the specified configuration store or lists all the configuration stores under the specified resource group or subscription." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Create or Update Configuration Store", + "description": "Create or update a configuration store with the specified parameters." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Delete Configuration Store", + "description": "Deletes a configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/ListKeys/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "List Configuration Store API Keys", + "description": "Lists the API keys for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/RegenerateKey/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Regenerate Configuration Store API Key", + "description": "Regenerates of the API key's for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/ListKeyValue/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "List Configuration Store Key-Value", + "description": "Lists a key-value for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Get Configuration Store Event Grid Filter or List Configuration Store Event Grid Filters", + "description": "Gets the properties of the specified configuration store event grid filter or lists all the configuration store event grid filters under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Create or Update Configuration Store Event Grid Filter", + "description": "Create or update a configuration store event grid filter with the specified parameters." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Delete Configuration Store Event Grid Filter", + "description": "Deletes a configuration store event grid filter." + }, + "properties": null + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/metricDefinitions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration Metric Definition.", + "operation": "Read Configuration Store Metric Definitions", + "description": "Retrieve all metric definitions for Microsoft App Configuration." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "HttpIncomingRequestCount", + "displayName": "HttpIncomingRequestCount", + "displayDescription": "Total number of incoming http requests.", + "unit": "Count", + "aggregationType": "Count", + "internalMetricName": "HttpIncomingRequestCount", + "fillGapWithZero": true, + "dimensions": [ + { + "name": "StatusCode", + "internalName": "StatusCode", + "displayName": "HttpStatusCode" + }, + { + "name": "Authentication", + "internalName": "Authentication", + "displayName": "AuthenticationScheme" + } + ] + }, + { + "name": "HttpIncomingRequestDuration", + "displayName": "HttpIncomingRequestDuration", + "displayDescription": "Latency on an http request.", + "unit": "Count", + "aggregationType": "Average", + "internalMetricName": "HttpIncomingRequestDuration", + "fillGapWithZero": true, + "dimensions": [ + { + "name": "StatusCode", + "internalName": "StatusCode", + "displayName": "HttpStatusCode" + }, + { + "name": "Authentication", + "internalName": "Authentication", + "displayName": "AuthenticationScheme" + } + ] + }, + { + "name": "ThrottledHttpRequestCount", + "displayName": "ThrottledHttpRequestCount", + "displayDescription": "Throttled http requests.", + "unit": "Count", + "aggregationType": "Count", + "internalMetricName": "ThrottledHttpRequestCount", + "fillGapWithZero": true + } + ], + "logSpecifications": null + } + } + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Read Configuration Store Diagnostic Settings", + "description": "Read all Diagnostic Settings values for a Configuration Store." + }, + "properties": null + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Write Configuration Store Diagnostic Settings", + "description": "Write/Overwrite Diagnostic Settings for Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/logDefinitions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration Log Definition.", + "operation": "Read Configuration Store Log Definitions", + "description": "Retrieve all log definitions for Microsoft App Configuration." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "HttpRequest", + "displayName": "HTTP Requests" + }, + { + "name": "Audit", + "displayName": "Audit" + } + ] + } + } + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/validate/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Validate Private Endpoint Connection Proxy", + "description": "Validate a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Get Private Endpoint Connection Proxy", + "description": "Get a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Create or Update Private Endpoint Connection Proxy", + "description": "Create or update a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Delete Private Endpoint Connection Proxy", + "description": "Delete a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Get Private Endpoint Connection or List Private Endpoint Connections", + "description": "Get a private endpoint connection or list private endpoint connections under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Approve or Reject Private Endpoint Connection", + "description": "Approve or reject a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Delete Private Endpoint Connection", + "description": "Delete a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/PrivateEndpointConnectionsApproval/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Auto-Approve Private Endpoint Connection", + "description": "Auto-Approve a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateLinkResources/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Link", + "operation": "List Private Link", + "description": "Lists all the private link resources under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/read", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Read Key-Value", + "description": "Reads a key-value from the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/write", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Write Key-Value", + "description": "Creates or updates a key-value in the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/delete", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Delete Key-Value", + "description": "Deletes an existing key-value from the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Deleted Configuration Store", + "operation": "Get Deleted Configuration Store or List Deleted Configuration Stores", + "description": "Gets the properties of the specified deleted configuration store or lists all the deleted configuration stores under the specified subscription." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/purge/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Deleted Configuration Store", + "operation": "Purge Deleted Configuration Store", + "description": "Purge the specified deleted configuration store." + }, + "properties": null + } + ], + "nextLink": null + } + } + } +} From 3065a3f81bf11c81d860d7b84dcf670c52b4e6b1 Mon Sep 17 00:00:00 2001 From: Jimmy Campbell Date: Fri, 15 Jul 2022 10:41:19 -0700 Subject: [PATCH 2/5] Add suggested message. --- .../stable/2022-05-01/appconfiguration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json index a9c60ec85da0..9b9c71c90a1b 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json @@ -612,7 +612,7 @@ "PrivateEndpointConnections" ], "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "description": "Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection.", + "description": "Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider.", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" From bcafb2313f3119abb61b11c33dc0e329e023b1fb Mon Sep 17 00:00:00 2001 From: Jimmy Campbell Date: Mon, 25 Jul 2022 13:35:45 -0700 Subject: [PATCH 3/5] Fix lint errors. --- .../stable/2022-05-01/appconfiguration.json | 2 ++ specification/appconfiguration/resource-manager/readme.md | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json index 9b9c71c90a1b..5910cb27ded7 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json @@ -1852,6 +1852,7 @@ "description": "Describes a configuration store SKU." }, "ErrorDetails": { + "type": "object", "description": "The details of the error.", "properties": { "code": { @@ -1886,6 +1887,7 @@ } }, "ErrorAdditionalInfo": { + "type": "object", "properties": { "type": { "readOnly": true, diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md index 4378f6f22661..91a777c2c756 100644 --- a/specification/appconfiguration/resource-manager/readme.md +++ b/specification/appconfiguration/resource-manager/readme.md @@ -176,6 +176,12 @@ directive: from: appconfiguration.json where: $.definitions.OperationDefinition.properties.isDataAction reason: This is a standardized ARM API. + - suppress: R4015 + from: appconfiguration.json + where: $.definitions.KeyValue + - suppress: R3010 + from: appconfiguration.json + where: $.definitions.KeyValue ``` From c1b47713f6f3441a04421519be7e39a6d003d615 Mon Sep 17 00:00:00 2001 From: Jimmy Campbell Date: Thu, 4 Aug 2022 15:04:37 -0700 Subject: [PATCH 4/5] Fix prettier and avocado. --- .../ConfigurationStoresListKeyValues.json | 52 -- .../2022-05-01/examples/OperationsList.json | 872 +++++++++--------- 2 files changed, 436 insertions(+), 488 deletions(-) delete mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresListKeyValues.json diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresListKeyValues.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresListKeyValues.json deleted file mode 100644 index 06f9d9493145..000000000000 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresListKeyValues.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "resourceGroupName": "myResourceGroup", - "configStoreName": "contoso", - "api-version": "2022-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.AppConfiguration/configurationStores/keyValues", - "properties": { - "key": "myKey", - "label": "myLabel", - "value": "myValue", - "contentType": "", - "eTag": "IhDxoa8VkXxPsYsemBlxvV0d5fp", - "lastModified": "2020-06-23T06:42:24+00:00", - "locked": false, - "tags": { - "tag1": "tagValue1", - "tag2": "tagValue2" - } - }, - "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/keyValues/myKey$myLabel", - "name": "myKey$myLabel" - }, - { - "type": "Microsoft.AppConfiguration/configurationStores/keyValues", - "properties": { - "key": "myKey2", - "label": "myLabel2", - "value": "myValue", - "contentType": "", - "eTag": "IfDxoa8VkXxPsYsemBlxvV0d5fp", - "lastModified": "2020-06-23T06:42:24+00:00", - "locked": false, - "tags": { - "tag1": "tagValue1", - "tag2": "tagValue2" - } - }, - "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/keyValues/myKey2$myLabel2", - "name": "myKey2$myLabel2" - } - ] - } - } - } -} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json index 0066f328dc56..739595ec7bc5 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/OperationsList.json @@ -6,443 +6,443 @@ "200": { "body": { "value": [ - { - "name": "Microsoft.AppConfiguration/operations/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Operation", - "operation": "List Operations", - "description": "Lists all of the operations supported by Microsoft App Configuration." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/register/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Microsoft App Configuration", - "operation": "Register for Microsoft App Configuration", - "description": "Registers a subscription to use Microsoft App Configuration." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/unregister/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Microsoft App Configuration", - "operation": "Unregister for Microsoft App Configuration", - "description": "Unregisters a subscription from using Microsoft App Configuration." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/locations/operationsStatus/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": null, - "operation": "Get Operation Status", - "description": "Get the status of an operation." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/checkNameAvailability/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": null, - "operation": "Check Name Availability", - "description": "Check whether the resource name is available for use." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/locations/checkNameAvailability/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": null, - "operation": "Check Name Availability", - "description": "Check whether the resource name is available for use." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "Get Configuration Store or List Configuration Stores", - "description": "Gets the properties of the specified configuration store or lists all the configuration stores under the specified resource group or subscription." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/write", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "Create or Update Configuration Store", - "description": "Create or update a configuration store with the specified parameters." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "Delete Configuration Store", - "description": "Deletes a configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/ListKeys/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "List Configuration Store API Keys", - "description": "Lists the API keys for the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/RegenerateKey/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "Regenerate Configuration Store API Key", - "description": "Regenerates of the API key's for the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/ListKeyValue/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "List Configuration Store Key-Value", - "description": "Lists a key-value for the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store Event Grid Filter", - "operation": "Get Configuration Store Event Grid Filter or List Configuration Store Event Grid Filters", - "description": "Gets the properties of the specified configuration store event grid filter or lists all the configuration store event grid filters under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/write", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store Event Grid Filter", - "operation": "Create or Update Configuration Store Event Grid Filter", - "description": "Create or update a configuration store event grid filter with the specified parameters." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store Event Grid Filter", - "operation": "Delete Configuration Store Event Grid Filter", - "description": "Deletes a configuration store event grid filter." - }, - "properties": null - }, - { - "origin": "System", - "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/metricDefinitions/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Microsoft App Configuration Metric Definition.", - "operation": "Read Configuration Store Metric Definitions", - "description": "Retrieve all metric definitions for Microsoft App Configuration." - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "HttpIncomingRequestCount", - "displayName": "HttpIncomingRequestCount", - "displayDescription": "Total number of incoming http requests.", - "unit": "Count", - "aggregationType": "Count", - "internalMetricName": "HttpIncomingRequestCount", - "fillGapWithZero": true, - "dimensions": [ - { - "name": "StatusCode", - "internalName": "StatusCode", - "displayName": "HttpStatusCode" - }, - { - "name": "Authentication", - "internalName": "Authentication", - "displayName": "AuthenticationScheme" - } - ] - }, - { - "name": "HttpIncomingRequestDuration", - "displayName": "HttpIncomingRequestDuration", - "displayDescription": "Latency on an http request.", - "unit": "Count", - "aggregationType": "Average", - "internalMetricName": "HttpIncomingRequestDuration", - "fillGapWithZero": true, - "dimensions": [ - { - "name": "StatusCode", - "internalName": "StatusCode", - "displayName": "HttpStatusCode" - }, - { - "name": "Authentication", - "internalName": "Authentication", - "displayName": "AuthenticationScheme" - } - ] - }, - { - "name": "ThrottledHttpRequestCount", - "displayName": "ThrottledHttpRequestCount", - "displayDescription": "Throttled http requests.", - "unit": "Count", - "aggregationType": "Count", - "internalMetricName": "ThrottledHttpRequestCount", - "fillGapWithZero": true - } - ], - "logSpecifications": null - } - } - }, - { - "origin": "System", - "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "Read Configuration Store Diagnostic Settings", - "description": "Read all Diagnostic Settings values for a Configuration Store." - }, - "properties": null - }, - { - "origin": "System", - "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/write", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Configuration Store", - "operation": "Write Configuration Store Diagnostic Settings", - "description": "Write/Overwrite Diagnostic Settings for Microsoft App Configuration." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/logDefinitions/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Microsoft App Configuration Log Definition.", - "operation": "Read Configuration Store Log Definitions", - "description": "Retrieve all log definitions for Microsoft App Configuration." - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": null, - "logSpecifications": [ - { - "name": "HttpRequest", - "displayName": "HTTP Requests" - }, - { - "name": "Audit", - "displayName": "Audit" - } - ] - } - } - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/validate/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection Proxy", - "operation": "Validate Private Endpoint Connection Proxy", - "description": "Validate a private endpoint connection proxy under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection Proxy", - "operation": "Get Private Endpoint Connection Proxy", - "description": "Get a private endpoint connection proxy under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/write", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection Proxy", - "operation": "Create or Update Private Endpoint Connection Proxy", - "description": "Create or update a private endpoint connection proxy under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection Proxy", - "operation": "Delete Private Endpoint Connection Proxy", - "description": "Delete a private endpoint connection proxy under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection", - "operation": "Get Private Endpoint Connection or List Private Endpoint Connections", - "description": "Get a private endpoint connection or list private endpoint connections under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/write", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection", - "operation": "Approve or Reject Private Endpoint Connection", - "description": "Approve or reject a private endpoint connection under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection", - "operation": "Delete Private Endpoint Connection", - "description": "Delete a private endpoint connection under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/PrivateEndpointConnectionsApproval/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Endpoint Connection", - "operation": "Auto-Approve Private Endpoint Connection", - "description": "Auto-Approve a private endpoint connection under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/privateLinkResources/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Private Link", - "operation": "List Private Link", - "description": "Lists all the private link resources under the specified configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/keyValues/read", - "isDataAction": true, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Key-Value", - "operation": "Read Key-Value", - "description": "Reads a key-value from the configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/keyValues/write", - "isDataAction": true, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Key-Value", - "operation": "Write Key-Value", - "description": "Creates or updates a key-value in the configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/configurationStores/keyValues/delete", - "isDataAction": true, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Key-Value", - "operation": "Delete Key-Value", - "description": "Deletes an existing key-value from the configuration store." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/read", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Deleted Configuration Store", - "operation": "Get Deleted Configuration Store or List Deleted Configuration Stores", - "description": "Gets the properties of the specified deleted configuration store or lists all the deleted configuration stores under the specified subscription." - }, - "properties": null - }, - { - "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/purge/action", - "isDataAction": false, - "display": { - "provider": "Microsoft App Configuration", - "resource": "Deleted Configuration Store", - "operation": "Purge Deleted Configuration Store", - "description": "Purge the specified deleted configuration store." - }, - "properties": null + { + "name": "Microsoft.AppConfiguration/operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Operation", + "operation": "List Operations", + "description": "Lists all of the operations supported by Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration", + "operation": "Register for Microsoft App Configuration", + "description": "Registers a subscription to use Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration", + "operation": "Unregister for Microsoft App Configuration", + "description": "Unregisters a subscription from using Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/operationsStatus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Get Operation Status", + "description": "Get the status of an operation." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/checkNameAvailability/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Check Name Availability", + "description": "Check whether the resource name is available for use." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/checkNameAvailability/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Check Name Availability", + "description": "Check whether the resource name is available for use." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Get Configuration Store or List Configuration Stores", + "description": "Gets the properties of the specified configuration store or lists all the configuration stores under the specified resource group or subscription." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Create or Update Configuration Store", + "description": "Create or update a configuration store with the specified parameters." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Delete Configuration Store", + "description": "Deletes a configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/ListKeys/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "List Configuration Store API Keys", + "description": "Lists the API keys for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/RegenerateKey/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Regenerate Configuration Store API Key", + "description": "Regenerates of the API key's for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/ListKeyValue/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "List Configuration Store Key-Value", + "description": "Lists a key-value for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Get Configuration Store Event Grid Filter or List Configuration Store Event Grid Filters", + "description": "Gets the properties of the specified configuration store event grid filter or lists all the configuration store event grid filters under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Create or Update Configuration Store Event Grid Filter", + "description": "Create or update a configuration store event grid filter with the specified parameters." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Delete Configuration Store Event Grid Filter", + "description": "Deletes a configuration store event grid filter." + }, + "properties": null + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/metricDefinitions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration Metric Definition.", + "operation": "Read Configuration Store Metric Definitions", + "description": "Retrieve all metric definitions for Microsoft App Configuration." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "HttpIncomingRequestCount", + "displayName": "HttpIncomingRequestCount", + "displayDescription": "Total number of incoming http requests.", + "unit": "Count", + "aggregationType": "Count", + "internalMetricName": "HttpIncomingRequestCount", + "fillGapWithZero": true, + "dimensions": [ + { + "name": "StatusCode", + "internalName": "StatusCode", + "displayName": "HttpStatusCode" + }, + { + "name": "Authentication", + "internalName": "Authentication", + "displayName": "AuthenticationScheme" + } + ] + }, + { + "name": "HttpIncomingRequestDuration", + "displayName": "HttpIncomingRequestDuration", + "displayDescription": "Latency on an http request.", + "unit": "Count", + "aggregationType": "Average", + "internalMetricName": "HttpIncomingRequestDuration", + "fillGapWithZero": true, + "dimensions": [ + { + "name": "StatusCode", + "internalName": "StatusCode", + "displayName": "HttpStatusCode" + }, + { + "name": "Authentication", + "internalName": "Authentication", + "displayName": "AuthenticationScheme" + } + ] + }, + { + "name": "ThrottledHttpRequestCount", + "displayName": "ThrottledHttpRequestCount", + "displayDescription": "Throttled http requests.", + "unit": "Count", + "aggregationType": "Count", + "internalMetricName": "ThrottledHttpRequestCount", + "fillGapWithZero": true + } + ], + "logSpecifications": null + } } + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Read Configuration Store Diagnostic Settings", + "description": "Read all Diagnostic Settings values for a Configuration Store." + }, + "properties": null + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Write Configuration Store Diagnostic Settings", + "description": "Write/Overwrite Diagnostic Settings for Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/logDefinitions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration Log Definition.", + "operation": "Read Configuration Store Log Definitions", + "description": "Retrieve all log definitions for Microsoft App Configuration." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "HttpRequest", + "displayName": "HTTP Requests" + }, + { + "name": "Audit", + "displayName": "Audit" + } + ] + } + } + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/validate/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Validate Private Endpoint Connection Proxy", + "description": "Validate a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Get Private Endpoint Connection Proxy", + "description": "Get a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Create or Update Private Endpoint Connection Proxy", + "description": "Create or update a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Delete Private Endpoint Connection Proxy", + "description": "Delete a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Get Private Endpoint Connection or List Private Endpoint Connections", + "description": "Get a private endpoint connection or list private endpoint connections under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Approve or Reject Private Endpoint Connection", + "description": "Approve or reject a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Delete Private Endpoint Connection", + "description": "Delete a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/PrivateEndpointConnectionsApproval/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Auto-Approve Private Endpoint Connection", + "description": "Auto-Approve a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateLinkResources/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Link", + "operation": "List Private Link", + "description": "Lists all the private link resources under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/read", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Read Key-Value", + "description": "Reads a key-value from the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/write", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Write Key-Value", + "description": "Creates or updates a key-value in the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/delete", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Delete Key-Value", + "description": "Deletes an existing key-value from the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Deleted Configuration Store", + "operation": "Get Deleted Configuration Store or List Deleted Configuration Stores", + "description": "Gets the properties of the specified deleted configuration store or lists all the deleted configuration stores under the specified subscription." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/purge/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Deleted Configuration Store", + "operation": "Purge Deleted Configuration Store", + "description": "Purge the specified deleted configuration store." + }, + "properties": null + } ], "nextLink": null } From 7abd68023fd3757a8096d28d540779e7b8a05478 Mon Sep 17 00:00:00 2001 From: Jimmy Campbell Date: Thu, 2 Feb 2023 10:48:31 -0800 Subject: [PATCH 5/5] fix model validation with LRO header. --- .../2022-05-01/examples/ConfigurationStoresDelete.json | 6 +++++- .../examples/ConfigurationStoresDeleteKeyValue.json | 6 +++++- .../ConfigurationStoresDeletePrivateEndpointConnection.json | 6 +++++- .../examples/DeletedConfigurationStoresPurge.json | 6 +++++- specification/appconfiguration/resource-manager/readme.md | 6 ++++-- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDelete.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDelete.json index 8eb5c5f19a3f..ec992703f490 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDelete.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDelete.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01" + } + }, "204": {} } } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeleteKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeleteKeyValue.json index 7348b484689d..c7bb628859f2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeleteKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeleteKeyValue.json @@ -8,7 +8,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01" + } + }, "204": {} } } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeletePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeletePrivateEndpointConnection.json index 0f7130ca8dab..7a5e50cc9035 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeletePrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/ConfigurationStoresDeletePrivateEndpointConnection.json @@ -8,7 +8,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01" + } + }, "204": {} } } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/DeletedConfigurationStoresPurge.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/DeletedConfigurationStoresPurge.json index 2e56ad314937..011046355f2a 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/DeletedConfigurationStoresPurge.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/examples/DeletedConfigurationStoresPurge.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01" + } + }, "204": {} } } diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md index 91a777c2c756..791bce935399 100644 --- a/specification/appconfiguration/resource-manager/readme.md +++ b/specification/appconfiguration/resource-manager/readme.md @@ -176,12 +176,14 @@ directive: from: appconfiguration.json where: $.definitions.OperationDefinition.properties.isDataAction reason: This is a standardized ARM API. - - suppress: R4015 + - suppress: NestedResourcesMustHaveListOperation from: appconfiguration.json where: $.definitions.KeyValue - - suppress: R3010 + resource: Listing is not supported in ARM templates. + - suppress: TrackedResourceListByImmediateParent from: appconfiguration.json where: $.definitions.KeyValue + reason: Listing is not supported in ARM templates. ```