Class ListSourceAssociationsRequest
Implements
Inherited Members
Namespace: Oci.LoganalyticsService.Requests
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class ListSourceAssociationsRequest : IOciRequest
Examples
Click here to see an example of how to use ListSourceAssociations request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the compartment in which to list resources. |
Remarks
Required
EntityId
Declaration
[HttpConverter(TargetEnum.Query, "entityId")]
public string EntityId { get; set; }
Property Value
Type | Description |
---|---|
string | The entity OCID. |
IsShowTotal
Declaration
[HttpConverter(TargetEnum.Query, "isShowTotal")]
public bool? IsShowTotal { get; set; }
Property Value
Type | Description |
---|---|
bool? | A flag indicating whether or not to return the total number of items returned. |
LifeCycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifeCycleState")]
public ListSourceAssociationsRequest.LifeCycleStateEnum? LifeCycleState { get; set; }
Property Value
Type | Description |
---|---|
ListSourceAssociationsRequest.LifeCycleStateEnum? | The life cycle state used for filtering. Only associations with the specified life cycle state will be returned. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return. |
NamespaceName
Declaration
[Required(ErrorMessage = "NamespaceName is required.")]
[HttpConverter(TargetEnum.Path, "namespaceName")]
public string NamespaceName { get; set; }
Property Value
Type | Description |
---|---|
string | The Logging Analytics namespace used for the request. |
Remarks
Required
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 | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListSourceAssociationsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListSourceAssociationsRequest.SortByEnum? | The attribute used to sort the returned associations |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListSourceAssociationsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListSourceAssociationsRequest.SortOrderEnum? | The sort order to use, either ascending ( |
SourceName
Declaration
[Required(ErrorMessage = "SourceName is required.")]
[HttpConverter(TargetEnum.Query, "sourceName")]
public string SourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The souce name used for filtering associations. |
Remarks
Required