MonitorManagementClientImpl Class

  • java.lang.Object
    • AzureServiceClient
      • com.microsoft.azure.management.monitor.implementation.MonitorManagementClientImpl

public class MonitorManagementClientImpl

Initializes a new instance of the MonitorManagementClientImpl class.

Constructor Summary

Constructor Description
MonitorManagementClientImpl(RestClient restClient)

Initializes an instance of MonitorManagementClient client.

MonitorManagementClientImpl(ServiceClientCredentials credentials)

Initializes an instance of MonitorManagementClient client.

MonitorManagementClientImpl(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of MonitorManagementClient client.

Method Summary

Modifier and Type Method and Description
String acceptLanguage()

Gets The preferred language for the response.

ActionGroupsInner actionGroups()

Gets the ActionGroupsInner object to access its operations.

ActivityLogAlertsInner activityLogAlerts()

Gets the ActivityLogAlertsInner object to access its operations.

ActivityLogsInner activityLogs()

Gets the ActivityLogsInner object to access its operations.

AlertRuleIncidentsInner alertRuleIncidents()

Gets the AlertRuleIncidentsInner object to access its operations.

AlertRulesInner alertRules()

Gets the AlertRulesInner object to access its operations.

AutoscaleSettingsInner autoscaleSettings()

Gets the AutoscaleSettingsInner object to access its operations.

BaselinesInner baselines()

Gets the BaselinesInner object to access its operations.

DiagnosticSettingsInner diagnosticSettings()

Gets the DiagnosticSettingsInner object to access its operations.

DiagnosticSettingsCategorysInner diagnosticSettingsCategorys()

Gets the DiagnosticSettingsCategorysInner object to access its operations.

EventCategoriesInner eventCategories()

Gets the EventCategoriesInner object to access its operations.

boolean generateClientRequestId()

Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

AzureClient getAzureClient()

Gets the AzureClient used for long running operations.

void initialize()
LogProfilesInner logProfiles()

Gets the LogProfilesInner object to access its operations.

int longRunningOperationRetryTimeout()

Gets The retry timeout in seconds for Long Running Operations. Default value is 30.

MetricAlertsInner metricAlerts()

Gets the MetricAlertsInner object to access its operations.

MetricAlertsStatusInner metricAlertsStatus()

Gets the MetricAlertsStatusInner object to access its operations.

MetricBaselinesInner metricBaselines()

Gets the MetricBaselinesInner object to access its operations.

MetricDefinitionsInner metricDefinitions()

Gets the MetricDefinitionsInner object to access its operations.

MetricNamespacesInner metricNamespaces()

Gets the MetricNamespacesInner object to access its operations.

MetricsInner metrics()

Gets the MetricsInner object to access its operations.

OperationsInner operations()

Gets the OperationsInner object to access its operations.

ScheduledQueryRulesInner scheduledQueryRules()

Gets the ScheduledQueryRulesInner object to access its operations.

String subscriptionId()

Gets The Azure subscription Id.

TenantActivityLogsInner tenantActivityLogs()

Gets the TenantActivityLogsInner object to access its operations.

String userAgent()

Gets the User-Agent header for the client.

VMInsightsInner vMInsights()

Gets the VMInsightsInner object to access its operations.

MonitorManagementClientImpl withAcceptLanguage(String acceptLanguage)

Sets The preferred language for the response.

MonitorManagementClientImpl withGenerateClientRequestId(boolean generateClientRequestId)

Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

MonitorManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets The retry timeout in seconds for Long Running Operations. Default value is 30.

MonitorManagementClientImpl withSubscriptionId(String subscriptionId)

Sets The Azure subscription Id.

Constructor Details

MonitorManagementClientImpl

public MonitorManagementClientImpl(RestClient restClient)

Initializes an instance of MonitorManagementClient client.

Parameters:

restClient - the REST client to connect to Azure.

MonitorManagementClientImpl

public MonitorManagementClientImpl(ServiceClientCredentials credentials)

Initializes an instance of MonitorManagementClient client.

Parameters:

credentials - the management credentials for Azure

MonitorManagementClientImpl

public MonitorManagementClientImpl(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of MonitorManagementClient client.

Parameters:

baseUrl - the base URL of the host
credentials - the management credentials for Azure

Method Details

acceptLanguage

public String acceptLanguage()

Gets The preferred language for the response.

Returns:

the acceptLanguage value.

actionGroups

public ActionGroupsInner actionGroups()

Gets the ActionGroupsInner object to access its operations.

Returns:

the ActionGroupsInner object.

activityLogAlerts

public ActivityLogAlertsInner activityLogAlerts()

Gets the ActivityLogAlertsInner object to access its operations.

Returns:

the ActivityLogAlertsInner object.

activityLogs

public ActivityLogsInner activityLogs()

Gets the ActivityLogsInner object to access its operations.

Returns:

the ActivityLogsInner object.

alertRuleIncidents

public AlertRuleIncidentsInner alertRuleIncidents()

Gets the AlertRuleIncidentsInner object to access its operations.

Returns:

the AlertRuleIncidentsInner object.

alertRules

public AlertRulesInner alertRules()

Gets the AlertRulesInner object to access its operations.

Returns:

the AlertRulesInner object.

autoscaleSettings

public AutoscaleSettingsInner autoscaleSettings()

Gets the AutoscaleSettingsInner object to access its operations.

Returns:

the AutoscaleSettingsInner object.

baselines

public BaselinesInner baselines()

Gets the BaselinesInner object to access its operations.

Returns:

the BaselinesInner object.

diagnosticSettings

public DiagnosticSettingsInner diagnosticSettings()

Gets the DiagnosticSettingsInner object to access its operations.

Returns:

the DiagnosticSettingsInner object.

diagnosticSettingsCategorys

public DiagnosticSettingsCategorysInner diagnosticSettingsCategorys()

Gets the DiagnosticSettingsCategorysInner object to access its operations.

Returns:

the DiagnosticSettingsCategorysInner object.

eventCategories

public EventCategoriesInner eventCategories()

Gets the EventCategoriesInner object to access its operations.

Returns:

the EventCategoriesInner object.

generateClientRequestId

public boolean generateClientRequestId()

Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

Returns:

the generateClientRequestId value.

getAzureClient

public AzureClient getAzureClient()

Gets the AzureClient used for long running operations.

Returns:

the azure client;

initialize

protected void initialize()

logProfiles

public LogProfilesInner logProfiles()

Gets the LogProfilesInner object to access its operations.

Returns:

the LogProfilesInner object.

longRunningOperationRetryTimeout

public int longRunningOperationRetryTimeout()

Gets The retry timeout in seconds for Long Running Operations. Default value is 30.

Returns:

the longRunningOperationRetryTimeout value.

metricAlerts

public MetricAlertsInner metricAlerts()

Gets the MetricAlertsInner object to access its operations.

Returns:

the MetricAlertsInner object.

metricAlertsStatus

public MetricAlertsStatusInner metricAlertsStatus()

Gets the MetricAlertsStatusInner object to access its operations.

Returns:

the MetricAlertsStatusInner object.

metricBaselines

public MetricBaselinesInner metricBaselines()

Gets the MetricBaselinesInner object to access its operations.

Returns:

the MetricBaselinesInner object.

metricDefinitions

public MetricDefinitionsInner metricDefinitions()

Gets the MetricDefinitionsInner object to access its operations.

Returns:

the MetricDefinitionsInner object.

metricNamespaces

public MetricNamespacesInner metricNamespaces()

Gets the MetricNamespacesInner object to access its operations.

Returns:

the MetricNamespacesInner object.

metrics

public MetricsInner metrics()

Gets the MetricsInner object to access its operations.

Returns:

the MetricsInner object.

operations

public OperationsInner operations()

Gets the OperationsInner object to access its operations.

Returns:

the OperationsInner object.

scheduledQueryRules

public ScheduledQueryRulesInner scheduledQueryRules()

Gets the ScheduledQueryRulesInner object to access its operations.

Returns:

the ScheduledQueryRulesInner object.

subscriptionId

public String subscriptionId()

Gets The Azure subscription Id.

Returns:

the subscriptionId value.

tenantActivityLogs

public TenantActivityLogsInner tenantActivityLogs()

Gets the TenantActivityLogsInner object to access its operations.

Returns:

the TenantActivityLogsInner object.

userAgent

public String userAgent()

Gets the User-Agent header for the client.

Returns:

the user agent string.

vMInsights

public VMInsightsInner vMInsights()

Gets the VMInsightsInner object to access its operations.

Returns:

the VMInsightsInner object.

withAcceptLanguage

public MonitorManagementClientImpl withAcceptLanguage(String acceptLanguage)

Sets The preferred language for the response.

Parameters:

acceptLanguage - the acceptLanguage value.

Returns:

the service client itself

withGenerateClientRequestId

public MonitorManagementClientImpl withGenerateClientRequestId(boolean generateClientRequestId)

Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

Parameters:

generateClientRequestId - the generateClientRequestId value.

Returns:

the service client itself

withLongRunningOperationRetryTimeout

public MonitorManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets The retry timeout in seconds for Long Running Operations. Default value is 30.

Parameters:

longRunningOperationRetryTimeout - the longRunningOperationRetryTimeout value.

Returns:

the service client itself

withSubscriptionId

public MonitorManagementClientImpl withSubscriptionId(String subscriptionId)

Sets The Azure subscription Id.

Parameters:

subscriptionId - the subscriptionId value.

Returns:

the service client itself

Applies to