2021-08-07 15:02:21 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2020-03-09 10:11:07 +01:00
|
|
|
# Copyright (c) 2018, Oracle and/or its affiliates.
|
2022-08-05 12:28:29 +02:00
|
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-03-09 10:11:07 +01:00
|
|
|
|
2020-06-24 21:50:36 +02:00
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
|
|
__metaclass__ = type
|
|
|
|
|
2020-03-09 10:11:07 +01:00
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
DOCUMENTATION = """
|
|
|
|
options:
|
|
|
|
force_create:
|
|
|
|
description: Whether to attempt non-idempotent creation of a resource. By default, create resource is an
|
|
|
|
idempotent operation, and doesn't create the resource if it already exists. Setting this option
|
|
|
|
to true, forcefully creates a copy of the resource, even if it already exists.This option is
|
2023-06-10 10:53:50 +02:00
|
|
|
mutually exclusive with O(key_by).
|
2022-09-06 20:42:17 +02:00
|
|
|
default: false
|
2020-03-09 10:11:07 +01:00
|
|
|
type: bool
|
|
|
|
key_by:
|
|
|
|
description: The list of comma-separated attributes of this resource which should be used to uniquely
|
|
|
|
identify an instance of the resource. By default, all the attributes of a resource except
|
2023-06-10 10:53:50 +02:00
|
|
|
O(freeform_tags) are used to uniquely identify a resource.
|
2020-03-09 10:11:07 +01:00
|
|
|
type: list
|
2021-02-16 07:11:37 +01:00
|
|
|
elements: str
|
2020-03-09 10:11:07 +01:00
|
|
|
"""
|