Get a list of DataSharingConstraints
get
/20180828/dataSharingConstraints
This path retrieves a list of DataSharingConstraints.
Request
Query Parameters
-
compartmentId: string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
-
dataSharingAgreementId: string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DataSharingAgreement.
-
dataSharingConstraintId: string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DataSharingConstraint.
-
displayName: string
Minimum Length:
1
Maximum Length:255
A filter to return only resources that match the given display name exactly. -
lifecycleState: string
A filter to return only the resources that match the given lifecycle state. The state value is not case-sensitive.
-
limit: integer
Minimum Value:
1
Maximum Value:1000
For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).Default Value:10
-
page: string
Minimum Length:
1
For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). -
sortBy: string
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.Default Value:
timeCreated
Allowed Values:[ "timeCreated", "displayName" ]
-
sortOrder: string
The sort order to use, either ascending (`ASC`) or descending (`DESC`).Allowed Values:
[ "ASC", "DESC" ]
Header Parameters
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
Supported Media Types
- application/json
200 Response
A page of DataSharingConstraintSummary objects.
Headers
-
opc-next-page: string
For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DataSharingConstraintCollection
Type:
object
The results of a DataSharingConstraint search. This search contains both DataSharingConstraintSummary items and other information, such as metadata.
Show Source
-
items(required):
array items
A list of DataSharingConstraints.
Nested Schema : items
Type:
array
A list of DataSharingConstraints.
Show Source
-
Array of:
object DataSharingConstraintSummary
A summary of information about a DataSharingConstraint.
Nested Schema : DataSharingConstraintSummary
Type:
object
A summary of information about a DataSharingConstraint.
Show Source
-
compartmentId(required):
string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
-
constraints(required):
object constraints
Maximum Number of Properties:
50
Additional Properties Allowed: additionalPropertiesA map of data-sharing constraint names and their boolean value. For example, `{"ADT-A01": true, "ADT-A08": false}` -
dataSharingAgreementId(required):
string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DataSharingAgreement to which these contraints are attached.
-
definedTags(required):
object definedTags
Additional Properties Allowed: additionalPropertiesDefined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations": {"CostCenter": "42"}}`
-
displayName(required):
string
A user-friendly name. This name does not have to be unique, and it can be changed.
-
freeformTags(required):
object freeformTags
Additional Properties Allowed: additionalPropertiesFree-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
-
id(required):
string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DataSharingConstraint.
-
lifecycleDetails:
string
A message that describes the current state of the DataSharingConstraint in more detail. For example, this message can be used to provide actionable information for a resource in a Failed state.
-
lifecycleState(required):
string
The current state of the DataSharingConstraint.
-
systemTags:
object systemTags
Additional Properties Allowed: additionalPropertiesSystem tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
-
timeCreated(required):
string(date-time)
The date and time that the DataSharingConstraint was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). For example, `2016-08-25T21:10:29.600Z`
-
timeUpdated:
string(date-time)
The date and time that the DataSharingConstraint was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). For example, `2016-08-25T21:10:29.600Z`
Nested Schema : constraints
Type:
object
Maximum Number of Properties:
50
Additional Properties Allowed
Show Source
A map of data-sharing constraint names and their boolean value.
For example, `{"ADT-A01": true, "ADT-A08": false}`
Nested Schema : definedTags
Type:
object
Additional Properties Allowed
Show Source
-
object additionalProperties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Operations": {"CostCenter": "42"}}`
Nested Schema : freeformTags
Type:
object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Department": "Finance"}`
Nested Schema : systemTags
Type:
object
Additional Properties Allowed
Show Source
-
object additionalProperties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a system tag key and value, scoped to a namespace. Example: `{"free-tier-retained": "true"}`
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
Nested Schema : additionalProperties
Type:
object
Additional Properties Allowed
Show Source
-
object additionalProperties
The value of the tag. Only the String type is supported.
Key-value pair representing a defined tag key and value, scoped to a namespace.
Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type:
object
The value of the tag. Only the String type is supported.
Nested Schema : additionalProperties
Type:
object
Additional Properties Allowed
Show Source
-
object additionalProperties
The value of the tag. Only the String type is supported.
Key-value pair representing a system tag key and value, scoped to a namespace.
Example: `{"free-tier-retained": "true"}`
Nested Schema : additionalProperties
Type:
object
The value of the tag. Only the String type is supported.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique identifier for the request
Root Schema : Error
Type:
object
Error information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found
Headers
-
opc-request-id: string
Unique identifier for the request
Root Schema : Error
Type:
object
Error information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique identifier for the request
Root Schema : Error
Type:
object
Error information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique identifier for the request
Root Schema : Error
Type:
object
Error information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
An error has occurred.
Headers
-
opc-request-id: string
Unique identifier for the request
Root Schema : Error
Type:
object
Error information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.