Class ListCryptoAssessmentCertificatesRequest
Implements
Inherited Members
Namespace: Oci.DatasafeService.Requests
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class ListCryptoAssessmentCertificatesRequest : IOciRequest
Examples
Click here to see an example of how to use ListCryptoAssessmentCertificates request.
Properties
AccessLevel
Declaration
[HttpConverter(TargetEnum.Query, "accessLevel")]
public ListCryptoAssessmentCertificatesRequest.AccessLevelEnum? AccessLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| ListCryptoAssessmentCertificatesRequest.AccessLevelEnum? | Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. |
AssessmentId
Declaration
[HttpConverter(TargetEnum.Query, "assessmentId")]
public string AssessmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only resources associated with the specified crypto assessment OCID. |
AssessmentType
Declaration
[HttpConverter(TargetEnum.Query, "assessmentType")]
public CryptoAssessment.TypeEnum? AssessmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessment.TypeEnum? | A filter to return targets from assessments of the specified type. |
CertificateType
Declaration
[HttpConverter(TargetEnum.Query, "certificateType", CollectionFormatType.Multi)]
public List<CryptoAssessmentCertificateSummary.CertificateTypeEnum> CertificateType { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CryptoAssessmentCertificateSummary.CertificateTypeEnum> | A filter to return only certificates of any of the specified types. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only resources that match the specified compartment OCID. |
Remarks
Required
CompartmentIdInSubtree
Declaration
[HttpConverter(TargetEnum.Query, "compartmentIdInSubtree")]
public bool? CompartmentIdInSubtree { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. |
DaysToExpiry
Declaration
[HttpConverter(TargetEnum.Query, "daysToExpiry")]
public int? DaysToExpiry { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago. |
ExpiryBucket
Declaration
[HttpConverter(TargetEnum.Query, "expiryBucket")]
public string ExpiryBucket { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique identifier for the request. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination. |
PublicKeyType
Declaration
[HttpConverter(TargetEnum.Query, "publicKeyType", CollectionFormatType.Multi)]
public List<string> PublicKeyType { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256. |
SignatureAlgorithm
Declaration
[HttpConverter(TargetEnum.Query, "signatureAlgorithm", CollectionFormatType.Multi)]
public List<string> SignatureAlgorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListCryptoAssessmentCertificatesRequest.SortByEnum? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| ListCryptoAssessmentCertificatesRequest.SortByEnum? | The field used to sort certificate results. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListCryptoAssessmentCertificatesRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| ListCryptoAssessmentCertificatesRequest.SortOrderEnum? | The sort order to use, either ascending (ASC) or descending (DESC). |
Status
Declaration
[HttpConverter(TargetEnum.Query, "status", CollectionFormatType.Multi)]
public List<CryptoAssessmentCertificateSummary.StatusEnum> Status { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CryptoAssessmentCertificateSummary.StatusEnum> | A filter to return only certificates with any of the specified statuses. |
TargetId
Declaration
[HttpConverter(TargetEnum.Query, "targetId")]
public string TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only inventory rows associated with the specified target OCID. |
TargetIds
Declaration
[HttpConverter(TargetEnum.Query, "targetIds", CollectionFormatType.Multi)]
public List<string> TargetIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A filter to return only resources associated with any of the specified target OCIDs. |