Skip to content

Commit

Permalink
Add examples for operations list api in 2020-03-13, 2020-08-01 (#21318)
Browse files Browse the repository at this point in the history
* Add blockchain to latest profile

* Add additional types

* add examples to Operations List

* update examples

* fix examples

* prettier fix

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
  • Loading branch information
mattgotteiner and markcowl authored Nov 2, 2022
1 parent 47bcc43 commit 60be34a
Show file tree
Hide file tree
Showing 4 changed files with 477 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
{
"parameters": {
"api-version": "2020-03-13"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Search/operations/read",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "List all available operations",
"description": "Lists all of the available operations of the Microsoft.Search provider."
}
},
{
"name": "Microsoft.Search/register/action",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Register the Search Resource Provider",
"description": "Registers the subscription for the search resource provider and enables the creation of search services."
}
},
{
"name": "Microsoft.Search/searchServices/write",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Set Search Service",
"description": "Creates or updates the search service."
}
},
{
"name": "Microsoft.Search/searchServices/read",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Get Search Service",
"description": "Reads the search service."
}
},
{
"name": "Microsoft.Search/searchServices/delete",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Delete Search Service",
"description": "Deletes the search service."
}
},
{
"name": "Microsoft.Search/searchServices/start/action",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Start Search Service",
"description": "Starts the search service."
}
},
{
"name": "Microsoft.Search/searchServices/stop/action",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Stop Search Service",
"description": "Stops the search service."
}
},
{
"name": "Microsoft.Search/searchServices/listAdminKeys/action",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Get Admin Key",
"description": "Reads the admin keys."
}
},
{
"name": "Microsoft.Search/searchServices/regenerateAdminKey/action",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Regenerate Admin Key",
"description": "Regenerates the admin key."
}
},
{
"name": "Microsoft.Search/searchServices/listQueryKeys/action",
"display": {
"provider": "Microsoft Search",
"resource": "API Keys",
"operation": "Get Query Keys",
"description": "Returns the list of query API keys for the given Azure Search service."
}
},
{
"name": "Microsoft.Search/searchServices/createQueryKey/action",
"display": {
"provider": "Microsoft Search",
"resource": "Search Services",
"operation": "Create Query Key",
"description": "Creates the query key."
}
},
{
"name": "Microsoft.Search/searchServices/deleteQueryKey/delete",
"display": {
"provider": "Microsoft Search",
"resource": "API Keys",
"operation": "Delete Query Key",
"description": "Deletes the query key."
}
},
{
"name": "Microsoft.Search/checkNameAvailability/action",
"display": {
"provider": "Microsoft Search",
"resource": "Service Name Availability",
"operation": "Check Service Name Availability",
"description": "Checks availability of the service name."
}
},
{
"name": "Microsoft.Search/searchServices/diagnosticSettings/read",
"display": {
"provider": "Microsoft Search",
"resource": "Diagnostic Settings",
"operation": "Get Diagnostic Setting",
"description": "Gets the diganostic setting read for the resource"
}
},
{
"name": "Microsoft.Search/searchServices/diagnosticSettings/write",
"display": {
"provider": "Microsoft Search",
"resource": "Diagnostic Settings",
"operation": "Set Diagnostic Setting",
"description": "Creates or updates the diganostic setting for the resource"
}
},
{
"name": "Microsoft.Search/searchServices/metricDefinitions/read",
"display": {
"provider": "Microsoft Search",
"resource": "The metric definitions for the search service",
"operation": "Read search service metric definitions",
"description": "Gets the available metrics for the search service"
}
},
{
"name": "Microsoft.Search/searchServices/logDefinitions/read",
"display": {
"provider": "Microsoft Search",
"resource": "The log definition for the search service",
"operation": "Read search service log definitions",
"description": "Gets the available logs for the search service"
}
},
{
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/validate/action",
"display": {
"provider": "Microsoft Search",
"resource": "Private Endpoint Connection Proxy",
"operation": "Validate Private Endpoint Connection Proxy",
"description": "Validates a private endpoint connection create call from NRP side"
}
},
{
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/write",
"display": {
"provider": "Microsoft Search",
"resource": "Private Endpoint Connection Proxy",
"operation": "Create Private Endpoint Connection Proxy",
"description": "Creates a private endpoint connection proxy with the specified parameters or updates the properties or tags for the specified private endpoint connection proxy"
}
},
{
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/read",
"display": {
"provider": "Microsoft Search",
"resource": "Private Endpoint Connection Proxy",
"operation": "Get Private Endpoint Connection Proxy",
"description": "Returns the list of private endpoint connection proxies or gets the properties for the specified private endpoint connection proxy"
}
},
{
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/delete",
"display": {
"provider": "Microsoft Search",
"resource": "Private Endpoint Connection Proxy",
"operation": "Delete Private Endpoint Connection Proxy",
"description": "Deletes an existing private endpoint connection proxy"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
],
"description": "Lists all of the available REST API operations of the Microsoft.Search provider.",
"operationId": "Operations_List",
"x-ms-examples": {
"OperationsList": {
"$ref": "./examples/OperationsList.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Loading

0 comments on commit 60be34a

Please sign in to comment.