Class ListTemplatesRequest
Implements
Inherited Members
Namespace: Oci.ResourcemanagerService.Requests
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
public class ListTemplatesRequest : IOciRequest
Examples
Click here to see an example of how to use ListTemplates request.
Properties
CompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only resources that exist in the compartment, identified by OCID. |
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 given display name exactly.
Use this filter to list a resource by name.
Requires |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of items returned in a paginated |
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 | The value of the |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListTemplatesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListTemplatesRequest.SortByEnum? | The field to use when sorting returned resources.
By default, |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListTemplatesRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListTemplatesRequest.SortOrderEnum? | The sort order to use when sorting returned resources. Ascending ( |
TemplateCategoryId
Declaration
[HttpConverter(TargetEnum.Query, "templateCategoryId")]
public string TemplateCategoryId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the template category.
Possible values are |
TemplateId
Declaration
[HttpConverter(TargetEnum.Query, "templateId")]
public string TemplateId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the template. |