az security automation-action-event-hub

Creates security automation event hub action.

Commands

az security automation-action-event-hub create

Creates security automation event hub action.

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.