Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@

--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
<doclintMissingInclusion>-</doclintMissingInclusion>
</properties>

<developers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,47 +84,71 @@ public interface Configurable extends AzureConfigurable<Configurable> {
MonitorManager authenticate(TokenCredential credential, AzureProfile profile);
}

/** @return the Azure Activity Logs API entry point */
/**
* Gets the Azure Activity Logs API entry point.
*
* @return the Azure Activity Logs API entry point
*/
public ActivityLogs activityLogs() {
if (this.activityLogs == null) {
this.activityLogs = new ActivityLogsImpl(this);
}
return this.activityLogs;
}

/** @return the Azure Metric Definitions API entry point */
/**
* Gets the Azure Metric Definitions API entry point.
*
* @return the Azure Metric Definitions API entry point
*/
public MetricDefinitions metricDefinitions() {
if (this.metricDefinitions == null) {
this.metricDefinitions = new MetricDefinitionsImpl(this);
}
return this.metricDefinitions;
}

/** @return the Azure Diagnostic Settings API entry point */
/**
* Gets the Azure Diagnostic Settings API entry point.
*
* @return the Azure Diagnostic Settings API entry point
*/
public DiagnosticSettings diagnosticSettings() {
if (this.diagnosticSettings == null) {
this.diagnosticSettings = new DiagnosticSettingsImpl(this);
}
return this.diagnosticSettings;
}

/** @return the Azure Action Groups API entry point */
/**
* Gets the Azure Action Groups API entry point.
*
* @return the Azure Action Groups API entry point
*/
public ActionGroups actionGroups() {
if (this.actionGroups == null) {
this.actionGroups = new ActionGroupsImpl(this);
}
return this.actionGroups;
}

/** @return the Azure AlertRules API entry point */
/**
* Gets the Azure AlertRules API entry point.
*
* @return the Azure AlertRules API entry point
*/
public AlertRules alertRules() {
if (this.alerts == null) {
this.alerts = new AlertRulesImpl(this);
}
return this.alerts;
}

/** @return the Azure AutoscaleSettings API entry point */
/**
* Gets the Azure AutoscaleSettings API entry point.
*
* @return the Azure AutoscaleSettings API entry point
*/
public AutoscaleSettings autoscaleSettings() {
if (this.autoscaleSettings == null) {
this.autoscaleSettings = new AutoscaleSettingsImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ ActionDefinition<ParentT> withAzureFunction(String functionAppResourceId, String
ParentT attach();
}

/** The entirety of a Action Group definition. */
/**
* The entirety of a Action Group definition.
*
* @param <T> the next stage of the definition
*/
interface Definition<T> extends DefinitionStages.Blank, ActionDefinition<T>, DefinitionStages.WithCreate {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@
@Fluent
public interface AlertRules extends HasManager<MonitorManager> {

/** @return the Azure Metric Alerts API entry point */
/**
* Gets the Azure Metric Alerts API entry point.
*
* @return the Azure Metric Alerts API entry point
*/
MetricAlerts metricAlerts();

/** @return the Azure Activity Log Alerts API entry point */
/**
* Gets the Azure Activity Log Alerts API entry point.
*
* @return the Azure Activity Log Alerts API entry point
*/
ActivityLogAlerts activityLogAlerts();
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ public final class EventDataPropertyName extends ExpandableStringEnum<EventDataP
/** Static value "subscriptionId" for EventDataPropertyName. */
public static final EventDataPropertyName SUBSCRIPTIONID = fromString("subscriptionId");

/**
* Creates a new instance of EventDataPropertyName value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public EventDataPropertyName() {
}

/**
* Creates or finds a EventDataPropertyName from its string representation.
*
Expand All @@ -75,7 +84,11 @@ public static EventDataPropertyName fromString(String name) {
return fromString(name, EventDataPropertyName.class);
}

/** @return known WebhookAction values */
/**
* Gets known WebhookAction values.
*
* @return known WebhookAction values
*/
public static Collection<EventDataPropertyName> values() {
return values(EventDataPropertyName.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,18 @@ public interface MetricAlert extends GroupableResource<MonitorManager, MetricAle
*/
Duration windowSize();

/** @return metric alert criterias, indexed by name */
/**
* Gets metric alert criterias, indexed by name.
*
* @return metric alert criterias, indexed by name
*/
Map<String, MetricAlertCondition> alertCriterias();

/** @return metric dynamic alert criterias, indexed by name */
/**
* Gets metric dynamic alert criterias, indexed by name.
*
* @return metric dynamic alert criterias, indexed by name
*/
Map<String, MetricDynamicAlertCondition> dynamicAlertCriterias();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ public final class MetricAlertRuleCondition extends ExpandableStringEnum<MetricA
/** Static value LessThanOrEqual for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition LESS_THAN_OR_EQUAL = fromString("LessThanOrEqual");

/**
* Creates a new instance of MetricAlertRuleCondition value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public MetricAlertRuleCondition() {
}

/**
* Creates or finds a MetricAlertRuleCondition from its string representation.
*
Expand All @@ -36,7 +45,11 @@ public static MetricAlertRuleCondition fromString(String name) {
return fromString(name, MetricAlertRuleCondition.class);
}

/** @return known MetricAlertRuleCondition values */
/**
* Gets known MetricAlertRuleCondition values.
*
* @return known MetricAlertRuleCondition values
*/
public static Collection<MetricAlertRuleCondition> values() {
return values(MetricAlertRuleCondition.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ public final class MetricAlertRuleTimeAggregation extends ExpandableStringEnum<M
/** Static value Total for MetricAlertRuleTimeAggregation. */
public static final MetricAlertRuleTimeAggregation TOTAL = fromString("Total");

/**
* Creates a new instance of MetricAlertRuleTimeAggregation value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public MetricAlertRuleTimeAggregation() {
}

/**
* Creates or finds a MetricAlertRuleTimeAggregation from its string representation.
*
Expand All @@ -33,7 +42,11 @@ public static MetricAlertRuleTimeAggregation fromString(String name) {
return fromString(name, MetricAlertRuleTimeAggregation.class);
}

/** @return known MetricAlertRuleTimeAggregation values */
/**
* Gets known MetricAlertRuleTimeAggregation values.
*
* @return known MetricAlertRuleTimeAggregation values
*/
public static Collection<MetricAlertRuleTimeAggregation> values() {
return values(MetricAlertRuleTimeAggregation.class);
}
Expand Down
Loading