/** * Cloud Guard and Security Zones API * Use the Cloud Guard and Security Zones API to automate processes that you would otherwise perform through the Cloud Guard Console or the Security Zones Console. For more information on these services, see the [Cloud Guard](https://docs.oracle.com/iaas/cloud-guard/home.htm) and [Security Zones](https://docs.oracle.com/iaas/security-zone/home.htm) documentation. **Note:** For Cloud Guard, you can perform Create, Update, and Delete operations only from the reporting region of your Cloud Guard tenancy. You can perform Read operations from any region. * OpenAPI spec version: 20200131 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * Resource locks are used to prevent certain APIs from being called for the resource. * A full lock prevents both updating the resource and deleting the resource. A delete * lock prevents deleting the resource. * */ export interface ResourceLock { /** * Type of the lock. */ "type": ResourceLock.Type; /** * The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock. * */ "relatedResourceId"?: string; /** * A message added by the creator of the lock. This is typically used to give an * indication of why the resource is locked. * */ "message"?: string; /** * When the lock was created, in the format defined by RFC 3339. */ "timeCreated"?: Date; } export declare namespace ResourceLock { enum Type { Full = "FULL", Delete = "DELETE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: ResourceLock): object; function getDeserializedJsonObj(obj: ResourceLock): object; }