Skip to content

Marketplace: AcceptedAgreement

Manage OCI Marketplace resources from Kubernetes. This page is generated from checked-in package metadata, CRD schemas, and sample manifests.

Resource Snapshot

Field Value
Service marketplace
Resource AcceptedAgreement
API Version marketplace.oracle.com/v1beta1
Package Marketplace
Support Status Preview
Latest Released Version v2.1.0-alpha
Install Namespace oci-service-operator-marketplace-system

Spec Fields

This summary shows the top-level spec fields. Use the full API reference for nested fields, defaults, and enum values.

Field Description Type Required
agreementId The agreement to accept. string Yes
compartmentId The unique identifier for the compartment where the agreement will be accepted. string Yes
definedTags The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Operations": {"CostCenter": "42"}} map[string, map[string, string]] No
displayName A display name for the accepted agreement. string No
freeformTags The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"} map[string, string] No
listingId The unique identifier for the listing associated with the agreement. string Yes
packageVersion The package version associated with the agreement. string Yes
signature A signature generated for the listing package agreements that you can retrieve with GetAgreement (https://docs.oracle.com/iaas/api/#/en/marketplace/20181001/Agreement/GetAgreement). string Yes

Status Fields

This summary shows the top-level status fields. Use the full API reference for nested fields, defaults, and enum values.

Field Description Type Required
agreementId The unique identifier for the terms of use agreement itself. string No
appliedSignature The last applied agreement signature used when the accepted agreement was created or rebound. string No
compartmentId The unique identifier for the compartment where the agreement was accepted. string No
definedTags The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Operations": {"CostCenter": "42"}} map[string, map[string, string]] No
displayName A display name for the accepted agreement. string No
freeformTags The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"} map[string, string] No
id The unique identifier for the acceptance of the agreement within a specific compartment. string No
listingId The unique identifier for the listing associated with the agreement. string No
packageVersion The package version associated with the agreement. string No
status - object Yes
timeAccepted The time the agreement was accepted. string No

Sample Manifest

This example is generated from the checked-in sample manifest at config/samples/marketplace_v1beta1_acceptedagreement.yaml. Replace placeholder values before applying it.

Open the rendered sample page

#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#

#
# Replace the OCI identifiers below before running e2e.
# Use ListingPackageAgreement or GetAgreement to obtain the agreementId and
# signature for the listing package version you want to accept.
# Update metadata.name and spec.displayName if you want to force a fresh create
# instead of binding to an existing accepted agreement for the same compartment,
# listing, package version, and agreement.
#
apiVersion: marketplace.oracle.com/v1beta1
kind: AcceptedAgreement
metadata:
  name: acceptedagreement-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  listingId: ocid1.listing.oc1..exampleuniqueID
  packageVersion: "1.0.0"
  agreementId: ocid1.agreement.oc1..exampleuniqueID
  signature: "<listing-package-agreement-signature>"
  displayName: "acceptedagreement-sample"