From 2714d65fc1cda087e9eedb9c7d1e93be7ab6d372 Mon Sep 17 00:00:00 2001 From: AllyWang Date: Thu, 14 Dec 2023 10:41:39 +0800 Subject: [PATCH 1/3] add logworkspace rp --- Commands/monitor/log-analytics/readme.md | 2 +- .../workspace/available-service-tier/_list.md | 9 +++ .../available-service-tier/readme.md | 8 ++ .../workspace/link-target/_list.md | 9 +++ .../workspace/link-target/readme.md | 8 ++ .../monitor/log-analytics/workspace/readme.md | 8 +- Commands/monitor/readme.md | 2 +- Commands/readme.md | 2 +- Commands/tree.json | 78 ++++++++++++++++++- .../2015-03-20.json | 1 + .../2015-03-20.xml | 48 ++++++++++++ .../2020-08-01.json | 1 + .../2020-08-01.xml | 75 ++++++++++++++++++ 13 files changed, 245 insertions(+), 6 deletions(-) create mode 100644 Commands/monitor/log-analytics/workspace/available-service-tier/_list.md create mode 100644 Commands/monitor/log-analytics/workspace/available-service-tier/readme.md create mode 100644 Commands/monitor/log-analytics/workspace/link-target/_list.md create mode 100644 Commands/monitor/log-analytics/workspace/link-target/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml diff --git a/Commands/monitor/log-analytics/readme.md b/Commands/monitor/log-analytics/readme.md index f332d1d44..265b71015 100644 --- a/Commands/monitor/log-analytics/readme.md +++ b/Commands/monitor/log-analytics/readme.md @@ -14,4 +14,4 @@ Manage Azure log analytics. : Commands to manage monitor log-analytics solution. - [workspace](/Commands/monitor/log-analytics/workspace/readme.md) -: Manage Azure log analytics workspace +: monitor log-analytics workspace diff --git a/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md b/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md new file mode 100644 index 000000000..8e2e7f55f --- /dev/null +++ b/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md @@ -0,0 +1,9 @@ +# [Command] _monitor log-analytics workspace available-service-tier list_ + +List the available service tiers for the workspace. + +## Versions + +### [2020-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml) **Stable** + + diff --git a/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md b/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md new file mode 100644 index 000000000..b0ce28952 --- /dev/null +++ b/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md @@ -0,0 +1,8 @@ +# [Group] _monitor log-analytics workspace available-service-tier_ + +monitor workspace available-service-tier + +## Commands + +- [list](/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md) +: List the available service tiers for the workspace. diff --git a/Commands/monitor/log-analytics/workspace/link-target/_list.md b/Commands/monitor/log-analytics/workspace/link-target/_list.md new file mode 100644 index 000000000..b387cde41 --- /dev/null +++ b/Commands/monitor/log-analytics/workspace/link-target/_list.md @@ -0,0 +1,9 @@ +# [Command] _monitor log-analytics workspace link-target list_ + +List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. + +## Versions + +### [2015-03-20](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml) **Stable** + + diff --git a/Commands/monitor/log-analytics/workspace/link-target/readme.md b/Commands/monitor/log-analytics/workspace/link-target/readme.md new file mode 100644 index 000000000..ee6a34000 --- /dev/null +++ b/Commands/monitor/log-analytics/workspace/link-target/readme.md @@ -0,0 +1,8 @@ +# [Group] _monitor log-analytics workspace link-target_ + +monitor workspace link-target + +## Commands + +- [list](/Commands/monitor/log-analytics/workspace/link-target/_list.md) +: List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. diff --git a/Commands/monitor/log-analytics/workspace/readme.md b/Commands/monitor/log-analytics/workspace/readme.md index c79d72b8c..48815c784 100644 --- a/Commands/monitor/log-analytics/workspace/readme.md +++ b/Commands/monitor/log-analytics/workspace/readme.md @@ -1,12 +1,18 @@ # [Group] _monitor log-analytics workspace_ -Manage Azure log analytics workspace +monitor log-analytics workspace ## Subgroups +- [available-service-tier](/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md) +: monitor workspace available-service-tier + - [data-export](/Commands/monitor/log-analytics/workspace/data-export/readme.md) : Manage data export ruls for log analytics workspace. +- [link-target](/Commands/monitor/log-analytics/workspace/link-target/readme.md) +: monitor workspace link-target + - [linked-service](/Commands/monitor/log-analytics/workspace/linked-service/readme.md) : Manage linked service for log analytics workspace. diff --git a/Commands/monitor/readme.md b/Commands/monitor/readme.md index a203abd97..0efa0610f 100644 --- a/Commands/monitor/readme.md +++ b/Commands/monitor/readme.md @@ -1,6 +1,6 @@ # [Group] _monitor_ -Manage the Azure Monitor Service. +monitor ## Subgroups diff --git a/Commands/readme.md b/Commands/readme.md index 1afd0b715..963a0dbb7 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -117,7 +117,7 @@ : Manage mobile network - [monitor](/Commands/monitor/readme.md) -: Manage the Azure Monitor Service. +: monitor - [netappfiles](/Commands/netappfiles/readme.md) : Manage Azure NetApp Files (ANF) Resources diff --git a/Commands/tree.json b/Commands/tree.json index bfd32ce21..7651792a2 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -37854,6 +37854,43 @@ }, "workspace": { "commandGroups": { + "available-service-tier": { + "commands": { + "list": { + "help": { + "short": "List the available service tiers for the workspace." + }, + "names": [ + "monitor", + "log-analytics", + "workspace", + "available-service-tier", + "list" + ], + "versions": [ + { + "name": "2020-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", + "plane": "mgmt-plane", + "version": "2020-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "monitor workspace available-service-tier" + }, + "names": [ + "monitor", + "log-analytics", + "workspace", + "available-service-tier" + ] + }, "data-export": { "commands": { "create": { @@ -38011,6 +38048,43 @@ "data-export" ] }, + "link-target": { + "commands": { + "list": { + "help": { + "short": "List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored." + }, + "names": [ + "monitor", + "log-analytics", + "workspace", + "link-target", + "list" + ], + "versions": [ + { + "name": "2015-03-20", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", + "plane": "mgmt-plane", + "version": "2015-03-20" + } + ] + } + ] + } + }, + "help": { + "short": "monitor workspace link-target" + }, + "names": [ + "monitor", + "log-analytics", + "workspace", + "link-target" + ] + }, "linked-service": { "commands": { "create": { @@ -39410,7 +39484,7 @@ } }, "help": { - "short": "Manage Azure log analytics workspace" + "short": "monitor log-analytics workspace" }, "names": [ "monitor", @@ -40551,7 +40625,7 @@ } }, "help": { - "short": "Manage the Azure Monitor Service." + "short": "monitor" }, "names": [ "monitor" diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json new file mode 100644 index 000000000..8368d7ee0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", "version": "2015-03-20", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvbGlua1RhcmdldHM=/V/MjAxNS0wMy0yMA=="}], "commandGroups": [{"name": "monitor log-analytics workspace link-target", "commands": [{"name": "list", "version": "2015-03-20", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", "version": "2015-03-20", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvbGlua1RhcmdldHM=/V/MjAxNS0wMy0yMA=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Workspaces_ListLinkTargets", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/linkTargets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-03-20"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"type": "string", "name": "accountName"}, {"type": "string", "name": "customerId"}, {"type": "string", "name": "location"}, {"type": "string", "name": "workspaceName"}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml new file mode 100644 index 000000000..053b1d279 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json new file mode 100644 index 000000000..9e4ccf655 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", "version": "2020-08-01", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9hdmFpbGFibGVTZXJ2aWNlVGllcnM=/V/MjAyMC0wOC0wMQ=="}], "commandGroups": [{"name": "monitor log-analytics workspace available-service-tier", "commands": [{"name": "list", "version": "2020-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", "version": "2020-08-01", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9hdmFpbGFibGVTZXJ2aWNlVGllcnM=/V/MjAyMC0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", "maxLength": 63, "minLength": 4}}]}], "operations": [{"operationId": "AvailableServiceTiers_ListByWorkspace", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", "maxLength": 63, "minLength": 4}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-08-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer64", "name": "capacityReservationLevel"}, {"readOnly": true, "type": "integer64", "name": "defaultRetention"}, {"readOnly": true, "type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "lastSkuUpdate"}, {"readOnly": true, "type": "integer64", "name": "maximumRetention"}, {"readOnly": true, "type": "integer64", "name": "minimumRetention"}, {"readOnly": true, "type": "string", "name": "serviceTier", "enum": {"items": [{"value": "CapacityReservation"}, {"value": "Free"}, {"value": "PerGB2018"}, {"value": "PerNode"}, {"value": "Premium"}, {"value": "Standalone"}, {"value": "Standard"}]}}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml new file mode 100644 index 000000000..adc7da818 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From b53942f44d00a803b086d0fa901bbf0e16b640c3 Mon Sep 17 00:00:00 2001 From: AllyWang Date: Thu, 14 Dec 2023 11:56:56 +0800 Subject: [PATCH 2/3] adjust cmd --- Commands/monitor/log-analytics/readme.md | 2 +- ...ist.md => _list-available-service-tier.md} | 2 +- .../_list.md => _list-link-target.md} | 2 +- .../available-service-tier/readme.md | 8 -- .../workspace/link-target/readme.md | 8 -- .../monitor/log-analytics/workspace/readme.md | 14 +- Commands/monitor/readme.md | 2 +- Commands/readme.md | 2 +- Commands/tree.json | 124 +++++++----------- .../2015-03-20.json | 2 +- .../2015-03-20.xml | 4 +- .../2020-08-01.json | 2 +- .../2020-08-01.xml | 6 +- 13 files changed, 67 insertions(+), 111 deletions(-) rename Commands/monitor/log-analytics/workspace/{available-service-tier/_list.md => _list-available-service-tier.md} (85%) rename Commands/monitor/log-analytics/workspace/{link-target/_list.md => _list-link-target.md} (87%) delete mode 100644 Commands/monitor/log-analytics/workspace/available-service-tier/readme.md delete mode 100644 Commands/monitor/log-analytics/workspace/link-target/readme.md diff --git a/Commands/monitor/log-analytics/readme.md b/Commands/monitor/log-analytics/readme.md index 265b71015..f332d1d44 100644 --- a/Commands/monitor/log-analytics/readme.md +++ b/Commands/monitor/log-analytics/readme.md @@ -14,4 +14,4 @@ Manage Azure log analytics. : Commands to manage monitor log-analytics solution. - [workspace](/Commands/monitor/log-analytics/workspace/readme.md) -: monitor log-analytics workspace +: Manage Azure log analytics workspace diff --git a/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md b/Commands/monitor/log-analytics/workspace/_list-available-service-tier.md similarity index 85% rename from Commands/monitor/log-analytics/workspace/available-service-tier/_list.md rename to Commands/monitor/log-analytics/workspace/_list-available-service-tier.md index 8e2e7f55f..82ccfe5f3 100644 --- a/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md +++ b/Commands/monitor/log-analytics/workspace/_list-available-service-tier.md @@ -1,4 +1,4 @@ -# [Command] _monitor log-analytics workspace available-service-tier list_ +# [Command] _monitor log-analytics workspace list-available-service-tier_ List the available service tiers for the workspace. diff --git a/Commands/monitor/log-analytics/workspace/link-target/_list.md b/Commands/monitor/log-analytics/workspace/_list-link-target.md similarity index 87% rename from Commands/monitor/log-analytics/workspace/link-target/_list.md rename to Commands/monitor/log-analytics/workspace/_list-link-target.md index b387cde41..f9dfa2abf 100644 --- a/Commands/monitor/log-analytics/workspace/link-target/_list.md +++ b/Commands/monitor/log-analytics/workspace/_list-link-target.md @@ -1,4 +1,4 @@ -# [Command] _monitor log-analytics workspace link-target list_ +# [Command] _monitor log-analytics workspace list-link-target_ List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. diff --git a/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md b/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md deleted file mode 100644 index b0ce28952..000000000 --- a/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# [Group] _monitor log-analytics workspace available-service-tier_ - -monitor workspace available-service-tier - -## Commands - -- [list](/Commands/monitor/log-analytics/workspace/available-service-tier/_list.md) -: List the available service tiers for the workspace. diff --git a/Commands/monitor/log-analytics/workspace/link-target/readme.md b/Commands/monitor/log-analytics/workspace/link-target/readme.md deleted file mode 100644 index ee6a34000..000000000 --- a/Commands/monitor/log-analytics/workspace/link-target/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# [Group] _monitor log-analytics workspace link-target_ - -monitor workspace link-target - -## Commands - -- [list](/Commands/monitor/log-analytics/workspace/link-target/_list.md) -: List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. diff --git a/Commands/monitor/log-analytics/workspace/readme.md b/Commands/monitor/log-analytics/workspace/readme.md index 48815c784..7e2601971 100644 --- a/Commands/monitor/log-analytics/workspace/readme.md +++ b/Commands/monitor/log-analytics/workspace/readme.md @@ -1,18 +1,12 @@ # [Group] _monitor log-analytics workspace_ -monitor log-analytics workspace +Manage Azure log analytics workspace ## Subgroups -- [available-service-tier](/Commands/monitor/log-analytics/workspace/available-service-tier/readme.md) -: monitor workspace available-service-tier - - [data-export](/Commands/monitor/log-analytics/workspace/data-export/readme.md) : Manage data export ruls for log analytics workspace. -- [link-target](/Commands/monitor/log-analytics/workspace/link-target/readme.md) -: monitor workspace link-target - - [linked-service](/Commands/monitor/log-analytics/workspace/linked-service/readme.md) : Manage linked service for log analytics workspace. @@ -45,9 +39,15 @@ monitor log-analytics workspace - [list](/Commands/monitor/log-analytics/workspace/_list.md) : Get a list of workspaces under a resource group or a subscription. +- [list-available-service-tier](/Commands/monitor/log-analytics/workspace/_list-available-service-tier.md) +: List the available service tiers for the workspace. + - [list-deleted-workspaces](/Commands/monitor/log-analytics/workspace/_list-deleted-workspaces.md) : Get a list of deleted workspaces that can be recovered in a subscription or a resource group. +- [list-link-target](/Commands/monitor/log-analytics/workspace/_list-link-target.md) +: List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. + - [list-management-groups](/Commands/monitor/log-analytics/workspace/_list-management-groups.md) : Get a list of management groups connected to a workspace. diff --git a/Commands/monitor/readme.md b/Commands/monitor/readme.md index 0efa0610f..a203abd97 100644 --- a/Commands/monitor/readme.md +++ b/Commands/monitor/readme.md @@ -1,6 +1,6 @@ # [Group] _monitor_ -monitor +Manage the Azure Monitor Service. ## Subgroups diff --git a/Commands/readme.md b/Commands/readme.md index 963a0dbb7..1afd0b715 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -117,7 +117,7 @@ : Manage mobile network - [monitor](/Commands/monitor/readme.md) -: monitor +: Manage the Azure Monitor Service. - [netappfiles](/Commands/netappfiles/readme.md) : Manage Azure NetApp Files (ANF) Resources diff --git a/Commands/tree.json b/Commands/tree.json index 7651792a2..6b21c4438 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -37854,43 +37854,6 @@ }, "workspace": { "commandGroups": { - "available-service-tier": { - "commands": { - "list": { - "help": { - "short": "List the available service tiers for the workspace." - }, - "names": [ - "monitor", - "log-analytics", - "workspace", - "available-service-tier", - "list" - ], - "versions": [ - { - "name": "2020-08-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", - "plane": "mgmt-plane", - "version": "2020-08-01" - } - ] - } - ] - } - }, - "help": { - "short": "monitor workspace available-service-tier" - }, - "names": [ - "monitor", - "log-analytics", - "workspace", - "available-service-tier" - ] - }, "data-export": { "commands": { "create": { @@ -38048,43 +38011,6 @@ "data-export" ] }, - "link-target": { - "commands": { - "list": { - "help": { - "short": "List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored." - }, - "names": [ - "monitor", - "log-analytics", - "workspace", - "link-target", - "list" - ], - "versions": [ - { - "name": "2015-03-20", - "resources": [ - { - "id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", - "plane": "mgmt-plane", - "version": "2015-03-20" - } - ] - } - ] - } - }, - "help": { - "short": "monitor workspace link-target" - }, - "names": [ - "monitor", - "log-analytics", - "workspace", - "link-target" - ] - }, "linked-service": { "commands": { "create": { @@ -39251,6 +39177,29 @@ } ] }, + "list-available-service-tier": { + "help": { + "short": "List the available service tiers for the workspace." + }, + "names": [ + "monitor", + "log-analytics", + "workspace", + "list-available-service-tier" + ], + "versions": [ + { + "name": "2020-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", + "plane": "mgmt-plane", + "version": "2020-08-01" + } + ] + } + ] + }, "list-deleted-workspaces": { "help": { "short": "Get a list of deleted workspaces that can be recovered in a subscription or a resource group." @@ -39310,6 +39259,29 @@ } ] }, + "list-link-target": { + "help": { + "short": "List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored." + }, + "names": [ + "monitor", + "log-analytics", + "workspace", + "list-link-target" + ], + "versions": [ + { + "name": "2015-03-20", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", + "plane": "mgmt-plane", + "version": "2015-03-20" + } + ] + } + ] + }, "list-management-groups": { "help": { "short": "Get a list of management groups connected to a workspace." @@ -39484,7 +39456,7 @@ } }, "help": { - "short": "monitor log-analytics workspace" + "short": "Manage Azure log analytics workspace" }, "names": [ "monitor", @@ -40625,7 +40597,7 @@ } }, "help": { - "short": "monitor" + "short": "Manage the Azure Monitor Service." }, "names": [ "monitor" diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json index 8368d7ee0..5ffec7b1c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", "version": "2015-03-20", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvbGlua1RhcmdldHM=/V/MjAxNS0wMy0yMA=="}], "commandGroups": [{"name": "monitor log-analytics workspace link-target", "commands": [{"name": "list", "version": "2015-03-20", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", "version": "2015-03-20", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvbGlua1RhcmdldHM=/V/MjAxNS0wMy0yMA=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Workspaces_ListLinkTargets", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/linkTargets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-03-20"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"type": "string", "name": "accountName"}, {"type": "string", "name": "customerId"}, {"type": "string", "name": "location"}, {"type": "string", "name": "workspaceName"}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", "version": "2015-03-20", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvbGlua1RhcmdldHM=/V/MjAxNS0wMy0yMA=="}], "commandGroups": [{"name": "monitor log-analytics workspace", "commands": [{"name": "list-link-target", "version": "2015-03-20", "resources": [{"id": "/subscriptions/{}/providers/microsoft.operationalinsights/linktargets", "version": "2015-03-20", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvbGlua1RhcmdldHM=/V/MjAxNS0wMy0yMA=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Workspaces_ListLinkTargets", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/linkTargets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2015-03-20"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"type": "string", "name": "accountName"}, {"type": "string", "name": "customerId"}, {"type": "string", "name": "location"}, {"type": "string", "name": "workspaceName"}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml index 053b1d279..5acb5405c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml @@ -1,8 +1,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json index 9e4ccf655..13fe0d8d7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", "version": "2020-08-01", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9hdmFpbGFibGVTZXJ2aWNlVGllcnM=/V/MjAyMC0wOC0wMQ=="}], "commandGroups": [{"name": "monitor log-analytics workspace available-service-tier", "commands": [{"name": "list", "version": "2020-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", "version": "2020-08-01", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9hdmFpbGFibGVTZXJ2aWNlVGllcnM=/V/MjAyMC0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", "maxLength": 63, "minLength": 4}}]}], "operations": [{"operationId": "AvailableServiceTiers_ListByWorkspace", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", "maxLength": 63, "minLength": 4}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-08-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer64", "name": "capacityReservationLevel"}, {"readOnly": true, "type": "integer64", "name": "defaultRetention"}, {"readOnly": true, "type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "lastSkuUpdate"}, {"readOnly": true, "type": "integer64", "name": "maximumRetention"}, {"readOnly": true, "type": "integer64", "name": "minimumRetention"}, {"readOnly": true, "type": "string", "name": "serviceTier", "enum": {"items": [{"value": "CapacityReservation"}, {"value": "Free"}, {"value": "PerGB2018"}, {"value": "PerNode"}, {"value": "Premium"}, {"value": "Standalone"}, {"value": "Standard"}]}}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", "version": "2020-08-01", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9hdmFpbGFibGVTZXJ2aWNlVGllcnM=/V/MjAyMC0wOC0wMQ=="}], "commandGroups": [{"name": "monitor log-analytics workspace", "commands": [{"name": "list-available-service-tier", "version": "2020-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/availableservicetiers", "version": "2020-08-01", "swagger": "mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9hdmFpbGFibGVTZXJ2aWNlVGllcnM=/V/MjAyMC0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "workspace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", "maxLength": 63, "minLength": 4}}]}], "operations": [{"operationId": "AvailableServiceTiers_ListByWorkspace", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", "maxLength": 63, "minLength": 4}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-08-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer64", "name": "capacityReservationLevel"}, {"readOnly": true, "type": "integer64", "name": "defaultRetention"}, {"readOnly": true, "type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "lastSkuUpdate"}, {"readOnly": true, "type": "integer64", "name": "maximumRetention"}, {"readOnly": true, "type": "integer64", "name": "minimumRetention"}, {"readOnly": true, "type": "string", "name": "serviceTier", "enum": {"items": [{"value": "CapacityReservation"}, {"value": "Free"}, {"value": "PerGB2018"}, {"value": "PerNode"}, {"value": "Premium"}, {"value": "Standalone"}, {"value": "Standard"}]}}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml index adc7da818..2057ade54 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml @@ -1,13 +1,13 @@ - - + + - + From 8f6870d2926abc3cfea1401baf89317d603b8b28 Mon Sep 17 00:00:00 2001 From: AllyWang Date: Thu, 14 Dec 2023 13:30:05 +0800 Subject: [PATCH 3/3] refine help --- Commands/monitor/log-analytics/workspace/_list-link-target.md | 2 +- Commands/monitor/log-analytics/workspace/readme.md | 2 +- Commands/tree.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Commands/monitor/log-analytics/workspace/_list-link-target.md b/Commands/monitor/log-analytics/workspace/_list-link-target.md index f9dfa2abf..0b9cc9cff 100644 --- a/Commands/monitor/log-analytics/workspace/_list-link-target.md +++ b/Commands/monitor/log-analytics/workspace/_list-link-target.md @@ -1,6 +1,6 @@ # [Command] _monitor log-analytics workspace list-link-target_ -List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. +List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. ## Versions diff --git a/Commands/monitor/log-analytics/workspace/readme.md b/Commands/monitor/log-analytics/workspace/readme.md index 7e2601971..5fd613501 100644 --- a/Commands/monitor/log-analytics/workspace/readme.md +++ b/Commands/monitor/log-analytics/workspace/readme.md @@ -46,7 +46,7 @@ Manage Azure log analytics workspace : Get a list of deleted workspaces that can be recovered in a subscription or a resource group. - [list-link-target](/Commands/monitor/log-analytics/workspace/_list-link-target.md) -: List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored. +: List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. - [list-management-groups](/Commands/monitor/log-analytics/workspace/_list-management-groups.md) : Get a list of management groups connected to a workspace. diff --git a/Commands/tree.json b/Commands/tree.json index 6b21c4438..e5fbffd8e 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -39261,7 +39261,7 @@ }, "list-link-target": { "help": { - "short": "List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored." + "short": "List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription." }, "names": [ "monitor",