Interface LogzMonitorResource
public interface LogzMonitorResource
An immutable client-side representation of LogzMonitorResource.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the LogzMonitorResource definition.static interface
The LogzMonitorResource definition stages.static interface
The template for LogzMonitorResource update.static interface
The LogzMonitorResource update stages. -
Method Summary
Modifier and TypeMethodDescriptionid()
Gets the id property: Fully qualified resource Id for the resource.identity()
Gets the identity property: The identity property.Gets the inner com.azure.resourcemanager.logz.fluent.models.LogzMonitorResourceInner object.com.azure.core.http.rest.PagedIterable<MonitoredResource>
List the resources currently being monitored by the Logz monitor resource.com.azure.core.http.rest.PagedIterable<MonitoredResource>
listMonitoredResources
(com.azure.core.util.Context context) List the resources currently being monitored by the Logz monitor resource.com.azure.core.http.rest.PagedIterable<UserRoleResponse>
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
(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.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.Gets the properties property: Properties specific to the monitor resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: The system metadata relating to this resource.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the LogzMonitorResource resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
properties
MonitorProperties properties()Gets the properties property: Properties specific to the monitor resource.- Returns:
- the properties value.
-
identity
IdentityProperties identity()Gets the identity property: The identity property.- Returns:
- the identity value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
LogzMonitorResourceInner innerModel()Gets the inner com.azure.resourcemanager.logz.fluent.models.LogzMonitorResourceInner object.- Returns:
- the inner object.
-
update
LogzMonitorResource.Update update()Begins update for the LogzMonitorResource resource.- Returns:
- the stage of resource update.
-
refresh
LogzMonitorResource refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listMonitoredResources
com.azure.core.http.rest.PagedIterable<MonitoredResource> listMonitoredResources()List the resources currently being monitored by the Logz monitor resource.- Returns:
- response of a list operation as paginated response with
PagedIterable
. - Throws:
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.
-
listMonitoredResources
com.azure.core.http.rest.PagedIterable<MonitoredResource> listMonitoredResources(com.azure.core.util.Context context) List the resources currently being monitored by the Logz monitor resource.- Parameters:
context
- The context to associate with this operation.- Returns:
- response of a list operation as paginated response with
PagedIterable
. - Throws:
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.
-
listUserRoles
com.azure.core.http.rest.PagedIterable<UserRoleResponse> listUserRoles()List the user's roles configured on Logz.io side for the account corresponding to the monitor resource.- Returns:
- response for list of user's role for Logz.io account as paginated response with
PagedIterable
. - Throws:
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.
-
listUserRoles
com.azure.core.http.rest.PagedIterable<UserRoleResponse> listUserRoles(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.- Parameters:
body
- Request for checking user's role for Logz.io account.context
- The context to associate with this operation.- Returns:
- response for list of user's role for Logz.io account as paginated response with
PagedIterable
. - Throws:
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.
-