Show / Hide Table of Contents

Class ListInventoryRecordsRequest

Inheritance
object
ListInventoryRecordsRequest
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.FleetappsmanagementService.Requests
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class ListInventoryRecordsRequest : IOciRequest
Examples

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

Properties

CompartmentId

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

The ID of the compartment in which to list resources.

Remarks

Required

CompartmentIdInSubtree

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

If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.

FleetId

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

unique Fleet identifier

Limit

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

The maximum number of items to return.

OpcRequestId

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

The client request ID for tracing.

Page

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

A token representing the position at which to start retrieving results. This must come from the opc-next-page header field of a previous response.

ResourceId

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

Resource Identifier

SortBy

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

The field to sort by. Only one sort order may be provided.

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'.

Implements

IOciRequest
In this article
Back to top