Skip to content

Commit

Permalink
add cli.md for msi and fix location parameter (Azure#8520)
Browse files Browse the repository at this point in the history
  • Loading branch information
00Kai0 authored and tasharm-0412 committed Mar 4, 2020
1 parent b6a45e6 commit 3ea4bfb
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"resourceGroupName": "rgName",
"resourceName": "resourceName",
"parameters": {
"location": "cus",
"location": "eastus",
"tags": {
"key1": "value1",
"key2": "value2"
Expand All @@ -16,7 +16,7 @@
"201": {
"body": {
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
"location": "cus",
"location": "eastus",
"name": "identityName",
"properties": {
"clientId": "clientGUID",
Expand All @@ -33,7 +33,7 @@
"200": {
"body": {
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
"location": "cus",
"location": "eastus",
"name": "identityName",
"properties": {
"clientId": "clientGUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"200": {
"body": {
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
"location": "cus",
"location": "eastus",
"name": "identityName",
"properties": {
"clientId": "clientGUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"value": [
{
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
"location": "cus",
"location": "eastus",
"name": "identityName",
"properties": {
"clientId": "clientGUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"value": [
{
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
"location": "cus",
"location": "eastus",
"name": "identityName",
"properties": {
"clientId": "clientGUID",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"resourceGroupName": "rgName",
"resourceName": "resourceName",
"parameters": {
"location": "cus",
"location": "eastus",
"tags": {
"key1": "value1",
"key2": "value2"
Expand All @@ -16,7 +16,7 @@
"200": {
"body": {
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
"location": "cus",
"location": "eastus",
"name": "identityName",
"properties": {
"clientId": "clientGUID",
Expand Down
19 changes: 19 additions & 0 deletions specification/msi/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## CLI

These settings don't need to apply `--cli` on the command line.

``` yaml
cli:
cli-name: msi
package-name: azure-mgmt-msi
namespace: azure.mgmt.msi
test-scenario:
- name: IdentityCreate
- name: IdentityGet
- name: IdentityListByResourceGroup
- name: IdentityListBySubscription
- name: MsiOperationsList
- name: MsiOperationsList
- name: IdentityUpdate
- name: IdentityDelete
```

0 comments on commit 3ea4bfb

Please sign in to comment.