Skip to content

Instantly share code, notes, and snippets.

@govindk
govindk / AzureSearchMin
Created June 4, 2015 10:02
Minimal Azure Search REST format for Index
# "type": "Edm.String | Collection(Edm.String) | Edm.Int32 | Edm.Int64 | Edm.Double | Edm.Boolean | Edm.DateTimeOffset | Edm.GeographyPoint",
# "searchable": true (default where applicable) | false (only Edm.String and Collection(Edm.String) fields can be searchable),
# "filterable": true (default) | false,
# "sortable": true (default where applicable) | false (Collection(Edm.String) fields cannot be sortable),
# "facetable": true (default where applicable) | false (Edm.GeographyPoint fields cannot be facetable),
# "key": true | false (default, only Edm.String fields can be keys),
# "retrievable": true (default) | false,
# "analyzer": "name of text analyzer"
{
@govindk
govindk / gist:10b2fa173620c2241d9e
Last active August 29, 2015 14:20
2015-GSK-API-ARM-Providers- list
https://management.azure.com/subscriptions/<subscriptionid>/providers?api-version=2015-01-01
{
"value": [
{
"id": "/subscriptions/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/providers/Microsoft.ApiManagement",
"namespace": "Microsoft.ApiManagement",
"resourceTypes": [
{
"resourceType": "service",