Class ListProtectionCapabilitiesRequest
Implements
Inherited Members
Namespace: Oci.WafService.Requests
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
public class ListProtectionCapabilitiesRequest : IOciRequest
Examples
Click here to see an example of how to use ListProtectionCapabilities request.
Properties
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 in which to list resources. |
Remarks
Required
DisplayName
Declaration
[HttpConverter(TargetEnum.Query, "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only resources that match the entire display name given. |
GroupTag
Declaration
[HttpConverter(TargetEnum.Query, "groupTag", CollectionFormatType.Multi)]
public List<string> GroupTag { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A filter to return only resources that are accociated given group tag. |
IsLatestVersion
Declaration
[HttpConverter(TargetEnum.Query, "isLatestVersion", CollectionFormatType.Multi)]
public List<bool> IsLatestVersion { get; set; }
Property Value
Type | Description |
---|---|
List<bool> | A filter to return only resources that matches given isLatestVersion. |
Key
Declaration
[HttpConverter(TargetEnum.Query, "key")]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string | The unique key of protection capability to filter by. |
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 |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListProtectionCapabilitiesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListProtectionCapabilitiesRequest.SortByEnum? | The field to sort by. Only one sort order may be provided. Default order for key is descending. Default order for type is descending. Default order for displayName is ascending. If no value is specified key is default. |
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'. |
Type
Declaration
[HttpConverter(TargetEnum.Query, "type")]
public ProtectionCapabilitySummary.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
ProtectionCapabilitySummary.TypeEnum? | A filter to return only resources that matches given type. |