diff --git a/Commands/monitor/log-analytics/readme.md b/Commands/monitor/log-analytics/readme.md index 47d53efd8..f332d1d44 100644 --- a/Commands/monitor/log-analytics/readme.md +++ b/Commands/monitor/log-analytics/readme.md @@ -10,5 +10,8 @@ Manage Azure log analytics. - [query-pack](/Commands/monitor/log-analytics/query-pack/readme.md) : Manage Azure log analytics query pack. +- [solution](/Commands/monitor/log-analytics/solution/readme.md) +: Commands to manage monitor log-analytics solution. + - [workspace](/Commands/monitor/log-analytics/workspace/readme.md) : Manage Azure log analytics workspace diff --git a/Commands/monitor/log-analytics/solution/_create.md b/Commands/monitor/log-analytics/solution/_create.md new file mode 100644 index 000000000..103d4ddfe --- /dev/null +++ b/Commands/monitor/log-analytics/solution/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor log-analytics solution create_ + +Create the Solution. + +## Versions + +### [2015-11-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml) **Stable** + + + +#### examples + +- Create a log-analytics solution of type Containers + ```bash + monitor log-analytics solution create --resource-group MyResourceGroup --solution-type Containers --tags key=value --workspace "/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/ Microsoft.OperationalInsights/workspaces/{WorkspaceName}" + ``` diff --git a/Commands/monitor/log-analytics/solution/_delete.md b/Commands/monitor/log-analytics/solution/_delete.md new file mode 100644 index 000000000..a36f13f0b --- /dev/null +++ b/Commands/monitor/log-analytics/solution/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor log-analytics solution delete_ + +Delete the solution in the subscription. + +## Versions + +### [2015-11-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml) **Stable** + + + +#### examples + +- Delete a log-analytics solution + ```bash + monitor log-analytics solution delete --resource-group MyResourceGroup --name SolutionName + ``` diff --git a/Commands/monitor/log-analytics/solution/_list.md b/Commands/monitor/log-analytics/solution/_list.md new file mode 100644 index 000000000..05c61684a --- /dev/null +++ b/Commands/monitor/log-analytics/solution/_list.md @@ -0,0 +1,27 @@ +# [Command] _monitor log-analytics solution list_ + +List the solution list. It will retrieve both first party and third party solutions + +## Versions + +### [2015-11-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.xml) **Stable** + + + + +#### examples + +- List all log-analytics solutions in the current subscription + ```bash + monitor log-analytics solution list + ``` + +- List all log-analytics solutions in a subscription + ```bash + monitor log-analytics solution list --subscription MySubscription + ``` + +- List all log-analytics solutions in a resource group + ```bash + monitor log-analytics solution list --resource-group MyResourceGroup + ``` diff --git a/Commands/monitor/log-analytics/solution/_show.md b/Commands/monitor/log-analytics/solution/_show.md new file mode 100644 index 000000000..8ab5dc2c9 --- /dev/null +++ b/Commands/monitor/log-analytics/solution/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor log-analytics solution show_ + +Get the user solution. + +## Versions + +### [2015-11-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml) **Stable** + + + +#### examples + +- Show a log-analytics solution + ```bash + monitor log-analytics solution show --resource-group MyResourceGroup --name SolutionName + ``` diff --git a/Commands/monitor/log-analytics/solution/_update.md b/Commands/monitor/log-analytics/solution/_update.md new file mode 100644 index 000000000..70f7d0194 --- /dev/null +++ b/Commands/monitor/log-analytics/solution/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor log-analytics solution update_ + +Update a Solution. Only updating tags supported. + +## Versions + +### [2015-11-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml) **Stable** + + + +#### examples + +- Update a log-analytics solution + ```bash + monitor log-analytics solution update --resource-group MyResourceGroup --name SolutionName --tags key=value + ``` diff --git a/Commands/monitor/log-analytics/solution/readme.md b/Commands/monitor/log-analytics/solution/readme.md new file mode 100644 index 000000000..47e9a63b1 --- /dev/null +++ b/Commands/monitor/log-analytics/solution/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor log-analytics solution_ + +Commands to manage monitor log-analytics solution. + +## Commands + +- [create](/Commands/monitor/log-analytics/solution/_create.md) +: Create the Solution. + +- [delete](/Commands/monitor/log-analytics/solution/_delete.md) +: Delete the solution in the subscription. + +- [list](/Commands/monitor/log-analytics/solution/_list.md) +: List the solution list. It will retrieve both first party and third party solutions + +- [show](/Commands/monitor/log-analytics/solution/_show.md) +: Get the user solution. + +- [update](/Commands/monitor/log-analytics/solution/_update.md) +: Update a Solution. Only updating tags supported. diff --git a/Commands/tree.json b/Commands/tree.json index 78a21093d..6a403b136 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -27173,6 +27173,190 @@ "query-pack" ] }, + "solution": { + "commands": { + "create": { + "help": { + "short": "Create the Solution." + }, + "names": [ + "monitor", + "log-analytics", + "solution", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics solution create --resource-group MyResourceGroup --solution-type Containers --tags key=value --workspace \"/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/ Microsoft.OperationalInsights/workspaces/{WorkspaceName}\"" + ], + "name": "Create a log-analytics solution of type Containers" + } + ], + "name": "2015-11-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", + "plane": "mgmt-plane", + "version": "2015-11-01-preview" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete the solution in the subscription." + }, + "names": [ + "monitor", + "log-analytics", + "solution", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics solution delete --resource-group MyResourceGroup --name SolutionName" + ], + "name": "Delete a log-analytics solution" + } + ], + "name": "2015-11-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", + "plane": "mgmt-plane", + "version": "2015-11-01-preview" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List the solution list. It will retrieve both first party and third party solutions" + }, + "names": [ + "monitor", + "log-analytics", + "solution", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics solution list" + ], + "name": "List all log-analytics solutions in the current subscription" + }, + { + "commands": [ + "monitor log-analytics solution list --subscription MySubscription" + ], + "name": "List all log-analytics solutions in a subscription" + }, + { + "commands": [ + "monitor log-analytics solution list --resource-group MyResourceGroup" + ], + "name": "List all log-analytics solutions in a resource group" + } + ], + "name": "2015-11-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.operationsmanagement/solutions", + "plane": "mgmt-plane", + "version": "2015-11-01-preview" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions", + "plane": "mgmt-plane", + "version": "2015-11-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the user solution." + }, + "names": [ + "monitor", + "log-analytics", + "solution", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics solution show --resource-group MyResourceGroup --name SolutionName" + ], + "name": "Show a log-analytics solution" + } + ], + "name": "2015-11-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", + "plane": "mgmt-plane", + "version": "2015-11-01-preview" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a Solution. Only updating tags supported." + }, + "names": [ + "monitor", + "log-analytics", + "solution", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics solution update --resource-group MyResourceGroup --name SolutionName --tags key=value" + ], + "name": "Update a log-analytics solution" + } + ], + "name": "2015-11-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", + "plane": "mgmt-plane", + "version": "2015-11-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Commands to manage monitor log-analytics solution." + }, + "names": [ + "monitor", + "log-analytics", + "solution" + ] + }, "workspace": { "commandGroups": { "data-export": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.json new file mode 100644 index 000000000..65fcea6aa --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationsmanagement/solutions", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbnNNYW5hZ2VtZW50L3NvbHV0aW9ucw==/V/MjAxNS0xMS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25z/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor log-analytics solution", "commands": [{"name": "list", "version": "2015-11-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationsmanagement/solutions", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbnNNYW5hZ2VtZW50L3NvbHV0aW9ucw==/V/MjAxNS0xMS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25z/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Solutions_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Solutions_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Solutions_ListBySubscription"], "operationId": "Solutions_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-11-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationsManagement/solutions/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "promotionCode"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "containedResources", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "referencedResources", "item": {"type": "string"}}, {"type": "string", "name": "workspaceResourceId", "required": true}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Solutions_ListByResourceGroup"], "operationId": "Solutions_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-11-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationsManagement/solutions/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "promotionCode"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "containedResources", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "referencedResources", "item": {"type": "string"}}, {"type": "string", "name": "workspaceResourceId", "required": true}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.xml new file mode 100644 index 000000000..1079afa4a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.xml @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.md new file mode 100644 index 000000000..387adb38d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.operationsmanagement/solutions 2015-11-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnM=/2015-11-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.json new file mode 100644 index 000000000..b997d0c3b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25zL3tzb2x1dGlvbk5hbWV9/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor log-analytics solution", "commands": [{"name": "show", "version": "2015-11-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25zL3tzb2x1dGlvbk5hbWV9/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.solutionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the log-analytics solution. It should be in the format of solutionType(workspaceName). SolutionType part is case sensitive."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Solutions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "solutionName", "arg": "$Path.solutionName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-11-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationsManagement/solutions/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "promotionCode"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "containedResources", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "referencedResources", "item": {"type": "string"}}, {"type": "string", "name": "workspaceResourceId", "required": true}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2015-11-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25zL3tzb2x1dGlvbk5hbWV9/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.solutionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the log-analytics solution. It should be in the format of solutionType(workspaceName). SolutionType part is case sensitive."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Solutions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "solutionName", "arg": "$Path.solutionName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-11-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2015-11-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25zL3tzb2x1dGlvbk5hbWV9/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.solutionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the log-analytics solution. It should be in the format of solutionType(workspaceName). SolutionType part is case sensitive."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.plan", "options": ["plan"], "group": "", "help": {"short": "Plan for solution object supported by the OperationsManagement resource provider."}, "args": [{"type": "string", "var": "$parameters.plan.name", "options": ["name"], "help": {"short": "name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything."}}, {"type": "string", "var": "$parameters.plan.product", "options": ["product"], "help": {"short": "name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive"}}, {"type": "string", "var": "$parameters.plan.promotionCode", "options": ["promotion-code"], "help": {"short": "promotionCode, Not really used now, can you left as empty"}}, {"type": "string", "var": "$parameters.plan.publisher", "options": ["publisher"], "help": {"short": "Publisher name. For gallery solution, it is Microsoft."}}]}, {"type": "string", "var": "$parameters.properties.workspaceResourceId", "options": ["workspace-id"], "group": "", "help": {"short": "The azure resourceId for the workspace where the solution will be deployed/enabled."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.containedResources", "options": ["contained-resources"], "hide": true, "group": "Properties", "help": {"short": "The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.referencedResources", "options": ["referenced-resources"], "hide": true, "group": "Properties", "help": {"short": "The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution."}, "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Solutions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "solutionName", "arg": "$Path.solutionName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-11-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "plan", "arg": "$parameters.plan", "props": [{"type": "string", "name": "name", "arg": "$parameters.plan.name"}, {"type": "string", "name": "product", "arg": "$parameters.plan.product"}, {"type": "string", "name": "promotionCode", "arg": "$parameters.plan.promotionCode"}, {"type": "string", "name": "publisher", "arg": "$parameters.plan.publisher"}]}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "containedResources", "arg": "$parameters.properties.containedResources", "item": {"type": "string"}}, {"type": "array", "name": "referencedResources", "arg": "$parameters.properties.referencedResources", "item": {"type": "string"}}, {"type": "string", "name": "workspaceResourceId", "arg": "$parameters.properties.workspaceResourceId", "required": true}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationsManagement/solutions/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "promotionCode"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "containedResources", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "referencedResources", "item": {"type": "string"}}, {"type": "string", "name": "workspaceResourceId", "required": true}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2015-11-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationsmanagement/solutions/{}", "version": "2015-11-01-preview", "swagger": "mgmt-plane/operationsmanagement/ResourceProviders/Microsoft.OperationsManagement/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uc01hbmFnZW1lbnQvc29sdXRpb25zL3tzb2x1dGlvbk5hbWV9/V/MjAxNS0xMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.solutionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the log-analytics solution. It should be in the format of solutionType(workspaceName). SolutionType part is case sensitive."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Solutions_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "solutionName", "arg": "$Path.solutionName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-11-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationsManagement/solutions/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "promotionCode"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "containedResources", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "referencedResources", "item": {"type": "string"}}, {"type": "string", "name": "workspaceResourceId", "required": true}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml new file mode 100644 index 000000000..270b0a2cd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25zbWFuYWdlbWVudC9zb2x1dGlvbnMve30=/2015-11-01-preview.xml @@ -0,0 +1,339 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +