Skip to content

Commit

Permalink
add operations example and secret tag to password
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfredo Santamaria Gomez committed Jul 15, 2020
1 parent cf5d125 commit 3ed3369
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-01-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.ServiceFabric/managedClusters/read",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "managedClusters",
"operation": "Read Cluster",
"description": "Read any Cluster"
}
},
{
"name": "Microsoft.ServiceFabric/managedClusters/write",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "managedClusters",
"operation": "Create or Update Cluster",
"description": "Create or Update any Cluster"
}
},
{
"name": "Microsoft.ServiceFabric/managedClusters/delete",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "managedClusters",
"operation": "Delete Cluster",
"description": "Delete any Cluster"
}
},
{
"name": "Microsoft.ServiceFabric/locations/clusterVersions/read",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "Cluster Versions",
"operation": "Read Cluster Version",
"description": "Read any Cluster Version"
}
},
{
"name": "Microsoft.ServiceFabric/managedclusters/locations/osType/clusterVersions/read",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "Cluster Versions By Os",
"operation": "Read Cluster Version By Os",
"description": "Read any Cluster Version for a specific os"
}
},
{
"name": "Microsoft.ServiceFabric/nodeTypes/read",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "nodeTypes",
"operation": "Read Node type",
"description": "Read any Node type"
}
},
{
"name": "Microsoft.ServiceFabric/nodeTypes/write",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "nodeTypes",
"operation": "Create or Update Node type",
"description": "Create or Update any Node type"
}
},
{
"name": "Microsoft.ServiceFabric/nodeTypes/delete",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "nodeTypes",
"operation": "Delete Node type",
"description": "Delete any Node type"
}
},
{
"name": "Microsoft.ServiceFabric/nodeTypes/restart/action",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "nodeTypes",
"operation": "Restart nodes from Node type",
"description": "Restart nodes from Node type"
}
},
{
"name": "Microsoft.ServiceFabric/nodeTypes/reimage/action",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "nodeTypes",
"operation": "Reimage nodes from Node type",
"description": "Reimage nodes from Node type"
}
},
{
"name": "Microsoft.ServiceFabric/nodeTypes/deleteNode/action",
"display": {
"provider": "Microsoft ServiceFabric",
"resource": "nodeTypes",
"operation": "Delete nodes from Node type",
"description": "Delete nodes from Node type"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@
"description": "vm admin user name."
},
"adminPassword": {
"x-ms-secret": true,
"type": "string",
"format": "password",
"description": "vm admin user password."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"type": "string"
}
],
"x-ms-examples": {
"List node type of the specified managed cluster": {
"$ref": "./examples/Operations_example.json"
}
},
"responses": {
"200": {
"description": "OK. The request has succeeded.",
Expand Down

0 comments on commit 3ed3369

Please sign in to comment.