Interface LogzMonitorResource


public interface LogzMonitorResource
An immutable client-side representation of LogzMonitorResource.
  • 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

      Map<String,String> 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

      Gets the inner com.azure.resourcemanager.logz.fluent.models.LogzMonitorResourceInner object.
      Returns:
      the inner object.
    • update

      Begins update for the LogzMonitorResource resource.
      Returns:
      the stage of resource update.
    • refresh

      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      LogzMonitorResource refresh(com.azure.core.util.Context context)
      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.