Show / Hide Table of Contents

Class ListWindowsUpdatesRequest

Inheritance
object
ListWindowsUpdatesRequest
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 ListWindowsUpdatesRequest : IOciRequest
Examples

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

Properties

ClassificationType

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

A filter to return only packages that match the given update classification type.

CompartmentId

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

The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.

Remarks

Required

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.

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

Name

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

A filter based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'

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.

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

SortBy

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

The field to sort by. Only one sort order may be provided. Default order for timeInstalled is descending. Default order for name or 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'.

Implements

IOciRequest
In this article
Back to top