AutomationActionEventHub Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AutomationAction - com.
azure. resourcemanager. security. models. AutomationActionEventHub
- com.
- com.
public final class AutomationActionEventHub
extends AutomationAction
The target Event Hub to which event data will be exported. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore.
Constructor Summary
| Constructor | Description |
|---|---|
| AutomationActionEventHub() |
Creates an instance of Automation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Action |
actionType()
Get the action |
| String |
connectionString()
Get the connection |
| String |
eventHubResourceId()
Get the event |
|
static
Automation |
fromJson(JsonReader jsonReader)
Reads an instance of Automation |
| Boolean |
isTrustedServiceEnabled()
Get the is |
| String |
sasPolicyName()
Get the sas |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Automation |
withConnectionString(String connectionString)
Set the connection |
|
Automation |
withEventHubResourceId(String eventHubResourceId)
Set the event |
|
Automation |
withIsTrustedServiceEnabled(Boolean isTrustedServiceEnabled)
Set the is |
Methods inherited from AutomationAction
Methods inherited from java.lang.Object
Constructor Details
AutomationActionEventHub
public AutomationActionEventHub()
Creates an instance of AutomationActionEventHub class.
Method Details
actionType
public ActionType actionType()
Get the actionType property: The type of the action that will be triggered by the Automation.
Overrides:
AutomationActionEventHub.actionType()Returns:
connectionString
public String connectionString()
Get the connectionString property: The target Event Hub connection string (it will not be included in any response).
Returns:
eventHubResourceId
public String eventHubResourceId()
Get the eventHubResourceId property: The target Event Hub Azure Resource ID.
Returns:
fromJson
public static AutomationActionEventHub fromJson(JsonReader jsonReader)
Reads an instance of AutomationActionEventHub from the JsonReader.
Parameters:
Returns:
Throws:
isTrustedServiceEnabled
public Boolean isTrustedServiceEnabled()
Get the isTrustedServiceEnabled property: Indicates whether the trusted service is enabled or not.
Returns:
sasPolicyName
public String sasPolicyName()
Get the sasPolicyName property: The target Event Hub SAS policy name.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AutomationActionEventHub.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AutomationActionEventHub.validate()withConnectionString
public AutomationActionEventHub withConnectionString(String connectionString)
Set the connectionString property: The target Event Hub connection string (it will not be included in any response).
Parameters:
Returns:
withEventHubResourceId
public AutomationActionEventHub withEventHubResourceId(String eventHubResourceId)
Set the eventHubResourceId property: The target Event Hub Azure Resource ID.
Parameters:
Returns:
withIsTrustedServiceEnabled
public AutomationActionEventHub withIsTrustedServiceEnabled(Boolean isTrustedServiceEnabled)
Set the isTrustedServiceEnabled property: Indicates whether the trusted service is enabled or not.
Parameters:
Returns: