-
Notifications
You must be signed in to change notification settings - Fork 5.7k
ApiManagement - renaming /properties entity to /namedValues #7683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
solankisamir
merged 2 commits into
Azure:apim-2019-12-01-preview
from
vfedonkin:apim-2019-12-01-preview
Nov 4, 2019
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| "swagger": "2.0", | ||
| "info": { | ||
| "title": "ApiManagementClient", | ||
| "description": "Use these REST APIs for performing operations on Property entity associated with your Azure API Management deployment. API Management policies are a powerful capability of the system that allow the publisher to change the behavior of the API through configuration. Policies are a collection of statements that are executed sequentially on the request or response of an API. Policy statements can be constructed using literal text values, policy expressions, and properties. Each API Management service instance has a properties collection of key/value pairs that are global to the service instance. These properties can be used to manage constant string values across all API configuration and policies.", | ||
| "description": "Use these REST APIs for performing operations on NamedValue entity associated with your Azure API Management deployment. API Management policies are a powerful capability of the system that allow the publisher to change the behavior of the API through configuration. Policies are a collection of statements that are executed sequentially on the request or response of an API. Policy statements can be constructed using literal text values, policy expressions, and NamedValues. Each API Management service instance has a NamedValues collection of key/value pairs that are global to the service instance. These NamedValues can be used to manage constant string values across all API configuration and policies.", | ||
| "version": "2019-12-01-preview" | ||
| }, | ||
| "host": "management.azure.com", | ||
|
|
@@ -34,19 +34,19 @@ | |
| } | ||
| }, | ||
| "paths": { | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties": { | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues": { | ||
| "get": { | ||
| "tags": [ | ||
| "Property" | ||
| "NamedValue" | ||
| ], | ||
| "operationId": "Property_ListByService", | ||
| "description": "Lists a collection of properties defined within a service instance.", | ||
| "operationId": "NamedValue_ListByService", | ||
| "description": "Lists a collection of NamedValues defined within a service instance.", | ||
| "externalDocs": { | ||
| "url": "https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-properties" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
we should ask the PM to rename the doc name :) #Closed
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I asked Mike to do this #Closed |
||
| }, | ||
| "x-ms-examples": { | ||
| "ApiManagementListProperties": { | ||
| "$ref": "./examples/ApiManagementListProperties.json" | ||
| "ApiManagementListNamedValues": { | ||
| "$ref": "./examples/ApiManagementListNamedValues.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
|
|
@@ -78,9 +78,9 @@ | |
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "A Collection of the Property entities for the specified API Management service instance.", | ||
| "description": "A Collection of the NamedValue entities for the specified API Management service instance.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/PropertyCollection" | ||
| "$ref": "./definitions.json#/definitions/NamedValueCollection" | ||
| } | ||
| }, | ||
| "default": { | ||
|
|
@@ -93,19 +93,19 @@ | |
| "x-ms-pageable": { | ||
| "nextLinkName": "nextLink" | ||
| }, | ||
| "x-ms-odata": "./definitions.json#/definitions/PropertyContract" | ||
| "x-ms-odata": "./definitions.json#/definitions/NamedValueContract" | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}": { | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}": { | ||
| "head": { | ||
| "tags": [ | ||
| "Property" | ||
| "NamedValue" | ||
| ], | ||
| "operationId": "Property_GetEntityTag", | ||
| "description": "Gets the entity state (Etag) version of the property specified by its identifier.", | ||
| "operationId": "NamedValue_GetEntityTag", | ||
| "description": "Gets the entity state (Etag) version of the NamedValue specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementHeadProperty": { | ||
| "$ref": "./examples/ApiManagementHeadProperty.json" | ||
| "ApiManagementHeadNamedValue": { | ||
| "$ref": "./examples/ApiManagementHeadNamedValue.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
|
|
@@ -116,7 +116,7 @@ | |
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/PropertyIdParameter" | ||
| "$ref": "./apimanagement.json#/parameters/NamedValueIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" | ||
|
|
@@ -127,7 +127,7 @@ | |
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Specified Property entity exists and current entity state version is present in the ETag header.", | ||
| "description": "Specified NamedValue entity exists and current entity state version is present in the ETag header.", | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
|
|
@@ -145,13 +145,13 @@ | |
| }, | ||
| "get": { | ||
| "tags": [ | ||
| "Property" | ||
| "NamedValue" | ||
| ], | ||
| "operationId": "Property_Get", | ||
| "description": "Gets the details of the property specified by its identifier.", | ||
| "operationId": "NamedValue_Get", | ||
| "description": "Gets the details of the NamedValue specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementGetProperty": { | ||
| "$ref": "./examples/ApiManagementGetProperty.json" | ||
| "ApiManagementGetNamedValue": { | ||
| "$ref": "./examples/ApiManagementGetNamedValue.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
|
|
@@ -162,7 +162,7 @@ | |
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/PropertyIdParameter" | ||
| "$ref": "./apimanagement.json#/parameters/NamedValueIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" | ||
|
|
@@ -173,9 +173,9 @@ | |
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "The response body contains the specified Property entity.", | ||
| "description": "The response body contains the specified NamedValue entity.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/PropertyContract" | ||
| "$ref": "./definitions.json#/definitions/NamedValueContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
|
|
@@ -194,13 +194,13 @@ | |
| }, | ||
| "put": { | ||
| "tags": [ | ||
| "Property" | ||
| "NamedValue" | ||
| ], | ||
| "operationId": "Property_CreateOrUpdate", | ||
| "description": "Creates or updates a property.", | ||
| "operationId": "NamedValue_CreateOrUpdate", | ||
| "description": "Creates or updates a NamedValue.", | ||
| "x-ms-examples": { | ||
| "ApiManagementCreateProperty": { | ||
| "$ref": "./examples/ApiManagementCreateProperty.json" | ||
| "ApiManagementCreateNamedValue": { | ||
| "$ref": "./examples/ApiManagementCreateNamedValue.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
|
|
@@ -211,14 +211,14 @@ | |
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/PropertyIdParameter" | ||
| "$ref": "./apimanagement.json#/parameters/NamedValueIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/PropertyContract" | ||
| "$ref": "./definitions.json#/definitions/NamedValueContract" | ||
| }, | ||
| "description": "Create parameters." | ||
| }, | ||
|
|
@@ -234,9 +234,9 @@ | |
| ], | ||
| "responses": { | ||
| "201": { | ||
| "description": "Property was successfully created.", | ||
| "description": "NamedValue was successfully created.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/PropertyContract" | ||
| "$ref": "./definitions.json#/definitions/NamedValueContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
|
|
@@ -246,9 +246,9 @@ | |
| } | ||
| }, | ||
| "200": { | ||
| "description": "Property was successfully updated.", | ||
| "description": "NamedValue was successfully updated.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/PropertyContract" | ||
| "$ref": "./definitions.json#/definitions/NamedValueContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
|
|
@@ -267,13 +267,13 @@ | |
| }, | ||
| "patch": { | ||
| "tags": [ | ||
| "Property" | ||
| "NamedValue" | ||
| ], | ||
| "operationId": "Property_Update", | ||
| "description": "Updates the specific property.", | ||
| "operationId": "NamedValue_Update", | ||
| "description": "Updates the specific NamedValue.", | ||
| "x-ms-examples": { | ||
| "ApiManagementUpdateProperty": { | ||
| "$ref": "./examples/ApiManagementUpdateProperty.json" | ||
| "ApiManagementUpdateNamedValue": { | ||
| "$ref": "./examples/ApiManagementUpdateNamedValue.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
|
|
@@ -284,14 +284,14 @@ | |
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/PropertyIdParameter" | ||
| "$ref": "./apimanagement.json#/parameters/NamedValueIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/PropertyUpdateParameters" | ||
| "$ref": "./definitions.json#/definitions/NamedValueUpdateParameters" | ||
| }, | ||
| "description": "Update parameters." | ||
| }, | ||
|
|
@@ -307,7 +307,7 @@ | |
| ], | ||
| "responses": { | ||
| "204": { | ||
| "description": "Property was successfully updated." | ||
| "description": "NamedValue was successfully updated." | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
|
|
@@ -319,13 +319,13 @@ | |
| }, | ||
| "delete": { | ||
| "tags": [ | ||
| "Property" | ||
| "NamedValue" | ||
| ], | ||
| "operationId": "Property_Delete", | ||
| "description": "Deletes specific property from the API Management service instance.", | ||
| "operationId": "NamedValue_Delete", | ||
| "description": "Deletes specific NamedValue from the API Management service instance.", | ||
| "x-ms-examples": { | ||
| "ApiManagementDeleteProperty": { | ||
| "$ref": "./examples/ApiManagementDeleteProperty.json" | ||
| "ApiManagementDeleteNamedValue": { | ||
| "$ref": "./examples/ApiManagementDeleteNamedValue.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
|
|
@@ -336,7 +336,7 @@ | |
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/PropertyIdParameter" | ||
| "$ref": "./apimanagement.json#/parameters/NamedValueIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" | ||
|
|
@@ -350,10 +350,10 @@ | |
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Property was successfully deleted." | ||
| "description": "NamedValue was successfully deleted." | ||
| }, | ||
| "204": { | ||
| "description": "Property was successfully deleted." | ||
| "description": "NamedValue was successfully deleted." | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lowercase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually we use upper case. Like "Lists a collection of all external Caches in the specified service instance."