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:
|
|
|
|
wait:
|
|
|
|
description: Whether to wait for create or delete operation to complete.
|
2022-08-24 19:58:42 +02:00
|
|
|
default: true
|
2020-03-09 10:11:07 +01:00
|
|
|
type: bool
|
|
|
|
wait_timeout:
|
2022-08-24 19:58:42 +02:00
|
|
|
description: Time, in seconds, to wait when I(wait=true).
|
2020-03-09 10:11:07 +01:00
|
|
|
default: 1200
|
|
|
|
type: int
|
|
|
|
wait_until:
|
2022-08-24 19:58:42 +02:00
|
|
|
description: The lifecycle state to wait for the resource to transition into when I(wait=true). By default,
|
|
|
|
when I(wait=true), we wait for the resource to get into ACTIVE/ATTACHED/AVAILABLE/PROVISIONED/
|
2020-03-09 10:11:07 +01:00
|
|
|
RUNNING applicable lifecycle state during create operation & to get into DELETED/DETACHED/
|
|
|
|
TERMINATED lifecycle state during delete operation.
|
|
|
|
type: str
|
|
|
|
"""
|