diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Action.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Action.java index 0e5bf9cb828..b5f43b77a6a 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Action.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Action.java @@ -36,7 +36,7 @@ public class Action { private Map webhookProperties; /** - * Get the actionGroupId value. + * Get the id of the action group to use. * * @return the actionGroupId value */ @@ -45,7 +45,7 @@ public String actionGroupId() { } /** - * Set the actionGroupId value. + * Set the id of the action group to use. * * @param actionGroupId the actionGroupId value to set * @return the Action object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActionGroupPatchBody.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActionGroupPatchBody.java index 94328598223..80aa7120efd 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActionGroupPatchBody.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActionGroupPatchBody.java @@ -31,7 +31,7 @@ public class ActionGroupPatchBody { private Boolean enabled; /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -40,7 +40,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the ActionGroupPatchBody object itself. @@ -51,7 +51,7 @@ public ActionGroupPatchBody withTags(Map tags) { } /** - * Get the enabled value. + * Get indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. * * @return the enabled value */ @@ -60,7 +60,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. * * @param enabled the enabled value to set * @return the ActionGroupPatchBody object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionGroup.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionGroup.java index 2adbbf52268..1b5c9a31129 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionGroup.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionGroup.java @@ -29,7 +29,7 @@ public class ActivityLogAlertActionGroup { private Map webhookProperties; /** - * Get the actionGroupId value. + * Get the resourceId of the action group. This cannot be null or empty. * * @return the actionGroupId value */ @@ -38,7 +38,7 @@ public String actionGroupId() { } /** - * Set the actionGroupId value. + * Set the resourceId of the action group. This cannot be null or empty. * * @param actionGroupId the actionGroupId value to set * @return the ActivityLogAlertActionGroup object itself. @@ -49,7 +49,7 @@ public ActivityLogAlertActionGroup withActionGroupId(String actionGroupId) { } /** - * Get the webhookProperties value. + * Get the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. * * @return the webhookProperties value */ @@ -58,7 +58,7 @@ public Map webhookProperties() { } /** - * Set the webhookProperties value. + * Set the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. * * @param webhookProperties the webhookProperties value to set * @return the ActivityLogAlertActionGroup object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionList.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionList.java index 742eef7c250..a041ee52cb0 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionList.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertActionList.java @@ -22,7 +22,7 @@ public class ActivityLogAlertActionList { private List actionGroups; /** - * Get the actionGroups value. + * Get the list of activity log alerts. * * @return the actionGroups value */ @@ -31,7 +31,7 @@ public List actionGroups() { } /** - * Set the actionGroups value. + * Set the list of activity log alerts. * * @param actionGroups the actionGroups value to set * @return the ActivityLogAlertActionList object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertAllOfCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertAllOfCondition.java index f63cba7a38f..f460f2700c4 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertAllOfCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertAllOfCondition.java @@ -23,7 +23,7 @@ public class ActivityLogAlertAllOfCondition { private List allOf; /** - * Get the allOf value. + * Get the list of activity log alert conditions. * * @return the allOf value */ @@ -32,7 +32,7 @@ public List allOf() { } /** - * Set the allOf value. + * Set the list of activity log alert conditions. * * @param allOf the allOf value to set * @return the ActivityLogAlertAllOfCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertLeafCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertLeafCondition.java index 799e2f7858c..e301eb627ad 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertLeafCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertLeafCondition.java @@ -33,7 +33,7 @@ public class ActivityLogAlertLeafCondition { private String equals; /** - * Get the field value. + * Get the name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'. * * @return the field value */ @@ -42,7 +42,7 @@ public String field() { } /** - * Set the field value. + * Set the name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'. * * @param field the field value to set * @return the ActivityLogAlertLeafCondition object itself. @@ -53,7 +53,7 @@ public ActivityLogAlertLeafCondition withField(String field) { } /** - * Get the equals value. + * Get the field value will be compared to this value (case-insensitive) to determine if the condition is met. * * @return the equals value */ @@ -62,7 +62,7 @@ public String equals() { } /** - * Set the equals value. + * Set the field value will be compared to this value (case-insensitive) to determine if the condition is met. * * @param equals the equals value to set * @return the ActivityLogAlertLeafCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertPatchBody.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertPatchBody.java index 02b866de8aa..fb68a3a2643 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertPatchBody.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ActivityLogAlertPatchBody.java @@ -31,7 +31,7 @@ public class ActivityLogAlertPatchBody { private Boolean enabled; /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -40,7 +40,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the ActivityLogAlertPatchBody object itself. @@ -51,7 +51,7 @@ public ActivityLogAlertPatchBody withTags(Map tags) { } /** - * Get the enabled value. + * Get indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. * * @return the enabled value */ @@ -60,7 +60,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. * * @param enabled the enabled value to set * @return the ActivityLogAlertPatchBody object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertRuleResourcePatch.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertRuleResourcePatch.java index e4d1065951d..41429bee79c 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertRuleResourcePatch.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertRuleResourcePatch.java @@ -64,7 +64,7 @@ public class AlertRuleResourcePatch { private DateTime lastUpdatedTime; /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -73,7 +73,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the AlertRuleResourcePatch object itself. @@ -84,7 +84,7 @@ public AlertRuleResourcePatch withTags(Map tags) { } /** - * Get the name value. + * Get the name of the alert rule. * * @return the name value */ @@ -93,7 +93,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the alert rule. * * @param name the name value to set * @return the AlertRuleResourcePatch object itself. @@ -104,7 +104,7 @@ public AlertRuleResourcePatch withName(String name) { } /** - * Get the description value. + * Get the description of the alert rule that will be included in the alert email. * * @return the description value */ @@ -113,7 +113,7 @@ public String description() { } /** - * Set the description value. + * Set the description of the alert rule that will be included in the alert email. * * @param description the description value to set * @return the AlertRuleResourcePatch object itself. @@ -124,7 +124,7 @@ public AlertRuleResourcePatch withDescription(String description) { } /** - * Get the isEnabled value. + * Get the flag that indicates whether the alert rule is enabled. * * @return the isEnabled value */ @@ -133,7 +133,7 @@ public boolean isEnabled() { } /** - * Set the isEnabled value. + * Set the flag that indicates whether the alert rule is enabled. * * @param isEnabled the isEnabled value to set * @return the AlertRuleResourcePatch object itself. @@ -144,7 +144,7 @@ public AlertRuleResourcePatch withIsEnabled(boolean isEnabled) { } /** - * Get the condition value. + * Get the condition that results in the alert rule being activated. * * @return the condition value */ @@ -153,7 +153,7 @@ public RuleCondition condition() { } /** - * Set the condition value. + * Set the condition that results in the alert rule being activated. * * @param condition the condition value to set * @return the AlertRuleResourcePatch object itself. @@ -164,7 +164,7 @@ public AlertRuleResourcePatch withCondition(RuleCondition condition) { } /** - * Get the actions value. + * Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @return the actions value */ @@ -173,7 +173,7 @@ public List actions() { } /** - * Set the actions value. + * Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @param actions the actions value to set * @return the AlertRuleResourcePatch object itself. @@ -184,7 +184,7 @@ public AlertRuleResourcePatch withActions(List actions) { } /** - * Get the lastUpdatedTime value. + * Get last time the rule was updated in ISO8601 format. * * @return the lastUpdatedTime value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertingAction.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertingAction.java index f18f5d019b1..0815babcd6e 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertingAction.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AlertingAction.java @@ -25,13 +25,13 @@ public class AlertingAction extends Action { private AlertSeverity severity; /** - * azns notification group reference. + * Azure action group reference. */ @JsonProperty(value = "aznsAction", required = true) private AzNsActionGroup aznsAction; /** - * time (in minutes) for which Alerts should be throttled. + * time (in minutes) for which Alerts should be throttled or suppressed. */ @JsonProperty(value = "throttlingInMin") private Integer throttlingInMin; @@ -43,7 +43,7 @@ public class AlertingAction extends Action { private TriggerCondition trigger; /** - * Get the severity value. + * Get severity of the alert. Possible values include: '0', '1', '2', '3', '4'. * * @return the severity value */ @@ -52,7 +52,7 @@ public AlertSeverity severity() { } /** - * Set the severity value. + * Set severity of the alert. Possible values include: '0', '1', '2', '3', '4'. * * @param severity the severity value to set * @return the AlertingAction object itself. @@ -63,7 +63,7 @@ public AlertingAction withSeverity(AlertSeverity severity) { } /** - * Get the aznsAction value. + * Get azure action group reference. * * @return the aznsAction value */ @@ -72,7 +72,7 @@ public AzNsActionGroup aznsAction() { } /** - * Set the aznsAction value. + * Set azure action group reference. * * @param aznsAction the aznsAction value to set * @return the AlertingAction object itself. @@ -83,7 +83,7 @@ public AlertingAction withAznsAction(AzNsActionGroup aznsAction) { } /** - * Get the throttlingInMin value. + * Get time (in minutes) for which Alerts should be throttled or suppressed. * * @return the throttlingInMin value */ @@ -92,7 +92,7 @@ public Integer throttlingInMin() { } /** - * Set the throttlingInMin value. + * Set time (in minutes) for which Alerts should be throttled or suppressed. * * @param throttlingInMin the throttlingInMin value to set * @return the AlertingAction object itself. @@ -103,7 +103,7 @@ public AlertingAction withThrottlingInMin(Integer throttlingInMin) { } /** - * Get the trigger value. + * Get the trigger condition that results in the alert rule being. * * @return the trigger value */ @@ -112,7 +112,7 @@ public TriggerCondition trigger() { } /** - * Set the trigger value. + * Set the trigger condition that results in the alert rule being. * * @param trigger the trigger value to set * @return the AlertingAction object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutomationRunbookReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutomationRunbookReceiver.java index 0d33f19ecc0..39a22ba1d94 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutomationRunbookReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutomationRunbookReceiver.java @@ -52,7 +52,7 @@ public class AutomationRunbookReceiver { private String serviceUri; /** - * Get the automationAccountId value. + * Get the Azure automation account Id which holds this runbook and authenticate to Azure resource. * * @return the automationAccountId value */ @@ -61,7 +61,7 @@ public String automationAccountId() { } /** - * Set the automationAccountId value. + * Set the Azure automation account Id which holds this runbook and authenticate to Azure resource. * * @param automationAccountId the automationAccountId value to set * @return the AutomationRunbookReceiver object itself. @@ -72,7 +72,7 @@ public AutomationRunbookReceiver withAutomationAccountId(String automationAccoun } /** - * Get the runbookName value. + * Get the name for this runbook. * * @return the runbookName value */ @@ -81,7 +81,7 @@ public String runbookName() { } /** - * Set the runbookName value. + * Set the name for this runbook. * * @param runbookName the runbookName value to set * @return the AutomationRunbookReceiver object itself. @@ -92,7 +92,7 @@ public AutomationRunbookReceiver withRunbookName(String runbookName) { } /** - * Get the webhookResourceId value. + * Get the resource id for webhook linked to this runbook. * * @return the webhookResourceId value */ @@ -101,7 +101,7 @@ public String webhookResourceId() { } /** - * Set the webhookResourceId value. + * Set the resource id for webhook linked to this runbook. * * @param webhookResourceId the webhookResourceId value to set * @return the AutomationRunbookReceiver object itself. @@ -112,7 +112,7 @@ public AutomationRunbookReceiver withWebhookResourceId(String webhookResourceId) } /** - * Get the isGlobalRunbook value. + * Get indicates whether this instance is global runbook. * * @return the isGlobalRunbook value */ @@ -121,7 +121,7 @@ public boolean isGlobalRunbook() { } /** - * Set the isGlobalRunbook value. + * Set indicates whether this instance is global runbook. * * @param isGlobalRunbook the isGlobalRunbook value to set * @return the AutomationRunbookReceiver object itself. @@ -132,7 +132,7 @@ public AutomationRunbookReceiver withIsGlobalRunbook(boolean isGlobalRunbook) { } /** - * Get the name value. + * Get indicates name of the webhook. * * @return the name value */ @@ -141,7 +141,7 @@ public String name() { } /** - * Set the name value. + * Set indicates name of the webhook. * * @param name the name value to set * @return the AutomationRunbookReceiver object itself. @@ -152,7 +152,7 @@ public AutomationRunbookReceiver withName(String name) { } /** - * Get the serviceUri value. + * Get the URI where webhooks should be sent. * * @return the serviceUri value */ @@ -161,7 +161,7 @@ public String serviceUri() { } /** - * Set the serviceUri value. + * Set the URI where webhooks should be sent. * * @param serviceUri the serviceUri value to set * @return the AutomationRunbookReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleNotification.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleNotification.java index a8186ac4e47..55644e199b1 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleNotification.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleNotification.java @@ -42,7 +42,7 @@ public AutoscaleNotification() { } /** - * Get the operation value. + * Get the operation associated with the notification and its value must be "scale". * * @return the operation value */ @@ -51,7 +51,7 @@ public String operation() { } /** - * Set the operation value. + * Set the operation associated with the notification and its value must be "scale". * * @param operation the operation value to set * @return the AutoscaleNotification object itself. @@ -62,7 +62,7 @@ public AutoscaleNotification withOperation(String operation) { } /** - * Get the email value. + * Get the email notification. * * @return the email value */ @@ -71,7 +71,7 @@ public EmailNotification email() { } /** - * Set the email value. + * Set the email notification. * * @param email the email value to set * @return the AutoscaleNotification object itself. @@ -82,7 +82,7 @@ public AutoscaleNotification withEmail(EmailNotification email) { } /** - * Get the webhooks value. + * Get the collection of webhook notifications. * * @return the webhooks value */ @@ -91,7 +91,7 @@ public List webhooks() { } /** - * Set the webhooks value. + * Set the collection of webhook notifications. * * @param webhooks the webhooks value to set * @return the AutoscaleNotification object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleProfile.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleProfile.java index 3d3f6bc399c..da79e405875 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleProfile.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleProfile.java @@ -49,7 +49,7 @@ public class AutoscaleProfile { private Recurrence recurrence; /** - * Get the name value. + * Get the name of the profile. * * @return the name value */ @@ -58,7 +58,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the profile. * * @param name the name value to set * @return the AutoscaleProfile object itself. @@ -69,7 +69,7 @@ public AutoscaleProfile withName(String name) { } /** - * Get the capacity value. + * Get the number of instances that can be used during this profile. * * @return the capacity value */ @@ -78,7 +78,7 @@ public ScaleCapacity capacity() { } /** - * Set the capacity value. + * Set the number of instances that can be used during this profile. * * @param capacity the capacity value to set * @return the AutoscaleProfile object itself. @@ -89,7 +89,7 @@ public AutoscaleProfile withCapacity(ScaleCapacity capacity) { } /** - * Get the rules value. + * Get the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified. * * @return the rules value */ @@ -98,7 +98,7 @@ public List rules() { } /** - * Set the rules value. + * Set the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified. * * @param rules the rules value to set * @return the AutoscaleProfile object itself. @@ -109,7 +109,7 @@ public AutoscaleProfile withRules(List rules) { } /** - * Get the fixedDate value. + * Get the specific date-time for the profile. This element is not used if the Recurrence element is used. * * @return the fixedDate value */ @@ -118,7 +118,7 @@ public TimeWindow fixedDate() { } /** - * Set the fixedDate value. + * Set the specific date-time for the profile. This element is not used if the Recurrence element is used. * * @param fixedDate the fixedDate value to set * @return the AutoscaleProfile object itself. @@ -129,7 +129,7 @@ public AutoscaleProfile withFixedDate(TimeWindow fixedDate) { } /** - * Get the recurrence value. + * Get the repeating times at which this profile begins. This element is not used if the FixedDate element is used. * * @return the recurrence value */ @@ -138,7 +138,7 @@ public Recurrence recurrence() { } /** - * Set the recurrence value. + * Set the repeating times at which this profile begins. This element is not used if the FixedDate element is used. * * @param recurrence the recurrence value to set * @return the AutoscaleProfile object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleSettingResourcePatch.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleSettingResourcePatch.java index af655d8e6ef..8633ae4c2d0 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleSettingResourcePatch.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AutoscaleSettingResourcePatch.java @@ -59,7 +59,7 @@ public class AutoscaleSettingResourcePatch { private String targetResourceUri; /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -68,7 +68,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the AutoscaleSettingResourcePatch object itself. @@ -79,7 +79,7 @@ public AutoscaleSettingResourcePatch withTags(Map tags) { } /** - * Get the profiles value. + * Get the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. * * @return the profiles value */ @@ -88,7 +88,7 @@ public List profiles() { } /** - * Set the profiles value. + * Set the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. * * @param profiles the profiles value to set * @return the AutoscaleSettingResourcePatch object itself. @@ -99,7 +99,7 @@ public AutoscaleSettingResourcePatch withProfiles(List profile } /** - * Get the notifications value. + * Get the collection of notifications. * * @return the notifications value */ @@ -108,7 +108,7 @@ public List notifications() { } /** - * Set the notifications value. + * Set the collection of notifications. * * @param notifications the notifications value to set * @return the AutoscaleSettingResourcePatch object itself. @@ -119,7 +119,7 @@ public AutoscaleSettingResourcePatch withNotifications(List actionGroup; /** - * Custom subject for Azns email. + * Custom subject override for all email ids in Azure action group. */ @JsonProperty(value = "emailSubject") private String emailSubject; /** - * Custom webhook payload to be send to azns action group. + * Custom payload to be sent for all webook URI in Azure action group. */ @JsonProperty(value = "customWebhookPayload") private String customWebhookPayload; /** - * Get the actionGroup value. + * Get azure Action Group reference. * * @return the actionGroup value */ @@ -43,7 +43,7 @@ public List actionGroup() { } /** - * Set the actionGroup value. + * Set azure Action Group reference. * * @param actionGroup the actionGroup value to set * @return the AzNsActionGroup object itself. @@ -54,7 +54,7 @@ public AzNsActionGroup withActionGroup(List actionGroup) { } /** - * Get the emailSubject value. + * Get custom subject override for all email ids in Azure action group. * * @return the emailSubject value */ @@ -63,7 +63,7 @@ public String emailSubject() { } /** - * Set the emailSubject value. + * Set custom subject override for all email ids in Azure action group. * * @param emailSubject the emailSubject value to set * @return the AzNsActionGroup object itself. @@ -74,7 +74,7 @@ public AzNsActionGroup withEmailSubject(String emailSubject) { } /** - * Get the customWebhookPayload value. + * Get custom payload to be sent for all webook URI in Azure action group. * * @return the customWebhookPayload value */ @@ -83,7 +83,7 @@ public String customWebhookPayload() { } /** - * Set the customWebhookPayload value. + * Set custom payload to be sent for all webook URI in Azure action group. * * @param customWebhookPayload the customWebhookPayload value to set * @return the AzNsActionGroup object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureAppPushReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureAppPushReceiver.java index 1b50d4abe20..823c31bcd3c 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureAppPushReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureAppPushReceiver.java @@ -28,7 +28,7 @@ public class AzureAppPushReceiver { private String emailAddress; /** - * Get the name value. + * Get the name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -37,7 +37,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the AzureAppPushReceiver object itself. @@ -48,7 +48,7 @@ public AzureAppPushReceiver withName(String name) { } /** - * Get the emailAddress value. + * Get the email address registered for the Azure mobile app. * * @return the emailAddress value */ @@ -57,7 +57,7 @@ public String emailAddress() { } /** - * Set the emailAddress value. + * Set the email address registered for the Azure mobile app. * * @param emailAddress the emailAddress value to set * @return the AzureAppPushReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureFunctionReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureFunctionReceiver.java index 620bef52631..3abb6c15283 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureFunctionReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/AzureFunctionReceiver.java @@ -40,7 +40,7 @@ public class AzureFunctionReceiver { private String httpTriggerUrl; /** - * Get the name value. + * Get the name of the azure function receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -49,7 +49,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the azure function receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the AzureFunctionReceiver object itself. @@ -60,7 +60,7 @@ public AzureFunctionReceiver withName(String name) { } /** - * Get the functionAppResourceId value. + * Get the azure resource id of the function app. * * @return the functionAppResourceId value */ @@ -69,7 +69,7 @@ public String functionAppResourceId() { } /** - * Set the functionAppResourceId value. + * Set the azure resource id of the function app. * * @param functionAppResourceId the functionAppResourceId value to set * @return the AzureFunctionReceiver object itself. @@ -80,7 +80,7 @@ public AzureFunctionReceiver withFunctionAppResourceId(String functionAppResourc } /** - * Get the functionName value. + * Get the function name in the function app. * * @return the functionName value */ @@ -89,7 +89,7 @@ public String functionName() { } /** - * Set the functionName value. + * Set the function name in the function app. * * @param functionName the functionName value to set * @return the AzureFunctionReceiver object itself. @@ -100,7 +100,7 @@ public AzureFunctionReceiver withFunctionName(String functionName) { } /** - * Get the httpTriggerUrl value. + * Get the http trigger url where http request sent to. * * @return the httpTriggerUrl value */ @@ -109,7 +109,7 @@ public String httpTriggerUrl() { } /** - * Set the httpTriggerUrl value. + * Set the http trigger url where http request sent to. * * @param httpTriggerUrl the httpTriggerUrl value to set * @return the AzureFunctionReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Baseline.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Baseline.java index 742417e494f..c74092ab925 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Baseline.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Baseline.java @@ -35,7 +35,7 @@ public class Baseline { private List highThresholds; /** - * Get the sensitivity value. + * Get the sensitivity of the baseline. Possible values include: 'Low', 'Medium', 'High'. * * @return the sensitivity value */ @@ -44,7 +44,7 @@ public Sensitivity sensitivity() { } /** - * Set the sensitivity value. + * Set the sensitivity of the baseline. Possible values include: 'Low', 'Medium', 'High'. * * @param sensitivity the sensitivity value to set * @return the Baseline object itself. @@ -55,7 +55,7 @@ public Baseline withSensitivity(Sensitivity sensitivity) { } /** - * Get the lowThresholds value. + * Get the low thresholds of the baseline. * * @return the lowThresholds value */ @@ -64,7 +64,7 @@ public List lowThresholds() { } /** - * Set the lowThresholds value. + * Set the low thresholds of the baseline. * * @param lowThresholds the lowThresholds value to set * @return the Baseline object itself. @@ -75,7 +75,7 @@ public Baseline withLowThresholds(List lowThresholds) { } /** - * Get the highThresholds value. + * Get the high thresholds of the baseline. * * @return the highThresholds value */ @@ -84,7 +84,7 @@ public List highThresholds() { } /** - * Set the highThresholds value. + * Set the high thresholds of the baseline. * * @param highThresholds the highThresholds value to set * @return the Baseline object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/BaselineMetadataValue.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/BaselineMetadataValue.java index 2610231463c..a909e14e1ac 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/BaselineMetadataValue.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/BaselineMetadataValue.java @@ -28,7 +28,7 @@ public class BaselineMetadataValue { private String value; /** - * Get the name value. + * Get the name of the metadata. * * @return the name value */ @@ -37,7 +37,7 @@ public LocalizableStringInner name() { } /** - * Set the name value. + * Set the name of the metadata. * * @param name the name value to set * @return the BaselineMetadataValue object itself. @@ -48,7 +48,7 @@ public BaselineMetadataValue withName(LocalizableStringInner name) { } /** - * Get the value value. + * Get the value of the metadata. * * @return the value value */ @@ -57,7 +57,7 @@ public String value() { } /** - * Set the value value. + * Set the value of the metadata. * * @param value the value value to set * @return the BaselineMetadataValue object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailNotification.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailNotification.java index 61dd715792e..7b0716bfdcc 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailNotification.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailNotification.java @@ -36,7 +36,7 @@ public class EmailNotification { private List customEmails; /** - * Get the sendToSubscriptionAdministrator value. + * Get a value indicating whether to send email to subscription administrator. * * @return the sendToSubscriptionAdministrator value */ @@ -45,7 +45,7 @@ public Boolean sendToSubscriptionAdministrator() { } /** - * Set the sendToSubscriptionAdministrator value. + * Set a value indicating whether to send email to subscription administrator. * * @param sendToSubscriptionAdministrator the sendToSubscriptionAdministrator value to set * @return the EmailNotification object itself. @@ -56,7 +56,7 @@ public EmailNotification withSendToSubscriptionAdministrator(Boolean sendToSubsc } /** - * Get the sendToSubscriptionCoAdministrators value. + * Get a value indicating whether to send email to subscription co-administrators. * * @return the sendToSubscriptionCoAdministrators value */ @@ -65,7 +65,7 @@ public Boolean sendToSubscriptionCoAdministrators() { } /** - * Set the sendToSubscriptionCoAdministrators value. + * Set a value indicating whether to send email to subscription co-administrators. * * @param sendToSubscriptionCoAdministrators the sendToSubscriptionCoAdministrators value to set * @return the EmailNotification object itself. @@ -76,7 +76,7 @@ public EmailNotification withSendToSubscriptionCoAdministrators(Boolean sendToSu } /** - * Get the customEmails value. + * Get the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored. * * @return the customEmails value */ @@ -85,7 +85,7 @@ public List customEmails() { } /** - * Set the customEmails value. + * Set the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored. * * @param customEmails the customEmails value to set * @return the EmailNotification object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailReceiver.java index 01a89a99ae1..8a6ea4c1259 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EmailReceiver.java @@ -35,7 +35,7 @@ public class EmailReceiver { private ReceiverStatus status; /** - * Get the name value. + * Get the name of the email receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -44,7 +44,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the email receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the EmailReceiver object itself. @@ -55,7 +55,7 @@ public EmailReceiver withName(String name) { } /** - * Get the emailAddress value. + * Get the email address of this receiver. * * @return the emailAddress value */ @@ -64,7 +64,7 @@ public String emailAddress() { } /** - * Set the emailAddress value. + * Set the email address of this receiver. * * @param emailAddress the emailAddress value to set * @return the EmailReceiver object itself. @@ -75,7 +75,7 @@ public EmailReceiver withEmailAddress(String emailAddress) { } /** - * Get the status value. + * Get the receiver status of the e-mail. Possible values include: 'NotSpecified', 'Enabled', 'Disabled'. * * @return the status value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EnableRequest.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EnableRequest.java index f222d76d41b..c3df8ba3f77 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EnableRequest.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/EnableRequest.java @@ -21,7 +21,7 @@ public class EnableRequest { private String receiverName; /** - * Get the receiverName value. + * Get the name of the receiver to resubscribe. * * @return the receiverName value */ @@ -30,7 +30,7 @@ public String receiverName() { } /** - * Set the receiverName value. + * Set the name of the receiver to resubscribe. * * @param receiverName the receiverName value to set * @return the EnableRequest object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ErrorResponse.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ErrorResponse.java index 2bbcabf3930..4dc1acf70ba 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ErrorResponse.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ErrorResponse.java @@ -27,7 +27,7 @@ public class ErrorResponse { private String message; /** - * Get the code value. + * Get error code. * * @return the code value */ @@ -36,7 +36,7 @@ public String code() { } /** - * Set the code value. + * Set error code. * * @param code the code value to set * @return the ErrorResponse object itself. @@ -47,7 +47,7 @@ public ErrorResponse withCode(String code) { } /** - * Get the message value. + * Get error message indicating why the operation failed. * * @return the message value */ @@ -56,7 +56,7 @@ public String message() { } /** - * Set the message value. + * Set error message indicating why the operation failed. * * @param message the message value to set * @return the ErrorResponse object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/HttpRequestInfo.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/HttpRequestInfo.java index 4311cced5d3..6691d8c1d36 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/HttpRequestInfo.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/HttpRequestInfo.java @@ -39,7 +39,7 @@ public class HttpRequestInfo { private String uri; /** - * Get the clientRequestId value. + * Get the client request id. * * @return the clientRequestId value */ @@ -48,7 +48,7 @@ public String clientRequestId() { } /** - * Set the clientRequestId value. + * Set the client request id. * * @param clientRequestId the clientRequestId value to set * @return the HttpRequestInfo object itself. @@ -59,7 +59,7 @@ public HttpRequestInfo withClientRequestId(String clientRequestId) { } /** - * Get the clientIpAddress value. + * Get the client Ip Address. * * @return the clientIpAddress value */ @@ -68,7 +68,7 @@ public String clientIpAddress() { } /** - * Set the clientIpAddress value. + * Set the client Ip Address. * * @param clientIpAddress the clientIpAddress value to set * @return the HttpRequestInfo object itself. @@ -79,7 +79,7 @@ public HttpRequestInfo withClientIpAddress(String clientIpAddress) { } /** - * Get the method value. + * Get the Http request method. * * @return the method value */ @@ -88,7 +88,7 @@ public String method() { } /** - * Set the method value. + * Set the Http request method. * * @param method the method value to set * @return the HttpRequestInfo object itself. @@ -99,7 +99,7 @@ public HttpRequestInfo withMethod(String method) { } /** - * Get the uri value. + * Get the Uri. * * @return the uri value */ @@ -108,7 +108,7 @@ public String uri() { } /** - * Set the uri value. + * Set the Uri. * * @param uri the uri value to set * @return the HttpRequestInfo object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ItsmReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ItsmReceiver.java index 28808f2ce69..92dd4f6c2f3 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ItsmReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ItsmReceiver.java @@ -49,7 +49,7 @@ public class ItsmReceiver { private String region; /** - * Get the name value. + * Get the name of the Itsm receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -58,7 +58,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the Itsm receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the ItsmReceiver object itself. @@ -69,7 +69,7 @@ public ItsmReceiver withName(String name) { } /** - * Get the workspaceId value. + * Get oMS LA instance identifier. * * @return the workspaceId value */ @@ -78,7 +78,7 @@ public String workspaceId() { } /** - * Set the workspaceId value. + * Set oMS LA instance identifier. * * @param workspaceId the workspaceId value to set * @return the ItsmReceiver object itself. @@ -89,7 +89,7 @@ public ItsmReceiver withWorkspaceId(String workspaceId) { } /** - * Get the connectionId value. + * Get unique identification of ITSM connection among multiple defined in above workspace. * * @return the connectionId value */ @@ -98,7 +98,7 @@ public String connectionId() { } /** - * Set the connectionId value. + * Set unique identification of ITSM connection among multiple defined in above workspace. * * @param connectionId the connectionId value to set * @return the ItsmReceiver object itself. @@ -109,7 +109,7 @@ public ItsmReceiver withConnectionId(String connectionId) { } /** - * Get the ticketConfiguration value. + * Get jSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well. * * @return the ticketConfiguration value */ @@ -118,7 +118,7 @@ public String ticketConfiguration() { } /** - * Set the ticketConfiguration value. + * Set jSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well. * * @param ticketConfiguration the ticketConfiguration value to set * @return the ItsmReceiver object itself. @@ -129,7 +129,7 @@ public ItsmReceiver withTicketConfiguration(String ticketConfiguration) { } /** - * Get the region value. + * Get region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'. * * @return the region value */ @@ -138,7 +138,7 @@ public String region() { } /** - * Set the region value. + * Set region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'. * * @param region the region value to set * @return the ItsmReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LocationThresholdRuleCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LocationThresholdRuleCondition.java index b996f8fa8d8..b14cc6c5d82 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LocationThresholdRuleCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LocationThresholdRuleCondition.java @@ -34,7 +34,7 @@ public class LocationThresholdRuleCondition extends RuleCondition { private int failedLocationCount; /** - * Get the windowSize value. + * Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. * * @return the windowSize value */ @@ -43,7 +43,7 @@ public Period windowSize() { } /** - * Set the windowSize value. + * Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. * * @param windowSize the windowSize value to set * @return the LocationThresholdRuleCondition object itself. @@ -54,7 +54,7 @@ public LocationThresholdRuleCondition withWindowSize(Period windowSize) { } /** - * Get the failedLocationCount value. + * Get the number of locations that must fail to activate the alert. * * @return the failedLocationCount value */ @@ -63,7 +63,7 @@ public int failedLocationCount() { } /** - * Set the failedLocationCount value. + * Set the number of locations that must fail to activate the alert. * * @param failedLocationCount the failedLocationCount value to set * @return the LocationThresholdRuleCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogMetricTrigger.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogMetricTrigger.java new file mode 100644 index 00000000000..eb880150bc3 --- /dev/null +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogMetricTrigger.java @@ -0,0 +1,123 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.monitor; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The LogMetricTrigger model. + */ +public class LogMetricTrigger { + /** + * Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. + * Possible values include: 'GreaterThan', 'LessThan', 'Equal'. + */ + @JsonProperty(value = "thresholdOperator") + private ConditionalOperator thresholdOperator; + + /** + * The threshold property. + */ + @JsonProperty(value = "threshold") + private Double threshold; + + /** + * Metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: + * 'Consecutive', 'Total'. + */ + @JsonProperty(value = "metricTriggerType") + private MetricTriggerType metricTriggerType; + + /** + * Evaluation of metric on a particular column. + */ + @JsonProperty(value = "metricColumn") + private String metricColumn; + + /** + * Get evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'GreaterThan', 'LessThan', 'Equal'. + * + * @return the thresholdOperator value + */ + public ConditionalOperator thresholdOperator() { + return this.thresholdOperator; + } + + /** + * Set evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'GreaterThan', 'LessThan', 'Equal'. + * + * @param thresholdOperator the thresholdOperator value to set + * @return the LogMetricTrigger object itself. + */ + public LogMetricTrigger withThresholdOperator(ConditionalOperator thresholdOperator) { + this.thresholdOperator = thresholdOperator; + return this; + } + + /** + * Get the threshold value. + * + * @return the threshold value + */ + public Double threshold() { + return this.threshold; + } + + /** + * Set the threshold value. + * + * @param threshold the threshold value to set + * @return the LogMetricTrigger object itself. + */ + public LogMetricTrigger withThreshold(Double threshold) { + this.threshold = threshold; + return this; + } + + /** + * Get metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total'. + * + * @return the metricTriggerType value + */ + public MetricTriggerType metricTriggerType() { + return this.metricTriggerType; + } + + /** + * Set metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total'. + * + * @param metricTriggerType the metricTriggerType value to set + * @return the LogMetricTrigger object itself. + */ + public LogMetricTrigger withMetricTriggerType(MetricTriggerType metricTriggerType) { + this.metricTriggerType = metricTriggerType; + return this; + } + + /** + * Get evaluation of metric on a particular column. + * + * @return the metricColumn value + */ + public String metricColumn() { + return this.metricColumn; + } + + /** + * Set evaluation of metric on a particular column. + * + * @param metricColumn the metricColumn value to set + * @return the LogMetricTrigger object itself. + */ + public LogMetricTrigger withMetricColumn(String metricColumn) { + this.metricColumn = metricColumn; + return this; + } + +} diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogProfileResourcePatch.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogProfileResourcePatch.java index 12dec8935e0..90a479f7a8e 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogProfileResourcePatch.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogProfileResourcePatch.java @@ -63,7 +63,7 @@ public class LogProfileResourcePatch { private RetentionPolicy retentionPolicy; /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -72,7 +72,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the LogProfileResourcePatch object itself. @@ -83,7 +83,7 @@ public LogProfileResourcePatch withTags(Map tags) { } /** - * Get the storageAccountId value. + * Get the resource id of the storage account to which you would like to send the Activity Log. * * @return the storageAccountId value */ @@ -92,7 +92,7 @@ public String storageAccountId() { } /** - * Set the storageAccountId value. + * Set the resource id of the storage account to which you would like to send the Activity Log. * * @param storageAccountId the storageAccountId value to set * @return the LogProfileResourcePatch object itself. @@ -103,7 +103,7 @@ public LogProfileResourcePatch withStorageAccountId(String storageAccountId) { } /** - * Get the serviceBusRuleId value. + * Get the service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. * * @return the serviceBusRuleId value */ @@ -112,7 +112,7 @@ public String serviceBusRuleId() { } /** - * Set the serviceBusRuleId value. + * Set the service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. * * @param serviceBusRuleId the serviceBusRuleId value to set * @return the LogProfileResourcePatch object itself. @@ -123,7 +123,7 @@ public LogProfileResourcePatch withServiceBusRuleId(String serviceBusRuleId) { } /** - * Get the locations value. + * Get list of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. * * @return the locations value */ @@ -132,7 +132,7 @@ public List locations() { } /** - * Set the locations value. + * Set list of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. * * @param locations the locations value to set * @return the LogProfileResourcePatch object itself. @@ -143,7 +143,7 @@ public LogProfileResourcePatch withLocations(List locations) { } /** - * Get the categories value. + * Get the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'. * * @return the categories value */ @@ -152,7 +152,7 @@ public List categories() { } /** - * Set the categories value. + * Set the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'. * * @param categories the categories value to set * @return the LogProfileResourcePatch object itself. @@ -163,7 +163,7 @@ public LogProfileResourcePatch withCategories(List categories) { } /** - * Get the retentionPolicy value. + * Get the retention policy for the events in the log. * * @return the retentionPolicy value */ @@ -172,7 +172,7 @@ public RetentionPolicy retentionPolicy() { } /** - * Set the retentionPolicy value. + * Set the retention policy for the events in the log. * * @param retentionPolicy the retentionPolicy value to set * @return the LogProfileResourcePatch object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSearchRuleResourcePatch.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSearchRuleResourcePatch.java new file mode 100644 index 00000000000..311953f8586 --- /dev/null +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSearchRuleResourcePatch.java @@ -0,0 +1,73 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.monitor; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * The log search rule resource for patch operations. + */ +@JsonFlatten +public class LogSearchRuleResourcePatch { + /** + * Resource tags. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * The flag which indicates whether the Log Search rule is enabled. Value + * should be true or false. Possible values include: 'true', 'false'. + */ + @JsonProperty(value = "properties.enabled") + private Enabled enabled; + + /** + * Get resource tags. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set resource tags. + * + * @param tags the tags value to set + * @return the LogSearchRuleResourcePatch object itself. + */ + public LogSearchRuleResourcePatch withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'. + * + * @return the enabled value + */ + public Enabled enabled() { + return this.enabled; + } + + /** + * Set the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'. + * + * @param enabled the enabled value to set + * @return the LogSearchRuleResourcePatch object itself. + */ + public LogSearchRuleResourcePatch withEnabled(Enabled enabled) { + this.enabled = enabled; + return this; + } + +} diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSettings.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSettings.java index fe66005806f..e3cece09f69 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSettings.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogSettings.java @@ -36,7 +36,7 @@ public class LogSettings { private RetentionPolicy retentionPolicy; /** - * Get the category value. + * Get name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. * * @return the category value */ @@ -45,7 +45,7 @@ public String category() { } /** - * Set the category value. + * Set name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. * * @param category the category value to set * @return the LogSettings object itself. @@ -56,7 +56,7 @@ public LogSettings withCategory(String category) { } /** - * Get the enabled value. + * Get a value indicating whether this log is enabled. * * @return the enabled value */ @@ -65,7 +65,7 @@ public boolean enabled() { } /** - * Set the enabled value. + * Set a value indicating whether this log is enabled. * * @param enabled the enabled value to set * @return the LogSettings object itself. @@ -76,7 +76,7 @@ public LogSettings withEnabled(boolean enabled) { } /** - * Get the retentionPolicy value. + * Get the retention policy for this log. * * @return the retentionPolicy value */ @@ -85,7 +85,7 @@ public RetentionPolicy retentionPolicy() { } /** - * Set the retentionPolicy value. + * Set the retention policy for this log. * * @param retentionPolicy the retentionPolicy value to set * @return the LogSettings object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogicAppReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogicAppReceiver.java index 042a3191577..ca0328c7e00 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogicAppReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/LogicAppReceiver.java @@ -34,7 +34,7 @@ public class LogicAppReceiver { private String callbackUrl; /** - * Get the name value. + * Get the name of the logic app receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -43,7 +43,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the logic app receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the LogicAppReceiver object itself. @@ -54,7 +54,7 @@ public LogicAppReceiver withName(String name) { } /** - * Get the resourceId value. + * Get the azure resource id of the logic app receiver. * * @return the resourceId value */ @@ -63,7 +63,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set the azure resource id of the logic app receiver. * * @param resourceId the resourceId value to set * @return the LogicAppReceiver object itself. @@ -74,7 +74,7 @@ public LogicAppReceiver withResourceId(String resourceId) { } /** - * Get the callbackUrl value. + * Get the callback url where http request sent to. * * @return the callbackUrl value */ @@ -83,7 +83,7 @@ public String callbackUrl() { } /** - * Set the callbackUrl value. + * Set the callback url where http request sent to. * * @param callbackUrl the callbackUrl value to set * @return the LogicAppReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventAggregationCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventAggregationCondition.java index 93d9cbdc5ae..7ebf7f72fe6 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventAggregationCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventAggregationCondition.java @@ -37,7 +37,7 @@ public class ManagementEventAggregationCondition { private Period windowSize; /** - * Get the operator value. + * Get the condition operator. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'. * * @return the operator value */ @@ -46,7 +46,7 @@ public ConditionOperator operator() { } /** - * Set the operator value. + * Set the condition operator. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'. * * @param operator the operator value to set * @return the ManagementEventAggregationCondition object itself. @@ -57,7 +57,7 @@ public ManagementEventAggregationCondition withOperator(ConditionOperator operat } /** - * Get the threshold value. + * Get the threshold value that activates the alert. * * @return the threshold value */ @@ -66,7 +66,7 @@ public Double threshold() { } /** - * Set the threshold value. + * Set the threshold value that activates the alert. * * @param threshold the threshold value to set * @return the ManagementEventAggregationCondition object itself. @@ -77,7 +77,7 @@ public ManagementEventAggregationCondition withThreshold(Double threshold) { } /** - * Get the windowSize value. + * Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. * * @return the windowSize value */ @@ -86,7 +86,7 @@ public Period windowSize() { } /** - * Set the windowSize value. + * Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. * * @param windowSize the windowSize value to set * @return the ManagementEventAggregationCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventRuleCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventRuleCondition.java index 516bac18cd2..f0f81f1ca64 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventRuleCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ManagementEventRuleCondition.java @@ -28,7 +28,7 @@ public class ManagementEventRuleCondition extends RuleCondition { private ManagementEventAggregationCondition aggregation; /** - * Get the aggregation value. + * Get how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate. * * @return the aggregation value */ @@ -37,7 +37,7 @@ public ManagementEventAggregationCondition aggregation() { } /** - * Set the aggregation value. + * Set how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate. * * @param aggregation the aggregation value to set * @return the ManagementEventRuleCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetadataValue.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetadataValue.java index f0fe3706bb6..ccdc78e1772 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetadataValue.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetadataValue.java @@ -28,7 +28,7 @@ public class MetadataValue { private String value; /** - * Get the name value. + * Get the name of the metadata. * * @return the name value */ @@ -37,7 +37,7 @@ public LocalizableStringInner name() { } /** - * Set the name value. + * Set the name of the metadata. * * @param name the name value to set * @return the MetadataValue object itself. @@ -48,7 +48,7 @@ public MetadataValue withName(LocalizableStringInner name) { } /** - * Get the value value. + * Get the value of the metadata. * * @return the value value */ @@ -57,7 +57,7 @@ public String value() { } /** - * Set the value value. + * Set the value of the metadata. * * @param value the value value to set * @return the MetadataValue object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertAction.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertAction.java new file mode 100644 index 00000000000..d7c6bf63376 --- /dev/null +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertAction.java @@ -0,0 +1,70 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.monitor; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * An alert action. + */ +public class MetricAlertAction { + /** + * the id of the action group to use. + */ + @JsonProperty(value = "actionGroupId") + private String actionGroupId; + + /** + * The webhookProperties property. + */ + @JsonProperty(value = "webhookProperties") + private Map webhookProperties; + + /** + * Get the id of the action group to use. + * + * @return the actionGroupId value + */ + public String actionGroupId() { + return this.actionGroupId; + } + + /** + * Set the id of the action group to use. + * + * @param actionGroupId the actionGroupId value to set + * @return the MetricAlertAction object itself. + */ + public MetricAlertAction withActionGroupId(String actionGroupId) { + this.actionGroupId = actionGroupId; + return this; + } + + /** + * Get the webhookProperties value. + * + * @return the webhookProperties value + */ + public Map webhookProperties() { + return this.webhookProperties; + } + + /** + * Set the webhookProperties value. + * + * @param webhookProperties the webhookProperties value to set + * @return the MetricAlertAction object itself. + */ + public MetricAlertAction withWebhookProperties(Map webhookProperties) { + this.webhookProperties = webhookProperties; + return this; + } + +} diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertCriteria.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertCriteria.java index 5e6b02bafcd..1736f6059c1 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertCriteria.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertCriteria.java @@ -30,7 +30,7 @@ public class MetricAlertCriteria { private Map additionalProperties; /** - * Get the additionalProperties value. + * Get unmatched properties from the message are deserialized this collection. * * @return the additionalProperties value */ @@ -39,7 +39,7 @@ public Map additionalProperties() { } /** - * Set the additionalProperties value. + * Set unmatched properties from the message are deserialized this collection. * * @param additionalProperties the additionalProperties value to set * @return the MetricAlertCriteria object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertResourcePatch.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertResourcePatch.java index f3742e24d1e..cfe152a8ad1 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertResourcePatch.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertResourcePatch.java @@ -92,7 +92,7 @@ public class MetricAlertResourcePatch { private DateTime lastUpdatedTime; /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -101,7 +101,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the MetricAlertResourcePatch object itself. @@ -112,7 +112,7 @@ public MetricAlertResourcePatch withTags(Map tags) { } /** - * Get the description value. + * Get the description of the metric alert that will be included in the alert email. * * @return the description value */ @@ -121,7 +121,7 @@ public String description() { } /** - * Set the description value. + * Set the description of the metric alert that will be included in the alert email. * * @param description the description value to set * @return the MetricAlertResourcePatch object itself. @@ -132,7 +132,7 @@ public MetricAlertResourcePatch withDescription(String description) { } /** - * Get the severity value. + * Get alert severity {0, 1, 2, 3, 4}. * * @return the severity value */ @@ -141,7 +141,7 @@ public int severity() { } /** - * Set the severity value. + * Set alert severity {0, 1, 2, 3, 4}. * * @param severity the severity value to set * @return the MetricAlertResourcePatch object itself. @@ -152,7 +152,7 @@ public MetricAlertResourcePatch withSeverity(int severity) { } /** - * Get the enabled value. + * Get the flag that indicates whether the metric alert is enabled. * * @return the enabled value */ @@ -161,7 +161,7 @@ public boolean enabled() { } /** - * Set the enabled value. + * Set the flag that indicates whether the metric alert is enabled. * * @param enabled the enabled value to set * @return the MetricAlertResourcePatch object itself. @@ -172,7 +172,7 @@ public MetricAlertResourcePatch withEnabled(boolean enabled) { } /** - * Get the scopes value. + * Get the list of resource id's that this metric alert is scoped to. * * @return the scopes value */ @@ -181,7 +181,7 @@ public List scopes() { } /** - * Set the scopes value. + * Set the list of resource id's that this metric alert is scoped to. * * @param scopes the scopes value to set * @return the MetricAlertResourcePatch object itself. @@ -192,7 +192,7 @@ public MetricAlertResourcePatch withScopes(List scopes) { } /** - * Get the evaluationFrequency value. + * Get how often the metric alert is evaluated represented in ISO 8601 duration format. * * @return the evaluationFrequency value */ @@ -201,7 +201,7 @@ public Period evaluationFrequency() { } /** - * Set the evaluationFrequency value. + * Set how often the metric alert is evaluated represented in ISO 8601 duration format. * * @param evaluationFrequency the evaluationFrequency value to set * @return the MetricAlertResourcePatch object itself. @@ -212,7 +212,7 @@ public MetricAlertResourcePatch withEvaluationFrequency(Period evaluationFrequen } /** - * Get the windowSize value. + * Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. * * @return the windowSize value */ @@ -221,7 +221,7 @@ public Period windowSize() { } /** - * Set the windowSize value. + * Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. * * @param windowSize the windowSize value to set * @return the MetricAlertResourcePatch object itself. @@ -232,7 +232,7 @@ public MetricAlertResourcePatch withWindowSize(Period windowSize) { } /** - * Get the criteria value. + * Get defines the specific alert criteria information. * * @return the criteria value */ @@ -241,7 +241,7 @@ public MetricAlertCriteria criteria() { } /** - * Set the criteria value. + * Set defines the specific alert criteria information. * * @param criteria the criteria value to set * @return the MetricAlertResourcePatch object itself. @@ -252,7 +252,7 @@ public MetricAlertResourcePatch withCriteria(MetricAlertCriteria criteria) { } /** - * Get the autoMitigate value. + * Get the flag that indicates whether the alert should be auto resolved or not. * * @return the autoMitigate value */ @@ -261,7 +261,7 @@ public Boolean autoMitigate() { } /** - * Set the autoMitigate value. + * Set the flag that indicates whether the alert should be auto resolved or not. * * @param autoMitigate the autoMitigate value to set * @return the MetricAlertResourcePatch object itself. @@ -272,7 +272,7 @@ public MetricAlertResourcePatch withAutoMitigate(Boolean autoMitigate) { } /** - * Get the actions value. + * Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @return the actions value */ @@ -281,7 +281,7 @@ public List actions() { } /** - * Set the actions value. + * Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @param actions the actions value to set * @return the MetricAlertResourcePatch object itself. @@ -292,7 +292,7 @@ public MetricAlertResourcePatch withActions(List actions) { } /** - * Get the lastUpdatedTime value. + * Get last time the rule was updated in ISO8601 format. * * @return the lastUpdatedTime value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertSingleResourceMultipleMetricCriteria.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertSingleResourceMultipleMetricCriteria.java index 20d754b040f..2a13ea6056a 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertSingleResourceMultipleMetricCriteria.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertSingleResourceMultipleMetricCriteria.java @@ -27,7 +27,7 @@ public class MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlert private List allOf; /** - * Get the allOf value. + * Get the list of metric criteria for this 'all of' operation. * * @return the allOf value */ @@ -36,7 +36,7 @@ public List allOf() { } /** - * Set the allOf value. + * Set the list of metric criteria for this 'all of' operation. * * @param allOf the allOf value to set * @return the MetricAlertSingleResourceMultipleMetricCriteria object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatus.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatus.java index 8a3fb875106..c4a5f7f7e46 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatus.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatus.java @@ -39,7 +39,7 @@ public class MetricAlertStatus { private MetricAlertStatusProperties properties; /** - * Get the name value. + * Get the status name. * * @return the name value */ @@ -48,7 +48,7 @@ public String name() { } /** - * Set the name value. + * Set the status name. * * @param name the name value to set * @return the MetricAlertStatus object itself. @@ -59,7 +59,7 @@ public MetricAlertStatus withName(String name) { } /** - * Get the id value. + * Get the alert rule arm id. * * @return the id value */ @@ -68,7 +68,7 @@ public String id() { } /** - * Set the id value. + * Set the alert rule arm id. * * @param id the id value to set * @return the MetricAlertStatus object itself. @@ -79,7 +79,7 @@ public MetricAlertStatus withId(String id) { } /** - * Get the type value. + * Get the extended resource type name. * * @return the type value */ @@ -88,7 +88,7 @@ public String type() { } /** - * Set the type value. + * Set the extended resource type name. * * @param type the type value to set * @return the MetricAlertStatus object itself. @@ -99,7 +99,7 @@ public MetricAlertStatus withType(String type) { } /** - * Get the properties value. + * Get the alert status properties of the metric alert status. * * @return the properties value */ @@ -108,7 +108,7 @@ public MetricAlertStatusProperties properties() { } /** - * Set the properties value. + * Set the alert status properties of the metric alert status. * * @param properties the properties value to set * @return the MetricAlertStatus object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatusProperties.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatusProperties.java index 94360c50133..cfa559c9af4 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatusProperties.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAlertStatusProperties.java @@ -55,7 +55,7 @@ public MetricAlertStatusProperties withDimensions(Map dimensions } /** - * Get the status value. + * Get status value. * * @return the status value */ @@ -64,7 +64,7 @@ public String status() { } /** - * Set the status value. + * Set status value. * * @param status the status value to set * @return the MetricAlertStatusProperties object itself. @@ -75,7 +75,7 @@ public MetricAlertStatusProperties withStatus(String status) { } /** - * Get the timestamp value. + * Get uTC time when the status was checked. * * @return the timestamp value */ @@ -84,7 +84,7 @@ public DateTime timestamp() { } /** - * Set the timestamp value. + * Set uTC time when the status was checked. * * @param timestamp the timestamp value to set * @return the MetricAlertStatusProperties object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAvailability.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAvailability.java index 8ef56b9fb74..a506a180412 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAvailability.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricAvailability.java @@ -31,7 +31,7 @@ public class MetricAvailability { private Period retention; /** - * Get the timeGrain value. + * Get the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. * * @return the timeGrain value */ @@ -40,7 +40,7 @@ public Period timeGrain() { } /** - * Set the timeGrain value. + * Set the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. * * @param timeGrain the timeGrain value to set * @return the MetricAvailability object itself. @@ -51,7 +51,7 @@ public MetricAvailability withTimeGrain(Period timeGrain) { } /** - * Get the retention value. + * Get the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. * * @return the retention value */ @@ -60,7 +60,7 @@ public Period retention() { } /** - * Set the retention value. + * Set the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. * * @param retention the retention value to set * @return the MetricAvailability object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricCriteria.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricCriteria.java index c5b0ce6869c..4da35ae996e 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricCriteria.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricCriteria.java @@ -58,7 +58,7 @@ public class MetricCriteria { private List dimensions; /** - * Get the name value. + * Get name of the criteria. * * @return the name value */ @@ -67,7 +67,7 @@ public String name() { } /** - * Set the name value. + * Set name of the criteria. * * @param name the name value to set * @return the MetricCriteria object itself. @@ -78,7 +78,7 @@ public MetricCriteria withName(String name) { } /** - * Get the metricName value. + * Get name of the metric. * * @return the metricName value */ @@ -87,7 +87,7 @@ public String metricName() { } /** - * Set the metricName value. + * Set name of the metric. * * @param metricName the metricName value to set * @return the MetricCriteria object itself. @@ -98,7 +98,7 @@ public MetricCriteria withMetricName(String metricName) { } /** - * Get the metricNamespace value. + * Get namespace of the metric. * * @return the metricNamespace value */ @@ -107,7 +107,7 @@ public String metricNamespace() { } /** - * Set the metricNamespace value. + * Set namespace of the metric. * * @param metricNamespace the metricNamespace value to set * @return the MetricCriteria object itself. @@ -118,7 +118,7 @@ public MetricCriteria withMetricNamespace(String metricNamespace) { } /** - * Get the operator value. + * Get the criteria operator. * * @return the operator value */ @@ -127,7 +127,7 @@ public Object operator() { } /** - * Set the operator value. + * Set the criteria operator. * * @param operator the operator value to set * @return the MetricCriteria object itself. @@ -138,7 +138,7 @@ public MetricCriteria withOperator(Object operator) { } /** - * Get the timeAggregation value. + * Get the criteria time aggregation types. * * @return the timeAggregation value */ @@ -147,7 +147,7 @@ public Object timeAggregation() { } /** - * Set the timeAggregation value. + * Set the criteria time aggregation types. * * @param timeAggregation the timeAggregation value to set * @return the MetricCriteria object itself. @@ -158,7 +158,7 @@ public MetricCriteria withTimeAggregation(Object timeAggregation) { } /** - * Get the threshold value. + * Get the criteria threshold value that activates the alert. * * @return the threshold value */ @@ -167,7 +167,7 @@ public double threshold() { } /** - * Set the threshold value. + * Set the criteria threshold value that activates the alert. * * @param threshold the threshold value to set * @return the MetricCriteria object itself. @@ -178,7 +178,7 @@ public MetricCriteria withThreshold(double threshold) { } /** - * Get the dimensions value. + * Get list of dimension conditions. * * @return the dimensions value */ @@ -187,7 +187,7 @@ public List dimensions() { } /** - * Set the dimensions value. + * Set list of dimension conditions. * * @param dimensions the dimensions value to set * @return the MetricCriteria object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricDimension.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricDimension.java index 3309c284328..a9d4848442d 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricDimension.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricDimension.java @@ -34,7 +34,7 @@ public class MetricDimension { private List values; /** - * Get the name value. + * Get name of the dimension. * * @return the name value */ @@ -43,7 +43,7 @@ public String name() { } /** - * Set the name value. + * Set name of the dimension. * * @param name the name value to set * @return the MetricDimension object itself. @@ -54,7 +54,7 @@ public MetricDimension withName(String name) { } /** - * Get the operator value. + * Get the dimension operator. * * @return the operator value */ @@ -63,7 +63,7 @@ public String operator() { } /** - * Set the operator value. + * Set the dimension operator. * * @param operator the operator value to set * @return the MetricDimension object itself. @@ -74,7 +74,7 @@ public MetricDimension withOperator(String operator) { } /** - * Get the values value. + * Get list of dimension values. * * @return the values value */ @@ -83,7 +83,7 @@ public List values() { } /** - * Set the values value. + * Set list of dimension values. * * @param values the values value to set * @return the MetricDimension object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricSettings.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricSettings.java index feb9bedff96..7986c17e4c1 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricSettings.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricSettings.java @@ -43,7 +43,7 @@ public class MetricSettings { private RetentionPolicy retentionPolicy; /** - * Get the timeGrain value. + * Get the timegrain of the metric in ISO8601 format. * * @return the timeGrain value */ @@ -52,7 +52,7 @@ public Period timeGrain() { } /** - * Set the timeGrain value. + * Set the timegrain of the metric in ISO8601 format. * * @param timeGrain the timeGrain value to set * @return the MetricSettings object itself. @@ -63,7 +63,7 @@ public MetricSettings withTimeGrain(Period timeGrain) { } /** - * Get the category value. + * Get name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation. * * @return the category value */ @@ -72,7 +72,7 @@ public String category() { } /** - * Set the category value. + * Set name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation. * * @param category the category value to set * @return the MetricSettings object itself. @@ -83,7 +83,7 @@ public MetricSettings withCategory(String category) { } /** - * Get the enabled value. + * Get a value indicating whether this category is enabled. * * @return the enabled value */ @@ -92,7 +92,7 @@ public boolean enabled() { } /** - * Set the enabled value. + * Set a value indicating whether this category is enabled. * * @param enabled the enabled value to set * @return the MetricSettings object itself. @@ -103,7 +103,7 @@ public MetricSettings withEnabled(boolean enabled) { } /** - * Get the retentionPolicy value. + * Get the retention policy for this category. * * @return the retentionPolicy value */ @@ -112,7 +112,7 @@ public RetentionPolicy retentionPolicy() { } /** - * Set the retentionPolicy value. + * Set the retention policy for this category. * * @param retentionPolicy the retentionPolicy value to set * @return the MetricSettings object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricTrigger.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricTrigger.java index 4cbb583aa65..8c2f9df230e 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricTrigger.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricTrigger.java @@ -73,27 +73,7 @@ public class MetricTrigger { private double threshold; /** - * Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. - * Possible values include: 'GreaterThan', 'LessThan', 'Equal'. - */ - @JsonProperty(value = "thresholdOperator") - private ConditionalOperator thresholdOperator; - - /** - * Metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: - * 'Consecutive', 'Total'. - */ - @JsonProperty(value = "metricTriggerType") - private MetricTriggerType metricTriggerType; - - /** - * Evaluation of metric on a particular column. - */ - @JsonProperty(value = "metricColumn") - private String metricColumn; - - /** - * Get the metricName value. + * Get the name of the metric that defines what the rule monitors. * * @return the metricName value */ @@ -102,7 +82,7 @@ public String metricName() { } /** - * Set the metricName value. + * Set the name of the metric that defines what the rule monitors. * * @param metricName the metricName value to set * @return the MetricTrigger object itself. @@ -113,7 +93,7 @@ public MetricTrigger withMetricName(String metricName) { } /** - * Get the metricResourceUri value. + * Get the resource identifier of the resource the rule monitors. * * @return the metricResourceUri value */ @@ -122,7 +102,7 @@ public String metricResourceUri() { } /** - * Set the metricResourceUri value. + * Set the resource identifier of the resource the rule monitors. * * @param metricResourceUri the metricResourceUri value to set * @return the MetricTrigger object itself. @@ -133,7 +113,7 @@ public MetricTrigger withMetricResourceUri(String metricResourceUri) { } /** - * Get the timeGrain value. + * Get the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute. * * @return the timeGrain value */ @@ -142,7 +122,7 @@ public Period timeGrain() { } /** - * Set the timeGrain value. + * Set the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute. * * @param timeGrain the timeGrain value to set * @return the MetricTrigger object itself. @@ -153,7 +133,7 @@ public MetricTrigger withTimeGrain(Period timeGrain) { } /** - * Get the statistic value. + * Get the metric statistic type. How the metrics from multiple instances are combined. Possible values include: 'Average', 'Min', 'Max', 'Sum'. * * @return the statistic value */ @@ -162,7 +142,7 @@ public MetricStatisticType statistic() { } /** - * Set the statistic value. + * Set the metric statistic type. How the metrics from multiple instances are combined. Possible values include: 'Average', 'Min', 'Max', 'Sum'. * * @param statistic the statistic value to set * @return the MetricTrigger object itself. @@ -173,7 +153,7 @@ public MetricTrigger withStatistic(MetricStatisticType statistic) { } /** - * Get the timeWindow value. + * Get the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes. * * @return the timeWindow value */ @@ -182,7 +162,7 @@ public Period timeWindow() { } /** - * Set the timeWindow value. + * Set the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes. * * @param timeWindow the timeWindow value to set * @return the MetricTrigger object itself. @@ -193,7 +173,7 @@ public MetricTrigger withTimeWindow(Period timeWindow) { } /** - * Get the timeAggregation value. + * Get time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'. * * @return the timeAggregation value */ @@ -202,7 +182,7 @@ public TimeAggregationType timeAggregation() { } /** - * Set the timeAggregation value. + * Set time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'. * * @param timeAggregation the timeAggregation value to set * @return the MetricTrigger object itself. @@ -213,7 +193,7 @@ public MetricTrigger withTimeAggregation(TimeAggregationType timeAggregation) { } /** - * Get the operator value. + * Get the operator that is used to compare the metric data and the threshold. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'. * * @return the operator value */ @@ -222,7 +202,7 @@ public ComparisonOperationType operator() { } /** - * Set the operator value. + * Set the operator that is used to compare the metric data and the threshold. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'. * * @param operator the operator value to set * @return the MetricTrigger object itself. @@ -233,7 +213,7 @@ public MetricTrigger withOperator(ComparisonOperationType operator) { } /** - * Get the threshold value. + * Get the threshold of the metric that triggers the scale action. * * @return the threshold value */ @@ -242,7 +222,7 @@ public double threshold() { } /** - * Set the threshold value. + * Set the threshold of the metric that triggers the scale action. * * @param threshold the threshold value to set * @return the MetricTrigger object itself. @@ -252,64 +232,4 @@ public MetricTrigger withThreshold(double threshold) { return this; } - /** - * Get the thresholdOperator value. - * - * @return the thresholdOperator value - */ - public ConditionalOperator thresholdOperator() { - return this.thresholdOperator; - } - - /** - * Set the thresholdOperator value. - * - * @param thresholdOperator the thresholdOperator value to set - * @return the MetricTrigger object itself. - */ - public MetricTrigger withThresholdOperator(ConditionalOperator thresholdOperator) { - this.thresholdOperator = thresholdOperator; - return this; - } - - /** - * Get the metricTriggerType value. - * - * @return the metricTriggerType value - */ - public MetricTriggerType metricTriggerType() { - return this.metricTriggerType; - } - - /** - * Set the metricTriggerType value. - * - * @param metricTriggerType the metricTriggerType value to set - * @return the MetricTrigger object itself. - */ - public MetricTrigger withMetricTriggerType(MetricTriggerType metricTriggerType) { - this.metricTriggerType = metricTriggerType; - return this; - } - - /** - * Get the metricColumn value. - * - * @return the metricColumn value - */ - public String metricColumn() { - return this.metricColumn; - } - - /** - * Set the metricColumn value. - * - * @param metricColumn the metricColumn value to set - * @return the MetricTrigger object itself. - */ - public MetricTrigger withMetricColumn(String metricColumn) { - this.metricColumn = metricColumn; - return this; - } - } diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricValue.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricValue.java index 1c7ebe64823..68e1c108574 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricValue.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/MetricValue.java @@ -53,7 +53,7 @@ public class MetricValue { private Long count; /** - * Get the timeStamp value. + * Get the timestamp for the metric value in ISO 8601 format. * * @return the timeStamp value */ @@ -62,7 +62,7 @@ public DateTime timeStamp() { } /** - * Set the timeStamp value. + * Set the timestamp for the metric value in ISO 8601 format. * * @param timeStamp the timeStamp value to set * @return the MetricValue object itself. @@ -73,7 +73,7 @@ public MetricValue withTimeStamp(DateTime timeStamp) { } /** - * Get the average value. + * Get the average value in the time range. * * @return the average value */ @@ -82,7 +82,7 @@ public Double average() { } /** - * Set the average value. + * Set the average value in the time range. * * @param average the average value to set * @return the MetricValue object itself. @@ -93,7 +93,7 @@ public MetricValue withAverage(Double average) { } /** - * Get the minimum value. + * Get the least value in the time range. * * @return the minimum value */ @@ -102,7 +102,7 @@ public Double minimum() { } /** - * Set the minimum value. + * Set the least value in the time range. * * @param minimum the minimum value to set * @return the MetricValue object itself. @@ -113,7 +113,7 @@ public MetricValue withMinimum(Double minimum) { } /** - * Get the maximum value. + * Get the greatest value in the time range. * * @return the maximum value */ @@ -122,7 +122,7 @@ public Double maximum() { } /** - * Set the maximum value. + * Set the greatest value in the time range. * * @param maximum the maximum value to set * @return the MetricValue object itself. @@ -133,7 +133,7 @@ public MetricValue withMaximum(Double maximum) { } /** - * Get the total value. + * Get the sum of all of the values in the time range. * * @return the total value */ @@ -142,7 +142,7 @@ public Double total() { } /** - * Set the total value. + * Set the sum of all of the values in the time range. * * @param total the total value to set * @return the MetricValue object itself. @@ -153,7 +153,7 @@ public MetricValue withTotal(Double total) { } /** - * Get the count value. + * Get the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. * * @return the count value */ @@ -162,7 +162,7 @@ public Long count() { } /** - * Set the count value. + * Set the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. * * @param count the count value to set * @return the MetricValue object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/OperationDisplay.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/OperationDisplay.java index 4bca82769a0..96e4c5043b0 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/OperationDisplay.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/OperationDisplay.java @@ -34,7 +34,7 @@ public class OperationDisplay { private String operation; /** - * Get the provider value. + * Get service provider: Microsoft.Insights. * * @return the provider value */ @@ -43,7 +43,7 @@ public String provider() { } /** - * Set the provider value. + * Set service provider: Microsoft.Insights. * * @param provider the provider value to set * @return the OperationDisplay object itself. @@ -54,7 +54,7 @@ public OperationDisplay withProvider(String provider) { } /** - * Get the resource value. + * Get resource on which the operation is performed: AlertRules, Autoscale, etc. * * @return the resource value */ @@ -63,7 +63,7 @@ public String resource() { } /** - * Set the resource value. + * Set resource on which the operation is performed: AlertRules, Autoscale, etc. * * @param resource the resource value to set * @return the OperationDisplay object itself. @@ -74,7 +74,7 @@ public OperationDisplay withResource(String resource) { } /** - * Get the operation value. + * Get operation type: Read, write, delete, etc. * * @return the operation value */ @@ -83,7 +83,7 @@ public String operation() { } /** - * Set the operation value. + * Set operation type: Read, write, delete, etc. * * @param operation the operation value to set * @return the OperationDisplay object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ProxyOnlyResource.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ProxyOnlyResource.java index b68e38ab687..e0f436867ec 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ProxyOnlyResource.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ProxyOnlyResource.java @@ -33,7 +33,7 @@ public class ProxyOnlyResource { private String type; /** - * Get the id value. + * Get azure resource Id. * * @return the id value */ @@ -42,7 +42,7 @@ public String id() { } /** - * Get the name value. + * Get azure resource name. * * @return the name value */ @@ -51,7 +51,7 @@ public String name() { } /** - * Get the type value. + * Get azure resource type. * * @return the type value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java index abfce408dc3..e96295c7f12 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java @@ -31,7 +31,7 @@ public class Recurrence { private RecurrentSchedule schedule; /** - * Get the frequency value. + * Get the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'. * * @return the frequency value */ @@ -40,7 +40,7 @@ public RecurrenceFrequency frequency() { } /** - * Set the frequency value. + * Set the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'. * * @param frequency the frequency value to set * @return the Recurrence object itself. @@ -51,7 +51,7 @@ public Recurrence withFrequency(RecurrenceFrequency frequency) { } /** - * Get the schedule value. + * Get the scheduling constraints for when the profile begins. * * @return the schedule value */ @@ -60,7 +60,7 @@ public RecurrentSchedule schedule() { } /** - * Set the schedule value. + * Set the scheduling constraints for when the profile begins. * * @param schedule the schedule value to set * @return the Recurrence object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RecurrentSchedule.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RecurrentSchedule.java index 55f6d605118..d870a0a39b1 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RecurrentSchedule.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RecurrentSchedule.java @@ -80,7 +80,7 @@ public class RecurrentSchedule { private List minutes; /** - * Get the timeZone value. + * Get the timezone for the hours of the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time. * * @return the timeZone value */ @@ -89,7 +89,7 @@ public String timeZone() { } /** - * Set the timeZone value. + * Set the timezone for the hours of the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time. * * @param timeZone the timeZone value to set * @return the RecurrentSchedule object itself. @@ -100,7 +100,7 @@ public RecurrentSchedule withTimeZone(String timeZone) { } /** - * Get the days value. + * Get the collection of days that the profile takes effect on. Possible values are Sunday through Saturday. * * @return the days value */ @@ -109,7 +109,7 @@ public List days() { } /** - * Set the days value. + * Set the collection of days that the profile takes effect on. Possible values are Sunday through Saturday. * * @param days the days value to set * @return the RecurrentSchedule object itself. @@ -120,7 +120,7 @@ public RecurrentSchedule withDays(List days) { } /** - * Get the hours value. + * Get a collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported). * * @return the hours value */ @@ -129,7 +129,7 @@ public List hours() { } /** - * Set the hours value. + * Set a collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported). * * @param hours the hours value to set * @return the RecurrentSchedule object itself. @@ -140,7 +140,7 @@ public RecurrentSchedule withHours(List hours) { } /** - * Get the minutes value. + * Get a collection of minutes at which the profile takes effect at. * * @return the minutes value */ @@ -149,7 +149,7 @@ public List minutes() { } /** - * Set the minutes value. + * Set a collection of minutes at which the profile takes effect at. * * @param minutes the minutes value to set * @return the RecurrentSchedule object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RetentionPolicy.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RetentionPolicy.java index e9fbaa7e2a7..8698ae00927 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RetentionPolicy.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RetentionPolicy.java @@ -28,7 +28,7 @@ public class RetentionPolicy { private int days; /** - * Get the enabled value. + * Get a value indicating whether the retention policy is enabled. * * @return the enabled value */ @@ -37,7 +37,7 @@ public boolean enabled() { } /** - * Set the enabled value. + * Set a value indicating whether the retention policy is enabled. * * @param enabled the enabled value to set * @return the RetentionPolicy object itself. @@ -48,7 +48,7 @@ public RetentionPolicy withEnabled(boolean enabled) { } /** - * Get the days value. + * Get the number of days for the retention in days. A value of 0 will retain the events indefinitely. * * @return the days value */ @@ -57,7 +57,7 @@ public int days() { } /** - * Set the days value. + * Set the number of days for the retention in days. A value of 0 will retain the events indefinitely. * * @param days the days value to set * @return the RetentionPolicy object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleCondition.java index 0f520e2cc18..0e8c57bde82 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleCondition.java @@ -32,7 +32,7 @@ public class RuleCondition { private RuleDataSource dataSource; /** - * Get the dataSource value. + * Get the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource. * * @return the dataSource value */ @@ -41,7 +41,7 @@ public RuleDataSource dataSource() { } /** - * Set the dataSource value. + * Set the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource. * * @param dataSource the dataSource value to set * @return the RuleCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleDataSource.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleDataSource.java index 09199a13828..ecb94a040fd 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleDataSource.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleDataSource.java @@ -31,7 +31,7 @@ public class RuleDataSource { private String resourceUri; /** - * Get the resourceUri value. + * Get the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule. * * @return the resourceUri value */ @@ -40,7 +40,7 @@ public String resourceUri() { } /** - * Set the resourceUri value. + * Set the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule. * * @param resourceUri the resourceUri value to set * @return the RuleDataSource object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleEmailAction.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleEmailAction.java index 9f48f7b3a75..5649ad2f29d 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleEmailAction.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleEmailAction.java @@ -35,7 +35,7 @@ public class RuleEmailAction extends RuleAction { private List customEmails; /** - * Get the sendToServiceOwners value. + * Get whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. * * @return the sendToServiceOwners value */ @@ -44,7 +44,7 @@ public Boolean sendToServiceOwners() { } /** - * Set the sendToServiceOwners value. + * Set whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. * * @param sendToServiceOwners the sendToServiceOwners value to set * @return the RuleEmailAction object itself. @@ -55,7 +55,7 @@ public RuleEmailAction withSendToServiceOwners(Boolean sendToServiceOwners) { } /** - * Get the customEmails value. + * Get the list of administrator's custom email addresses to notify of the activation of the alert. * * @return the customEmails value */ @@ -64,7 +64,7 @@ public List customEmails() { } /** - * Set the customEmails value. + * Set the list of administrator's custom email addresses to notify of the activation of the alert. * * @param customEmails the customEmails value to set * @return the RuleEmailAction object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventClaimsDataSource.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventClaimsDataSource.java index bc992a40dcf..903611e6563 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventClaimsDataSource.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventClaimsDataSource.java @@ -21,7 +21,7 @@ public class RuleManagementEventClaimsDataSource { private String emailAddress; /** - * Get the emailAddress value. + * Get the email address. * * @return the emailAddress value */ @@ -30,7 +30,7 @@ public String emailAddress() { } /** - * Set the emailAddress value. + * Set the email address. * * @param emailAddress the emailAddress value to set * @return the RuleManagementEventClaimsDataSource object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventDataSource.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventDataSource.java index 6281cb3dcd9..166ecad36d5 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventDataSource.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleManagementEventDataSource.java @@ -76,7 +76,7 @@ public class RuleManagementEventDataSource extends RuleDataSource { private RuleManagementEventClaimsDataSource claims; /** - * Get the eventName value. + * Get the event name. * * @return the eventName value */ @@ -85,7 +85,7 @@ public String eventName() { } /** - * Set the eventName value. + * Set the event name. * * @param eventName the eventName value to set * @return the RuleManagementEventDataSource object itself. @@ -96,7 +96,7 @@ public RuleManagementEventDataSource withEventName(String eventName) { } /** - * Get the eventSource value. + * Get the event source. * * @return the eventSource value */ @@ -105,7 +105,7 @@ public String eventSource() { } /** - * Set the eventSource value. + * Set the event source. * * @param eventSource the eventSource value to set * @return the RuleManagementEventDataSource object itself. @@ -116,7 +116,7 @@ public RuleManagementEventDataSource withEventSource(String eventSource) { } /** - * Get the level value. + * Get the level. * * @return the level value */ @@ -125,7 +125,7 @@ public String level() { } /** - * Set the level value. + * Set the level. * * @param level the level value to set * @return the RuleManagementEventDataSource object itself. @@ -136,7 +136,7 @@ public RuleManagementEventDataSource withLevel(String level) { } /** - * Get the operationName value. + * Get the name of the operation that should be checked for. If no name is provided, any operation will match. * * @return the operationName value */ @@ -145,7 +145,7 @@ public String operationName() { } /** - * Set the operationName value. + * Set the name of the operation that should be checked for. If no name is provided, any operation will match. * * @param operationName the operationName value to set * @return the RuleManagementEventDataSource object itself. @@ -156,7 +156,7 @@ public RuleManagementEventDataSource withOperationName(String operationName) { } /** - * Get the resourceGroupName value. + * Get the resource group name. * * @return the resourceGroupName value */ @@ -165,7 +165,7 @@ public String resourceGroupName() { } /** - * Set the resourceGroupName value. + * Set the resource group name. * * @param resourceGroupName the resourceGroupName value to set * @return the RuleManagementEventDataSource object itself. @@ -176,7 +176,7 @@ public RuleManagementEventDataSource withResourceGroupName(String resourceGroupN } /** - * Get the resourceProviderName value. + * Get the resource provider name. * * @return the resourceProviderName value */ @@ -185,7 +185,7 @@ public String resourceProviderName() { } /** - * Set the resourceProviderName value. + * Set the resource provider name. * * @param resourceProviderName the resourceProviderName value to set * @return the RuleManagementEventDataSource object itself. @@ -196,7 +196,7 @@ public RuleManagementEventDataSource withResourceProviderName(String resourcePro } /** - * Get the status value. + * Get the status of the operation that should be checked for. If no status is provided, any status will match. * * @return the status value */ @@ -205,7 +205,7 @@ public String status() { } /** - * Set the status value. + * Set the status of the operation that should be checked for. If no status is provided, any status will match. * * @param status the status value to set * @return the RuleManagementEventDataSource object itself. @@ -216,7 +216,7 @@ public RuleManagementEventDataSource withStatus(String status) { } /** - * Get the subStatus value. + * Get the substatus. * * @return the subStatus value */ @@ -225,7 +225,7 @@ public String subStatus() { } /** - * Set the subStatus value. + * Set the substatus. * * @param subStatus the subStatus value to set * @return the RuleManagementEventDataSource object itself. @@ -236,7 +236,7 @@ public RuleManagementEventDataSource withSubStatus(String subStatus) { } /** - * Get the claims value. + * Get the claims. * * @return the claims value */ @@ -245,7 +245,7 @@ public RuleManagementEventClaimsDataSource claims() { } /** - * Set the claims value. + * Set the claims. * * @param claims the claims value to set * @return the RuleManagementEventDataSource object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleMetricDataSource.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleMetricDataSource.java index 217bca39d9f..d85cef131a6 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleMetricDataSource.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleMetricDataSource.java @@ -26,7 +26,7 @@ public class RuleMetricDataSource extends RuleDataSource { private String metricName; /** - * Get the metricName value. + * Get the name of the metric that defines what the rule monitors. * * @return the metricName value */ @@ -35,7 +35,7 @@ public String metricName() { } /** - * Set the metricName value. + * Set the name of the metric that defines what the rule monitors. * * @param metricName the metricName value to set * @return the RuleMetricDataSource object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleWebhookAction.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleWebhookAction.java index c4b97f36e19..aab4785db70 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleWebhookAction.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/RuleWebhookAction.java @@ -35,7 +35,7 @@ public class RuleWebhookAction extends RuleAction { private Map properties; /** - * Get the serviceUri value. + * Get the service uri to Post the notification when the alert activates or resolves. * * @return the serviceUri value */ @@ -44,7 +44,7 @@ public String serviceUri() { } /** - * Set the serviceUri value. + * Set the service uri to Post the notification when the alert activates or resolves. * * @param serviceUri the serviceUri value to set * @return the RuleWebhookAction object itself. @@ -55,7 +55,7 @@ public RuleWebhookAction withServiceUri(String serviceUri) { } /** - * Get the properties value. + * Get the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. * * @return the properties value */ @@ -64,7 +64,7 @@ public Map properties() { } /** - * Set the properties value. + * Set the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. * * @param properties the properties value to set * @return the RuleWebhookAction object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleAction.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleAction.java index 9f2581aaf1f..b9e9f76e8eb 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleAction.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleAction.java @@ -46,7 +46,7 @@ public class ScaleAction { private Period cooldown; /** - * Get the direction value. + * Get the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'. * * @return the direction value */ @@ -55,7 +55,7 @@ public ScaleDirection direction() { } /** - * Set the direction value. + * Set the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'. * * @param direction the direction value to set * @return the ScaleAction object itself. @@ -66,7 +66,7 @@ public ScaleAction withDirection(ScaleDirection direction) { } /** - * Get the type value. + * Get the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount'. * * @return the type value */ @@ -75,7 +75,7 @@ public ScaleType type() { } /** - * Set the type value. + * Set the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount'. * * @param type the type value to set * @return the ScaleAction object itself. @@ -86,7 +86,7 @@ public ScaleAction withType(ScaleType type) { } /** - * Get the value value. + * Get the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1. * * @return the value value */ @@ -95,7 +95,7 @@ public String value() { } /** - * Set the value value. + * Set the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1. * * @param value the value value to set * @return the ScaleAction object itself. @@ -106,7 +106,7 @@ public ScaleAction withValue(String value) { } /** - * Get the cooldown value. + * Get the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format. * * @return the cooldown value */ @@ -115,7 +115,7 @@ public Period cooldown() { } /** - * Set the cooldown value. + * Set the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format. * * @param cooldown the cooldown value to set * @return the ScaleAction object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleCapacity.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleCapacity.java index b0cc54cbfb2..67d7b31e929 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleCapacity.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleCapacity.java @@ -37,7 +37,7 @@ public class ScaleCapacity { private String defaultProperty; /** - * Get the minimum value. + * Get the minimum number of instances for the resource. * * @return the minimum value */ @@ -46,7 +46,7 @@ public String minimum() { } /** - * Set the minimum value. + * Set the minimum number of instances for the resource. * * @param minimum the minimum value to set * @return the ScaleCapacity object itself. @@ -57,7 +57,7 @@ public ScaleCapacity withMinimum(String minimum) { } /** - * Get the maximum value. + * Get the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription. * * @return the maximum value */ @@ -66,7 +66,7 @@ public String maximum() { } /** - * Set the maximum value. + * Set the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription. * * @param maximum the maximum value to set * @return the ScaleCapacity object itself. @@ -77,7 +77,7 @@ public ScaleCapacity withMaximum(String maximum) { } /** - * Get the defaultProperty value. + * Get the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. * * @return the defaultProperty value */ @@ -86,7 +86,7 @@ public String defaultProperty() { } /** - * Set the defaultProperty value. + * Set the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. * * @param defaultProperty the defaultProperty value to set * @return the ScaleCapacity object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleRule.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleRule.java index a3b4efb8767..bb3d830d249 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleRule.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ScaleRule.java @@ -27,7 +27,7 @@ public class ScaleRule { private ScaleAction scaleAction; /** - * Get the metricTrigger value. + * Get the trigger that results in a scaling action. * * @return the metricTrigger value */ @@ -36,7 +36,7 @@ public MetricTrigger metricTrigger() { } /** - * Set the metricTrigger value. + * Set the trigger that results in a scaling action. * * @param metricTrigger the metricTrigger value to set * @return the ScaleRule object itself. @@ -47,7 +47,7 @@ public ScaleRule withMetricTrigger(MetricTrigger metricTrigger) { } /** - * Get the scaleAction value. + * Get the parameters for the scaling action. * * @return the scaleAction value */ @@ -56,7 +56,7 @@ public ScaleAction scaleAction() { } /** - * Set the scaleAction value. + * Set the parameters for the scaling action. * * @param scaleAction the scaleAction value to set * @return the ScaleRule object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Schedule.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Schedule.java index ef2ff407afe..a30f11d0cbc 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Schedule.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Schedule.java @@ -28,7 +28,7 @@ public class Schedule { private int timeWindowInMinutes; /** - * Get the frequencyInMinutes value. + * Get frequency (in minutes) at which rule condition should be evaluated. * * @return the frequencyInMinutes value */ @@ -37,7 +37,7 @@ public int frequencyInMinutes() { } /** - * Set the frequencyInMinutes value. + * Set frequency (in minutes) at which rule condition should be evaluated. * * @param frequencyInMinutes the frequencyInMinutes value to set * @return the Schedule object itself. @@ -48,7 +48,7 @@ public Schedule withFrequencyInMinutes(int frequencyInMinutes) { } /** - * Get the timeWindowInMinutes value. + * Get time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes). * * @return the timeWindowInMinutes value */ @@ -57,7 +57,7 @@ public int timeWindowInMinutes() { } /** - * Set the timeWindowInMinutes value. + * Set time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes). * * @param timeWindowInMinutes the timeWindowInMinutes value to set * @return the Schedule object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SenderAuthorization.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SenderAuthorization.java index ce5cbce630d..422be463be0 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SenderAuthorization.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SenderAuthorization.java @@ -36,7 +36,7 @@ public class SenderAuthorization { private String scope; /** - * Get the action value. + * Get the permissible actions. For instance: microsoft.support/supporttickets/write. * * @return the action value */ @@ -45,7 +45,7 @@ public String action() { } /** - * Set the action value. + * Set the permissible actions. For instance: microsoft.support/supporttickets/write. * * @param action the action value to set * @return the SenderAuthorization object itself. @@ -56,7 +56,7 @@ public SenderAuthorization withAction(String action) { } /** - * Get the role value. + * Get the role of the user. For instance: Subscription Admin. * * @return the role value */ @@ -65,7 +65,7 @@ public String role() { } /** - * Set the role value. + * Set the role of the user. For instance: Subscription Admin. * * @param role the role value to set * @return the SenderAuthorization object itself. @@ -76,7 +76,7 @@ public SenderAuthorization withRole(String role) { } /** - * Get the scope value. + * Get the scope. * * @return the scope value */ @@ -85,7 +85,7 @@ public String scope() { } /** - * Set the scope value. + * Set the scope. * * @param scope the scope value to set * @return the SenderAuthorization object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SmsReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SmsReceiver.java index e4c13e1ba45..5fc16fcc1b4 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SmsReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/SmsReceiver.java @@ -41,7 +41,7 @@ public class SmsReceiver { private ReceiverStatus status; /** - * Get the name value. + * Get the name of the SMS receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -50,7 +50,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the SMS receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the SmsReceiver object itself. @@ -61,7 +61,7 @@ public SmsReceiver withName(String name) { } /** - * Get the countryCode value. + * Get the country code of the SMS receiver. * * @return the countryCode value */ @@ -70,7 +70,7 @@ public String countryCode() { } /** - * Set the countryCode value. + * Set the country code of the SMS receiver. * * @param countryCode the countryCode value to set * @return the SmsReceiver object itself. @@ -81,7 +81,7 @@ public SmsReceiver withCountryCode(String countryCode) { } /** - * Get the phoneNumber value. + * Get the phone number of the SMS receiver. * * @return the phoneNumber value */ @@ -90,7 +90,7 @@ public String phoneNumber() { } /** - * Set the phoneNumber value. + * Set the phone number of the SMS receiver. * * @param phoneNumber the phoneNumber value to set * @return the SmsReceiver object itself. @@ -101,7 +101,7 @@ public SmsReceiver withPhoneNumber(String phoneNumber) { } /** - * Get the status value. + * Get the status of the receiver. Possible values include: 'NotSpecified', 'Enabled', 'Disabled'. * * @return the status value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Source.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Source.java index 9975f717548..3aaadf7e79a 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Source.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Source.java @@ -30,19 +30,17 @@ public class Source { /** * The resource uri over which log search query is to be run. */ - @JsonProperty(value = "datasourceId", required = true) - private String datasourceId; + @JsonProperty(value = "dataSourceId", required = true) + private String dataSourceId; /** - * Set value to ResultCount if query should be returning search result - * count. Set it to Number if its a metric query. Possible values include: - * 'ResultCount'. + * Set value to 'ResultCount'. Possible values include: 'ResultCount'. */ @JsonProperty(value = "queryType") private QueryType queryType; /** - * Get the query value. + * Get log search query. * * @return the query value */ @@ -51,7 +49,7 @@ public String query() { } /** - * Set the query value. + * Set log search query. * * @param query the query value to set * @return the Source object itself. @@ -62,7 +60,7 @@ public Source withQuery(String query) { } /** - * Get the authorizedResources value. + * Get list of Resource referred into query. * * @return the authorizedResources value */ @@ -71,7 +69,7 @@ public List authorizedResources() { } /** - * Set the authorizedResources value. + * Set list of Resource referred into query. * * @param authorizedResources the authorizedResources value to set * @return the Source object itself. @@ -82,27 +80,27 @@ public Source withAuthorizedResources(List authorizedResources) { } /** - * Get the datasourceId value. + * Get the resource uri over which log search query is to be run. * - * @return the datasourceId value + * @return the dataSourceId value */ - public String datasourceId() { - return this.datasourceId; + public String dataSourceId() { + return this.dataSourceId; } /** - * Set the datasourceId value. + * Set the resource uri over which log search query is to be run. * - * @param datasourceId the datasourceId value to set + * @param dataSourceId the dataSourceId value to set * @return the Source object itself. */ - public Source withDatasourceId(String datasourceId) { - this.datasourceId = datasourceId; + public Source withDataSourceId(String dataSourceId) { + this.dataSourceId = dataSourceId; return this; } /** - * Get the queryType value. + * Get set value to 'ResultCount'. Possible values include: 'ResultCount'. * * @return the queryType value */ @@ -111,7 +109,7 @@ public QueryType queryType() { } /** - * Set the queryType value. + * Set set value to 'ResultCount'. Possible values include: 'ResultCount'. * * @param queryType the queryType value to set * @return the Source object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ThresholdRuleCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ThresholdRuleCondition.java index 011e2b31b2a..e673d96f13a 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ThresholdRuleCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/ThresholdRuleCondition.java @@ -51,7 +51,7 @@ public class ThresholdRuleCondition extends RuleCondition { private TimeAggregationOperator timeAggregation; /** - * Get the operator value. + * Get the operator used to compare the data and the threshold. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'. * * @return the operator value */ @@ -60,7 +60,7 @@ public ConditionOperator operator() { } /** - * Set the operator value. + * Set the operator used to compare the data and the threshold. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'. * * @param operator the operator value to set * @return the ThresholdRuleCondition object itself. @@ -71,7 +71,7 @@ public ThresholdRuleCondition withOperator(ConditionOperator operator) { } /** - * Get the threshold value. + * Get the threshold value that activates the alert. * * @return the threshold value */ @@ -80,7 +80,7 @@ public double threshold() { } /** - * Set the threshold value. + * Set the threshold value that activates the alert. * * @param threshold the threshold value to set * @return the ThresholdRuleCondition object itself. @@ -91,7 +91,7 @@ public ThresholdRuleCondition withThreshold(double threshold) { } /** - * Get the windowSize value. + * Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. * * @return the windowSize value */ @@ -100,7 +100,7 @@ public Period windowSize() { } /** - * Set the windowSize value. + * Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. * * @param windowSize the windowSize value to set * @return the ThresholdRuleCondition object itself. @@ -111,7 +111,7 @@ public ThresholdRuleCondition withWindowSize(Period windowSize) { } /** - * Get the timeAggregation value. + * Get the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Last'. * * @return the timeAggregation value */ @@ -120,7 +120,7 @@ public TimeAggregationOperator timeAggregation() { } /** - * Set the timeAggregation value. + * Set the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Last'. * * @param timeAggregation the timeAggregation value to set * @return the ThresholdRuleCondition object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesElement.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesElement.java index 8b5bc386bbb..5fc088d2dd3 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesElement.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesElement.java @@ -30,7 +30,7 @@ public class TimeSeriesElement { private List data; /** - * Get the metadatavalues value. + * Get the metadata values returned if $filter was specified in the call. * * @return the metadatavalues value */ @@ -39,7 +39,7 @@ public List metadatavalues() { } /** - * Set the metadatavalues value. + * Set the metadata values returned if $filter was specified in the call. * * @param metadatavalues the metadatavalues value to set * @return the TimeSeriesElement object itself. @@ -50,7 +50,7 @@ public TimeSeriesElement withMetadatavalues(List metadatavalues) } /** - * Get the data value. + * Get an array of data points representing the metric values. This is only returned if a result type of data is specified. * * @return the data value */ @@ -59,7 +59,7 @@ public List data() { } /** - * Set the data value. + * Set an array of data points representing the metric values. This is only returned if a result type of data is specified. * * @param data the data value to set * @return the TimeSeriesElement object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesInformation.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesInformation.java index 7cdba9e7c7f..9c343dff126 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesInformation.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeSeriesInformation.java @@ -35,7 +35,7 @@ public class TimeSeriesInformation { private List timestamps; /** - * Get the sensitivities value. + * Get the list of sensitivities for calculating the baseline. * * @return the sensitivities value */ @@ -44,7 +44,7 @@ public List sensitivities() { } /** - * Set the sensitivities value. + * Set the list of sensitivities for calculating the baseline. * * @param sensitivities the sensitivities value to set * @return the TimeSeriesInformation object itself. @@ -55,7 +55,7 @@ public TimeSeriesInformation withSensitivities(List sensitivities) { } /** - * Get the values value. + * Get the metric values to calculate the baseline. * * @return the values value */ @@ -64,7 +64,7 @@ public List values() { } /** - * Set the values value. + * Set the metric values to calculate the baseline. * * @param values the values value to set * @return the TimeSeriesInformation object itself. @@ -75,7 +75,7 @@ public TimeSeriesInformation withValues(List values) { } /** - * Get the timestamps value. + * Get the array of timestamps of the baselines. * * @return the timestamps value */ @@ -84,7 +84,7 @@ public List timestamps() { } /** - * Set the timestamps value. + * Set the array of timestamps of the baselines. * * @param timestamps the timestamps value to set * @return the TimeSeriesInformation object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeWindow.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeWindow.java index 3bc6b73af35..00be6479908 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeWindow.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TimeWindow.java @@ -72,7 +72,7 @@ public class TimeWindow { private DateTime end; /** - * Get the timeZone value. + * Get the timezone of the start and end times for the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time. * * @return the timeZone value */ @@ -81,7 +81,7 @@ public String timeZone() { } /** - * Set the timeZone value. + * Set the timezone of the start and end times for the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time. * * @param timeZone the timeZone value to set * @return the TimeWindow object itself. @@ -92,7 +92,7 @@ public TimeWindow withTimeZone(String timeZone) { } /** - * Get the start value. + * Get the start time for the profile in ISO 8601 format. * * @return the start value */ @@ -101,7 +101,7 @@ public DateTime start() { } /** - * Set the start value. + * Set the start time for the profile in ISO 8601 format. * * @param start the start value to set * @return the TimeWindow object itself. @@ -112,7 +112,7 @@ public TimeWindow withStart(DateTime start) { } /** - * Get the end value. + * Get the end time for the profile in ISO 8601 format. * * @return the end value */ @@ -121,7 +121,7 @@ public DateTime end() { } /** - * Set the end value. + * Set the end time for the profile in ISO 8601 format. * * @param end the end value to set * @return the TimeWindow object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TriggerCondition.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TriggerCondition.java index 1ea896e30a4..9cea1688516 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TriggerCondition.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/TriggerCondition.java @@ -31,10 +31,10 @@ public class TriggerCondition { * Trigger condition for metric query rule. */ @JsonProperty(value = "metricTrigger") - private MetricTrigger metricTrigger; + private LogMetricTrigger metricTrigger; /** - * Get the thresholdOperator value. + * Get evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThan', 'LessThan', 'Equal'. * * @return the thresholdOperator value */ @@ -43,7 +43,7 @@ public ConditionalOperator thresholdOperator() { } /** - * Set the thresholdOperator value. + * Set evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThan', 'LessThan', 'Equal'. * * @param thresholdOperator the thresholdOperator value to set * @return the TriggerCondition object itself. @@ -54,7 +54,7 @@ public TriggerCondition withThresholdOperator(ConditionalOperator thresholdOpera } /** - * Get the threshold value. + * Get result or count threshold based on which rule should be triggered. * * @return the threshold value */ @@ -63,7 +63,7 @@ public double threshold() { } /** - * Set the threshold value. + * Set result or count threshold based on which rule should be triggered. * * @param threshold the threshold value to set * @return the TriggerCondition object itself. @@ -74,21 +74,21 @@ public TriggerCondition withThreshold(double threshold) { } /** - * Get the metricTrigger value. + * Get trigger condition for metric query rule. * * @return the metricTrigger value */ - public MetricTrigger metricTrigger() { + public LogMetricTrigger metricTrigger() { return this.metricTrigger; } /** - * Set the metricTrigger value. + * Set trigger condition for metric query rule. * * @param metricTrigger the metricTrigger value to set * @return the TriggerCondition object itself. */ - public TriggerCondition withMetricTrigger(MetricTrigger metricTrigger) { + public TriggerCondition withMetricTrigger(LogMetricTrigger metricTrigger) { this.metricTrigger = metricTrigger; return this; } diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/VoiceReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/VoiceReceiver.java index 36aab350337..8336ac05ccd 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/VoiceReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/VoiceReceiver.java @@ -34,7 +34,7 @@ public class VoiceReceiver { private String phoneNumber; /** - * Get the name value. + * Get the name of the voice receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -43,7 +43,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the voice receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the VoiceReceiver object itself. @@ -54,7 +54,7 @@ public VoiceReceiver withName(String name) { } /** - * Get the countryCode value. + * Get the country code of the voice receiver. * * @return the countryCode value */ @@ -63,7 +63,7 @@ public String countryCode() { } /** - * Set the countryCode value. + * Set the country code of the voice receiver. * * @param countryCode the countryCode value to set * @return the VoiceReceiver object itself. @@ -74,7 +74,7 @@ public VoiceReceiver withCountryCode(String countryCode) { } /** - * Get the phoneNumber value. + * Get the phone number of the voice receiver. * * @return the phoneNumber value */ @@ -83,7 +83,7 @@ public String phoneNumber() { } /** - * Set the phoneNumber value. + * Set the phone number of the voice receiver. * * @param phoneNumber the phoneNumber value to set * @return the VoiceReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookNotification.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookNotification.java index 87881689b77..f491e8d937c 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookNotification.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookNotification.java @@ -28,7 +28,7 @@ public class WebhookNotification { private Map properties; /** - * Get the serviceUri value. + * Get the service address to receive the notification. * * @return the serviceUri value */ @@ -37,7 +37,7 @@ public String serviceUri() { } /** - * Set the serviceUri value. + * Set the service address to receive the notification. * * @param serviceUri the serviceUri value to set * @return the WebhookNotification object itself. @@ -48,7 +48,7 @@ public WebhookNotification withServiceUri(String serviceUri) { } /** - * Get the properties value. + * Get a property bag of settings. This value can be empty. * * @return the properties value */ @@ -57,7 +57,7 @@ public Map properties() { } /** - * Set the properties value. + * Set a property bag of settings. This value can be empty. * * @param properties the properties value to set * @return the WebhookNotification object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookReceiver.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookReceiver.java index e941157b5dc..82d530c45ce 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookReceiver.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/WebhookReceiver.java @@ -28,7 +28,7 @@ public class WebhookReceiver { private String serviceUri; /** - * Get the name value. + * Get the name of the webhook receiver. Names must be unique across all receivers within an action group. * * @return the name value */ @@ -37,7 +37,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the webhook receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the WebhookReceiver object itself. @@ -48,7 +48,7 @@ public WebhookReceiver withName(String name) { } /** - * Get the serviceUri value. + * Get the URI where webhooks should be sent. * * @return the serviceUri value */ @@ -57,7 +57,7 @@ public String serviceUri() { } /** - * Set the serviceUri value. + * Set the URI where webhooks should be sent. * * @param serviceUri the serviceUri value to set * @return the WebhookReceiver object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActionGroupResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActionGroupResourceInner.java index 8fb8513bd57..40f3b6f7a40 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActionGroupResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActionGroupResourceInner.java @@ -96,7 +96,7 @@ public class ActionGroupResourceInner extends Resource { private List azureFunctionReceivers; /** - * Get the groupShortName value. + * Get the short name of the action group. This will be used in SMS messages. * * @return the groupShortName value */ @@ -105,7 +105,7 @@ public String groupShortName() { } /** - * Set the groupShortName value. + * Set the short name of the action group. This will be used in SMS messages. * * @param groupShortName the groupShortName value to set * @return the ActionGroupResourceInner object itself. @@ -116,7 +116,7 @@ public ActionGroupResourceInner withGroupShortName(String groupShortName) { } /** - * Get the enabled value. + * Get indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. * * @return the enabled value */ @@ -125,7 +125,7 @@ public boolean enabled() { } /** - * Set the enabled value. + * Set indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. * * @param enabled the enabled value to set * @return the ActionGroupResourceInner object itself. @@ -136,7 +136,7 @@ public ActionGroupResourceInner withEnabled(boolean enabled) { } /** - * Get the emailReceivers value. + * Get the list of email receivers that are part of this action group. * * @return the emailReceivers value */ @@ -145,7 +145,7 @@ public List emailReceivers() { } /** - * Set the emailReceivers value. + * Set the list of email receivers that are part of this action group. * * @param emailReceivers the emailReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -156,7 +156,7 @@ public ActionGroupResourceInner withEmailReceivers(List emailRece } /** - * Get the smsReceivers value. + * Get the list of SMS receivers that are part of this action group. * * @return the smsReceivers value */ @@ -165,7 +165,7 @@ public List smsReceivers() { } /** - * Set the smsReceivers value. + * Set the list of SMS receivers that are part of this action group. * * @param smsReceivers the smsReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -176,7 +176,7 @@ public ActionGroupResourceInner withSmsReceivers(List smsReceivers) } /** - * Get the webhookReceivers value. + * Get the list of webhook receivers that are part of this action group. * * @return the webhookReceivers value */ @@ -185,7 +185,7 @@ public List webhookReceivers() { } /** - * Set the webhookReceivers value. + * Set the list of webhook receivers that are part of this action group. * * @param webhookReceivers the webhookReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -196,7 +196,7 @@ public ActionGroupResourceInner withWebhookReceivers(List webho } /** - * Get the itsmReceivers value. + * Get the list of ITSM receivers that are part of this action group. * * @return the itsmReceivers value */ @@ -205,7 +205,7 @@ public List itsmReceivers() { } /** - * Set the itsmReceivers value. + * Set the list of ITSM receivers that are part of this action group. * * @param itsmReceivers the itsmReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -216,7 +216,7 @@ public ActionGroupResourceInner withItsmReceivers(List itsmReceive } /** - * Get the azureAppPushReceivers value. + * Get the list of AzureAppPush receivers that are part of this action group. * * @return the azureAppPushReceivers value */ @@ -225,7 +225,7 @@ public List azureAppPushReceivers() { } /** - * Set the azureAppPushReceivers value. + * Set the list of AzureAppPush receivers that are part of this action group. * * @param azureAppPushReceivers the azureAppPushReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -236,7 +236,7 @@ public ActionGroupResourceInner withAzureAppPushReceivers(List automationRunbookReceivers() { } /** - * Set the automationRunbookReceivers value. + * Set the list of AutomationRunbook receivers that are part of this action group. * * @param automationRunbookReceivers the automationRunbookReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -256,7 +256,7 @@ public ActionGroupResourceInner withAutomationRunbookReceivers(List voiceReceivers() { } /** - * Set the voiceReceivers value. + * Set the list of voice receivers that are part of this action group. * * @param voiceReceivers the voiceReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -276,7 +276,7 @@ public ActionGroupResourceInner withVoiceReceivers(List voiceRece } /** - * Get the logicAppReceivers value. + * Get the list of logic app receivers that are part of this action group. * * @return the logicAppReceivers value */ @@ -285,7 +285,7 @@ public List logicAppReceivers() { } /** - * Set the logicAppReceivers value. + * Set the list of logic app receivers that are part of this action group. * * @param logicAppReceivers the logicAppReceivers value to set * @return the ActionGroupResourceInner object itself. @@ -296,7 +296,7 @@ public ActionGroupResourceInner withLogicAppReceivers(List log } /** - * Get the azureFunctionReceivers value. + * Get the list of azure function receivers that are part of this action group. * * @return the azureFunctionReceivers value */ @@ -305,7 +305,7 @@ public List azureFunctionReceivers() { } /** - * Set the azureFunctionReceivers value. + * Set the list of azure function receivers that are part of this action group. * * @param azureFunctionReceivers the azureFunctionReceivers value to set * @return the ActionGroupResourceInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActivityLogAlertResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActivityLogAlertResourceInner.java index b5de68bc1e6..5b68fc0b959 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActivityLogAlertResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ActivityLogAlertResourceInner.java @@ -54,7 +54,7 @@ public class ActivityLogAlertResourceInner extends Resource { private String description; /** - * Get the scopes value. + * Get a list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item. * * @return the scopes value */ @@ -63,7 +63,7 @@ public List scopes() { } /** - * Set the scopes value. + * Set a list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item. * * @param scopes the scopes value to set * @return the ActivityLogAlertResourceInner object itself. @@ -74,7 +74,7 @@ public ActivityLogAlertResourceInner withScopes(List scopes) { } /** - * Get the enabled value. + * Get indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. * * @return the enabled value */ @@ -83,7 +83,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. * * @param enabled the enabled value to set * @return the ActivityLogAlertResourceInner object itself. @@ -94,7 +94,7 @@ public ActivityLogAlertResourceInner withEnabled(Boolean enabled) { } /** - * Get the condition value. + * Get the condition that will cause this alert to activate. * * @return the condition value */ @@ -103,7 +103,7 @@ public ActivityLogAlertAllOfCondition condition() { } /** - * Set the condition value. + * Set the condition that will cause this alert to activate. * * @param condition the condition value to set * @return the ActivityLogAlertResourceInner object itself. @@ -114,7 +114,7 @@ public ActivityLogAlertResourceInner withCondition(ActivityLogAlertAllOfConditio } /** - * Get the actions value. + * Get the actions that will activate when the condition is met. * * @return the actions value */ @@ -123,7 +123,7 @@ public ActivityLogAlertActionList actions() { } /** - * Set the actions value. + * Set the actions that will activate when the condition is met. * * @param actions the actions value to set * @return the ActivityLogAlertResourceInner object itself. @@ -134,7 +134,7 @@ public ActivityLogAlertResourceInner withActions(ActivityLogAlertActionList acti } /** - * Get the description value. + * Get a description of this activity log alert. * * @return the description value */ @@ -143,7 +143,7 @@ public String description() { } /** - * Set the description value. + * Set a description of this activity log alert. * * @param description the description value to set * @return the ActivityLogAlertResourceInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AlertRuleResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AlertRuleResourceInner.java index b43963c8288..8996fe87ad7 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AlertRuleResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AlertRuleResourceInner.java @@ -60,7 +60,7 @@ public class AlertRuleResourceInner extends Resource { private DateTime lastUpdatedTime; /** - * Get the alertRuleResourceName value. + * Get the name of the alert rule. * * @return the alertRuleResourceName value */ @@ -69,7 +69,7 @@ public String alertRuleResourceName() { } /** - * Set the alertRuleResourceName value. + * Set the name of the alert rule. * * @param alertRuleResourceName the alertRuleResourceName value to set * @return the AlertRuleResourceInner object itself. @@ -80,7 +80,7 @@ public AlertRuleResourceInner withAlertRuleResourceName(String alertRuleResource } /** - * Get the description value. + * Get the description of the alert rule that will be included in the alert email. * * @return the description value */ @@ -89,7 +89,7 @@ public String description() { } /** - * Set the description value. + * Set the description of the alert rule that will be included in the alert email. * * @param description the description value to set * @return the AlertRuleResourceInner object itself. @@ -100,7 +100,7 @@ public AlertRuleResourceInner withDescription(String description) { } /** - * Get the isEnabled value. + * Get the flag that indicates whether the alert rule is enabled. * * @return the isEnabled value */ @@ -109,7 +109,7 @@ public boolean isEnabled() { } /** - * Set the isEnabled value. + * Set the flag that indicates whether the alert rule is enabled. * * @param isEnabled the isEnabled value to set * @return the AlertRuleResourceInner object itself. @@ -120,7 +120,7 @@ public AlertRuleResourceInner withIsEnabled(boolean isEnabled) { } /** - * Get the condition value. + * Get the condition that results in the alert rule being activated. * * @return the condition value */ @@ -129,7 +129,7 @@ public RuleCondition condition() { } /** - * Set the condition value. + * Set the condition that results in the alert rule being activated. * * @param condition the condition value to set * @return the AlertRuleResourceInner object itself. @@ -140,7 +140,7 @@ public AlertRuleResourceInner withCondition(RuleCondition condition) { } /** - * Get the actions value. + * Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @return the actions value */ @@ -149,7 +149,7 @@ public List actions() { } /** - * Set the actions value. + * Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @param actions the actions value to set * @return the AlertRuleResourceInner object itself. @@ -160,7 +160,7 @@ public AlertRuleResourceInner withActions(List actions) { } /** - * Get the lastUpdatedTime value. + * Get last time the rule was updated in ISO8601 format. * * @return the lastUpdatedTime value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AutoscaleSettingResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AutoscaleSettingResourceInner.java index aeac773f297..5d01605fcc3 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AutoscaleSettingResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/AutoscaleSettingResourceInner.java @@ -55,7 +55,7 @@ public class AutoscaleSettingResourceInner extends Resource { private String targetResourceUri; /** - * Get the profiles value. + * Get the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. * * @return the profiles value */ @@ -64,7 +64,7 @@ public List profiles() { } /** - * Set the profiles value. + * Set the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. * * @param profiles the profiles value to set * @return the AutoscaleSettingResourceInner object itself. @@ -75,7 +75,7 @@ public AutoscaleSettingResourceInner withProfiles(List profile } /** - * Get the notifications value. + * Get the collection of notifications. * * @return the notifications value */ @@ -84,7 +84,7 @@ public List notifications() { } /** - * Set the notifications value. + * Set the collection of notifications. * * @param notifications the notifications value to set * @return the AutoscaleSettingResourceInner object itself. @@ -95,7 +95,7 @@ public AutoscaleSettingResourceInner withNotifications(List metadata; /** - * Get the id value. + * Get the metric baseline Id. * * @return the id value */ @@ -91,7 +91,7 @@ public String id() { } /** - * Get the type value. + * Get the resource type of the baseline resource. * * @return the type value */ @@ -100,7 +100,7 @@ public String type() { } /** - * Get the name value. + * Get the name and the display name of the metric, i.e. it is localizable string. * * @return the name value */ @@ -109,7 +109,7 @@ public LocalizableStringInner name() { } /** - * Get the timespan value. + * Get the timespan for which the data was retrieved. Its value consists of two datatimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. * * @return the timespan value */ @@ -118,7 +118,7 @@ public String timespan() { } /** - * Set the timespan value. + * Set the timespan for which the data was retrieved. Its value consists of two datatimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. * * @param timespan the timespan value to set * @return the BaselineResponseInner object itself. @@ -129,7 +129,7 @@ public BaselineResponseInner withTimespan(String timespan) { } /** - * Get the interval value. + * Get the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. * * @return the interval value */ @@ -138,7 +138,7 @@ public Period interval() { } /** - * Set the interval value. + * Set the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. * * @param interval the interval value to set * @return the BaselineResponseInner object itself. @@ -149,7 +149,7 @@ public BaselineResponseInner withInterval(Period interval) { } /** - * Get the aggregation value. + * Get the aggregation type of the metric. * * @return the aggregation value */ @@ -158,7 +158,7 @@ public String aggregation() { } /** - * Set the aggregation value. + * Set the aggregation type of the metric. * * @param aggregation the aggregation value to set * @return the BaselineResponseInner object itself. @@ -169,7 +169,7 @@ public BaselineResponseInner withAggregation(String aggregation) { } /** - * Get the timestamps value. + * Get the array of timestamps of the baselines. * * @return the timestamps value */ @@ -178,7 +178,7 @@ public List timestamps() { } /** - * Set the timestamps value. + * Set the array of timestamps of the baselines. * * @param timestamps the timestamps value to set * @return the BaselineResponseInner object itself. @@ -189,7 +189,7 @@ public BaselineResponseInner withTimestamps(List timestamps) { } /** - * Get the baseline value. + * Get the baseline values for each sensitivity. * * @return the baseline value */ @@ -198,7 +198,7 @@ public List baseline() { } /** - * Set the baseline value. + * Set the baseline values for each sensitivity. * * @param baseline the baseline value to set * @return the BaselineResponseInner object itself. @@ -209,7 +209,7 @@ public BaselineResponseInner withBaseline(List baseline) { } /** - * Get the metadata value. + * Get the baseline metadata values. * * @return the metadata value */ @@ -218,7 +218,7 @@ public List metadata() { } /** - * Set the metadata value. + * Set the baseline metadata values. * * @param metadata the metadata value to set * @return the BaselineResponseInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/CalculateBaselineResponseInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/CalculateBaselineResponseInner.java index df4d827039d..de60713bd2d 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/CalculateBaselineResponseInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/CalculateBaselineResponseInner.java @@ -36,7 +36,7 @@ public class CalculateBaselineResponseInner { private List baseline; /** - * Get the type value. + * Get the resource type of the baseline resource. * * @return the type value */ @@ -45,7 +45,7 @@ public String type() { } /** - * Set the type value. + * Set the resource type of the baseline resource. * * @param type the type value to set * @return the CalculateBaselineResponseInner object itself. @@ -56,7 +56,7 @@ public CalculateBaselineResponseInner withType(String type) { } /** - * Get the timestamps value. + * Get the array of timestamps of the baselines. * * @return the timestamps value */ @@ -65,7 +65,7 @@ public List timestamps() { } /** - * Set the timestamps value. + * Set the array of timestamps of the baselines. * * @param timestamps the timestamps value to set * @return the CalculateBaselineResponseInner object itself. @@ -76,7 +76,7 @@ public CalculateBaselineResponseInner withTimestamps(List timestamps) } /** - * Get the baseline value. + * Get the baseline values for each sensitivity. * * @return the baseline value */ @@ -85,7 +85,7 @@ public List baseline() { } /** - * Set the baseline value. + * Set the baseline values for each sensitivity. * * @param baseline the baseline value to set * @return the CalculateBaselineResponseInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceCollectionInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceCollectionInner.java index f7725f05e27..c5b72b00572 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceCollectionInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceCollectionInner.java @@ -22,7 +22,7 @@ public class DiagnosticSettingsCategoryResourceCollectionInner { private List value; /** - * Get the value value. + * Get the collection of diagnostic settings category resources. * * @return the value value */ @@ -31,7 +31,7 @@ public List value() { } /** - * Set the value value. + * Set the collection of diagnostic settings category resources. * * @param value the value value to set * @return the DiagnosticSettingsCategoryResourceCollectionInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceInner.java index 431ab146074..fa3f913f8b6 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsCategoryResourceInner.java @@ -26,7 +26,7 @@ public class DiagnosticSettingsCategoryResourceInner extends ProxyOnlyResource { private CategoryType categoryType; /** - * Get the categoryType value. + * Get the type of the diagnostic settings category. Possible values include: 'Metrics', 'Logs'. * * @return the categoryType value */ @@ -35,7 +35,7 @@ public CategoryType categoryType() { } /** - * Set the categoryType value. + * Set the type of the diagnostic settings category. Possible values include: 'Metrics', 'Logs'. * * @param categoryType the categoryType value to set * @return the DiagnosticSettingsCategoryResourceInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceCollectionInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceCollectionInner.java index ed566df971f..253bba0df91 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceCollectionInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceCollectionInner.java @@ -22,7 +22,7 @@ public class DiagnosticSettingsResourceCollectionInner { private List value; /** - * Get the value value. + * Get the collection of diagnostic settings resources;. * * @return the value value */ @@ -31,7 +31,7 @@ public List value() { } /** - * Set the value value. + * Set the collection of diagnostic settings resources;. * * @param value the value value to set * @return the DiagnosticSettingsResourceCollectionInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceInner.java index 7481a4b4fb2..0d412c8f787 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/DiagnosticSettingsResourceInner.java @@ -62,7 +62,7 @@ public class DiagnosticSettingsResourceInner extends ProxyOnlyResource { private String workspaceId; /** - * Get the storageAccountId value. + * Get the resource ID of the storage account to which you would like to send Diagnostic Logs. * * @return the storageAccountId value */ @@ -71,7 +71,7 @@ public String storageAccountId() { } /** - * Set the storageAccountId value. + * Set the resource ID of the storage account to which you would like to send Diagnostic Logs. * * @param storageAccountId the storageAccountId value to set * @return the DiagnosticSettingsResourceInner object itself. @@ -82,7 +82,7 @@ public DiagnosticSettingsResourceInner withStorageAccountId(String storageAccoun } /** - * Get the eventHubAuthorizationRuleId value. + * Get the resource Id for the event hub authorization rule. * * @return the eventHubAuthorizationRuleId value */ @@ -91,7 +91,7 @@ public String eventHubAuthorizationRuleId() { } /** - * Set the eventHubAuthorizationRuleId value. + * Set the resource Id for the event hub authorization rule. * * @param eventHubAuthorizationRuleId the eventHubAuthorizationRuleId value to set * @return the DiagnosticSettingsResourceInner object itself. @@ -102,7 +102,7 @@ public DiagnosticSettingsResourceInner withEventHubAuthorizationRuleId(String ev } /** - * Get the eventHubName value. + * Get the name of the event hub. If none is specified, the default event hub will be selected. * * @return the eventHubName value */ @@ -111,7 +111,7 @@ public String eventHubName() { } /** - * Set the eventHubName value. + * Set the name of the event hub. If none is specified, the default event hub will be selected. * * @param eventHubName the eventHubName value to set * @return the DiagnosticSettingsResourceInner object itself. @@ -122,7 +122,7 @@ public DiagnosticSettingsResourceInner withEventHubName(String eventHubName) { } /** - * Get the metrics value. + * Get the list of metric settings. * * @return the metrics value */ @@ -131,7 +131,7 @@ public List metrics() { } /** - * Set the metrics value. + * Set the list of metric settings. * * @param metrics the metrics value to set * @return the DiagnosticSettingsResourceInner object itself. @@ -142,7 +142,7 @@ public DiagnosticSettingsResourceInner withMetrics(List metrics) } /** - * Get the logs value. + * Get the list of logs settings. * * @return the logs value */ @@ -151,7 +151,7 @@ public List logs() { } /** - * Set the logs value. + * Set the list of logs settings. * * @param logs the logs value to set * @return the DiagnosticSettingsResourceInner object itself. @@ -162,7 +162,7 @@ public DiagnosticSettingsResourceInner withLogs(List logs) { } /** - * Get the workspaceId value. + * Get the workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2. * * @return the workspaceId value */ @@ -171,7 +171,7 @@ public String workspaceId() { } /** - * Set the workspaceId value. + * Set the workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2. * * @param workspaceId the workspaceId value to set * @return the DiagnosticSettingsResourceInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/EventDataInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/EventDataInner.java index c00dd0f0b74..006a458bb58 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/EventDataInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/EventDataInner.java @@ -196,7 +196,7 @@ public SenderAuthorization authorization() { } /** - * Get the claims value. + * Get key value pairs to identify ARM permissions. * * @return the claims value */ @@ -205,7 +205,7 @@ public Map claims() { } /** - * Get the caller value. + * Get the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability. * * @return the caller value */ @@ -214,7 +214,7 @@ public String caller() { } /** - * Get the description value. + * Get the description of the event. * * @return the description value */ @@ -223,7 +223,7 @@ public String description() { } /** - * Get the id value. + * Get the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information. * * @return the id value */ @@ -232,7 +232,7 @@ public String id() { } /** - * Get the eventDataId value. + * Get the event data Id. This is a unique identifier for an event. * * @return the eventDataId value */ @@ -241,7 +241,7 @@ public String eventDataId() { } /** - * Get the correlationId value. + * Get the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation. * * @return the correlationId value */ @@ -250,7 +250,7 @@ public String correlationId() { } /** - * Get the eventName value. + * Get the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users. * * @return the eventName value */ @@ -259,7 +259,7 @@ public LocalizableStringInner eventName() { } /** - * Get the category value. + * Get the event category. * * @return the category value */ @@ -268,7 +268,7 @@ public LocalizableStringInner category() { } /** - * Get the httpRequest value. + * Get the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT). * * @return the httpRequest value */ @@ -277,7 +277,7 @@ public HttpRequestInfo httpRequest() { } /** - * Get the level value. + * Get the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'. * * @return the level value */ @@ -286,7 +286,7 @@ public EventLevel level() { } /** - * Get the resourceGroupName value. + * Get the resource group name of the impacted resource. * * @return the resourceGroupName value */ @@ -295,7 +295,7 @@ public String resourceGroupName() { } /** - * Get the resourceProviderName value. + * Get the resource provider name of the impacted resource. * * @return the resourceProviderName value */ @@ -304,7 +304,7 @@ public LocalizableStringInner resourceProviderName() { } /** - * Get the resourceId value. + * Get the resource uri that uniquely identifies the resource that caused this event. * * @return the resourceId value */ @@ -313,7 +313,7 @@ public String resourceId() { } /** - * Get the resourceType value. + * Get the resource type. * * @return the resourceType value */ @@ -322,7 +322,7 @@ public LocalizableStringInner resourceType() { } /** - * Get the operationId value. + * Get it is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName. * * @return the operationId value */ @@ -331,7 +331,7 @@ public String operationId() { } /** - * Get the operationName value. + * Get the operation name. * * @return the operationName value */ @@ -340,7 +340,7 @@ public LocalizableStringInner operationName() { } /** - * Get the properties value. + * Get the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event. * * @return the properties value */ @@ -349,7 +349,7 @@ public Map properties() { } /** - * Get the status value. + * Get a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved. * * @return the status value */ @@ -358,7 +358,7 @@ public LocalizableStringInner status() { } /** - * Get the subStatus value. + * Get the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504). * * @return the subStatus value */ @@ -367,7 +367,7 @@ public LocalizableStringInner subStatus() { } /** - * Get the eventTimestamp value. + * Get the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format. * * @return the eventTimestamp value */ @@ -376,7 +376,7 @@ public DateTime eventTimestamp() { } /** - * Get the submissionTimestamp value. + * Get the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurrence time of the event, and the time that the event is submitted to the Azure logging infrastructure. * * @return the submissionTimestamp value */ @@ -385,7 +385,7 @@ public DateTime submissionTimestamp() { } /** - * Get the subscriptionId value. + * Get the Azure subscription Id usually a GUID. * * @return the subscriptionId value */ @@ -394,7 +394,7 @@ public String subscriptionId() { } /** - * Get the tenantId value. + * Get the Azure tenant Id. * * @return the tenantId value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/IncidentInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/IncidentInner.java index 57ace40ee4e..87f25403db2 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/IncidentInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/IncidentInner.java @@ -47,7 +47,7 @@ public class IncidentInner { private DateTime resolvedTime; /** - * Get the name value. + * Get incident name. * * @return the name value */ @@ -56,7 +56,7 @@ public String name() { } /** - * Get the ruleName value. + * Get rule name that is associated with the incident. * * @return the ruleName value */ @@ -65,7 +65,7 @@ public String ruleName() { } /** - * Get the isActive value. + * Get a boolean to indicate whether the incident is active or resolved. * * @return the isActive value */ @@ -74,7 +74,7 @@ public Boolean isActive() { } /** - * Get the activatedTime value. + * Get the time at which the incident was activated in ISO8601 format. * * @return the activatedTime value */ @@ -83,7 +83,7 @@ public DateTime activatedTime() { } /** - * Get the resolvedTime value. + * Get the time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active. * * @return the resolvedTime value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LocalizableStringInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LocalizableStringInner.java index fc8b8d9ed40..e49943219a3 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LocalizableStringInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LocalizableStringInner.java @@ -27,7 +27,7 @@ public class LocalizableStringInner { private String localizedValue; /** - * Get the value value. + * Get the invariant value. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Set the value value. + * Set the invariant value. * * @param value the value value to set * @return the LocalizableStringInner object itself. @@ -47,7 +47,7 @@ public LocalizableStringInner withValue(String value) { } /** - * Get the localizedValue value. + * Get the locale specific value. * * @return the localizedValue value */ @@ -56,7 +56,7 @@ public String localizedValue() { } /** - * Set the localizedValue value. + * Set the locale specific value. * * @param localizedValue the localizedValue value to set * @return the LocalizableStringInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogProfileResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogProfileResourceInner.java index 2d6de25f2c3..4ad11fc6e6f 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogProfileResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogProfileResourceInner.java @@ -58,7 +58,7 @@ public class LogProfileResourceInner extends Resource { private RetentionPolicy retentionPolicy; /** - * Get the storageAccountId value. + * Get the resource id of the storage account to which you would like to send the Activity Log. * * @return the storageAccountId value */ @@ -67,7 +67,7 @@ public String storageAccountId() { } /** - * Set the storageAccountId value. + * Set the resource id of the storage account to which you would like to send the Activity Log. * * @param storageAccountId the storageAccountId value to set * @return the LogProfileResourceInner object itself. @@ -78,7 +78,7 @@ public LogProfileResourceInner withStorageAccountId(String storageAccountId) { } /** - * Get the serviceBusRuleId value. + * Get the service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. * * @return the serviceBusRuleId value */ @@ -87,7 +87,7 @@ public String serviceBusRuleId() { } /** - * Set the serviceBusRuleId value. + * Set the service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. * * @param serviceBusRuleId the serviceBusRuleId value to set * @return the LogProfileResourceInner object itself. @@ -98,7 +98,7 @@ public LogProfileResourceInner withServiceBusRuleId(String serviceBusRuleId) { } /** - * Get the locations value. + * Get list of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. * * @return the locations value */ @@ -107,7 +107,7 @@ public List locations() { } /** - * Set the locations value. + * Set list of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. * * @param locations the locations value to set * @return the LogProfileResourceInner object itself. @@ -118,7 +118,7 @@ public LogProfileResourceInner withLocations(List locations) { } /** - * Get the categories value. + * Get the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'. * * @return the categories value */ @@ -127,7 +127,7 @@ public List categories() { } /** - * Set the categories value. + * Set the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'. * * @param categories the categories value to set * @return the LogProfileResourceInner object itself. @@ -138,7 +138,7 @@ public LogProfileResourceInner withCategories(List categories) { } /** - * Get the retentionPolicy value. + * Get the retention policy for the events in the log. * * @return the retentionPolicy value */ @@ -147,7 +147,7 @@ public RetentionPolicy retentionPolicy() { } /** - * Set the retentionPolicy value. + * Set the retention policy for the events in the log. * * @param retentionPolicy the retentionPolicy value to set * @return the LogProfileResourceInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogSearchRuleResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogSearchRuleResourceInner.java index 6be988338a9..ef56c46d854 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogSearchRuleResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/LogSearchRuleResourceInner.java @@ -68,7 +68,7 @@ public class LogSearchRuleResourceInner extends Resource { private Action action; /** - * Get the description value. + * Get the description of the Log Search rule. * * @return the description value */ @@ -77,7 +77,7 @@ public String description() { } /** - * Set the description value. + * Set the description of the Log Search rule. * * @param description the description value to set * @return the LogSearchRuleResourceInner object itself. @@ -88,7 +88,7 @@ public LogSearchRuleResourceInner withDescription(String description) { } /** - * Get the enabled value. + * Get the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'. * * @return the enabled value */ @@ -97,7 +97,7 @@ public Enabled enabled() { } /** - * Set the enabled value. + * Set the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'. * * @param enabled the enabled value to set * @return the LogSearchRuleResourceInner object itself. @@ -108,7 +108,7 @@ public LogSearchRuleResourceInner withEnabled(Enabled enabled) { } /** - * Get the lastUpdatedTime value. + * Get last time the rule was updated in IS08601 format. * * @return the lastUpdatedTime value */ @@ -117,7 +117,7 @@ public DateTime lastUpdatedTime() { } /** - * Get the provisioningState value. + * Get provisioning state of the scheduledquery rule. Possible values include: 'Succeeded', 'Deploying', 'Canceled', 'Failed'. * * @return the provisioningState value */ @@ -126,7 +126,7 @@ public ProvisioningState provisioningState() { } /** - * Get the source value. + * Get data Source against which rule will Query Data. * * @return the source value */ @@ -135,7 +135,7 @@ public Source source() { } /** - * Set the source value. + * Set data Source against which rule will Query Data. * * @param source the source value to set * @return the LogSearchRuleResourceInner object itself. @@ -146,7 +146,7 @@ public LogSearchRuleResourceInner withSource(Source source) { } /** - * Get the schedule value. + * Get schedule (Frequnecy, Time Window) for rule. * * @return the schedule value */ @@ -155,7 +155,7 @@ public Schedule schedule() { } /** - * Set the schedule value. + * Set schedule (Frequnecy, Time Window) for rule. * * @param schedule the schedule value to set * @return the LogSearchRuleResourceInner object itself. @@ -166,7 +166,7 @@ public LogSearchRuleResourceInner withSchedule(Schedule schedule) { } /** - * Get the action value. + * Get action needs to be taken on rule execution. * * @return the action value */ @@ -175,7 +175,7 @@ public Action action() { } /** - * Set the action value. + * Set action needs to be taken on rule execution. * * @param action the action value to set * @return the LogSearchRuleResourceInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertResourceInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertResourceInner.java index 37939e0910e..63749a9e5d1 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertResourceInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertResourceInner.java @@ -88,7 +88,7 @@ public class MetricAlertResourceInner extends Resource { private DateTime lastUpdatedTime; /** - * Get the description value. + * Get the description of the metric alert that will be included in the alert email. * * @return the description value */ @@ -97,7 +97,7 @@ public String description() { } /** - * Set the description value. + * Set the description of the metric alert that will be included in the alert email. * * @param description the description value to set * @return the MetricAlertResourceInner object itself. @@ -108,7 +108,7 @@ public MetricAlertResourceInner withDescription(String description) { } /** - * Get the severity value. + * Get alert severity {0, 1, 2, 3, 4}. * * @return the severity value */ @@ -117,7 +117,7 @@ public int severity() { } /** - * Set the severity value. + * Set alert severity {0, 1, 2, 3, 4}. * * @param severity the severity value to set * @return the MetricAlertResourceInner object itself. @@ -128,7 +128,7 @@ public MetricAlertResourceInner withSeverity(int severity) { } /** - * Get the enabled value. + * Get the flag that indicates whether the metric alert is enabled. * * @return the enabled value */ @@ -137,7 +137,7 @@ public boolean enabled() { } /** - * Set the enabled value. + * Set the flag that indicates whether the metric alert is enabled. * * @param enabled the enabled value to set * @return the MetricAlertResourceInner object itself. @@ -148,7 +148,7 @@ public MetricAlertResourceInner withEnabled(boolean enabled) { } /** - * Get the scopes value. + * Get the list of resource id's that this metric alert is scoped to. * * @return the scopes value */ @@ -157,7 +157,7 @@ public List scopes() { } /** - * Set the scopes value. + * Set the list of resource id's that this metric alert is scoped to. * * @param scopes the scopes value to set * @return the MetricAlertResourceInner object itself. @@ -168,7 +168,7 @@ public MetricAlertResourceInner withScopes(List scopes) { } /** - * Get the evaluationFrequency value. + * Get how often the metric alert is evaluated represented in ISO 8601 duration format. * * @return the evaluationFrequency value */ @@ -177,7 +177,7 @@ public Period evaluationFrequency() { } /** - * Set the evaluationFrequency value. + * Set how often the metric alert is evaluated represented in ISO 8601 duration format. * * @param evaluationFrequency the evaluationFrequency value to set * @return the MetricAlertResourceInner object itself. @@ -188,7 +188,7 @@ public MetricAlertResourceInner withEvaluationFrequency(Period evaluationFrequen } /** - * Get the windowSize value. + * Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. * * @return the windowSize value */ @@ -197,7 +197,7 @@ public Period windowSize() { } /** - * Set the windowSize value. + * Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. * * @param windowSize the windowSize value to set * @return the MetricAlertResourceInner object itself. @@ -208,7 +208,7 @@ public MetricAlertResourceInner withWindowSize(Period windowSize) { } /** - * Get the criteria value. + * Get defines the specific alert criteria information. * * @return the criteria value */ @@ -217,7 +217,7 @@ public MetricAlertCriteria criteria() { } /** - * Set the criteria value. + * Set defines the specific alert criteria information. * * @param criteria the criteria value to set * @return the MetricAlertResourceInner object itself. @@ -228,7 +228,7 @@ public MetricAlertResourceInner withCriteria(MetricAlertCriteria criteria) { } /** - * Get the autoMitigate value. + * Get the flag that indicates whether the alert should be auto resolved or not. * * @return the autoMitigate value */ @@ -237,7 +237,7 @@ public Boolean autoMitigate() { } /** - * Set the autoMitigate value. + * Set the flag that indicates whether the alert should be auto resolved or not. * * @param autoMitigate the autoMitigate value to set * @return the MetricAlertResourceInner object itself. @@ -248,7 +248,7 @@ public MetricAlertResourceInner withAutoMitigate(Boolean autoMitigate) { } /** - * Get the actions value. + * Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @return the actions value */ @@ -257,7 +257,7 @@ public List actions() { } /** - * Set the actions value. + * Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. * * @param actions the actions value to set * @return the MetricAlertResourceInner object itself. @@ -268,7 +268,7 @@ public MetricAlertResourceInner withActions(List actions) { } /** - * Get the lastUpdatedTime value. + * Get last time the rule was updated in ISO8601 format. * * @return the lastUpdatedTime value */ diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertStatusCollectionInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertStatusCollectionInner.java index de139575806..e4e12b369a9 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertStatusCollectionInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricAlertStatusCollectionInner.java @@ -23,7 +23,7 @@ public class MetricAlertStatusCollectionInner { private List value; /** - * Get the value value. + * Get the values for the alert rule resources. * * @return the value value */ @@ -32,7 +32,7 @@ public List value() { } /** - * Set the value value. + * Set the values for the alert rule resources. * * @param value the value value to set * @return the MetricAlertStatusCollectionInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricDefinitionInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricDefinitionInner.java index 17663070f55..d256a9cb6a2 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricDefinitionInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricDefinitionInner.java @@ -86,7 +86,7 @@ public class MetricDefinitionInner { private List dimensions; /** - * Get the isDimensionRequired value. + * Get flag to indicate whether the dimension is required. * * @return the isDimensionRequired value */ @@ -95,7 +95,7 @@ public Boolean isDimensionRequired() { } /** - * Set the isDimensionRequired value. + * Set flag to indicate whether the dimension is required. * * @param isDimensionRequired the isDimensionRequired value to set * @return the MetricDefinitionInner object itself. @@ -106,7 +106,7 @@ public MetricDefinitionInner withIsDimensionRequired(Boolean isDimensionRequired } /** - * Get the resourceId value. + * Get the resource identifier of the resource that emitted the metric. * * @return the resourceId value */ @@ -115,7 +115,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set the resource identifier of the resource that emitted the metric. * * @param resourceId the resourceId value to set * @return the MetricDefinitionInner object itself. @@ -126,7 +126,7 @@ public MetricDefinitionInner withResourceId(String resourceId) { } /** - * Get the namespace value. + * Get the namespace the metric blongs to. * * @return the namespace value */ @@ -135,7 +135,7 @@ public String namespace() { } /** - * Set the namespace value. + * Set the namespace the metric blongs to. * * @param namespace the namespace value to set * @return the MetricDefinitionInner object itself. @@ -146,7 +146,7 @@ public MetricDefinitionInner withNamespace(String namespace) { } /** - * Get the name value. + * Get the name and the display name of the metric, i.e. it is a localizable string. * * @return the name value */ @@ -155,7 +155,7 @@ public LocalizableStringInner name() { } /** - * Set the name value. + * Set the name and the display name of the metric, i.e. it is a localizable string. * * @param name the name value to set * @return the MetricDefinitionInner object itself. @@ -166,7 +166,7 @@ public MetricDefinitionInner withName(LocalizableStringInner name) { } /** - * Get the unit value. + * Get the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified'. * * @return the unit value */ @@ -175,7 +175,7 @@ public Unit unit() { } /** - * Set the unit value. + * Set the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified'. * * @param unit the unit value to set * @return the MetricDefinitionInner object itself. @@ -186,7 +186,7 @@ public MetricDefinitionInner withUnit(Unit unit) { } /** - * Get the primaryAggregationType value. + * Get the primary aggregation type value defining how to use the values for display. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'. * * @return the primaryAggregationType value */ @@ -195,7 +195,7 @@ public AggregationType primaryAggregationType() { } /** - * Set the primaryAggregationType value. + * Set the primary aggregation type value defining how to use the values for display. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'. * * @param primaryAggregationType the primaryAggregationType value to set * @return the MetricDefinitionInner object itself. @@ -206,7 +206,7 @@ public MetricDefinitionInner withPrimaryAggregationType(AggregationType primaryA } /** - * Get the supportedAggregationTypes value. + * Get the collection of what aggregation types are supported. * * @return the supportedAggregationTypes value */ @@ -215,7 +215,7 @@ public List supportedAggregationTypes() { } /** - * Set the supportedAggregationTypes value. + * Set the collection of what aggregation types are supported. * * @param supportedAggregationTypes the supportedAggregationTypes value to set * @return the MetricDefinitionInner object itself. @@ -226,7 +226,7 @@ public MetricDefinitionInner withSupportedAggregationTypes(List } /** - * Get the metricAvailabilities value. + * Get the collection of what aggregation intervals are available to be queried. * * @return the metricAvailabilities value */ @@ -235,7 +235,7 @@ public List metricAvailabilities() { } /** - * Set the metricAvailabilities value. + * Set the collection of what aggregation intervals are available to be queried. * * @param metricAvailabilities the metricAvailabilities value to set * @return the MetricDefinitionInner object itself. @@ -246,7 +246,7 @@ public MetricDefinitionInner withMetricAvailabilities(List m } /** - * Get the id value. + * Get the resource identifier of the metric definition. * * @return the id value */ @@ -255,7 +255,7 @@ public String id() { } /** - * Set the id value. + * Set the resource identifier of the metric definition. * * @param id the id value to set * @return the MetricDefinitionInner object itself. @@ -266,7 +266,7 @@ public MetricDefinitionInner withId(String id) { } /** - * Get the dimensions value. + * Get the name and the display name of the dimension, i.e. it is a localizable string. * * @return the dimensions value */ @@ -275,7 +275,7 @@ public List dimensions() { } /** - * Set the dimensions value. + * Set the name and the display name of the dimension, i.e. it is a localizable string. * * @param dimensions the dimensions value to set * @return the MetricDefinitionInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricInner.java index 0856a1b2be3..d2c0995c2e4 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/MetricInner.java @@ -51,7 +51,7 @@ public class MetricInner { private List timeseries; /** - * Get the id value. + * Get the metric Id. * * @return the id value */ @@ -60,7 +60,7 @@ public String id() { } /** - * Set the id value. + * Set the metric Id. * * @param id the id value to set * @return the MetricInner object itself. @@ -71,7 +71,7 @@ public MetricInner withId(String id) { } /** - * Get the type value. + * Get the resource type of the metric resource. * * @return the type value */ @@ -80,7 +80,7 @@ public String type() { } /** - * Set the type value. + * Set the resource type of the metric resource. * * @param type the type value to set * @return the MetricInner object itself. @@ -91,7 +91,7 @@ public MetricInner withType(String type) { } /** - * Get the name value. + * Get the name and the display name of the metric, i.e. it is localizable string. * * @return the name value */ @@ -100,7 +100,7 @@ public LocalizableStringInner name() { } /** - * Set the name value. + * Set the name and the display name of the metric, i.e. it is localizable string. * * @param name the name value to set * @return the MetricInner object itself. @@ -111,7 +111,7 @@ public MetricInner withName(LocalizableStringInner name) { } /** - * Get the unit value. + * Get the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified'. * * @return the unit value */ @@ -120,7 +120,7 @@ public Unit unit() { } /** - * Set the unit value. + * Set the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified'. * * @param unit the unit value to set * @return the MetricInner object itself. @@ -131,7 +131,7 @@ public MetricInner withUnit(Unit unit) { } /** - * Get the timeseries value. + * Get the time series returned when a data query is performed. * * @return the timeseries value */ @@ -140,7 +140,7 @@ public List timeseries() { } /** - * Set the timeseries value. + * Set the time series returned when a data query is performed. * * @param timeseries the timeseries value to set * @return the MetricInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationInner.java index 62b2f51a240..f7675f7dad3 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationInner.java @@ -28,7 +28,7 @@ public class OperationInner { private OperationDisplay display; /** - * Get the name value. + * Get operation name: {provider}/{resource}/{operation}. * * @return the name value */ @@ -37,7 +37,7 @@ public String name() { } /** - * Set the name value. + * Set operation name: {provider}/{resource}/{operation}. * * @param name the name value to set * @return the OperationInner object itself. @@ -48,7 +48,7 @@ public OperationInner withName(String name) { } /** - * Get the display value. + * Get display metadata associated with the operation. * * @return the display value */ @@ -57,7 +57,7 @@ public OperationDisplay display() { } /** - * Set the display value. + * Set display metadata associated with the operation. * * @param display the display value to set * @return the OperationInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationListResultInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationListResultInner.java index b3b1a72e87f..1fed0422396 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationListResultInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/OperationListResultInner.java @@ -29,7 +29,7 @@ public class OperationListResultInner { private String nextLink; /** - * Get the value value. + * Get list of operations supported by the Microsoft.Insights provider. * * @return the value value */ @@ -38,7 +38,7 @@ public List value() { } /** - * Set the value value. + * Set list of operations supported by the Microsoft.Insights provider. * * @param value the value value to set * @return the OperationListResultInner object itself. @@ -49,7 +49,7 @@ public OperationListResultInner withValue(List value) { } /** - * Get the nextLink value. + * Get uRL to get the next set of operation list results if there are any. * * @return the nextLink value */ @@ -58,7 +58,7 @@ public String nextLink() { } /** - * Set the nextLink value. + * Set uRL to get the next set of operation list results if there are any. * * @param nextLink the nextLink value to set * @return the OperationListResultInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ResponseInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ResponseInner.java index 4ed92b46869..fc55bf0fc4f 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ResponseInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ResponseInner.java @@ -58,7 +58,7 @@ public class ResponseInner { private List value; /** - * Get the cost value. + * Get the integer value representing the cost of the query, for data case. * * @return the cost value */ @@ -67,7 +67,7 @@ public Double cost() { } /** - * Set the cost value. + * Set the integer value representing the cost of the query, for data case. * * @param cost the cost value to set * @return the ResponseInner object itself. @@ -78,7 +78,7 @@ public ResponseInner withCost(Double cost) { } /** - * Get the timespan value. + * Get the timespan for which the data was retrieved. Its value consists of two datatimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. * * @return the timespan value */ @@ -87,7 +87,7 @@ public String timespan() { } /** - * Set the timespan value. + * Set the timespan for which the data was retrieved. Its value consists of two datatimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. * * @param timespan the timespan value to set * @return the ResponseInner object itself. @@ -98,7 +98,7 @@ public ResponseInner withTimespan(String timespan) { } /** - * Get the interval value. + * Get the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. * * @return the interval value */ @@ -107,7 +107,7 @@ public Period interval() { } /** - * Set the interval value. + * Set the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. * * @param interval the interval value to set * @return the ResponseInner object itself. @@ -118,7 +118,7 @@ public ResponseInner withInterval(Period interval) { } /** - * Get the namespace value. + * Get the namespace of the metrics been queried. * * @return the namespace value */ @@ -127,7 +127,7 @@ public String namespace() { } /** - * Set the namespace value. + * Set the namespace of the metrics been queried. * * @param namespace the namespace value to set * @return the ResponseInner object itself. @@ -138,7 +138,7 @@ public ResponseInner withNamespace(String namespace) { } /** - * Get the resourceregion value. + * Get the region of the resource been queried for metrics. * * @return the resourceregion value */ @@ -147,7 +147,7 @@ public String resourceregion() { } /** - * Set the resourceregion value. + * Set the region of the resource been queried for metrics. * * @param resourceregion the resourceregion value to set * @return the ResponseInner object itself. @@ -158,7 +158,7 @@ public ResponseInner withResourceregion(String resourceregion) { } /** - * Get the value value. + * Get the value of the collection. * * @return the value value */ @@ -167,7 +167,7 @@ public List value() { } /** - * Set the value value. + * Set the value of the collection. * * @param value the value value to set * @return the ResponseInner object itself. diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ScheduledQueryRulesInner.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ScheduledQueryRulesInner.java index 385f57a3992..55ea1beb012 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ScheduledQueryRulesInner.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/implementation/ScheduledQueryRulesInner.java @@ -14,6 +14,7 @@ import retrofit2.Retrofit; import com.google.common.reflect.TypeToken; import com.microsoft.azure.management.monitor.ErrorResponseException; +import com.microsoft.azure.management.monitor.LogSearchRuleResourcePatch; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -28,6 +29,7 @@ import retrofit2.http.Header; import retrofit2.http.Headers; import retrofit2.http.HTTP; +import retrofit2.http.PATCH; import retrofit2.http.Path; import retrofit2.http.PUT; import retrofit2.http.Query; @@ -69,6 +71,10 @@ interface ScheduledQueryRulesService { @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}") Observable> getByResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("ruleName") String ruleName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.monitor.ScheduledQueryRules update" }) + @PATCH("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}") + Observable> update(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("ruleName") String ruleName, @Query("api-version") String apiVersion, @Body LogSearchRuleResourcePatch parameters, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.monitor.ScheduledQueryRules delete" }) @HTTP(path = "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}", method = "DELETE", hasBody = true) Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("ruleName") String ruleName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -260,6 +266,98 @@ private ServiceResponse getByResourceGroupDelegate(R .build(response); } + /** + * Update log search Rule. + * + * @param resourceGroupName The name of the resource group. + * @param ruleName The name of the rule. + * @param parameters The parameters of the rule to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws ErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the LogSearchRuleResourceInner object if successful. + */ + public LogSearchRuleResourceInner update(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters) { + return updateWithServiceResponseAsync(resourceGroupName, ruleName, parameters).toBlocking().single().body(); + } + + /** + * Update log search Rule. + * + * @param resourceGroupName The name of the resource group. + * @param ruleName The name of the rule. + * @param parameters The parameters of the rule to update. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, ruleName, parameters), serviceCallback); + } + + /** + * Update log search Rule. + * + * @param resourceGroupName The name of the resource group. + * @param ruleName The name of the rule. + * @param parameters The parameters of the rule to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the LogSearchRuleResourceInner object + */ + public Observable updateAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters) { + return updateWithServiceResponseAsync(resourceGroupName, ruleName, parameters).map(new Func1, LogSearchRuleResourceInner>() { + @Override + public LogSearchRuleResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Update log search Rule. + * + * @param resourceGroupName The name of the resource group. + * @param ruleName The name of the rule. + * @param parameters The parameters of the rule to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the LogSearchRuleResourceInner object + */ + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (ruleName == null) { + throw new IllegalArgumentException("Parameter ruleName is required and cannot be null."); + } + if (parameters == null) { + throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); + } + Validator.validate(parameters); + final String apiVersion = "2018-04-16"; + return service.update(this.client.subscriptionId(), resourceGroupName, ruleName, apiVersion, parameters, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(ErrorResponseException.class) + .build(response); + } + /** * Deletes a Log Search rule. *