diff --git a/Commands/monitor/log-analytics/workspace/_list-available-service-tier.md b/Commands/monitor/log-analytics/workspace/_list-available-service-tier.md new file mode 100644 index 000000000..82ccfe5f3 --- /dev/null +++ b/Commands/monitor/log-analytics/workspace/_list-available-service-tier.md @@ -0,0 +1,9 @@ +# [Command] _monitor log-analytics workspace list-available-service-tier_ + +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/_list-link-target.md b/Commands/monitor/log-analytics/workspace/_list-link-target.md new file mode 100644 index 000000000..0b9cc9cff --- /dev/null +++ b/Commands/monitor/log-analytics/workspace/_list-link-target.md @@ -0,0 +1,9 @@ +# [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. + +## Versions + +### [2015-03-20](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2xpbmt0YXJnZXRz/2015-03-20.xml) **Stable** + + diff --git a/Commands/monitor/log-analytics/workspace/readme.md b/Commands/monitor/log-analytics/workspace/readme.md index c79d72b8c..5fd613501 100644 --- a/Commands/monitor/log-analytics/workspace/readme.md +++ b/Commands/monitor/log-analytics/workspace/readme.md @@ -39,9 +39,15 @@ Manage Azure 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. + - [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 bfd32ce21..e5fbffd8e 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -39177,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." @@ -39236,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." + }, + "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." 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..5ffec7b1c --- /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", "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 new file mode 100644 index 000000000..5acb5405c --- /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..13fe0d8d7 --- /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", "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 new file mode 100644 index 000000000..2057ade54 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vYXZhaWxhYmxlc2VydmljZXRpZXJz/2020-08-01.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +