az monitor log-analytics cluster
Manage Azure log analytics cluster.
Commands
| az monitor log-analytics cluster create |
Create a cluster instance. |
| az monitor log-analytics cluster delete |
Delete a cluster instance. |
| az monitor log-analytics cluster list |
Gets all cluster instances in a resource group or in current subscription. |
| az monitor log-analytics cluster show |
Show the properties of a cluster instance. |
| az monitor log-analytics cluster update |
Update a cluster instance. |
| az monitor log-analytics cluster wait |
Place the CLI in a waiting state until a condition of the cluster is met. |
az monitor log-analytics cluster create
Create a cluster instance.
az monitor log-analytics cluster create --name
--resource-group
--sku-capacity
[--identity-type]
[--location]
[--no-wait]
[--sku-name]
[--tags]
Examples
Create a cluster instance.
az monitor log-analytics cluster create -g MyResourceGroup -n MyCluster --sku-capacity 1000
Required Parameters
The name of the Log Analytics cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The capacity of the SKU. It must be in the range of 1000-2000 per day and must be in multiples of 100. If you want to increase the limit, please contact LAIngestionRate@microsoft.com. It can be decreased only after 31 days.
Optional Parameters
The identity type. Supported values: SystemAssigned.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Do not wait for the long-running operation to finish.
The name of the SKU. Currently only support 'CapacityReservation'.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics cluster delete
Delete a cluster instance.
az monitor log-analytics cluster delete --name
--resource-group
[--no-wait]
[--yes]
Examples
Delete a cluster instance.
az monitor log-analytics cluster delete -g MyResourceGroup -n MyCluster
Required Parameters
The name of the Log Analytics cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics cluster list
Gets all cluster instances in a resource group or in current subscription.
az monitor log-analytics cluster list [--resource-group]
Examples
Gets all cluster instances in a resource group.
az monitor log-analytics cluster list -g MyResourceGroup
Gets all cluster instances in current subscription.
az monitor log-analytics cluster list
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics cluster show
Show the properties of a cluster instance.
az monitor log-analytics cluster show --name
--resource-group
Examples
Show the properties of a cluster instance.
az monitor log-analytics cluster show -g MyResourceGroup -n MyCluster
Required Parameters
The name of the Log Analytics cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics cluster update
Update a cluster instance.
az monitor log-analytics cluster update --name
--resource-group
[--key-name]
[--key-vault-uri]
[--key-version]
[--no-wait]
[--sku-capacity]
[--tags]
Examples
Update a cluster instance.
az monitor log-analytics cluster update -g MyResourceGroup -n MyCluster \
--key-vault-uri https://myvault.vault.azure.net/ --key-name my-key \
--key-version fe0adcedd8014aed9c22e9aefb81a1ds --sku-capacity 1000
Required Parameters
The name of the Log Analytics cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The name of the key associated with the Log Analytics cluster.
The Key Vault uri which holds the key associated with the Log Analytics cluster.
The version of the key associated with the Log Analytics cluster.
Do not wait for the long-running operation to finish.
The capacity of the SKU. It must be in the range of 1000-2000 per day and must be in multiples of 100. If you want to increase the limit, please contact LAIngestionRate@microsoft.com. It can be decreased only after 31 days.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics cluster wait
Place the CLI in a waiting state until a condition of the cluster is met.
az monitor log-analytics cluster wait --name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the cluster is successfully provisioned.
az monitor log-analytics cluster wait -n MyCluster -g MyResourceGroup --created
Required Parameters
The name of the Log Analytics cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ