-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Search: Resource Manager: Support 'None' Identity type (#5319)
* Azure Search: Resource Manager: Support 'None' Identity type * Azure Search: Resource Manager: Adding serice identity creation\removal examples
- Loading branch information
1 parent
27ad7f3
commit 04d09a9
Showing
3 changed files
with
128 additions
and
2 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
.../Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.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,81 @@ | ||
{ | ||
"parameters": { | ||
"searchServiceName": "mysearchservice", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2015-08-19", | ||
"subscriptionId": "subid", | ||
"service": { | ||
"location": "westus", | ||
"tags": { | ||
"app-name": "My e-commerce app" | ||
}, | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"properties": { | ||
"replicaCount": 3, | ||
"partitionCount": 1, | ||
"hostingMode": "default" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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": "provisioning", | ||
"statusDetails": "", | ||
"hostingMode": "default", | ||
"provisioningState": "provisioning" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c", | ||
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"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": "provisioning", | ||
"statusDetails": "", | ||
"hostingMode": "default", | ||
"provisioningState": "provisioning" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c", | ||
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd" | ||
} | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.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,42 @@ | ||
{ | ||
"parameters": { | ||
"searchServiceName": "mysearchservice", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2015-08-19", | ||
"subscriptionId": "subid", | ||
"service": { | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice", | ||
"name": "mysearchservice", | ||
"location": "westus", | ||
"type": "Microsoft.Search/searchServices", | ||
"tags": { | ||
}, | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"properties":{ | ||
"replicaCount": 3, | ||
"partitionCount": 1, | ||
"status": "running", | ||
"statusDetails": "", | ||
"hostingMode": "default", | ||
"provisioningState": "succeeded" | ||
}, | ||
"identity": { | ||
"type": "None" | ||
} | ||
} | ||
} | ||
} | ||
} |
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