az stream-analytics cluster
Note
This reference is part of the stream-analytics extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az stream-analytics cluster command. Learn more about extensions.
Manage cluster with stream analytics.
Commands
| az stream-analytics cluster create |
Create a Stream Analytics Cluster or replaces an already existing cluster. |
| az stream-analytics cluster delete |
Delete the specified cluster. |
| az stream-analytics cluster list |
List all of the clusters in the given resource group. And Lists all of the clusters in the given subscription. |
| az stream-analytics cluster list-streaming-job |
List all of the streaming jobs in the given cluster. |
| az stream-analytics cluster show |
Get information about the specified cluster. |
| az stream-analytics cluster update |
Update an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. |
| az stream-analytics cluster wait |
Place the CLI in a waiting state until a condition of the stream-analytics cluster is met. |
az stream-analytics cluster create
Create a Stream Analytics Cluster or replaces an already existing cluster.
az stream-analytics cluster create --cluster-name
--resource-group
[--if-match]
[--if-none-match]
[--location]
[--no-wait]
[--sku]
[--tags]
Examples
Create a new cluster
az stream-analytics cluster create --location "North US" --sku name="Default" capacity=36 --tags key="value" --name "An Example Cluster" --resource-group "sjrg"
Required Parameters
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response.
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 SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests.
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 stream-analytics cluster delete
Delete the specified cluster.
az stream-analytics cluster delete --cluster-name
--resource-group
[--no-wait]
[--yes]
Examples
Delete a cluster
az stream-analytics cluster delete --name "testcluster" --resource-group "sjrg"
Required Parameters
The name of the 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 stream-analytics cluster list
List all of the clusters in the given resource group. And Lists all of the clusters in the given subscription.
az stream-analytics cluster list [--resource-group]
Examples
List clusters in resource group
az stream-analytics cluster list --resource-group "sjrg"
List the clusters in a subscription
az stream-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 stream-analytics cluster list-streaming-job
List all of the streaming jobs in the given cluster.
az stream-analytics cluster list-streaming-job --cluster-name
--resource-group
Examples
List all streaming jobs in cluster
az stream-analytics cluster list-streaming-job --name "testcluster" --resource-group "sjrg"
Required Parameters
The name of the 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 stream-analytics cluster show
Get information about the specified cluster.
az stream-analytics cluster show --cluster-name
--resource-group
Examples
Get a cluster
az stream-analytics cluster show --name "testcluster" --resource-group "sjrg"
Required Parameters
The name of the 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 stream-analytics cluster update
Update an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition.
az stream-analytics cluster update --cluster-name
--resource-group
[--if-match]
[--location]
[--no-wait]
[--sku]
[--tags]
Examples
Update a cluster
az stream-analytics cluster update --location "Central US" --sku capacity=72 --name "testcluster" --resource-group "sjrg"
Required Parameters
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
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 SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests.
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 stream-analytics cluster wait
Place the CLI in a waiting state until a condition of the stream-analytics cluster is met.
az stream-analytics cluster wait --cluster-name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the stream-analytics cluster is successfully created.
az stream-analytics cluster wait --name "testcluster" --resource-group "sjrg" --created
Pause executing next line of CLI script until the stream-analytics cluster is successfully updated.
az stream-analytics cluster wait --name "testcluster" --resource-group "sjrg" --updated
Pause executing next line of CLI script until the stream-analytics cluster is successfully deleted.
az stream-analytics cluster wait --name "testcluster" --resource-group "sjrg" --deleted
Required Parameters
The name of the 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.
Feedback
Submit and view feedback for