-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WaitForARMFeedback] Add api get_services_by_subscription of Azure Se…
…arch (#5123) * add api get_services_by_subscription Add path of API "get search services by subscription" (GET/SUBSCRIPTIONS/PROVIDERS/MICROSOFT.SEARCH/SEARCHSERVICES) in the spec of API version 2015-08-19 of Azure Search (Microsoft.Search). Along with a sample. * Update search.json Rename example reference name
- Loading branch information
1 parent
45509eb
commit f3a5ad9
Showing
2 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesBySubscription.json
This file contains 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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2015-08-19", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice", | ||
"name": "mysearchservice", | ||
"location": "westus", | ||
"type": "Microsoft.Search/searchServices", | ||
"tags": { | ||
"app-name": "My e-commerce app" | ||
}, | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"properties":{ | ||
"replicaCount": 3, | ||
"partitionCount": 1, | ||
"status": "running", | ||
"statusDetails": "", | ||
"hostingMode": "default", | ||
"provisioningState": "succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Search/searchServices/mysearchservice2", | ||
"name": "mysearchservice2", | ||
"location": "eastus", | ||
"type": "Microsoft.Search/searchServices", | ||
"tags": { | ||
"app-name": "My e-commerce app" | ||
}, | ||
"sku": { | ||
"name": "basic" | ||
}, | ||
"properties":{ | ||
"replicaCount": 1, | ||
"partitionCount": 1, | ||
"status": "running", | ||
"statusDetails": "", | ||
"hostingMode": "default", | ||
"provisioningState": "succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains 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