Update content

This commit is contained in:
OpenTelekomCloud Proposal Bot 2024-10-18 13:12:38 +00:00 committed by vladimirhasko
parent 7a381633a4
commit bcdc7fca79
45 changed files with 9245 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
:original_name: aos_02_0040.html
.. _aos_02_0040:
Appendix
========
- :ref:`Status Code <aos_02_0041>`
- :ref:`Error Codes <errorcode>`
.. toctree::
:maxdepth: 1
:hidden:
status_code
error_codes

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,38 @@
:original_name: aos_02_0055.html
.. _aos_02_0055:
Concepts
========
- Account
An account is created upon successful registration. The account has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. The account is a payment entity, which should not be used directly to perform routine management. For security purposes, create Identity and Access Management (IAM) users and grant them permissions for routine management.
- Domain
A domain is created upon successful registration. The domain has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. The domain is a payment entity, which should not be used directly to perform routine management. For security purposes, create Identity and Access Management (IAM) users and grant them permissions for routine management.
- User
An IAM user is created by an account in IAM to use cloud services. Each IAM user has its own identity credentials (password and access keys).
API authentication requires information such as the domain name, username, and password.
- Region
A region is a geographic area in which cloud resources are deployed. Availability zones (AZs) in the same region can communicate with each other over an intranet, while AZs in different regions are isolated from each other. Deploying cloud resources in different regions can better suit certain user requirements or comply with local laws or regulations.
- AZ
An AZ comprises of one or more physical data centers equipped with independent ventilation, fire, water, and electricity facilities. Computing, network, storage, and other resources in an AZ are logically divided into multiple clusters. AZs within a region are interconnected using high-speed optical fibers to allow you to build cross-AZ high-availability systems.
- Project
A project corresponds to a region. Default projects are defined to group and physically isolate resources (including computing, storage, and network resources) across regions. Users can be granted permissions in a default project to access all resources under their domains in the region associated with the project. If you need more refined access control, create subprojects under a default project and create resources in subprojects. Then you can assign users the permissions required to access only the resources in the specific subprojects.
.. figure:: /_static/images/en-us_image_0000001893402049.png
:alt: **Figure 1** Project isolation model
**Figure 1** Project isolation model

View File

@ -0,0 +1,16 @@
:original_name: aos_02_0000.html
.. _aos_02_0000:
Before You Start
================
- :ref:`Overview <aos_02_0001>`
- :ref:`Concepts <aos_02_0055>`
.. toctree::
:maxdepth: 1
:hidden:
overview
concepts

View File

@ -0,0 +1,14 @@
:original_name: aos_02_0001.html
.. _aos_02_0001:
Overview
========
Resource Formation Service (RFS) provides the latest :ref:`resource formation APIs <rfs_02_0000>`.
RFS is a new final-state resource formation engine for cloud services and fully supports Terraform (HCL and Provider), which is a de facto standard. It is an upgrade of the Application Orchestration Service (AOS) in terms of the ecosystem, experience, and features. Based on HCL syntax template, RFS automatically builds cloud service resources in batches to help you create, manage, and upgrade cloud service resources in an efficient, secure, and consistent manner, improving resource management efficiency and reducing security risks caused by resource management changes.
This document describes how to use APIs to perform operations on RFS, such as template creation, deletion, and query.
Before calling RFS APIs, ensure that you are familiar with RFS concepts. For details, see Service Overview.

View File

@ -0,0 +1,12 @@
:original_name: aos_02_0070.html
.. _aos_02_0070:
Change History
==============
========== ==============
Date Change History
========== ==============
2024-07-30 First release
========== ==============

3
api-ref/source/conf.py Executable file → Normal file
View File

@ -106,7 +106,6 @@ html_title = "Resource Formation Service - API Reference"
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
templates_path = ['_templates']
# Do not include sources into the rendered results
html_copy_source = False
@ -136,4 +135,4 @@ latex_elements = {
\newcommand{{\servicetitle}}{{{otcdocs_service_title}}}
''',
'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm'
}
}

View File

@ -0,0 +1,2 @@
[html writers]
table-style: table, caption-top

View File

@ -1,3 +1,11 @@
==========================================================
Welcome to the documentation of resource-formation-service
==========================================================
==========================================
Resource Formation Service - API Reference
==========================================
.. toctree::
:maxdepth: 1
before_you_start/index
resource_formation_service/index
appendix/index
change_history

View File

@ -0,0 +1,24 @@
:original_name: topic_300000001.html
.. _topic_300000001:
Execution Plans
===============
- :ref:`Listing Execution Plans <listexecutionplans>`
- :ref:`Creating an Execution Plan <createexecutionplan>`
- :ref:`Obtaining Execution Plans <getexecutionplan>`
- :ref:`Applying an Execution Plan <applyexecutionplan>`
- :ref:`Deleting an Execution Plan <deleteexecutionplan>`
- :ref:`Obtaining Execution Plan Metadata <getexecutionplanmetadata>`
.. toctree::
:maxdepth: 1
:hidden:
listing_execution_plans
creating_an_execution_plan
obtaining_execution_plans
applying_an_execution_plan
deleting_an_execution_plan
obtaining_execution_plan_metadata

View File

@ -0,0 +1,76 @@
:original_name: rfs_02_0000.html
.. _rfs_02_0000:
Resource Formation Service
==========================
Status Code
-----------
After sending a request, you will receive a response, including a status code, response header, and response body.
A status code is a group of digits, ranging from 1xx to 5xx. It indicates the status of a request. For more information, see :ref:`Status Code <aos_02_0041>`.
For example, if status code **201** is returned for calling the API used to obtain a user token, the request is successful.
Response Header
---------------
Similar to a request, a response also has a header, for example, **Content-Type**.
:ref:`Figure 1 <rfs_02_0000__en-us_topic_0000001515721149_en-us_topic_0170155703_fig4865141011511>` shows the response header fields for the API used to obtain a user token. The **x-subject-token** header field is the desired user token. This token can then be used to authenticate the calling of other APIs.
.. _rfs_02_0000__en-us_topic_0000001515721149_en-us_topic_0170155703_fig4865141011511:
.. figure:: /_static/images/en-us_image_0000001893402017.png
:alt: **Figure 1** Header fields of the response to the request for obtaining a user token
**Figure 1** Header fields of the response to the request for obtaining a user token
(Optional) Response Body
------------------------
The body of a response is often returned in structured format as specified in the **Content-Type** header field. The response body transfers content except the response header.
The following is part of the response body for the API used to obtain a user token.
::
{
"token": {
"expires_at": "2019-02-13T06:52:13.855000Z",
"methods": [
"password"
],
"catalog": [
{
"endpoints": [
{
"region_id": "az-01",
......
If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.
::
{
"error_msg": "The format of message is error",
"error_code": "AS.0001"
}
In the response body, **error_code** is an error code, and **error_msg** provides information about the error.
- :ref:`Stacks <topic_300000000>`
- :ref:`Execution Plans <topic_300000001>`
- :ref:`Template Analysis <topic_300000002>`
- :ref:`Template Management <topic_300000003>`
.. toctree::
:maxdepth: 1
:hidden:
stacks/index
execution_plans/index
template_analysis/index
template_management/index

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,38 @@
:original_name: topic_300000000.html
.. _topic_300000000:
Stacks
======
- :ref:`Listing Events of a Stack <liststackevents>`
- :ref:`Obtaining Stack Metadata <getstackmetadata>`
- :ref:`Listing Stacks <liststacks>`
- :ref:`Creating a Stack <createstack>`
- :ref:`Obtaining a Stack Template <getstacktemplate>`
- :ref:`Listing Stack Resources <liststackresources>`
- :ref:`Listing Stack Outputs <liststackoutputs>`
- :ref:`Continuing to Deploy a Stack <continuedeploystack>`
- :ref:`Deploying a Stack <deploystack>`
- :ref:`Deleting a Stack <deletestack>`
- :ref:`Updating a Stack <updatestack>`
- :ref:`Deleting a Stack with Conditions <deletestackenhanced>`
- :ref:`Continuing to Roll Back a Stack <continuerollbackstack>`
.. toctree::
:maxdepth: 1
:hidden:
listing_events_of_a_stack
obtaining_stack_metadata
listing_stacks
creating_a_stack
obtaining_a_stack_template
listing_stack_resources
listing_stack_outputs
continuing_to_deploy_a_stack
deploying_a_stack
deleting_a_stack
updating_a_stack
deleting_a_stack_with_conditions
continuing_to_roll_back_a_stack

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
:original_name: topic_300000002.html
.. _topic_300000002:
Template Analysis
=================
- :ref:`Parsing Template Variables <parsetemplatevariables>`
.. toctree::
:maxdepth: 1
:hidden:
parsing_template_variables

View File

@ -0,0 +1,28 @@
:original_name: topic_300000003.html
.. _topic_300000003:
Template Management
===================
- :ref:`Listing Templates <listtemplates>`
- :ref:`Deleting a Template <deletetemplate>`
- :ref:`Updating Template Metadata <updatetemplatemetadata>`
- :ref:`Obtaining Template Metadata <showtemplatemetadata>`
- :ref:`Listing Template Versions <listtemplateversions>`
- :ref:`Deleting a Template Version <deletetemplateversion>`
- :ref:`Obtaining Template Version Content <showtemplateversioncontent>`
- :ref:`Obtaining Template Version Metadata <showtemplateversionmetadata>`
.. toctree::
:maxdepth: 1
:hidden:
listing_templates
deleting_a_template
updating_template_metadata
obtaining_template_metadata
listing_template_versions
deleting_a_template_version
obtaining_template_version_content
obtaining_template_version_metadata