Share via


az security automation-action-event-hub

Creates security automation event hub action.

Commands

Name Description Type Status
az security automation-action-event-hub create

Creates security automation event hub action.

Core GA

az security automation-action-event-hub create

Creates security automation event hub action.

az security automation-action-event-hub create --connection-string
                                               --event-hub-resource-id
                                               [--sas-policy-name]

Examples

Creates security automation event hub action.

az security automation-action-event-hub create --event-hub-resource-id '/subscriptions/03b601f1-7eca-4496-8f8d-355219eee254/resourceGroups/sample-rg/providers/Microsoft.EventHub/namespaces/evenhubnamespace1/eventhubs/evenhubname1' --connection-string 'Endpoint=sb://dummy/;SharedAccessKeyName=dummy;SharedAccessKey=dummy;EntityPath=dummy' --sas-policy-name 'Send'

Required Parameters

--connection-string

The target Event Hub connection string (it will not be included in any response).

--event-hub-resource-id

The target Event Hub Azure Resource ID.

Optional Parameters

--sas-policy-name

The target Event Hub SAS policy name.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.