Skip to content

Commit 9055303

Browse files
mattgotteinermarkcowl
authored andcommitted
Add examples for operations list api in 2020-03-13, 2020-08-01 (Azure#21318)
* 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>
1 parent 6f7bb92 commit 9055303

File tree

4 files changed

+477
-0
lines changed

4 files changed

+477
-0
lines changed
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-03-13"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.Search/operations/read",
11+
"display": {
12+
"provider": "Microsoft Search",
13+
"resource": "Search Services",
14+
"operation": "List all available operations",
15+
"description": "Lists all of the available operations of the Microsoft.Search provider."
16+
}
17+
},
18+
{
19+
"name": "Microsoft.Search/register/action",
20+
"display": {
21+
"provider": "Microsoft Search",
22+
"resource": "Search Services",
23+
"operation": "Register the Search Resource Provider",
24+
"description": "Registers the subscription for the search resource provider and enables the creation of search services."
25+
}
26+
},
27+
{
28+
"name": "Microsoft.Search/searchServices/write",
29+
"display": {
30+
"provider": "Microsoft Search",
31+
"resource": "Search Services",
32+
"operation": "Set Search Service",
33+
"description": "Creates or updates the search service."
34+
}
35+
},
36+
{
37+
"name": "Microsoft.Search/searchServices/read",
38+
"display": {
39+
"provider": "Microsoft Search",
40+
"resource": "Search Services",
41+
"operation": "Get Search Service",
42+
"description": "Reads the search service."
43+
}
44+
},
45+
{
46+
"name": "Microsoft.Search/searchServices/delete",
47+
"display": {
48+
"provider": "Microsoft Search",
49+
"resource": "Search Services",
50+
"operation": "Delete Search Service",
51+
"description": "Deletes the search service."
52+
}
53+
},
54+
{
55+
"name": "Microsoft.Search/searchServices/start/action",
56+
"display": {
57+
"provider": "Microsoft Search",
58+
"resource": "Search Services",
59+
"operation": "Start Search Service",
60+
"description": "Starts the search service."
61+
}
62+
},
63+
{
64+
"name": "Microsoft.Search/searchServices/stop/action",
65+
"display": {
66+
"provider": "Microsoft Search",
67+
"resource": "Search Services",
68+
"operation": "Stop Search Service",
69+
"description": "Stops the search service."
70+
}
71+
},
72+
{
73+
"name": "Microsoft.Search/searchServices/listAdminKeys/action",
74+
"display": {
75+
"provider": "Microsoft Search",
76+
"resource": "Search Services",
77+
"operation": "Get Admin Key",
78+
"description": "Reads the admin keys."
79+
}
80+
},
81+
{
82+
"name": "Microsoft.Search/searchServices/regenerateAdminKey/action",
83+
"display": {
84+
"provider": "Microsoft Search",
85+
"resource": "Search Services",
86+
"operation": "Regenerate Admin Key",
87+
"description": "Regenerates the admin key."
88+
}
89+
},
90+
{
91+
"name": "Microsoft.Search/searchServices/listQueryKeys/action",
92+
"display": {
93+
"provider": "Microsoft Search",
94+
"resource": "API Keys",
95+
"operation": "Get Query Keys",
96+
"description": "Returns the list of query API keys for the given Azure Search service."
97+
}
98+
},
99+
{
100+
"name": "Microsoft.Search/searchServices/createQueryKey/action",
101+
"display": {
102+
"provider": "Microsoft Search",
103+
"resource": "Search Services",
104+
"operation": "Create Query Key",
105+
"description": "Creates the query key."
106+
}
107+
},
108+
{
109+
"name": "Microsoft.Search/searchServices/deleteQueryKey/delete",
110+
"display": {
111+
"provider": "Microsoft Search",
112+
"resource": "API Keys",
113+
"operation": "Delete Query Key",
114+
"description": "Deletes the query key."
115+
}
116+
},
117+
{
118+
"name": "Microsoft.Search/checkNameAvailability/action",
119+
"display": {
120+
"provider": "Microsoft Search",
121+
"resource": "Service Name Availability",
122+
"operation": "Check Service Name Availability",
123+
"description": "Checks availability of the service name."
124+
}
125+
},
126+
{
127+
"name": "Microsoft.Search/searchServices/diagnosticSettings/read",
128+
"display": {
129+
"provider": "Microsoft Search",
130+
"resource": "Diagnostic Settings",
131+
"operation": "Get Diagnostic Setting",
132+
"description": "Gets the diganostic setting read for the resource"
133+
}
134+
},
135+
{
136+
"name": "Microsoft.Search/searchServices/diagnosticSettings/write",
137+
"display": {
138+
"provider": "Microsoft Search",
139+
"resource": "Diagnostic Settings",
140+
"operation": "Set Diagnostic Setting",
141+
"description": "Creates or updates the diganostic setting for the resource"
142+
}
143+
},
144+
{
145+
"name": "Microsoft.Search/searchServices/metricDefinitions/read",
146+
"display": {
147+
"provider": "Microsoft Search",
148+
"resource": "The metric definitions for the search service",
149+
"operation": "Read search service metric definitions",
150+
"description": "Gets the available metrics for the search service"
151+
}
152+
},
153+
{
154+
"name": "Microsoft.Search/searchServices/logDefinitions/read",
155+
"display": {
156+
"provider": "Microsoft Search",
157+
"resource": "The log definition for the search service",
158+
"operation": "Read search service log definitions",
159+
"description": "Gets the available logs for the search service"
160+
}
161+
},
162+
{
163+
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/validate/action",
164+
"display": {
165+
"provider": "Microsoft Search",
166+
"resource": "Private Endpoint Connection Proxy",
167+
"operation": "Validate Private Endpoint Connection Proxy",
168+
"description": "Validates a private endpoint connection create call from NRP side"
169+
}
170+
},
171+
{
172+
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/write",
173+
"display": {
174+
"provider": "Microsoft Search",
175+
"resource": "Private Endpoint Connection Proxy",
176+
"operation": "Create Private Endpoint Connection Proxy",
177+
"description": "Creates a private endpoint connection proxy with the specified parameters or updates the properties or tags for the specified private endpoint connection proxy"
178+
}
179+
},
180+
{
181+
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/read",
182+
"display": {
183+
"provider": "Microsoft Search",
184+
"resource": "Private Endpoint Connection Proxy",
185+
"operation": "Get Private Endpoint Connection Proxy",
186+
"description": "Returns the list of private endpoint connection proxies or gets the properties for the specified private endpoint connection proxy"
187+
}
188+
},
189+
{
190+
"name": "Microsoft.Search/searchServices/privateEndpointConnectionProxies/delete",
191+
"display": {
192+
"provider": "Microsoft Search",
193+
"resource": "Private Endpoint Connection Proxy",
194+
"operation": "Delete Private Endpoint Connection Proxy",
195+
"description": "Deletes an existing private endpoint connection proxy"
196+
}
197+
}
198+
]
199+
}
200+
}
201+
}
202+
}

specification/search/resource-manager/Microsoft.Search/stable/2020-03-13/search.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
],
4242
"description": "Lists all of the available REST API operations of the Microsoft.Search provider.",
4343
"operationId": "Operations_List",
44+
"x-ms-examples": {
45+
"OperationsList": {
46+
"$ref": "./examples/OperationsList.json"
47+
}
48+
},
4449
"parameters": [
4550
{
4651
"$ref": "#/parameters/ApiVersionParameter"

0 commit comments

Comments
 (0)