ActionGroupResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. monitor. fluent. models. ActionGroupResourceInner
- com.
- com.
- com.
public final class ActionGroupResourceInner
extends Resource
An action group resource.
Constructor Summary
Constructor | Description |
---|---|
ActionGroupResourceInner() |
Creates an instance of Action |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Arm |
armRoleReceivers()
Get the arm |
List<Automation |
automationRunbookReceivers()
Get the automation |
List<Azure |
azureAppPushReceivers()
Get the azure |
List<Azure |
azureFunctionReceivers()
Get the azure |
List<Email |
emailReceivers()
Get the email |
Boolean |
enabled()
Get the enabled property: Indicates whether this action group is enabled. |
List<Event |
eventHubReceivers()
Get the event |
static
Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action |
String |
groupShortName()
Get the group |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
List<Itsm |
itsmReceivers()
Get the itsm |
List<Logic |
logicAppReceivers()
Get the logic |
String |
name()
Get the name property: The name of the resource. |
List<Sms |
smsReceivers()
Get the sms |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
List<Voice |
voiceReceivers()
Get the voice |
List<Webhook |
webhookReceivers()
Get the webhook |
Action |
withArmRoleReceivers(List<ArmRoleReceiver> armRoleReceivers)
Set the arm |
Action |
withAutomationRunbookReceivers(List<AutomationRunbookReceiver> automationRunbookReceivers)
Set the automation |
Action |
withAzureAppPushReceivers(List<AzureAppPushReceiver> azureAppPushReceivers)
Set the azure |
Action |
withAzureFunctionReceivers(List<AzureFunctionReceiver> azureFunctionReceivers)
Set the azure |
Action |
withEmailReceivers(List<EmailReceiver> emailReceivers)
Set the email |
Action |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether this action group is enabled. |
Action |
withEventHubReceivers(List<EventHubReceiver> eventHubReceivers)
Set the event |
Action |
withGroupShortName(String groupShortName)
Set the group |
Action |
withItsmReceivers(List<ItsmReceiver> itsmReceivers)
Set the itsm |
Action |
withLocation(String location) |
Action |
withLogicAppReceivers(List<LogicAppReceiver> logicAppReceivers)
Set the logic |
Action |
withSmsReceivers(List<SmsReceiver> smsReceivers)
Set the sms |
Action |
withTags(Map<String,String> tags) |
Action |
withVoiceReceivers(List<VoiceReceiver> voiceReceivers)
Set the voice |
Action |
withWebhookReceivers(List<WebhookReceiver> webhookReceivers)
Set the webhook |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ActionGroupResourceInner
public ActionGroupResourceInner()
Creates an instance of ActionGroupResourceInner class.
Method Details
armRoleReceivers
public List
Get the armRoleReceivers property: The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
Returns:
automationRunbookReceivers
public List
Get the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.
Returns:
azureAppPushReceivers
public List
Get the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.
Returns:
azureFunctionReceivers
public List
Get the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
Returns:
emailReceivers
public List
Get the emailReceivers property: The list of email receivers that are part of this action group.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
Returns:
eventHubReceivers
public List
Get the eventHubReceivers property: The list of event hub receivers that are part of this action group.
Returns:
fromJson
public static ActionGroupResourceInner fromJson(JsonReader jsonReader)
Reads an instance of ActionGroupResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
groupShortName
public String groupShortName()
Get the groupShortName property: The short name of the action group. This will be used in SMS messages.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ActionGroupResourceInner.id()Returns:
itsmReceivers
public List
Get the itsmReceivers property: The list of ITSM receivers that are part of this action group.
Returns:
logicAppReceivers
public List
Get the logicAppReceivers property: The list of logic app receivers that are part of this action group.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ActionGroupResourceInner.name()Returns:
smsReceivers
public List
Get the smsReceivers property: The list of SMS receivers that are part of this action group.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ActionGroupResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ActionGroupResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
voiceReceivers
public List
Get the voiceReceivers property: The list of voice receivers that are part of this action group.
Returns:
webhookReceivers
public List
Get the webhookReceivers property: The list of webhook receivers that are part of this action group.
Returns:
withArmRoleReceivers
public ActionGroupResourceInner withArmRoleReceivers(List
Set the armRoleReceivers property: The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
Parameters:
Returns:
withAutomationRunbookReceivers
public ActionGroupResourceInner withAutomationRunbookReceivers(List
Set the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.
Parameters:
Returns:
withAzureAppPushReceivers
public ActionGroupResourceInner withAzureAppPushReceivers(List
Set the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.
Parameters:
Returns:
withAzureFunctionReceivers
public ActionGroupResourceInner withAzureFunctionReceivers(List
Set the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
Parameters:
Returns:
withEmailReceivers
public ActionGroupResourceInner withEmailReceivers(List
Set the emailReceivers property: The list of email receivers that are part of this action group.
Parameters:
Returns:
withEnabled
public ActionGroupResourceInner withEnabled(Boolean enabled)
Set the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
Parameters:
Returns:
withEventHubReceivers
public ActionGroupResourceInner withEventHubReceivers(List
Set the eventHubReceivers property: The list of event hub receivers that are part of this action group.
Parameters:
Returns:
withGroupShortName
public ActionGroupResourceInner withGroupShortName(String groupShortName)
Set the groupShortName property: The short name of the action group. This will be used in SMS messages.
Parameters:
Returns:
withItsmReceivers
public ActionGroupResourceInner withItsmReceivers(List
Set the itsmReceivers property: The list of ITSM receivers that are part of this action group.
Parameters:
Returns:
withLocation
public ActionGroupResourceInner withLocation(String location)
Overrides:
ActionGroupResourceInner.withLocation(String location)Parameters:
withLogicAppReceivers
public ActionGroupResourceInner withLogicAppReceivers(List
Set the logicAppReceivers property: The list of logic app receivers that are part of this action group.
Parameters:
Returns:
withSmsReceivers
public ActionGroupResourceInner withSmsReceivers(List
Set the smsReceivers property: The list of SMS receivers that are part of this action group.
Parameters:
Returns:
withTags
public ActionGroupResourceInner withTags(Map
Overrides:
ActionGroupResourceInner.withTags(Map<String,String> tags)Parameters:
withVoiceReceivers
public ActionGroupResourceInner withVoiceReceivers(List
Set the voiceReceivers property: The list of voice receivers that are part of this action group.
Parameters:
Returns:
withWebhookReceivers
public ActionGroupResourceInner withWebhookReceivers(List
Set the webhookReceivers property: The list of webhook receivers that are part of this action group.
Parameters:
Returns:
Applies to
Azure SDK for Java