public interface Monitors
Modifier and Type | Method and Description |
---|---|
LogzMonitorResource.DefinitionStages.Blank |
define(String name)
Begins definition for a new LogzMonitorResource resource.
|
void |
delete(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
Delete a monitor resource.
|
void |
deleteById(String id)
Delete a monitor resource.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete a monitor resource.
|
void |
deleteByResourceGroup(String resourceGroupName,
String monitorName)
Delete a monitor resource.
|
LogzMonitorResource |
getById(String id)
Get the properties of a specific monitor resource.
|
com.azure.core.http.rest.Response<LogzMonitorResource> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get the properties of a specific monitor resource.
|
LogzMonitorResource |
getByResourceGroup(String resourceGroupName,
String monitorName)
Get the properties of a specific monitor resource.
|
com.azure.core.http.rest.Response<LogzMonitorResource> |
getByResourceGroupWithResponse(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
Get the properties of a specific monitor resource.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResource> |
list()
List all monitors under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResource> |
list(com.azure.core.util.Context context)
List all monitors under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResource> |
listByResourceGroup(String resourceGroupName)
List all monitors under the specified resource group.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResource> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
List all monitors under the specified resource group.
|
com.azure.core.http.rest.PagedIterable<MonitoredResource> |
listMonitoredResources(String resourceGroupName,
String monitorName)
List the resources currently being monitored by the Logz monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoredResource> |
listMonitoredResources(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
List the resources currently being monitored by the Logz monitor resource.
|
com.azure.core.http.rest.PagedIterable<UserRoleResponse> |
listUserRoles(String resourceGroupName,
String monitorName)
List the user's roles configured on Logz.io side for the account corresponding to the monitor resource.
|
com.azure.core.http.rest.PagedIterable<UserRoleResponse> |
listUserRoles(String resourceGroupName,
String monitorName,
UserRoleRequest body,
com.azure.core.util.Context context)
List the user's roles configured on Logz.io side for the account corresponding to the monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoredResource> listMonitoredResources(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MonitoredResource> listMonitoredResources(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LogzMonitorResource> list()
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LogzMonitorResource> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LogzMonitorResource> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LogzMonitorResource> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.LogzMonitorResource getByResourceGroup(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LogzMonitorResource> getByResourceGroupWithResponse(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void deleteByResourceGroup(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UserRoleResponse> listUserRoles(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UserRoleResponse> listUserRoles(String resourceGroupName, String monitorName, UserRoleRequest body, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- Request for checking user's role for Logz.io account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.LogzMonitorResource getById(String id)
id
- the resource ID.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LogzMonitorResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void deleteById(String id)
id
- the resource ID.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.LogzMonitorResource.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.