Skip to content

Subscription Sample

This page is generated from the checked-in sample manifest at config/samples/onesubscription_v1beta1_subscription.yaml.

Field Value
Resource onesubscription/Subscription
API Version onesubscription.oracle.com/v1beta1
Source Path config/samples/onesubscription_v1beta1_subscription.yaml
#
# 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 compartment OCID and subscriptionId below before running e2e.
# This `onesubscription/Subscription` sample is observe-only and list-backed.
# Provide exactly one of planNumber, subscriptionId, or buyerEmail.
# The controller does not invent CRUD or a tracked OCI subscription OCID for the top-level summary.
#
apiVersion: onesubscription.oracle.com/v1beta1
kind: Subscription
metadata:
  name: onesubscription-subscription-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  subscriptionId: example-line-subscription-id