Class ListManagedInstancesRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220901")
    public class ListManagedInstancesRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstancesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstancesRequest.

    • Constructor Detail

      • ListManagedInstancesRequest

        public ListManagedInstancesRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment that contains the resources to list.

        This filter returns only resources contained within the specified compartment.

      • getDisplayName

        public List<String> getDisplayName()
        A filter to return resources that match the given display names.
      • getDisplayNameContains

        public String getDisplayNameContains()
        A filter to return resources that may partially match the given display name.
      • getManagedInstanceId

        public String getManagedInstanceId()
        The OCID of the managed instance.

        This filter returns resources associated with this managed instance.

      • getStatus

        public List<ManagedInstanceStatus> getStatus()
        A filter to return only managed instances whose status matches the status provided.
      • getArchType

        public List<ArchType> getArchType()
        A filter to return only instances whose architecture type matches the given architecture.
      • getOsFamily

        public List<OsFamily> getOsFamily()
        A filter to return only resources that match the given operating system family.
      • getIsManagementStation

        public Boolean getIsManagementStation()
        A filter to return only managed instances that are acting as management stations.
      • getGroup

        public String getGroup()
        A filter to return only managed instances that are attached to the specified group.
      • getGroupNotEqualTo

        public String getGroupNotEqualTo()
        A filter to return only managed instances that are NOT attached to the specified group.
      • getLifecycleStage

        public String getLifecycleStage()
        A filter to return only managed instances that are associated with the specified lifecycle environment.
      • getLifecycleStageNotEqualTo

        public String getLifecycleStageNotEqualTo()
        A filter to return only managed instances that are NOT associated with the specified lifecycle environment.
      • getIsAttachedToGroupOrLifecycleStage

        public Boolean getIsAttachedToGroupOrLifecycleStage()
        A filter to return only managed instances that are attached to the specified group or lifecycle environment.
      • getSoftwareSourceId

        public String getSoftwareSourceId()
        The OCID of the software source.

        This filter returns resources associated with this software source.

      • getAdvisoryName

        public List<String> getAdvisoryName()
        The assigned erratum name.

        It’s unique and not changeable.

        Example: ELSA-2020-5804

      • getLifecycleEnvironment

        public String getLifecycleEnvironment()
        A filter to return only managed instances in a specific lifecycle environment.
      • getLifecycleEnvironmentNotEqualTo

        public String getLifecycleEnvironmentNotEqualTo()
        A filter to return only managed instances that aren’t in a specific lifecycle environment.
      • getLocation

        public List<ManagedInstanceLocation> getLocation()
        A filter to return only resources whose location matches the given value.
      • getLocationNotEqualTo

        public List<ManagedInstanceLocation> getLocationNotEqualTo()
        A filter to return only resources whose location does not match the given value.
      • getProfile

        public List<String> getProfile()
        A multi filter to return only managed instances that match the given profile ids.
      • getProfileNotEqualTo

        public List<String> getProfileNotEqualTo()
        A multi filter to return only managed instances that don’t contain the given profile OCIDs.
      • getIsProfileAttached

        public Boolean getIsProfileAttached()
        A filter to return only managed instances with a registration profile attached.
      • getIsManagedByAutonomousLinux

        public Boolean getIsManagedByAutonomousLinux()
        Indicates whether to list only resources managed by the Autonomous Linux service.
      • getAgentVersion

        public String getAgentVersion()
        A filter to return only managed instances with the specified version of osmh-agent running.
      • getManagementStation

        public List<String> getManagementStation()
        A filter to return resources that are associated with the specified management station OCIDs.
      • getManagementStationNotEqualTo

        public List<String> getManagementStationNotEqualTo()
        A filter to return resources that aren’t associated with the specified management station OCIDs.
      • getIsRebootRequired

        public Boolean getIsRebootRequired()
        A filter to return only managed instances that require a reboot to install updates.
      • getLimit

        public Integer getLimit()
        For list pagination.

        The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.

        Example: 50

      • getPage

        public String getPage()
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.

        Example: 3

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order to use, either ‘ASC’ or ‘DESC’.
      • getSortBy

        public ListManagedInstancesRequest.SortBy getSortBy()
        The field to sort by.

        Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>