Skip to content

DelegationControl Sample

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

Field Value
Resource delegateaccesscontrol/DelegationControl
API Version delegateaccesscontrol.oracle.com/v1beta1
Source Path config/samples/delegateaccesscontrol_v1beta1_delegationcontrol.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 below before running e2e.
# Update metadata.name or spec.displayName if you want to force a fresh create instead of
# binding to an existing DelegationControl with the same compartmentId, displayName,
# resourceType, and reusable identity fields.
# For CLOUDVMCLUSTER resources, also set spec.vaultId and spec.vaultKeyId.
#
apiVersion: delegateaccesscontrol.oracle.com/v1beta1
kind: DelegationControl
metadata:
  name: delegationcontrol-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  displayName: delegation-control-sample
  delegationSubscriptionIds:
    - ocid1.delegationsubscription.oc1..exampleuniqueID
  resourceIds:
    - ocid1.vmcluster.oc1..exampleuniqueID
  resourceType: VMCLUSTER
  notificationTopicId: ocid1.onstopic.oc1..exampleuniqueID
  notificationMessageFormat: JSON
  numApprovalsRequired: 1
  description: Sample DelegationControl managed by OSOK
  freeformTags:
    managed-by: oci-service-operator