Show / Hide Table of Contents

Class ListDeploymentsRequest

Inheritance
object
ListDeploymentsRequest
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.DevopsService.Requests
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class ListDeploymentsRequest : IOciRequest
Examples

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

Properties

CompartmentId

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

The OCID of the compartment in which to list resources.

DeployPipelineId

Declaration
[HttpConverter(TargetEnum.Query, "deployPipelineId")]
public string DeployPipelineId { get; set; }
Property Value
Type Description
string

The ID of the parent pipeline.

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.

Id

Declaration
[HttpConverter(TargetEnum.Query, "id")]
public string Id { get; set; }
Property Value
Type Description
string

Unique identifier or OCID for listing a single resource by ID.

LifecycleState

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public Deployment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Deployment.LifecycleStateEnum?

A filter to return only Deployments that matches the given lifecycleState.

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

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

ProjectId

Declaration
[HttpConverter(TargetEnum.Query, "projectId")]
public string ProjectId { get; set; }
Property Value
Type Description
string

unique project identifier

SortBy

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

The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type Description
SortOrder?

The sort order to use. Use either ascending or descending.

TimeCreatedGreaterThanOrEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedGreaterThanOrEqualTo")]
public DateTime? TimeCreatedGreaterThanOrEqualTo { get; set; }
Property Value
Type Description
DateTime?

Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.

TimeCreatedLessThan

Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedLessThan")]
public DateTime? TimeCreatedLessThan { get; set; }
Property Value
Type Description
DateTime?

Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.

Implements

IOciRequest
In this article
Back to top