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
The target Event Hub connection string (it will not be included in any response).
The target Event Hub Azure Resource ID.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The target Event Hub SAS policy name.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |