entitlements
Creates, updates, deletes, gets or lists an entitlements resource.
Overview
| Name | entitlements |
| Type | Resource |
| Id | google.oracledatabase.entitlements |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement} |
cloudAccountDetails | object | Details of the OCI Cloud Account. (id: CloudAccountDetails) |
entitlementId | string | Output only. Google Cloud Marketplace order ID (aka entitlement ID) |
state | string | Output only. Entitlement State. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | projectsId, locationsId | pageSize, pageToken | Lists the entitlements in a given project. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- list
Lists the entitlements in a given project.
SELECT
name,
cloudAccountDetails,
entitlementId,
state
FROM google.oracledatabase.entitlements
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;