public interface MonitorsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LogzMonitorResourceInner>,LogzMonitorResourceInner> |
beginCreate(String resourceGroupName,
String monitorName,
LogzMonitorResourceInner body)
Create a monitor resource.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LogzMonitorResourceInner>,LogzMonitorResourceInner> |
beginCreate(String resourceGroupName,
String monitorName,
LogzMonitorResourceInner body,
com.azure.core.util.Context context)
Create a monitor resource.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String monitorName)
Delete a monitor resource.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
Delete a monitor resource.
|
LogzMonitorResourceInner |
create(String resourceGroupName,
String monitorName)
Create a monitor resource.
|
LogzMonitorResourceInner |
create(String resourceGroupName,
String monitorName,
LogzMonitorResourceInner body)
Create a monitor resource.
|
LogzMonitorResourceInner |
create(String resourceGroupName,
String monitorName,
LogzMonitorResourceInner body,
com.azure.core.util.Context context)
Create a monitor resource.
|
void |
delete(String resourceGroupName,
String monitorName)
Delete a monitor resource.
|
void |
delete(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
Delete a monitor resource.
|
LogzMonitorResourceInner |
getByResourceGroup(String resourceGroupName,
String monitorName)
Get the properties of a specific monitor resource.
|
com.azure.core.http.rest.Response<LogzMonitorResourceInner> |
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<LogzMonitorResourceInner> |
list()
List all monitors under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResourceInner> |
list(com.azure.core.util.Context context)
List all monitors under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResourceInner> |
listByResourceGroup(String resourceGroupName)
List all monitors under the specified resource group.
|
com.azure.core.http.rest.PagedIterable<LogzMonitorResourceInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
List all monitors under the specified resource group.
|
com.azure.core.http.rest.PagedIterable<MonitoredResourceInner> |
listMonitoredResources(String resourceGroupName,
String monitorName)
List the resources currently being monitored by the Logz monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoredResourceInner> |
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<UserRoleResponseInner> |
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<UserRoleResponseInner> |
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.
|
LogzMonitorResourceInner |
update(String resourceGroupName,
String monitorName)
Update a monitor resource.
|
com.azure.core.http.rest.Response<LogzMonitorResourceInner> |
updateWithResponse(String resourceGroupName,
String monitorName,
LogzMonitorResourceUpdateParameters body,
com.azure.core.util.Context context)
Update a monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoredResourceInner> 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<MonitoredResourceInner> 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<LogzMonitorResourceInner> 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<LogzMonitorResourceInner> 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<LogzMonitorResourceInner> 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<LogzMonitorResourceInner> 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.LogzMonitorResourceInner 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<LogzMonitorResourceInner> 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LogzMonitorResourceInner>,LogzMonitorResourceInner> beginCreate(String resourceGroupName, String monitorName, LogzMonitorResourceInner body)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- The body parameter.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LogzMonitorResourceInner>,LogzMonitorResourceInner> beginCreate(String resourceGroupName, String monitorName, LogzMonitorResourceInner body, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- The body parameter.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.LogzMonitorResourceInner create(String resourceGroupName, String monitorName, LogzMonitorResourceInner body)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- The body parameter.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.LogzMonitorResourceInner create(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.LogzMonitorResourceInner create(String resourceGroupName, String monitorName, LogzMonitorResourceInner body, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- The body parameter.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.LogzMonitorResourceInner update(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<LogzMonitorResourceInner> updateWithResponse(String resourceGroupName, String monitorName, LogzMonitorResourceUpdateParameters body, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- The parameters for a PATCH request to a monitor resource.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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 delete(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<UserRoleResponseInner> 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<UserRoleResponseInner> 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.