Skip to content

Commit

Permalink
[Hub Generated] Publish private branch 'user/jimmyca/fixAppConfigSpec' (
Browse files Browse the repository at this point in the history
#19882)

* 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.

* Add suggested message.

* Fix lint errors.

* Fix prettier and avocado.

* fix model validation with LRO header.
  • Loading branch information
jimmyca15 authored Feb 3, 2023
1 parent 638734a commit 2c4244e
Show file tree
Hide file tree
Showing 9 changed files with 489 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,11 @@
}
}
},
"x-ms-examples": {},
"x-ms-examples": {
"Operations_List": {
"$ref": "./examples/OperationsList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -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. Private endpoint connections must be created with the Network resource provider.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -1900,6 +1852,7 @@
"description": "Describes a configuration store SKU."
},
"ErrorDetails": {
"type": "object",
"description": "The details of the error.",
"properties": {
"code": {
Expand Down Expand Up @@ -1934,6 +1887,7 @@
}
},
"ErrorAdditionalInfo": {
"type": "object",
"properties": {
"type": {
"readOnly": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
}
}
Loading

0 comments on commit 2c4244e

Please sign in to comment.