Skip to content

PrivilegedApiControl Sample

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

Field Value
Resource apiaccesscontrol/PrivilegedApiControl
API Version apiaccesscontrol.oracle.com/v1beta1
Source Path config/samples/apiaccesscontrol_v1beta1_privilegedapicontrol.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 OCIDs and governed resource identifiers below before running e2e.
# Update metadata.name or spec.displayName if you want to force a fresh create instead of
# binding to an existing PrivilegedApiControl with the same compartmentId, displayName,
# and resourceType.
#
apiVersion: apiaccesscontrol.oracle.com/v1beta1
kind: PrivilegedApiControl
metadata:
  name: privilegedapicontrol-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  notificationTopicId: ocid1.onstopic.oc1..exampleuniqueID
  approverGroupIdList:
    - ocid1.group.oc1..exampleapprover
  privilegedOperationList:
    - apiName: LaunchInstance
      entityType: instance
      attributeNames:
        - shape
  resourceType: core-instance
  resources:
    - ocid1.instance.oc1..exampleuniqueID
  displayName: privileged-api-control-sample
  description: Sample PrivilegedApiControl managed by OSOK
  freeformTags:
    managed-by: oci-service-operator