Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/openstack/dns/v2/__pycache__/zone_export.cpython-39.pyc
Ðазад
a u�h� � @ s: d dl mZ d dl mZ d dlmZ G dd� dej�ZdS )� )� exceptions)�resource)�_basec @ s� e Zd ZdZdZdZdZdZdZdZ dZ e�ddd�Z e�d �Zejd ed�Ze�d�Zejded�Ze�d �Ze�d�Ze�d�Zejded�Ze�d�Zddd�ZdS )� ZoneExportzDNS Zone Exports Resource� �exportsz/zones/tasks/exportT�zone_id�message�status� created_at�links)�type�metadata� project_id� updated_at�versionNc C sd | j st�| d��| �|�}| �|d�}t�| jdd�}|j|j |j |j|d�}|| _| � |� | S )a Create a remote resource based on this instance. :param session: The session to use for making this request. :type session: :class:`~keystoneauth1.adapter.Adapter` :param prepend_key: A boolean indicating whether the resource_key should be prepended in a resource creation request. Default to True. :param str base_path: Base part of the URI for creating resources, if different from :data:`~openstack.resource.Resource.base_path`. :return: This :class:`Resource` instance. :raises: :exc:`~openstack.exceptions.MethodNotSupported` if :data:`Resource.allow_create` is not set to ``True``. �createN)�json�headers�microversion)�allow_creater ZMethodNotSupportedZ_get_sessionZ_get_microversion_forr Z_Request� base_path�post�url�bodyr r Z_translate_response)�self�sessionZprepend_keyr r �request�response� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/openstack/dns/v2/zone_export.pyr 7 s �� zZoneExport.create)TN)�__name__� __module__�__qualname__�__doc__Zresource_keyZ resources_keyr r Zallow_fetchZallow_deleteZ allow_listr ZQueryParametersZ_query_mappingZBodyr �dictr r �listr r r r �intr r r r r r r r s* � r N)Z openstackr r Zopenstack.dns.v2r �Resourcer r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка