Class ListComplianceRecordsRequest
Implements
Inherited Members
Namespace: Oci.FleetappsmanagementService.Requests
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class ListComplianceRecordsRequest : IOciRequest
Examples
Click here to see an example of how to use ListComplianceRecords 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. |
ComplianceState
Declaration
[HttpConverter(TargetEnum.Query, "complianceState")]
public string ComplianceState { get; set; }
Property Value
Type | Description |
---|---|
string | Target Compliance State. |
EntityId
Declaration
[HttpConverter(TargetEnum.Query, "entityId")]
public string EntityId { get; set; }
Property Value
Type | Description |
---|---|
string | Entity identifier.Ex:FleetId |
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 |
ProductName
Declaration
[HttpConverter(TargetEnum.Query, "productName")]
public string ProductName { get; set; }
Property Value
Type | Description |
---|---|
string | Product Name. |
ProductStack
Declaration
[HttpConverter(TargetEnum.Query, "productStack")]
public string ProductStack { get; set; }
Property Value
Type | Description |
---|---|
string | ProductStack name. |
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 ComplianceRecordSortBy? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ComplianceRecordSortBy? | 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'. |
TargetName
Declaration
[HttpConverter(TargetEnum.Query, "targetName")]
public string TargetName { get; set; }
Property Value
Type | Description |
---|---|
string | Unique target name |