Show / Hide Table of Contents

Class ListManagedInstancesRequest

Inheritance
object
ListManagedInstancesRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Requests
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ListManagedInstancesRequest : IOciRequest
Examples

Click here to see an example of how to use ListManagedInstances request.

Properties

AdvisoryName

Declaration
[HttpConverter(TargetEnum.Query, "advisoryName", CollectionFormatType.Multi)]
public List<string> AdvisoryName { get; set; }
Property Value
Type Description
List<string>

The assigned erratum name. It's unique and not changeable.
Example: ELSA-2020-5804

AgentVersion

Declaration
[HttpConverter(TargetEnum.Query, "agentVersion")]
public string AgentVersion { get; set; }
Property Value
Type Description
string

A filter to return only managed instances with the specified version of osmh-agent running.

ArchType

Declaration
[HttpConverter(TargetEnum.Query, "archType", CollectionFormatType.Multi)]
public List<ArchType> ArchType { get; set; }
Property Value
Type Description
List<ArchType>

A filter to return only instances whose architecture type matches the given architecture.

CompartmentId

Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.

DisplayName

Declaration
[HttpConverter(TargetEnum.Query, "displayName", CollectionFormatType.Multi)]
public List<string> DisplayName { get; set; }
Property Value
Type Description
List<string>

A filter to return resources that match the given display names.

DisplayNameContains

Declaration
[HttpConverter(TargetEnum.Query, "displayNameContains")]
public string DisplayNameContains { get; set; }
Property Value
Type Description
string

A filter to return resources that may partially match the given display name.

Group

Declaration
[HttpConverter(TargetEnum.Query, "group")]
public string Group { get; set; }
Property Value
Type Description
string

A filter to return only managed instances that are attached to the specified group.

GroupNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "groupNotEqualTo")]
public string GroupNotEqualTo { get; set; }
Property Value
Type Description
string

A filter to return only managed instances that are NOT attached to the specified group.

IsAttachedToGroupOrLifecycleStage

Declaration
[HttpConverter(TargetEnum.Query, "isAttachedToGroupOrLifecycleStage")]
public bool? IsAttachedToGroupOrLifecycleStage { get; set; }
Property Value
Type Description
bool?

A filter to return only managed instances that are attached to the specified group or lifecycle environment.

IsManagedByAutonomousLinux

Declaration
[HttpConverter(TargetEnum.Query, "isManagedByAutonomousLinux")]
public bool? IsManagedByAutonomousLinux { get; set; }
Property Value
Type Description
bool?

Indicates whether to list only resources managed by the Autonomous Linux service.

IsManagementStation

Declaration
[HttpConverter(TargetEnum.Query, "isManagementStation")]
public bool? IsManagementStation { get; set; }
Property Value
Type Description
bool?

A filter to return only managed instances that are acting as management stations.

IsProfileAttached

Declaration
[HttpConverter(TargetEnum.Query, "isProfileAttached")]
public bool? IsProfileAttached { get; set; }
Property Value
Type Description
bool?

A filter to return only managed instances with a registration profile attached.

IsRebootRequired

Declaration
[HttpConverter(TargetEnum.Query, "isRebootRequired")]
public bool? IsRebootRequired { get; set; }
Property Value
Type Description
bool?

A filter to return only managed instances that require a reboot to install updates.

LifecycleEnvironment

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleEnvironment")]
public string LifecycleEnvironment { get; set; }
Property Value
Type Description
string

A filter to return only managed instances in a specific lifecycle environment.

LifecycleEnvironmentNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleEnvironmentNotEqualTo")]
public string LifecycleEnvironmentNotEqualTo { get; set; }
Property Value
Type Description
string

A filter to return only managed instances that aren't in a specific lifecycle environment.

LifecycleStage

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleStage")]
public string LifecycleStage { get; set; }
Property Value
Type Description
string

A filter to return only managed instances that are associated with the specified lifecycle environment.

LifecycleStageNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleStageNotEqualTo")]
public string LifecycleStageNotEqualTo { get; set; }
Property Value
Type Description
string

A filter to return only managed instances that are NOT associated with the specified lifecycle environment.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

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

Location

Declaration
[HttpConverter(TargetEnum.Query, "location", CollectionFormatType.Multi)]
public List<ManagedInstanceLocation> Location { get; set; }
Property Value
Type Description
List<ManagedInstanceLocation>

A filter to return only resources whose location matches the given value.

LocationNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "locationNotEqualTo", CollectionFormatType.Multi)]
public List<ManagedInstanceLocation> LocationNotEqualTo { get; set; }
Property Value
Type Description
List<ManagedInstanceLocation>

A filter to return only resources whose location does not match the given value.

ManagedInstanceId

Declaration
[HttpConverter(TargetEnum.Query, "managedInstanceId")]
public string ManagedInstanceId { get; set; }
Property Value
Type Description
string

The OCID of the managed instance. This filter returns resources associated with this managed instance.

ManagementStation

Declaration
[HttpConverter(TargetEnum.Query, "managementStation", CollectionFormatType.Multi)]
public List<string> ManagementStation { get; set; }
Property Value
Type Description
List<string>

A filter to return resources that are associated with the specified management station OCIDs.

ManagementStationNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "managementStationNotEqualTo", CollectionFormatType.Multi)]
public List<string> ManagementStationNotEqualTo { get; set; }
Property Value
Type Description
List<string>

A filter to return resources that aren't associated with the specified management station OCIDs.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

OsFamily

Declaration
[HttpConverter(TargetEnum.Query, "osFamily", CollectionFormatType.Multi)]
public List<OsFamily> OsFamily { get; set; }
Property Value
Type Description
List<OsFamily>

A filter to return only resources that match the given operating system family.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

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

Profile

Declaration
[HttpConverter(TargetEnum.Query, "profile", CollectionFormatType.Multi)]
public List<string> Profile { get; set; }
Property Value
Type Description
List<string>

A multi filter to return only managed instances that match the given profile ids.

ProfileNotEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "profileNotEqualTo", CollectionFormatType.Multi)]
public List<string> ProfileNotEqualTo { get; set; }
Property Value
Type Description
List<string>

A multi filter to return only managed instances that don't contain the given profile OCIDs.

SoftwareSourceId

Declaration
[HttpConverter(TargetEnum.Query, "softwareSourceId")]
public string SoftwareSourceId { get; set; }
Property Value
Type Description
string

The OCID of the software source. This filter returns resources associated with this software source.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListManagedInstancesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListManagedInstancesRequest.SortByEnum?

The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type Description
SortOrder?

The sort order to use, either 'ASC' or 'DESC'.

Status

Declaration
[HttpConverter(TargetEnum.Query, "status", CollectionFormatType.Multi)]
public List<ManagedInstanceStatus> Status { get; set; }
Property Value
Type Description
List<ManagedInstanceStatus>

A filter to return only managed instances whose status matches the status provided.

Implements

IOciRequest
In this article
Back to top