diff --git a/docs/rts/api-ref/ALL_META.TXT.json b/docs/rts/api-ref/ALL_META.TXT.json new file mode 100644 index 000000000..0869e3dc2 --- /dev/null +++ b/docs/rts/api-ref/ALL_META.TXT.json @@ -0,0 +1,492 @@ +[ + { + "uri":"en-us_topic_0082242144.html", + "product_code":"rts", + "code":"1", + "des":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ", + "doc_type":"api", + "kw":"API Usage Guidelines,API Reference", + "title":"API Usage Guidelines", + "githuburl":"" + }, + { + "uri":"en-us_topic_0126459261.html", + "product_code":"rts", + "code":"2", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"APIs", + "title":"APIs", + "githuburl":"" + }, + { + "uri":"rts_03_0014.html", + "product_code":"rts", + "code":"3", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"General Information", + "title":"General Information", + "githuburl":"" + }, + { + "uri":"rts_03_0016.html", + "product_code":"rts", + "code":"4", + "des":"In the Heat API, the stack ID consists of stack_name and stack_id. When the system calls APIs to access resources such as stacks, templates, events, and actions, if only ", + "doc_type":"api", + "kw":"Redirection Description,General Information,API Reference", + "title":"Redirection Description", + "githuburl":"" + }, + { + "uri":"rts_03_0017.html", + "product_code":"rts", + "code":"5", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"API Version Management", + "title":"API Version Management", + "githuburl":"" + }, + { + "uri":"rts_03_0018.html", + "product_code":"rts", + "code":"6", + "des":"This API is used to query all available versions.GET /N/Aversions structure informationNoneThe following code will be returned if the system is operating normally.", + "doc_type":"api", + "kw":"Querying API Versions,API Version Management,API Reference", + "title":"Querying API Versions", + "githuburl":"" + }, + { + "uri":"rts_03_0019.html", + "product_code":"rts", + "code":"7", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Stack Management", + "title":"Stack Management", + "githuburl":"" + }, + { + "uri":"rts_03_0020.html", + "product_code":"rts", + "code":"8", + "des":"This API is used to query stacks of a specified tenant.GET /v1/{project_id}/stacksFor details about the parameters, see Table 1.stacks structure information", + "doc_type":"api", + "kw":"Querying the Stacks,Stack Management,API Reference", + "title":"Querying the Stacks", + "githuburl":"" + }, + { + "uri":"rts_03_0021.html", + "product_code":"rts", + "code":"9", + "des":"This API is used to create a stack. Heat verifies a request body and parses the template. After that, Heat invokes the API of the target component based on resource depen", + "doc_type":"api", + "kw":"Creating a Stack,Stack Management,API Reference", + "title":"Creating a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0022.html", + "product_code":"rts", + "code":"10", + "des":"This API is used to preview a stack.POST /v1/{project_id}/stacks/previewFor details about the parameters, see Table 1.stack structure information", + "doc_type":"api", + "kw":"Previewing a Stack,Stack Management,API Reference", + "title":"Previewing a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0025.html", + "product_code":"rts", + "code":"11", + "des":"This API is used to query details of a stack.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}This API supports redirection. During the calling, you can specify only st", + "doc_type":"api", + "kw":"Querying Details of a Stack,Stack Management,API Reference", + "title":"Querying Details of a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0026.html", + "product_code":"rts", + "code":"12", + "des":"This API is used to update a stack.PUT /v1/{project_id}/stacks/{stack_name}/{stack_id}For details about the parameters, see Table 1.N/ANone", + "doc_type":"api", + "kw":"Updating a Stack,Stack Management,API Reference", + "title":"Updating a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0027.html", + "product_code":"rts", + "code":"13", + "des":"This API is used to delete a stack.DELETE /v1/{project_id}/stacks/{stack_name}/{stack_id}For details about the parameters, see Table 1.N/AThis request does not return any", + "doc_type":"api", + "kw":"Deleting a Stack,Stack Management,API Reference", + "title":"Deleting a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0028.html", + "product_code":"rts", + "code":"14", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Stack Resource Management", + "title":"Stack Resource Management", + "githuburl":"" + }, + { + "uri":"rts_03_0029.html", + "product_code":"rts", + "code":"15", + "des":"This API is used to query resources of a stack.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resourcesThis API supports redirection. During the calling, you can spe", + "doc_type":"api", + "kw":"Querying Resources of a Stack,Stack Resource Management,API Reference", + "title":"Querying Resources of a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0030.html", + "product_code":"rts", + "code":"16", + "des":"This API is used to query details of a stack resource.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}For details about the parameters, see T", + "doc_type":"api", + "kw":"Querying Details of a Stack Resource,Stack Resource Management,API Reference", + "title":"Querying Details of a Stack Resource", + "githuburl":"" + }, + { + "uri":"rts_03_0031.html", + "product_code":"rts", + "code":"17", + "des":"This API is used to query metadata of a stack resource.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/metadataFor details about the paramet", + "doc_type":"api", + "kw":"Querying Metadata of a Stack Resource,Stack Resource Management,API Reference", + "title":"Querying Metadata of a Stack Resource", + "githuburl":"" + }, + { + "uri":"rts_03_0032.html", + "product_code":"rts", + "code":"18", + "des":"This API is used to send a signal to a stack resource to change the resource orchestration.POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/", + "doc_type":"api", + "kw":"Sending a Signal to a Stack Resource,Stack Resource Management,API Reference", + "title":"Sending a Signal to a Stack Resource", + "githuburl":"" + }, + { + "uri":"rts_03_0033.html", + "product_code":"rts", + "code":"19", + "des":"This API is used to mark the status of a specified resource as unhealthy.PATCH /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name_or_physical_id}For", + "doc_type":"api", + "kw":"Marking a Resource as Unhealthy,Stack Resource Management,API Reference", + "title":"Marking a Resource as Unhealthy", + "githuburl":"" + }, + { + "uri":"rts_03_0034.html", + "product_code":"rts", + "code":"20", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Stack Action Management", + "title":"Stack Action Management", + "githuburl":"" + }, + { + "uri":"rts_03_0035.html", + "product_code":"rts", + "code":"21", + "des":"This API is used to cancel updating a stack.POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actionsFor details about the parameters, see Table 1.This operation does ", + "doc_type":"api", + "kw":"Canceling Stack Updates,Stack Action Management,API Reference", + "title":"Canceling Stack Updates", + "githuburl":"" + }, + { + "uri":"rts_03_0036.html", + "product_code":"rts", + "code":"22", + "des":"This API is used to check whether a stack is in the expected status.POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actionsFor details about the parameters, see Tabl", + "doc_type":"api", + "kw":"Checking a Stack,Stack Action Management,API Reference", + "title":"Checking a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0037.html", + "product_code":"rts", + "code":"23", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Stack Event Management", + "title":"Stack Event Management", + "githuburl":"" + }, + { + "uri":"rts_03_0038.html", + "product_code":"rts", + "code":"24", + "des":"This API is used to query events of a stack.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/eventsThis API supports redirection. During the calling, you can specify o", + "doc_type":"api", + "kw":"Querying Events of a Stack,Stack Event Management,API Reference", + "title":"Querying Events of a Stack", + "githuburl":"" + }, + { + "uri":"rts_03_0040.html", + "product_code":"rts", + "code":"25", + "des":"This API is used to query events of a stack resource.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/eventsFor details about the parameters,", + "doc_type":"api", + "kw":"Querying Events of a Stack Resource,Stack Event Management,API Reference", + "title":"Querying Events of a Stack Resource", + "githuburl":"" + }, + { + "uri":"rts_03_0041.html", + "product_code":"rts", + "code":"26", + "des":"This API is used to query details of a stack resource event.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/events/{event_id}For details abo", + "doc_type":"api", + "kw":"Querying Details of a Stack Resource Event,Stack Event Management,API Reference", + "title":"Querying Details of a Stack Resource Event", + "githuburl":"" + }, + { + "uri":"rts_03_0042.html", + "product_code":"rts", + "code":"27", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Template Management", + "title":"Template Management", + "githuburl":"" + }, + { + "uri":"rts_03_0043.html", + "product_code":"rts", + "code":"28", + "des":"This API is used to query a stack template.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/templateThis API supports redirection. During the calling, you can specify ", + "doc_type":"api", + "kw":"Querying a Stack Template,Template Management,API Reference", + "title":"Querying a Stack Template", + "githuburl":"" + }, + { + "uri":"rts_03_0044.html", + "product_code":"rts", + "code":"29", + "des":"This API is used to check whether the template syntax meets requirements.POST /v1/{project_id}/validateFor details about the parameters, see Table 1.", + "doc_type":"api", + "kw":"Validating a Template,Template Management,API Reference", + "title":"Validating a Template", + "githuburl":"" + }, + { + "uri":"rts_03_0048.html", + "product_code":"rts", + "code":"30", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Building Information", + "title":"Building Information", + "githuburl":"" + }, + { + "uri":"rts_03_0049.html", + "product_code":"rts", + "code":"31", + "des":"This API is used to query the building information.GET /v1/{project_id}/build_infoFor details about the parameters, see Table 1.N/A", + "doc_type":"api", + "kw":"Querying the Building Information,Building Information,API Reference", + "title":"Querying the Building Information", + "githuburl":"" + }, + { + "uri":"rts_03_0050.html", + "product_code":"rts", + "code":"32", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Software Configuration Management", + "title":"Software Configuration Management", + "githuburl":"" + }, + { + "uri":"rts_03_0051.html", + "product_code":"rts", + "code":"33", + "des":"This API is used to create one or more software configurations.POST /v1/{project_id}/software_configsFor details about the parameters, see Table 1.software_config structu", + "doc_type":"api", + "kw":"Creating One or More Software Configurations,Software Configuration Management,API Reference", + "title":"Creating One or More Software Configurations", + "githuburl":"" + }, + { + "uri":"rts_03_0052.html", + "product_code":"rts", + "code":"34", + "des":"This API is used to query the software configurations.GET /v1/{project_id}/software_configsFor details about the parameters, see Table 1.software_configs structure inform", + "doc_type":"api", + "kw":"Querying Software Configurations,Software Configuration Management,API Reference", + "title":"Querying Software Configurations", + "githuburl":"" + }, + { + "uri":"rts_03_0053.html", + "product_code":"rts", + "code":"35", + "des":"This API is used to query details of a software configuration.GET /v1/{project_id}/software_configs/{config_id}For details about the parameters, see Table 1.N/Asoftware_c", + "doc_type":"api", + "kw":"Querying Details of a Software Configuration,Software Configuration Management,API Reference", + "title":"Querying Details of a Software Configuration", + "githuburl":"" + }, + { + "uri":"rts_03_0054.html", + "product_code":"rts", + "code":"36", + "des":"This API is used to delete a software configuration.DELETE /v1/{project_id}/software_configs/{config_id}For details about the parameters, see Table 1.N/AThis request does", + "doc_type":"api", + "kw":"Deleting a Software Configuration,Software Configuration Management,API Reference", + "title":"Deleting a Software Configuration", + "githuburl":"" + }, + { + "uri":"rts_03_0055.html", + "product_code":"rts", + "code":"37", + "des":"This API is used to create one or more software deployments.POST /v1/{project_id}/software_deploymentsFor details about the parameters, see Table 1.software_deployment st", + "doc_type":"api", + "kw":"Creating One or More Software Deployments,Software Configuration Management,API Reference", + "title":"Creating One or More Software Deployments", + "githuburl":"" + }, + { + "uri":"rts_03_0056.html", + "product_code":"rts", + "code":"38", + "des":"This API is used to query software deployments.GET /v1/{project_id}/software_deploymentsFor details about the parameters, see Table 1.software_deployments structure infor", + "doc_type":"api", + "kw":"Querying Software Deployments,Software Configuration Management,API Reference", + "title":"Querying Software Deployments", + "githuburl":"" + }, + { + "uri":"rts_03_0057.html", + "product_code":"rts", + "code":"39", + "des":"This API is used to query details of a software deployment.GET /v1/{project_id}/software_deployments/{deployment_id}For details about the parameters, see Table 1.N/Asoftw", + "doc_type":"api", + "kw":"Querying Details of a Software Deployment,Software Configuration Management,API Reference", + "title":"Querying Details of a Software Deployment", + "githuburl":"" + }, + { + "uri":"rts_03_0058.html", + "product_code":"rts", + "code":"40", + "des":"This API is used to update a software deployment.PUT /v1/{project_id}/software_deployments/{deployment_id}For details about the parameters, see Table 1.software_deploymen", + "doc_type":"api", + "kw":"Updating a Software Deployment,Software Configuration Management,API Reference", + "title":"Updating a Software Deployment", + "githuburl":"" + }, + { + "uri":"rts_03_0059.html", + "product_code":"rts", + "code":"41", + "des":"This API is used to delete a software deployment.DELETE /v1/{project_id}/software_deployments/{deployment_id}For details about the parameters, see Table 1.N/AThis request", + "doc_type":"api", + "kw":"Deleting a Software Deployment,Software Configuration Management,API Reference", + "title":"Deleting a Software Deployment", + "githuburl":"" + }, + { + "uri":"rts_03_0060.html", + "product_code":"rts", + "code":"42", + "des":"This API is used to view the metadata configured on a server.GET /v1/{project_id}/software_deployments/metadata/{server_id}For details about the parameters, see Table 1.N", + "doc_type":"api", + "kw":"Viewing Metadata Configured on a Server,Software Configuration Management,API Reference", + "title":"Viewing Metadata Configured on a Server", + "githuburl":"" + }, + { + "uri":"rts_03_0062.html", + "product_code":"rts", + "code":"43", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Resource Type Management", + "title":"Resource Type Management", + "githuburl":"" + }, + { + "uri":"rts_03_0047.html", + "product_code":"rts", + "code":"44", + "des":"This API is used to query resource types.GET /v1/{project_id}/resource_typesFor details about the parameters, see Table 1.N/A", + "doc_type":"api", + "kw":"Querying Resource Types,Resource Type Management,API Reference", + "title":"Querying Resource Types", + "githuburl":"" + }, + { + "uri":"rts_03_0045.html", + "product_code":"rts", + "code":"45", + "des":"This API is used to query the template of a resource type.The output template parameters of this API are related to the input parameters that you have specified, but the ", + "doc_type":"api", + "kw":"Querying the Template of a Resource Type,Resource Type Management,API Reference", + "title":"Querying the Template of a Resource Type", + "githuburl":"" + }, + { + "uri":"rts_03_0046.html", + "product_code":"rts", + "code":"46", + "des":"This API is used to query the type of a resource.GET /v1/{project_id}/resource_types/{type_name}For details about the parameters, see Table 1.N/A", + "doc_type":"api", + "kw":"Querying the Type of a Resource,Resource Type Management,API Reference", + "title":"Querying the Type of a Resource", + "githuburl":"" + }, + { + "uri":"rts_03_0005.html", + "product_code":"rts", + "code":"47", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Common Parameters", + "title":"Common Parameters", + "githuburl":"" + }, + { + "uri":"rts_03_0015.html", + "product_code":"rts", + "code":"48", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Return Code,Common Parameters,API Reference", + "title":"Return Code", + "githuburl":"" + }, + { + "uri":"en-us_topic_0130737188.html", + "product_code":"rts", + "code":"49", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Change History,API Reference", + "title":"Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/rts/api-ref/CLASS.TXT.json b/docs/rts/api-ref/CLASS.TXT.json new file mode 100644 index 000000000..e0d6dd536 --- /dev/null +++ b/docs/rts/api-ref/CLASS.TXT.json @@ -0,0 +1,443 @@ +[ + { + "desc":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ", + "product_code":"rts", + "title":"API Usage Guidelines", + "uri":"en-us_topic_0082242144.html", + "doc_type":"api", + "p_code":"", + "code":"1" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"APIs", + "uri":"en-us_topic_0126459261.html", + "doc_type":"api", + "p_code":"", + "code":"2" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"General Information", + "uri":"rts_03_0014.html", + "doc_type":"api", + "p_code":"2", + "code":"3" + }, + { + "desc":"In the Heat API, the stack ID consists of stack_name and stack_id. When the system calls APIs to access resources such as stacks, templates, events, and actions, if only ", + "product_code":"rts", + "title":"Redirection Description", + "uri":"rts_03_0016.html", + "doc_type":"api", + "p_code":"3", + "code":"4" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"API Version Management", + "uri":"rts_03_0017.html", + "doc_type":"api", + "p_code":"2", + "code":"5" + }, + { + "desc":"This API is used to query all available versions.GET /N/Aversions structure informationNoneThe following code will be returned if the system is operating normally.", + "product_code":"rts", + "title":"Querying API Versions", + "uri":"rts_03_0018.html", + "doc_type":"api", + "p_code":"5", + "code":"6" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Stack Management", + "uri":"rts_03_0019.html", + "doc_type":"api", + "p_code":"2", + "code":"7" + }, + { + "desc":"This API is used to query stacks of a specified tenant.GET /v1/{project_id}/stacksFor details about the parameters, see Table 1.stacks structure information", + "product_code":"rts", + "title":"Querying the Stacks", + "uri":"rts_03_0020.html", + "doc_type":"api", + "p_code":"7", + "code":"8" + }, + { + "desc":"This API is used to create a stack. Heat verifies a request body and parses the template. After that, Heat invokes the API of the target component based on resource depen", + "product_code":"rts", + "title":"Creating a Stack", + "uri":"rts_03_0021.html", + "doc_type":"api", + "p_code":"7", + "code":"9" + }, + { + "desc":"This API is used to preview a stack.POST /v1/{project_id}/stacks/previewFor details about the parameters, see Table 1.stack structure information", + "product_code":"rts", + "title":"Previewing a Stack", + "uri":"rts_03_0022.html", + "doc_type":"api", + "p_code":"7", + "code":"10" + }, + { + "desc":"This API is used to query details of a stack.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}This API supports redirection. During the calling, you can specify only st", + "product_code":"rts", + "title":"Querying Details of a Stack", + "uri":"rts_03_0025.html", + "doc_type":"api", + "p_code":"7", + "code":"11" + }, + { + "desc":"This API is used to update a stack.PUT /v1/{project_id}/stacks/{stack_name}/{stack_id}For details about the parameters, see Table 1.N/ANone", + "product_code":"rts", + "title":"Updating a Stack", + "uri":"rts_03_0026.html", + "doc_type":"api", + "p_code":"7", + "code":"12" + }, + { + "desc":"This API is used to delete a stack.DELETE /v1/{project_id}/stacks/{stack_name}/{stack_id}For details about the parameters, see Table 1.N/AThis request does not return any", + "product_code":"rts", + "title":"Deleting a Stack", + "uri":"rts_03_0027.html", + "doc_type":"api", + "p_code":"7", + "code":"13" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Stack Resource Management", + "uri":"rts_03_0028.html", + "doc_type":"api", + "p_code":"2", + "code":"14" + }, + { + "desc":"This API is used to query resources of a stack.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resourcesThis API supports redirection. During the calling, you can spe", + "product_code":"rts", + "title":"Querying Resources of a Stack", + "uri":"rts_03_0029.html", + "doc_type":"api", + "p_code":"14", + "code":"15" + }, + { + "desc":"This API is used to query details of a stack resource.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}For details about the parameters, see T", + "product_code":"rts", + "title":"Querying Details of a Stack Resource", + "uri":"rts_03_0030.html", + "doc_type":"api", + "p_code":"14", + "code":"16" + }, + { + "desc":"This API is used to query metadata of a stack resource.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/metadataFor details about the paramet", + "product_code":"rts", + "title":"Querying Metadata of a Stack Resource", + "uri":"rts_03_0031.html", + "doc_type":"api", + "p_code":"14", + "code":"17" + }, + { + "desc":"This API is used to send a signal to a stack resource to change the resource orchestration.POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/", + "product_code":"rts", + "title":"Sending a Signal to a Stack Resource", + "uri":"rts_03_0032.html", + "doc_type":"api", + "p_code":"14", + "code":"18" + }, + { + "desc":"This API is used to mark the status of a specified resource as unhealthy.PATCH /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name_or_physical_id}For", + "product_code":"rts", + "title":"Marking a Resource as Unhealthy", + "uri":"rts_03_0033.html", + "doc_type":"api", + "p_code":"14", + "code":"19" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Stack Action Management", + "uri":"rts_03_0034.html", + "doc_type":"api", + "p_code":"2", + "code":"20" + }, + { + "desc":"This API is used to cancel updating a stack.POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actionsFor details about the parameters, see Table 1.This operation does ", + "product_code":"rts", + "title":"Canceling Stack Updates", + "uri":"rts_03_0035.html", + "doc_type":"api", + "p_code":"20", + "code":"21" + }, + { + "desc":"This API is used to check whether a stack is in the expected status.POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actionsFor details about the parameters, see Tabl", + "product_code":"rts", + "title":"Checking a Stack", + "uri":"rts_03_0036.html", + "doc_type":"api", + "p_code":"20", + "code":"22" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Stack Event Management", + "uri":"rts_03_0037.html", + "doc_type":"api", + "p_code":"2", + "code":"23" + }, + { + "desc":"This API is used to query events of a stack.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/eventsThis API supports redirection. During the calling, you can specify o", + "product_code":"rts", + "title":"Querying Events of a Stack", + "uri":"rts_03_0038.html", + "doc_type":"api", + "p_code":"23", + "code":"24" + }, + { + "desc":"This API is used to query events of a stack resource.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/eventsFor details about the parameters,", + "product_code":"rts", + "title":"Querying Events of a Stack Resource", + "uri":"rts_03_0040.html", + "doc_type":"api", + "p_code":"23", + "code":"25" + }, + { + "desc":"This API is used to query details of a stack resource event.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/events/{event_id}For details abo", + "product_code":"rts", + "title":"Querying Details of a Stack Resource Event", + "uri":"rts_03_0041.html", + "doc_type":"api", + "p_code":"23", + "code":"26" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Template Management", + "uri":"rts_03_0042.html", + "doc_type":"api", + "p_code":"2", + "code":"27" + }, + { + "desc":"This API is used to query a stack template.GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/templateThis API supports redirection. During the calling, you can specify ", + "product_code":"rts", + "title":"Querying a Stack Template", + "uri":"rts_03_0043.html", + "doc_type":"api", + "p_code":"27", + "code":"28" + }, + { + "desc":"This API is used to check whether the template syntax meets requirements.POST /v1/{project_id}/validateFor details about the parameters, see Table 1.", + "product_code":"rts", + "title":"Validating a Template", + "uri":"rts_03_0044.html", + "doc_type":"api", + "p_code":"27", + "code":"29" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Building Information", + "uri":"rts_03_0048.html", + "doc_type":"api", + "p_code":"2", + "code":"30" + }, + { + "desc":"This API is used to query the building information.GET /v1/{project_id}/build_infoFor details about the parameters, see Table 1.N/A", + "product_code":"rts", + "title":"Querying the Building Information", + "uri":"rts_03_0049.html", + "doc_type":"api", + "p_code":"30", + "code":"31" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Software Configuration Management", + "uri":"rts_03_0050.html", + "doc_type":"api", + "p_code":"2", + "code":"32" + }, + { + "desc":"This API is used to create one or more software configurations.POST /v1/{project_id}/software_configsFor details about the parameters, see Table 1.software_config structu", + "product_code":"rts", + "title":"Creating One or More Software Configurations", + "uri":"rts_03_0051.html", + "doc_type":"api", + "p_code":"32", + "code":"33" + }, + { + "desc":"This API is used to query the software configurations.GET /v1/{project_id}/software_configsFor details about the parameters, see Table 1.software_configs structure inform", + "product_code":"rts", + "title":"Querying Software Configurations", + "uri":"rts_03_0052.html", + "doc_type":"api", + "p_code":"32", + "code":"34" + }, + { + "desc":"This API is used to query details of a software configuration.GET /v1/{project_id}/software_configs/{config_id}For details about the parameters, see Table 1.N/Asoftware_c", + "product_code":"rts", + "title":"Querying Details of a Software Configuration", + "uri":"rts_03_0053.html", + "doc_type":"api", + "p_code":"32", + "code":"35" + }, + { + "desc":"This API is used to delete a software configuration.DELETE /v1/{project_id}/software_configs/{config_id}For details about the parameters, see Table 1.N/AThis request does", + "product_code":"rts", + "title":"Deleting a Software Configuration", + "uri":"rts_03_0054.html", + "doc_type":"api", + "p_code":"32", + "code":"36" + }, + { + "desc":"This API is used to create one or more software deployments.POST /v1/{project_id}/software_deploymentsFor details about the parameters, see Table 1.software_deployment st", + "product_code":"rts", + "title":"Creating One or More Software Deployments", + "uri":"rts_03_0055.html", + "doc_type":"api", + "p_code":"32", + "code":"37" + }, + { + "desc":"This API is used to query software deployments.GET /v1/{project_id}/software_deploymentsFor details about the parameters, see Table 1.software_deployments structure infor", + "product_code":"rts", + "title":"Querying Software Deployments", + "uri":"rts_03_0056.html", + "doc_type":"api", + "p_code":"32", + "code":"38" + }, + { + "desc":"This API is used to query details of a software deployment.GET /v1/{project_id}/software_deployments/{deployment_id}For details about the parameters, see Table 1.N/Asoftw", + "product_code":"rts", + "title":"Querying Details of a Software Deployment", + "uri":"rts_03_0057.html", + "doc_type":"api", + "p_code":"32", + "code":"39" + }, + { + "desc":"This API is used to update a software deployment.PUT /v1/{project_id}/software_deployments/{deployment_id}For details about the parameters, see Table 1.software_deploymen", + "product_code":"rts", + "title":"Updating a Software Deployment", + "uri":"rts_03_0058.html", + "doc_type":"api", + "p_code":"32", + "code":"40" + }, + { + "desc":"This API is used to delete a software deployment.DELETE /v1/{project_id}/software_deployments/{deployment_id}For details about the parameters, see Table 1.N/AThis request", + "product_code":"rts", + "title":"Deleting a Software Deployment", + "uri":"rts_03_0059.html", + "doc_type":"api", + "p_code":"32", + "code":"41" + }, + { + "desc":"This API is used to view the metadata configured on a server.GET /v1/{project_id}/software_deployments/metadata/{server_id}For details about the parameters, see Table 1.N", + "product_code":"rts", + "title":"Viewing Metadata Configured on a Server", + "uri":"rts_03_0060.html", + "doc_type":"api", + "p_code":"32", + "code":"42" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Resource Type Management", + "uri":"rts_03_0062.html", + "doc_type":"api", + "p_code":"2", + "code":"43" + }, + { + "desc":"This API is used to query resource types.GET /v1/{project_id}/resource_typesFor details about the parameters, see Table 1.N/A", + "product_code":"rts", + "title":"Querying Resource Types", + "uri":"rts_03_0047.html", + "doc_type":"api", + "p_code":"43", + "code":"44" + }, + { + "desc":"This API is used to query the template of a resource type.The output template parameters of this API are related to the input parameters that you have specified, but the ", + "product_code":"rts", + "title":"Querying the Template of a Resource Type", + "uri":"rts_03_0045.html", + "doc_type":"api", + "p_code":"43", + "code":"45" + }, + { + "desc":"This API is used to query the type of a resource.GET /v1/{project_id}/resource_types/{type_name}For details about the parameters, see Table 1.N/A", + "product_code":"rts", + "title":"Querying the Type of a Resource", + "uri":"rts_03_0046.html", + "doc_type":"api", + "p_code":"43", + "code":"46" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Common Parameters", + "uri":"rts_03_0005.html", + "doc_type":"api", + "p_code":"", + "code":"47" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Return Code", + "uri":"rts_03_0015.html", + "doc_type":"api", + "p_code":"47", + "code":"48" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"rts", + "title":"Change History", + "uri":"en-us_topic_0130737188.html", + "doc_type":"api", + "p_code":"", + "code":"49" + } +] \ No newline at end of file diff --git a/docs/rts/api-ref/PARAMETERS.txt b/docs/rts/api-ref/PARAMETERS.txt new file mode 100644 index 000000000..6da8d5f07 --- /dev/null +++ b/docs/rts/api-ref/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/rts/api-ref/en-us_topic_0082242144.html b/docs/rts/api-ref/en-us_topic_0082242144.html new file mode 100644 index 000000000..adb053e81 --- /dev/null +++ b/docs/rts/api-ref/en-us_topic_0082242144.html @@ -0,0 +1,8 @@ + + +

API Usage Guidelines

+

Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path.

+

Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted using JSON messages, with the media type represented by Application/json.

+

For details about how to use APIs, see API Usage Guidelines.

+
+ diff --git a/docs/rts/api-ref/en-us_topic_0126459261.html b/docs/rts/api-ref/en-us_topic_0126459261.html new file mode 100644 index 000000000..c2e4da129 --- /dev/null +++ b/docs/rts/api-ref/en-us_topic_0126459261.html @@ -0,0 +1,29 @@ + + +

APIs

+
+
+ +
+ diff --git a/docs/rts/api-ref/en-us_topic_0130737188.html b/docs/rts/api-ref/en-us_topic_0130737188.html new file mode 100644 index 000000000..a2173c3e8 --- /dev/null +++ b/docs/rts/api-ref/en-us_topic_0130737188.html @@ -0,0 +1,54 @@ + + +

Change History

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +

Released On

+

Description

+

2019-05-27

+

Removed the following APIs:

+

APIs for querying stack environment and stack files and canceling stack creations or updates without a rollback

+

2019-05-10

+

Modified the following content:

+

Supplemented response parameters in Querying Details of a Stack and Querying Details of a Stack Resource.

+

2019-01-08

+

Added the following APIs:

+
  • API for querying stack environment
  • API for querying stack files
  • API for canceling stack creations or updates without a rollback
+

2018-08-30

+

Modified the document structure.

+

2018-03-30

+

Optimized the document content.

+

2018-01-30

+

Modified the following content:

+

Descriptions in API Version Management, Stack Management, Stack Resource Management, and Stack Action Management

+

2017-12-30

+

This issue is the first official release.

+
+
+
+ diff --git a/docs/rts/api-ref/public_sys-resources/ExpandCollapse.js b/docs/rts/api-ref/public_sys-resources/ExpandCollapse.js new file mode 100644 index 000000000..116ddaabf --- /dev/null +++ b/docs/rts/api-ref/public_sys-resources/ExpandCollapse.js @@ -0,0 +1 @@ +var expandClassName="dropdownexpand";var collapseClassName="dropdowncollapse";var collapseTableClassName="dropdowncollapsetable";function ExpandorCollapseNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseClassName}else{a.className=expandClassName}}function ExpandorCollapseTableNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseTableClassName}else{a.className=expandClassName}}function ExpandorCollapseAllNodes(g,h,c){var a=g.getAttribute("title");var b=g.parentNode;if(a=="collapse"){g.setAttribute("title","expand");g.className="dropdownAllButtonexpand";g.innerHTML=h}else{g.setAttribute("title","collapse");g.className="dropdownAllButtoncollapse";g.innerHTML=c}var f=b.getElementsByTagName("*");for(var d=0;d-1){ExpandForHref(a.substring(a.lastIndexOf("#")+1))}}catch(c){}}; \ No newline at end of file diff --git a/docs/rts/api-ref/public_sys-resources/avgCompile.js b/docs/rts/api-ref/public_sys-resources/avgCompile.js new file mode 100644 index 000000000..327822688 --- /dev/null +++ b/docs/rts/api-ref/public_sys-resources/avgCompile.js @@ -0,0 +1 @@ +var name1=null;function test1(a){a=a.parentNode;a.className="test1"}function test2(a){a=a.parentNode;a.className="test2"}function test3(a){a=a.parentNode;a.className="test3"}function test4(a){a=a.parentNode;a.className="test4"}function test5(a){a=a.parentNode;a.className="test5"}function test6(a){a=a.parentNode;a.className="test6"}function test7(a){a=a.parentNode;a.className="test7"}function test8(a){a=a.parentNode;a.className="test8"}function test9(a){a=a.parentNode;a.className="test9"}function test10(a){a=a.parentNode;a.className="test10"}function test11(a){a=a.parentNode;a.className="test11"}function test12(a){a=a.parentNode;a.className="test12"}function test13(a){a=a.parentNode;a.className="test13"}function test2(a){a=a.parentNode;a.className="test2"}function test14(a){a=a.parentNode;a.className="test14"}function test15(a){a=a.parentNode;a.className="test15"}function test16(a){a=a.parentNode;a.className="test16"}function test17(a){a=a.parentNode;a.className="test17"}function test18(a){a=a.parentNode;a.className="test18"}function test19(a){a=a.parentNode;a.className="test19"}function test20(a){a=a.parentNode;a.className="test20"}function test21(a){a=a.parentNode;a.className="test21"}function test22(a){a=a.parentNode;a.className="test22"}function test23(a){a=a.parentNode;a.className="test23"}; \ No newline at end of file diff --git a/docs/rts/api-ref/public_sys-resources/caution_3.0-en-us.png b/docs/rts/api-ref/public_sys-resources/caution_3.0-en-us.png new file mode 100644 index 000000000..60f607621 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/caution_3.0-en-us.png differ diff --git a/docs/rts/api-ref/public_sys-resources/commonltr.css b/docs/rts/api-ref/public_sys-resources/commonltr.css new file mode 100644 index 000000000..c5480b0ab --- /dev/null +++ b/docs/rts/api-ref/public_sys-resources/commonltr.css @@ -0,0 +1 @@ +body{font-size:10pt;font-family:Arial;margin:1.5em;border-top:2pt;padding-top:1em;padding-bottom:2em}.msgph{font-family:Courier New}.rowlinecopyright{color:red;margin-top:10pt}.unresolved{background-color:skyblue}.noTemplate{background-color:yellow}.base{background-color:#fff}.nested0{margin-top:1em}.p{margin-top:.6em;margin-bottom:.6em}p{margin-top:.5em;margin-bottom:.5em}.note p{margin-top:.5em;margin-bottom:.5em}.tip p{margin-top:.5em;margin-bottom:.5em}.danger p{margin-top:.5em;margin-bottom:.5em}.notice p{margin-top:.5em;margin-bottom:.5em}.warning p{margin-top:.5em;margin-bottom:.5em}.caution p{margin-top:.5em;margin-bottom:.5em}.attention p{margin-top:.5em;margin-bottom:.5em}table p{margin-top:.2em;margin-bottom:.2em}table .p{margin-top:.4em;margin-bottom:.2em}.figcap{font-size:10pt}img{margin-top:.3em}.figdesc{font-style:normal}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver}.figbottom{border-bottom:2px solid;border-color:Silver}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver}.fignone{font-size:10pt;margin-top:8pt;margin-bottom:8pt}.familylinks{margin-top:1.5em;margin-bottom:1em}.ullinks{list-style-type:none}.linklist{margin-bottom:1em}.linklistwithchild{margin-left:1.5em;margin-bottom:1em}.sublinklist{margin-left:1.5em;margin-bottom:1em}.relconcepts{margin-top:.6em;margin-bottom:.6em}.reltasks{margin-top:.6em;margin-bottom:.6em}.relref{margin-top:.6em;margin-bottom:.6em}.relinfo{margin-top:.6em;margin-bottom:.6em}.breadcrumb{font-size:smaller;margin-bottom:.6em}.prereq{margin-left:20px}.parentlink{margin-top:.6em;margin-bottom:.6em}.nextlink{margin-top:.6em;margin-bottom:.6em}.previouslink{margin-top:.6em;margin-bottom:.6em}.topictitle1{margin-top:0;margin-bottom:1em;font-size:14pt;color:#007af4}.topictitle2{margin-top:1pc;margin-bottom:.45em;font-size:1.17em;color:#007af4}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-size:1.17em;font-weight:bold;color:#007af4}.topictitle4{margin-top:.83em;font-size:1.17em;font-weight:bold}.topictitle5{font-size:1.17em;font-weight:bold}.topictitle6{font-size:1.17em;font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:1em;color:black;font-size:10.5pt;font-weight:bold;color:#007af4;overflow:auto}.section{margin-top:1em;margin-bottom:1em}.example{margin-top:1em;margin-bottom:1em}.sectiontitle2contents:link{color:#007af4}.sectiontitle2contents:visited{color:#800080}.note{margin-top:1em;margin-bottom:1em;background-color:#ffc}.notetitle{font-weight:bold}.notelisttitle{font-weight:bold}.tip{margin-top:1em;margin-bottom:1em;background-color:#ffc}.tiptitle{font-weight:bold}.fastpath{margin-top:1em;margin-bottom:1em;background-color:#ffc}.fastpathtitle{font-weight:bold}.important{margin-top:1em;margin-bottom:1em;background-color:#ffc}.importanttitle{font-weight:bold}.remember{margin-top:1em;margin-bottom:1em;background-color:#ffc}.remembertitle{font-weight:bold}.restriction{margin-top:1em;margin-bottom:1em;background-color:#ffc}.restrictiontitle{font-weight:bold}.attention{margin-top:1em;margin-bottom:1em;background-color:#ffc}.attentiontitle{font-weight:bold}.dangertitle{font-weight:bold}.danger{margin-top:1em;margin-bottom:1em;background-color:#ffc}.noticetitle{font-weight:bold}.notice{margin-top:1em;margin-bottom:1em;background-color:#ffc}.warningtitle{font-weight:bold}.warning{margin-top:1em;margin-bottom:1em;background-color:#ffc}.cautiontitle{font-weight:bold}.caution{margin-top:1em;margin-bottom:1em;background-color:#ffc}ul.simple{list-style-type:none}li ul{margin-top:.6em}li{margin-top:.6em;margin-bottom:.6em}.note li{margin-top:.2em;margin-bottom:.2em}.tip li{margin-top:.2em;margin-bottom:.2em}.danger li{margin-top:.2em;margin-bottom:.2em}.warning li{margin-top:.2em;margin-bottom:.2em}.notice li{margin-top:.2em;margin-bottom:.2em}.caution li{margin-top:.2em;margin-bottom:.2em}.attention li{margin-top:.2em;margin-bottom:.2em}table li{margin-top:.2em;margin-bottom:.2em}ol{margin-top:1em;margin-bottom:1em;margin-left:2.4em;padding-left:0}ul{margin-top:1em;margin-bottom:1em;margin-left:2.0em;padding-left:0}ol ul{list-style:disc}ul ul{list-style:square}ol ul ul{list-style:square}ol ul{list-style-type:disc}table ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}table ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ul{margin-top:.4em;margin-bottom:.4em;list-style:square}table ol ol{margin-top:.4em;margin-bottom:.4em;list-style:lower-alpha}table ol ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}.substepthirdol{list-style-type:lower-roman}.firstcol{font-weight:bold}th{background-color:#cfcfcf}table{margin-top:8pt;margin-bottom:12pt;width:100%}table caption{margin-top:8pt;text-align:left}.bold{font-weight:bold}.boldItalic{font-weight:bold;font-style:italic}.italic{font-style:italic}.underlined{text-decoration:underline}.var{font-style:italic}.shortcut{text-decoration:underline}.dlterm{font-weight:bold}dd{margin-top:.5em;margin-bottom:.5em}.dltermexpand{font-weight:bold;margin-top:1em}*[compact="yes"]>li{margin-top:0}*[compact="no"]>li{margin-top:.53em}.liexpand{margin-top:1em;margin-bottom:1em}.sliexpand{margin-top:1em;margin-bottom:1em}.dlexpand{margin-top:1em;margin-bottom:1em}.ddexpand{margin-top:1em;margin-bottom:1em}.stepexpand{margin-top:.3em;margin-bottom:.3em}.substepexpand{margin-top:.3em;margin-bottom:.3em}div.imageleft{text-align:left}div.imagecenter{text-align:center}div.imageright{text-align:right}div.imagejustify{text-align:justify}div.noblankline{text-align:center}div.noblankline img{margin-top:0}pre.screen{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;background-color:#ddd;white-space:pre}pre.codeblock{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;background-color:#ddd;white-space:pre}.hrcopyright{color:#3f4e5d;margin-top:18pt}.hwcopyright{text-align:center}.comment{margin:2px 2px 2px 2px;font-family:Arial;font-size:10pt;background-color:#bfb;color:#000}.dropdownAllButtonexpand{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdownAllButtoncollapse{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;text-decoration:underline;color:#007af4}.dropdowntitle{background-repeat:no-repeat;background-position:0 4px;padding-left:15px;cursor:pointer;text-decoration:underline;color:#007af4}.dropdownexpand .dropdowntitle{background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapse .dropdowncontext{display:none}.dropdowncollapse .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdowncollapsetable{border:0}.dropdowncollapsetable .dropdowncontext{display:none}.dropdowncollapsetable .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}pre{font-size:10pt;font-weight:normal;margin-left:9;margin-top:2;margin-bottom:2}.termcolor{color:blue;cursor:pointer}#dhtmlgoodies_tooltip{background-color:#f0f0d2;border:1px solid #000;position:absolute;display:none;z-index:20000;padding:2px;font-size:.9em;-moz-border-radius:6px;font-family:"Trebuchet MS","Lucida Sans Unicode",Arial,sans-serif}#dhtmlgoodies_tooltipShadow{position:absolute;background-color:#555;display:none;z-index:10000;opacity:.7;filter:alpha(opacity=70);-khtml-opacity:.7;-moz-opacity:.7;-moz-border-radius:6px}.freeze{position:fixed;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));left:10;top:0} \ No newline at end of file diff --git a/docs/rts/api-ref/public_sys-resources/commonltr_print.css b/docs/rts/api-ref/public_sys-resources/commonltr_print.css new file mode 100644 index 000000000..a59823141 --- /dev/null +++ b/docs/rts/api-ref/public_sys-resources/commonltr_print.css @@ -0,0 +1 @@ +body{font-size:12.0pt;margin:1.5em;margin-left:1.6cm}.msgph{font-family:Courier New}.rowlinecopyright{color:red;margin-top:10pt}.unresolved{background-color:skyblue}.noTemplate{background-color:yellow}.base{background-color:#fff}.nested0{margin-top:1em}.p{margin-top:1em}p{margin-top:.5em;margin-bottom:.5em}.note p{margin-top:.5em;margin-bottom:.5em}.tip p{margin-top:.5em;margin-bottom:.5em}.danger p{margin-top:.5em;margin-bottom:.5em}.warning p{margin-top:.5em;margin-bottom:.5em}.notice p{margin-top:.5em;margin-bottom:.5em}.caution p{margin-top:.5em;margin-bottom:.5em}.attention p{margin-top:.5em;margin-bottom:.5em}table p{margin-top:.2em;margin-bottom:.2em}table .p{margin-top:.4em;margin-bottom:.2em}.covertable{border:0;width:100% cellpadding:8pt;cellspacing:8pt}.cover_productname{font-size:15.0pt;font-family:"Arial"}.cover_manualtitle{font-size:24.0pt;font-weight:bold;font-family:"Arial"}.cover_manualsubtitle{font-size:18.0pt;font-weight:bold;font-family:"Arial"}.cover_heading{font-size:12.0pt;font-weight:bold;font-family:"Arial"}.cover_text{font-size:9.0pt;font-family:"Arial"}.tocheading,.heading1,.topictitle1{margin-top:40.0pt;margin-right:0;margin-bottom:20.0pt;margin-left:-1cm;text-align:left;border:0;border-bottom:solid windowtext .5pt;font-size:22.0pt;font-family:"Arial";font-weight:bold}.topictitlenumber1{font-size:72.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle2{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:-1cm;text-indent:0;font-size:18.0pt;font-family:"Arial";font-weight:bold}.topictitle3{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:16.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle4{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:14.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle5{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.blocklabel,.topictitle6{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.sectiontitle{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:-1cm;text-indent:0;font-size:13.0pt;font-family:"Arial";font-weight:bold}.tocentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:12.0pt;font-family:"Book Antiqua";font-weight:bold}.tocentry2{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry3{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry4{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry5{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tofentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman";font-weight:normal}.totentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman";font-weight:normal}.indexheading{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.indexentry1{margin-top:4pt;margin-right:0;margin-bottom:0;margin-left:0;line-height:12.0pt;font-size:12.0pt;font-family:"Times New Roman"}.indexentry2{margin-top:0;margin-right:0;margin-bottom:0;margin-left:24.0pt;line-height:12.0pt;font-size:12.0pt}.indexentry3{margin-top:0;margin-right:0;margin-bottom:0;margin-left:48pt;line-height:12.0pt;font-size:12.0pt}.figurenumber{font-weight:bold}.tablenumber{font-weight:bold}.familylinks{margin-top:1.5em;margin-bottom:1em}.figcap{font-size:11.0pt}.tablecap{font-size:11.0pt}.figdesc{font-style:normal}.fignone{margin-top:8.0pt}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver}.figbottom{border-bottom:2px solid;border-color:Silver}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver}.ullinks{margin-left:0;list-style-type:none}.ulchildlink{margin-top:1em;margin-bottom:1em}.olchildlink{margin-top:1em;margin-bottom:1em;margin-left:1em}.linklist{margin-bottom:1em}.linklistwithchild{margin-left:1.5em;margin-bottom:1em}.sublinklist{margin-left:1.5em;margin-bottom:1em}.relconcepts{margin-left:1cm;margin-top:1em;margin-bottom:1em}.reltasks{margin-left:1cm;margin-top:1em;margin-bottom:1em}.relref{margin-left:1cm;margin-top:1em;margin-bottom:1em}.relinfo{margin-top:1em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-left:0}.parentlink{margin-top:.6em;margin-bottom:.6em}.nextlink{margin-top:.6em;margin-bottom:.6em}.previouslink{margin-top:.6em;margin-bottom:.6em}.section{margin-top:1em;margin-bottom:1em}.example{margin-top:1em;margin-bottom:1em}table .note{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.note{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.notetitle{font-weight:bold;font-size:11.0pt}.notelisttitle{font-weight:bold}table .tip{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.tip{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.tiptitle{font-weight:bold;font-size:11.0pt}table .fastpath{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.fastpath{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.fastpathtitle{font-weight:bold;font-size:11.0pt}table .important{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.important{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.importanttitle{font-weight:bold;font-size:11.0pt}table .remember{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.remember{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.remembertitle{font-weight:bold;font-size:11.0pt}table .restriction{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.restriction{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.restrictiontitle{font-weight:bold;font-size:11.0pt}table .attention{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.attention{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}.attentiontitle{font-weight:bold}table .danger{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.dangertitle{font-weight:bold}.danger{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .notice{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.noticetitle{font-weight:bold}.notice{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .warning{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.warningtitle{font-weight:bold}.warning{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .caution{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}table caption{margin-top:8pt;text-align:left;font-weight:bold}.tablenoborder{margin-top:8pt}.cautiontitle{font-weight:bold}.caution{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}ul.simple{list-style-type:none}li ul{margin-top:.6em}li{margin-top:.6em;margin-bottom:.6em}.note li{margin-top:.2em;margin-bottom:.2em}.tip li{margin-top:.2em;margin-bottom:.2em}.danger li{margin-top:.2em;margin-bottom:.2em}.warning li{margin-top:.2em;margin-bottom:.2em}.notice li{margin-top:.2em;margin-bottom:.2em}.caution li{margin-top:.2em;margin-bottom:.2em}.attention li{margin-top:.2em;margin-bottom:.2em}table li{margin-top:.2em;margin-bottom:.2em}.firstcol{font-weight:bold}th{background-color:#cfcfcf}.bold{font-weight:bold}.boldItalic{font-weight:bold;font-style:italic}.italic{font-style:italic}.underlined{text-decoration:underline}.var{font-style:italic}.shortcut{text-decoration:underline}.dlterm{font-weight:bold}dd{margin-top:.5em;margin-bottom:.5em}.dltermexpand{font-weight:bold;margin-top:1em}*[compact="yes"]>li{margin-top:0}*[compact="no"]>li{margin-top:.53em}.liexpand{margin-top:1em;margin-bottom:1em}.sliexpand{margin-top:1em;margin-bottom:1em}.dlexpand{margin-top:1em;margin-bottom:1em}.ddexpand{margin-top:1em;margin-bottom:1em}.stepexpand{margin-top:1em;margin-bottom:1em}.substepexpand{margin-top:1em;margin-bottom:1em}table{margin-top:8pt;margin-bottom:10.0pt;width:100%}thead{font-size:10.0pt;font-family:"Book Antiqua";font-weight:bold}tbody{font-size:11.0pt}ol{margin-top:1em;margin-bottom:1em;margin-left:1.7em;-webkit-padding-start:0}ul{margin-top:1em;margin-bottom:1em;margin-left:1.2em;-webkit-padding-start:0}ol ul{list-style:disc}ul ul{list-style:square}ol ol{list-style-type:lower-alpha}table ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}table ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ul{margin-top:.4em;margin-bottom:.4em;list-style:square}table ol ol{margin-top:.4em;margin-bottom:.4em;list-style:lower-alpha}table ol ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}.substepthirdol{list-style-type:lower-roman}div.imageleft{text-align:left}div.imagecenter{text-align:center}div.imageright{text-align:right}div.imagejustify{text-align:justify}div.noblankline{text-align:center}div.noblankline img{margin-top:0}pre{font-size:10.0pt;border-width:2px;padding:2px;margin-top:5px;margin-bottom:5px;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}pre.screen{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;white-space:pre}pre.codeblock{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;white-space:pre}.dropdownAllButtonexpand{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdownAllButtoncollapse{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;text-decoration:underline;color:#007af4}.dropdowntitle{background-repeat:no-repeat;background-position:0 4px;padding-left:15px;cursor:pointer;text-decoration:underline;color:#007af4}.dropdownexpand .dropdowntitle{background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapse .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapsetable .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.prefacesectiontitle1{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:-1cm;text-indent:0;font-size:18.0pt;font-family:"Book Antiqua";font-weight:bold;overflow:auto}.termcolor{color:blue;cursor:pointer}#dhtmlgoodies_tooltip{background-color:#f0f0d2;border:1px solid #000;position:absolute;display:none;z-index:20000;padding:2px;font-size:.9em;-moz-border-radius:6px;font-family:"Trebuchet MS","Lucida Sans Unicode",Arial,sans-serif}#dhtmlgoodies_tooltipShadow{position:absolute;background-color:#555;display:none;z-index:10000;opacity:.7;filter:alpha(opacity=70);-khtml-opacity:.7;-moz-opacity:.7;-moz-border-radius:6px}.freeze{position:fixed;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));left:10;top:0}.hrcopyright{color:#3f4e5d;margin-top:18pt;margin-left:-1cm}.hwcopyright{text-align:center;font-family:Arial;margin-left:-1cm} \ No newline at end of file diff --git a/docs/rts/api-ref/public_sys-resources/commonrtl.css b/docs/rts/api-ref/public_sys-resources/commonrtl.css new file mode 100644 index 000000000..f261da752 --- /dev/null +++ b/docs/rts/api-ref/public_sys-resources/commonrtl.css @@ -0,0 +1,2 @@ +/*! Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved. */.msgph{font-family:Courier New}.unresolved{background-color:#87ceeb}.noTemplate{background-color:#ff0}.base{background-color:#fff}/*! Add space for top level topics */.nested0,.p{margin-top:1em}/*! div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid *//*! Default of italics to set apart figure captions */.figcap,.italic,.var{font-style:italic}.figdesc{font-style:normal}/*! Use @frame to create frames on figures */.figborder{padding-left:3px;padding-right:3px;margin-top:1em;border:2px solid Silver}.figsides{margin-top:1em;padding-left:3px;padding-right:3px;border-left:2px solid Silver;border-right:2px solid Silver}.figtop{border-top:2px solid Silver;margin-top:1em}.figbottom{border-bottom:2px solid Silver}.figtopbot{border-top:2px solid Silver;border-bottom:2px solid Silver;margin-top:1em}/*! Most link groups are created with
. Ensure they have space before and after. */.ullinks,ul.simple{list-style-type:none}.attention,.danger,.ddexpand,.dlexpand,.example,.fastpath,.important,.liexpand,.linklist,.note,.notice,.olchildlink,.relconcepts,.relinfo,.relref,.reltasks,.remember,.restriction,.section,.sliexpand,.stepexpand,.substepexpand,.tip,.ulchildlink,.warning{margin-top:1em;margin-bottom:1em}.linklistwithchild,.sublinklist{margin-top:1em;margin-right:1.5em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-right:20px}/*! Set heading sizes, getting smaller for deeper nesting */.topictitle1{font-size:1.34em;margin-top:0;margin-bottom:.1em}.topictitle2,.topictitle3,.topictitle4,.topictitle5,.topictitle6,.sectiontitle{font-size:1.17em}.topictitle2{margin-top:1pc;margin-bottom:.45em}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-weight:700}.topictitle4{margin-top:.83em;font-weight:700}.topictitle5{font-weight:700}.topictitle6{font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:0;color:#000;font-weight:700}/*! All note formats have the same default presentation */.attentiontitle,.bold,.cautiontitle,.dangertitle,.dlterm,.fastpathtitle,.firstcol,.importanttitle,.notelisttitle,.notetitle,.noticetitle,.parmname,.remembertitle,.restrictiontitle,.tiptitle,.uicontrol,.warningtitle{font-weight:700}.caution{font-weight:700;margin-bottom:1em}/*! Simple lists do not get a bullet *//*! Used on the first column of a table, when rowheader="firstcol" is used *//*! Various basic phrase styles */.boldItalic{font-weight:700;font-style:italic}.shortcut,.underlined{text-decoration:underline}/*! 2008-10-27 keyword采用跟随上下文的样式 +*//*! Default of bold for definition list terms *//*! Use CSS to expand lists with @compact="no" */.dltermexpand{font-weight:700;margin-top:1em}[compact="yes"]>li{margin-top:0}[compact="no"]>li{margin-top:.53em}/*! Align images based on @align on topic/image */div.imageleft,.text-align-left{text-align:left}div.imagecenter,.text-align-center{text-align:center}div.imageright,.text-align-right{text-align:right}div.imagejustify,.text-align-justify{text-align:justify}.cellrowborder{border-right:0;border-top:0;border-left:1px solid;border-bottom:1px solid}.row-nocellborder{border-left:hidden;border-right:0;border-top:0;border-bottom:1px solid}.cell-norowborder{border-top:0;border-bottom:hidden;border-right:0;border-left:1px solid}.nocellnorowborder{border:0;border-left:hidden;border-bottom:hidden}pre.codeblock,pre.screen{padding:5px;border:outset;background-color:#ccc;margin-top:2px;margin-bottom:2px;white-space:pre} \ No newline at end of file diff --git a/docs/rts/api-ref/public_sys-resources/danger_3.0-en-us.png b/docs/rts/api-ref/public_sys-resources/danger_3.0-en-us.png new file mode 100644 index 000000000..47a9c7235 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/danger_3.0-en-us.png differ diff --git a/docs/rts/api-ref/public_sys-resources/delta.gif b/docs/rts/api-ref/public_sys-resources/delta.gif new file mode 100644 index 000000000..0d1b1f674 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/delta.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/deltaend.gif b/docs/rts/api-ref/public_sys-resources/deltaend.gif new file mode 100644 index 000000000..cc7da0fc8 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/deltaend.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-arrowdn.gif b/docs/rts/api-ref/public_sys-resources/icon-arrowdn.gif new file mode 100644 index 000000000..84eec9be2 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-arrowdn.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-arrowrt.gif b/docs/rts/api-ref/public_sys-resources/icon-arrowrt.gif new file mode 100644 index 000000000..39583d168 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-arrowrt.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-caution.gif b/docs/rts/api-ref/public_sys-resources/icon-caution.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-caution.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-danger.gif b/docs/rts/api-ref/public_sys-resources/icon-danger.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-danger.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-huawei.gif b/docs/rts/api-ref/public_sys-resources/icon-huawei.gif new file mode 100644 index 000000000..a31d60f89 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-huawei.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-note.gif b/docs/rts/api-ref/public_sys-resources/icon-note.gif new file mode 100644 index 000000000..31be2b039 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-note.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-notice.gif b/docs/rts/api-ref/public_sys-resources/icon-notice.gif new file mode 100644 index 000000000..409070650 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-notice.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-tip.gif b/docs/rts/api-ref/public_sys-resources/icon-tip.gif new file mode 100644 index 000000000..c47bae05c Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-tip.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/icon-warning.gif b/docs/rts/api-ref/public_sys-resources/icon-warning.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/icon-warning.gif differ diff --git a/docs/rts/api-ref/public_sys-resources/note_3.0-en-us.png b/docs/rts/api-ref/public_sys-resources/note_3.0-en-us.png new file mode 100644 index 000000000..57a0e1f53 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/note_3.0-en-us.png differ diff --git a/docs/rts/api-ref/public_sys-resources/notice_3.0-en-us.png b/docs/rts/api-ref/public_sys-resources/notice_3.0-en-us.png new file mode 100644 index 000000000..fa4b64990 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/notice_3.0-en-us.png differ diff --git a/docs/rts/api-ref/public_sys-resources/popup.js b/docs/rts/api-ref/public_sys-resources/popup.js new file mode 100644 index 000000000..a550862ed --- /dev/null +++ b/docs/rts/api-ref/public_sys-resources/popup.js @@ -0,0 +1 @@ +var i=0;var dhtmlgoodies_tooltipFlag=false;var dhtmlgoodies_tooltip="";var dhtmlgoodies_tooltipShadow="";var dhtmlgoodies_shadowSize=3;var dhtmlgoodies_tooltipMaxWidth=500;var dhtmlgoodies_tooltipMinWidth=100;var dhtmlgoodies_iframe=false;var timeId;var clickFlag=false;var tooltip_is_msie=(navigator.userAgent.indexOf("MSIE")>=0&&navigator.userAgent.indexOf("opera")==-1&&document.all)?true:false;var xPos;var yPos;window.document.onmousemove=function(a){a=a||window.event;if(a.pageX){xPos=a.pageX;yPos=a.pageY}else{if(document.body!==null&&typeof document.body!=="undefined"){xPos=a.clientX+document.body.scrollLeft-document.body.clientLeft;yPos=a.clientY+document.body.scrollTop-document.body.clientTop}}};function showTooltip(e){if(document.body===null||typeof document.body==="undefined"){return}if(i==0){return}clickFlag=true;var f=Json.parse("jsonData."+e);var a=Math.max(document.body.clientWidth,document.documentElement.clientWidth)-20;if(!dhtmlgoodies_tooltipFlag){dhtmlgoodies_tooltip=document.createElement("DIV");dhtmlgoodies_tooltip.id="dhtmlgoodies_tooltip";dhtmlgoodies_tooltipShadow=document.createElement("DIV");dhtmlgoodies_tooltipShadow.id="dhtmlgoodies_tooltipShadow";document.body.appendChild(dhtmlgoodies_tooltip);document.body.appendChild(dhtmlgoodies_tooltipShadow);if(tooltip_is_msie){dhtmlgoodies_iframe=document.createElement("IFRAME");dhtmlgoodies_iframe.frameborder="5";dhtmlgoodies_iframe.style.backgroundColor="#FFFFFF";dhtmlgoodies_iframe.src="#";dhtmlgoodies_iframe.style.zIndex=100;dhtmlgoodies_iframe.style.position="absolute";document.body.appendChild(dhtmlgoodies_iframe)}}dhtmlgoodies_tooltip.style.display="block";dhtmlgoodies_tooltipShadow.style.display="block";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="block"}var b=Math.max(document.body.scrollTop,document.documentElement.scrollTop);if(navigator.userAgent.toLowerCase().indexOf("safari")>=0){b=0}var c=xPos+10;dhtmlgoodies_tooltip.style.width=null;dhtmlgoodies_tooltip.innerHTML=f;dhtmlgoodies_tooltip.style.left=c+"px";if(tooltip_is_msie){dhtmlgoodies_tooltip.style.top=yPos+20+b+"px"}else{dhtmlgoodies_tooltip.style.top=yPos+20+"px"}dhtmlgoodies_tooltipShadow.style.left=c+dhtmlgoodies_shadowSize+"px";if(tooltip_is_msie){dhtmlgoodies_tooltipShadow.style.top=yPos+20+b+dhtmlgoodies_shadowSize+"px"}else{dhtmlgoodies_tooltipShadow.style.top=yPos+20+dhtmlgoodies_shadowSize+"px"}if(dhtmlgoodies_tooltip.offsetWidth>dhtmlgoodies_tooltipMaxWidth){dhtmlgoodies_tooltip.style.width=dhtmlgoodies_tooltipMaxWidth+"px"}var d=dhtmlgoodies_tooltip.offsetWidth;if(da){dhtmlgoodies_tooltip.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((c+d)-a))+"px";dhtmlgoodies_tooltipShadow.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((c+d)-a)+dhtmlgoodies_shadowSize)+"px"}if(tooltip_is_msie){dhtmlgoodies_iframe.style.left=dhtmlgoodies_tooltip.style.left;dhtmlgoodies_iframe.style.top=dhtmlgoodies_tooltip.style.top;dhtmlgoodies_iframe.style.width=dhtmlgoodies_tooltip.offsetWidth+"px";dhtmlgoodies_iframe.style.height=dhtmlgoodies_tooltip.offsetHeight+"px"}}function hideTooltip(){i=0;clickFlag=false;if((dhtmlgoodies_tooltip!==null&&typeof dhtmlgoodies_tooltip!=="undefined")&&+(dhtmlgoodies_tooltip.style!==null&&typeof dhtmlgoodies_tooltip.style!=="undefined")){dhtmlgoodies_tooltip.style.display="none";dhtmlgoodies_tooltipShadow.style.display="none";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="none"}}if(timeId!==null&&typeof timeId!=="undefined"&&timeId!=""){clearTimeout(timeId)}}function showText(a){i=1;timeId=setTimeout(function(){showTooltip(a)},500)}function showText2(a){if(!clickFlag){i=1;showTooltip(a);i=0;if(timeId!==null&&typeof timeId!=="undefined"&&timeId!=""){clearTimeout(timeId)}}}function anchorScroll(b){var d=document.getElementsByName(b);if(d!=null&&d.length>0){var c=d[0];var a=c.getBoundingClientRect().left+(document.body.scrollLeft||(document.documentElement&&document.documentElement.scrollLeft));var e=c.getBoundingClientRect().top+(document.body.scrollTop||(document.documentElement&&document.documentElement.scrollTop));window.scrollTo(a,e-30)}}; \ No newline at end of file diff --git a/docs/rts/api-ref/public_sys-resources/warning_3.0-en-us.png b/docs/rts/api-ref/public_sys-resources/warning_3.0-en-us.png new file mode 100644 index 000000000..def5c3565 Binary files /dev/null and b/docs/rts/api-ref/public_sys-resources/warning_3.0-en-us.png differ diff --git a/docs/rts/api-ref/rts_03_0005.html b/docs/rts/api-ref/rts_03_0005.html new file mode 100644 index 000000000..85cb60d55 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0005.html @@ -0,0 +1,11 @@ + + +

Common Parameters

+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0014.html b/docs/rts/api-ref/rts_03_0014.html new file mode 100644 index 000000000..a7184453e --- /dev/null +++ b/docs/rts/api-ref/rts_03_0014.html @@ -0,0 +1,15 @@ + + +

General Information

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0015.html b/docs/rts/api-ref/rts_03_0015.html new file mode 100644 index 000000000..9d9750149 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0015.html @@ -0,0 +1,142 @@ + + +

Return Code

+

Normal Return Code

+
+ + + + + + + + + + + + + + + + + +

Return Code

+

Type

+

Description

+

200

+

OK

+

The results of GET, PATCH, and PUT operations are returned normally.

+

201

+

Created

+

The result of the POST operation is returned normally.

+

204

+

No Content

+

The result of the DELETE operation is returned normally.

+
+
+
+

Error Return Code

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Return Code

+

Type

+

Possible Cause

+

400

+

Bad Request

+

Incorrect request URI or body format.

+

Invalid request management status.

+

Invalid value.

+

The batch operation is not allowed.

+

Authentication failed.

+

Invalid request body, for example, the request attempt to update attributes that can be specified only during the creation.

+

Missing required attributes.

+

The specified attribute is not allowed, for example, an ID in a POST request in the basic CRUD operations.

+

An unexpected data type attribute is specified.

+

401

+

Unauthorized

+

No identity authentication performed.

+

Invalid X-Auth-Token header.

+

Invalid authentication credentials.

+

403

+

Forbidden

+

You have no permission to perform the requested operation.

+

404

+

Not Found

+

The URI does not exist.

+

The requested resource was not found.

+

Failed to complete the request because the reference entity could not be found by ID. The reference entity in POST requests may be specified in the request body instead of in the resource path.

+

409

+

Conflict

+

POST or PATCH operation failed.

+

500

+

Internal Server Error

+

Internal OpenStack identity error.

+

503

+

Service Unavailable

+

Failed to complete the request because the service is unavailable.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0016.html b/docs/rts/api-ref/rts_03_0016.html new file mode 100644 index 000000000..374a8fbba --- /dev/null +++ b/docs/rts/api-ref/rts_03_0016.html @@ -0,0 +1,18 @@ + + +

Redirection Description

+

Redirect

In the Heat API, the stack ID consists of stack_name and stack_id. When the system calls APIs to access resources such as stacks, templates, events, and actions, if only stack_name is specified, Heat queries the stack_id value and returns a redirect response pointing to the correct URL. The following provides a request example:

+
GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack
+

After redirection, the actual request is as follows:

+
Location: http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306
+
+

Redirect APIs

The APIs used in the following topics support redirection. When calling the following APIs to access stacks or templates, you can specify only stack_name or stack_id.

+ +
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0017.html b/docs/rts/api-ref/rts_03_0017.html new file mode 100644 index 000000000..76df234af --- /dev/null +++ b/docs/rts/api-ref/rts_03_0017.html @@ -0,0 +1,15 @@ + + +

API Version Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0018.html b/docs/rts/api-ref/rts_03_0018.html new file mode 100644 index 000000000..f64f2f2fe --- /dev/null +++ b/docs/rts/api-ref/rts_03_0018.html @@ -0,0 +1,123 @@ + + +

Querying API Versions

+

Function

This API is used to query all available versions.

+
+

URI

GET /

+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

versions

+

body

+

List <dict>

+

Specifies the API version list.

+

Each object in the list provides API version information, such as the ID, status, and links.

+
+
+

versions structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

id

+

body

+

String

+

Specifies the API version.

+

status

+

body

+

String

+

Specifies the API version status. Available values are as follows:

+
  • CURRENT: preferred API version
  • SUPPORTED: an earlier API version, which is still in use
  • DEPRECATED: an obsolete API version to be deleted
+

links

+

body

+

List <dict>

+

Specifies the API URL list.

+

Each URL is a JSON object with one href keyword for identifying the URL and one rel keyword indicating the relationship between the API version and the involved stack.

+
+
+
+

Request Example

None

+
+

Response Example

{
+    "versions": [
+        {
+            "status": "CURRENT",
+            "id": "v1.0",
+            "links": [
+                {
+                    "href": "http://x.x.x.x:8774/v1/",
+                    "rel": "self"
+                }
+            ]
+        }
+    ]
+}
+
+

Return Code

The following code will be returned if the system is operating normally.

+ +
+ + + + + + + + + +

Return Code

+

Type

+

Description

+

300

+

Multiple choices

+

The requested resource has multiple available responses.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0019.html b/docs/rts/api-ref/rts_03_0019.html new file mode 100644 index 000000000..a86a5f748 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0019.html @@ -0,0 +1,25 @@ + + +

Stack Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0020.html b/docs/rts/api-ref/rts_03_0020.html new file mode 100644 index 000000000..d1e474002 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0020.html @@ -0,0 +1,345 @@ + + +

Querying the Stacks

+

Function

This API is used to query stacks of a specified tenant.

+
+

URI

GET /v1/{project_id}/stacks

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

status/stack_status

+

query

+

String

+

No

+

Specifies the stack status.

+

name/stack_name

+

query

+

String

+

No

+

Specifies the stack name.

+
  • The value can contain only uppercase letters, lowercase letters, digits, hyphens (-), periods (.), and underscores (_).
  • The value must start with an uppercase letter or a lowercase letter.
  • The value can contain 1 to 255 characters.
+

limit

+

query

+

Integer

+

No

+

Specifies the number of returned stacks. This parameter is used to control the stack display mode and quantity. It can be used independently or together with the marker parameter.

+

For example, if the limit and marker parameters are not used, the queried stack list is as follows:

+
[stack1,stack2,stack3,stack4,stack5,stack6,stack7,stack8]
+

If limit is set to 3, only the first three data records in the stack list are returned.

+
[stack1,stack2,stack3]
+

If limit is set to 3 and marker is set to stack3, three stacks are displayed in sequence from the next data record of stack3.

+
[stack4,stack5,stack6]
+

If limit is set to 3 and marker is set to stack6, but fewer than three data records are available after stack6, all the remaining data records are displayed.

+
[stack7,stack8]
+

marker

+

query

+

String

+

No

+

Specifies the stack from which the next data record starts to be queried. This parameter is used to control the stack display mode and quantity. This parameter must be used together with the limit parameter.

+

sort_keys

+

query

+

String

+

No

+

Specifies the sorting keyword.

+

stack_name, stack_status, creation_time, and updated_time

+

sort_dir

+

query

+

String

+

No

+

Specifies the sorting method.

+

The value can be asc (in the ascending order) or desc (in the descending order).

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

stacks

+

body

+

List <dict>

+

Specifies the stack list.

+
+
+

stacks structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

id

+

body

+

String

+

Specifies the stack UUID.

+

stack_name

+

body

+

String

+

Specifies the stack name.

+

stack_status

+

body

+

String

+

Specifies the stack status.

+

stack_status_reason

+

body

+

String

+

Describes the stack operation.

+

description

+

body

+

String

+

Describes the stack.

+

links

+

body

+

List <dict>

+

Specifies the stack URL list.

+

creation_time

+

body

+

String

+

Specifies the time when the stack was created.

+

updated_time

+

body

+

String

+

Specifies the time when the stack was updated.

+

parent

+

body

+

String

+

Specifies the UUID of the parent stack (for a nested stack).

+

tags

+

body

+

String

+

Specifies the stack tag.

+

stack_user_project_id

+

body

+

String

+

Specifies the project UUID of the stack user. This parameter may be left blank.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks
+
+

Response Example

{
+    "stacks": [
+        {
+            "description": "Hello world HOT template that just defines a single compute instance. Contains just base features to verify base HOT support.\n",
+            "links": [
+                {
+                     "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
+                     "rel": "self"
+                 }
+             ],
+            "stack_status_reason": "Stack create completed successfully",
+            "stack_name": "HeatStack",
+            "creation_time": "2018-01-26T17:21:35Z",
+            "updated_time": "2018-01-26T17:21:41Z",
+            "stack_status": "CREATE_COMPLETE",
+            "id": "c89c4bb3-96cb-4a55-aafa-076a7939a306"
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0021.html b/docs/rts/api-ref/rts_03_0021.html new file mode 100644 index 000000000..756c2bb4d --- /dev/null +++ b/docs/rts/api-ref/rts_03_0021.html @@ -0,0 +1,361 @@ + + +

Creating a Stack

+

Function

This API is used to create a stack. Heat verifies a request body and parses the template. After that, Heat invokes the API of the target component based on resource dependencies to create a resource.

+
+

URI

POST /v1/{project_id}/stacks

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

stack_name

+

body

+

String

+

Yes

+

Specifies the stack name.

+
  • The value can contain only uppercase letters, lowercase letters, digits, hyphens (-), periods (.), and underscores (_).
  • The value must start with an uppercase letter or a lowercase letter.
  • The value can contain 1 to 255 characters.
+

template

+

body

+

Json

+

Yes

+

Specifies the template. The template uses the YAML syntax for content orchestration.

+

template_url

+

body

+

String

+

No

+

Specifies the template URL. You cannot select a template using the URL temporarily.

+

environment

+

body

+

Json

+

No

+

Specifies the environment information for creating a stack.

+

files

+

body

+

Json

+

No

+

Specifies the files referenced in the environment.

+

parameters

+

body

+

Json

+

No

+

Specifies parameter information of the stack.

+

timeout_mins

+

body

+

Int

+

No

+

Specifies the timeout duration.

+

disable_rollback

+

body

+

Boolean

+

No

+

Specifies whether to perform a rollback when stack creation fails.

+
+
+

environment structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

parameters

+

body

+

Json

+

No

+

Specifies the parameters and their values.

+

parameters_defaults

+

body

+

Json

+

No

+

Specifies the parameters and their default values.

+

resource_registry

+

body

+

Json

+

No

+

Specifies the custom resource information.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

stack

+

body

+

Dict

+

Specifies the stack object.

+
+
+

stack structure information

+ +
+ + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

id

+

body

+

String

+

Specifies the stack UUID.

+

links

+

body

+

List <dict>

+

Specifies the stack URL list.

+
+
+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/stacks
+{
+    "files": {},
+    "disable_rollback": true,
+    "parameters": {
+        "flavor": "m1.heat"
+    },
+    "environment": {
+        "parameters": {
+            "flavor": "m1.heat"
+        },
+        "parameter_defaults": {
+            "flavor": "m1.heat"
+        },
+        "resource_registry": {
+            "OS::Networking::FloatingIP": "OS::Nova::FloatingIP"
+        }
+    },
+    "stack_name": "teststack",
+    "template": {
+        "heat_template_version": "2013-05-23",
+        "description": "Simple template to test heat commands",
+        "parameters": {
+            "flavor": {
+                "default": "m1.tiny",
+                "type": "string"
+            }
+        },
+        "resources": {
+            "hello_world": {
+                "type": "OS::Nova::Server",
+                "properties": {
+                    "key_name": "heat_key",
+                    "flavor": {
+                        "get_param": "flavor"
+                    },
+                    "image": "40be8d1a-3eb9-40de-8abd-43237517384f",
+                    "user_data": "#!/bin/bash -xv\necho \"hello world\" &gt; /root/hello-world.txt\n"
+                }
+            }
+        }
+    },
+    "timeout_mins": 60
+}
+
+

Response Example

{
+    "stack": {
+        "id": "c89c4bb3-96cb-4a55-aafa-076a7939a306",
+        "links": [
+            {
+                "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
+                "rel": "self"
+            }
+        ]
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

201

+

Created

+

The resource has been created and is ready for use.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

409

+

Conflict

+

The request could not be processed due to a conflict.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0022.html b/docs/rts/api-ref/rts_03_0022.html new file mode 100644 index 000000000..b00189f5d --- /dev/null +++ b/docs/rts/api-ref/rts_03_0022.html @@ -0,0 +1,559 @@ + + +

Previewing a Stack

+

Function

This API is used to preview a stack.

+
+

URI

POST /v1/{project_id}/stacks/preview

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

stack_name

+

body

+

String

+

Yes

+

Specifies the stack name.

+
  • The value can contain only uppercase letters, lowercase letters, digits, hyphens (-), periods (.), and underscores (_).
  • The value must start with an uppercase letter or a lowercase letter.
  • The value can contain 1 to 255 characters.
+

template_url

+

body

+

String

+

No

+

Specifies the template URL. You cannot select a template using the URL temporarily.

+

template

+

body

+

Dict

+

Yes

+

Specifies the template. The template content must use the YAML syntax.

+

files

+

body

+

Dict

+

No

+

Specifies the files referenced in the environment.

+

disable_rollback

+

body

+

Boolean

+

No

+

Specifies whether to perform a rollback when stack creation fails.

+

parameters

+

body

+

Dict

+

No

+

Specifies parameter information of the stack.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

stack

+

body

+

Dict

+

Specifies the stack object.

+
+
+

stack structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

parent

+

body

+

String

+

Specifies the UUID of the parent stack (for a nested stack).

+

id

+

body

+

String

+

Specifies the stack UUID.

+

links

+

body

+

List <dict>

+

Specifies the stack URL list.

+

stack_name

+

body

+

String

+

Specifies the stack name.

+

description

+

body

+

String

+

Describes the stack.

+

template_description

+

body

+

String

+

Describes the template defined by the stack.

+

timeout_mins

+

body

+

Int

+

Specifies the timeout duration.

+

disable_rollback

+

body

+

Boolean

+

Specifies whether to perform a rollback when stack creation fails.

+

capabilities

+

body

+

List

+

Specifies the list of stack capacities.

+

creation_time

+

body

+

Date Time

+

Specifies the time when the stack was created.

+

notification_topics

+

body

+

List

+

Specifies the message notification list of the stack.

+

updated_time

+

body

+

Date Time

+

Specifies the last time when the stack was updated.

+

stack_owner

+

body

+

Sting

+

Specifies the name of the stack owner.

+

parameters

+

body

+

Dict

+

Specifies parameters defined by the stack.

+

resources

+

body

+

List <dict>

+

Specifies the stack resource list.

+
+
+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/preview
+{
+    "files": {},
+    "disable_rollback": true,
+    "parameters": {
+        "flavor": "m1.heat"
+    },
+    "stack_name": "teststack",
+    "template": {
+        "heat_template_version": "2013-05-23",
+        "description": "Simple template to test heat commands",
+        "parameters": {
+            "flavor": {
+                "default": "m1.tiny",
+                "type": "string"
+            }
+        },
+        "resources": {
+            "hello_world": {
+                "type": "OS::Nova::Server",
+                "properties": {
+                    "key_name": "heat_key",
+                    "flavor": {
+                        "get_param": "flavor"
+                    },
+                    "image": "40be8d1a-3eb9-40de-8abd-43237517384f",
+                    "user_data": "#!/bin/bash -xv\necho \"hello world\" &gt; /root/hello-world.txt\n"
+                }
+            }
+        }
+    },
+    "timeout_mins": 60
+}
+
+

Response Example

{
+    "stack": {
+        "capabilities": [],
+        "creation_time": "2015-01-31T15:12:36Z",
+        "description": "HOT template for Nova Server resource.\n",
+        "disable_rollback": true,
+        "id": "None",
+        "links": [
+            {
+                "href": "http://x.x.x.x:8004/v1/6e18cc2bdbeb48a5basad2dc499f6804/stacks/test_stack/None",
+                "rel": "self"
+            }
+        ],
+        "notification_topics": [],
+        "parameters": {
+            "OS::project_id": "6e18cc2bdbeb48a5basad2dc499f6804",
+            "OS::stack_id": "None",
+            "OS::stack_name": "teststack",
+            "admin_user": "cloud-user",
+            "flavor": "m1.small",
+            "image": "F20-cfg",
+            "key_name": "heat_key",
+            "server_name": "MyServer"
+        },
+        "parent": null,
+        "resources": [
+            {
+                "attributes": {},
+                "description": "",
+                "metadata": {},
+                "physical_resource_id": "",
+                "properties": {
+                    "description": "Ping and SSH",
+                    "name": "the_sg",
+                    "rules": [
+                        {
+                            "direction": "ingress",
+                            "ethertype": "IPv4",
+                            "port_range_max": null,
+                            "port_range_min": null,
+                            "protocol": "icmp",
+                            "remote_group_id": null,
+                            "remote_ip_prefix": null,
+                            "remote_mode": "remote_ip_prefix"
+                        },
+                        {
+                            "direction": "ingress",
+                            "ethertype": "IPv4",
+                            "port_range_max": 65535,
+                            "port_range_min": 1,
+                            "protocol": "tcp",
+                            "remote_group_id": null,
+                            "remote_ip_prefix": null,
+                            "remote_mode": "remote_ip_prefix"
+                        },
+                        {
+                            "direction": "ingress",
+                            "ethertype": "IPv4",
+                            "port_range_max": 65535,
+                            "port_range_min": 1,
+                            "protocol": "udp",
+                            "remote_group_id": null,
+                            "remote_ip_prefix": null,
+                            "remote_mode": "remote_ip_prefix"
+                        }
+                    ]
+                },
+                "required_by": [
+                    "server1"
+                ],
+                "resource_action": "INIT",
+                "resource_identity": {
+                    "path": "/resources/the_sg_res",
+                    "stack_id": "None",
+                    "stack_name": "teststack",
+                    "tenant": "6e18cc2bdbeb48a5b3cad2dc499f6804"
+                },
+                "resource_name": "the_sg_res",
+                "resource_status": "COMPLETE",
+                "resource_status_reason": "",
+                "resource_type": "OS::Neutron::SecurityGroup",
+                "stack_identity": {
+                    "path": "",
+                    "stack_id": "None",
+                    "stack_name": "teststack",
+                    "tenant": "6e18cc2bdbeb48a5b3cad2dc499f6804"
+                },
+                "stack_name": "teststack",
+                "updated_time": "2015-01-31T15:12:36Z"
+            },
+            {
+                "attributes": {
+                    "accessIPv4": "",
+                    "accessIPv6": "",
+                    "addresses": "",
+                    "console_urls": "",
+                    "first_address": "",
+                    "instance_name": "",
+                    "name": "MyServer",
+                    "networks": "",
+                    "show": ""
+                },
+                "description": "",
+                "metadata": {},
+                "physical_resource_id": "",
+                "properties": {
+                    "admin_pass": null,
+                    "admin_user": "cloud-user",
+                    "availability_zone": null,
+                    "block_device_mapping": null,
+                    "config_drive": null,
+                    "diskConfig": null,
+                    "flavor": "m1.small",
+                    "flavor_update_policy": "RESIZE",
+                    "image": "F20-cfg",
+                    "image_update_policy": "REPLACE",
+                    "key_name": "heat_key",
+                    "metadata": {
+                        "ha_stack": "None"
+                    },
+                    "name": "MyServer",
+                    "networks": [
+                        {
+                            "fixed_ip": null,
+                            "network": "private",
+                            "port": null,
+                            "uuid": null
+                        }
+                    ],
+                    "personality": {},
+                    "reservation_id": null,
+                    "scheduler_hints": null,
+                    "security_groups": [
+                        "None"
+                    ],
+                    "software_config_transport": "POLL_SERVER_CFN",
+                    "user_data": "",
+                    "user_data_format": "HEAT_CFNTOOLS"
+                },
+                "required_by": [],
+                "resource_action": "INIT",
+                "resource_identity": {
+                    "path": "/resources/hello_world",
+                    "stack_id": "None",
+                    "stack_name": "teststack",
+                    "tenant": "6e18cc2bdbeb48a3433cad2dc499sdf32234"
+                },
+                "resource_name": "hello_world",
+                "resource_status": "COMPLETE",
+                "resource_status_reason": "",
+                "resource_type": "OS::Nova::Server",
+                "stack_identity": {
+                    "path": "",
+                    "stack_id": "None",
+                    "stack_name": "teststack",
+                    "tenant": "6e18cc2bdbeb48a3433cad2dc499sdf32234"
+                },
+                "stack_name": "teststack",
+                "updated_time": "2015-01-31T15:12:36Z"
+            }
+        ],
+        "stack_name": "test_stack",
+        "stack_owner": "admin",
+        "template_description": "HOT template for Nova Server resource.\n",
+        "timeout_mins": null,
+        "updated_time": null
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

201

+

Created

+

The resource has been created and is ready for use.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

409

+

Conflict

+

The request could not be processed due to a conflict.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0025.html b/docs/rts/api-ref/rts_03_0025.html new file mode 100644 index 000000000..88173e341 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0025.html @@ -0,0 +1,376 @@ + + +

Querying Details of a Stack

+

Function

This API is used to query details of a stack.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}

+

This API supports redirection. During the calling, you can specify only stack_name or stack_id.

+
+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

stack

+

body

+

Dict

+

Specifies the stack object.

+
+
+

stack structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

disable_rollback

+

body

+

Boolean

+

Specifies whether to perform a rollback when stack creation fails.

+

description

+

body

+

String

+

Describes the stack.

+

parent

+

body

+

String

+

Specifies the ID of the parent stack if the stack is the nesting type.

+

tags

+

body

+

Array

+

Specifies whether to perform a rollback when stack creation fails.

+

parameters

+

body

+

Dict

+

Specifies parameter information of the stack.

+

stack_status_reason

+

body

+

String

+

Describes the stack operation.

+

stack_name

+

body

+

String

+

Specifies the stack name.

+

stack_user_project_id

+

body

+

String

+

This is a reserved parameter.

+

outputs

+

body

+

List

+

Specifies the output stack list.

+

creation_time

+

body

+

String

+

Specifies the time when the stack was created.

+

links

+

body

+

List <dict>

+

Specifies the stack URL list.

+

capabilities

+

body

+

List

+

Specifies the list of stack capacities.

+

notification_topics

+

body

+

List

+

Specifies the message notification list of the stack.

+

timeout_mins

+

body

+

Integer

+

Specifies the timeout duration.

+

stack_status

+

body

+

String

+

Specifies the stack status.

+

stack_owner

+

body

+

String

+

This is a reserved parameter.

+

updated_time

+

body

+

String

+

Specifies the time when the stack was updated.

+

id

+

body

+

String

+

Specifies the stack UUID.

+

template_description

+

body

+

String

+

Describes the template.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306
+
+

Response Example

{
+    "stack": {
+        "disable_rollback": true,
+        "description": "Hello world HOT template that just defines a single compute instance. Contains just base features to verify base HOT support.\n",
+        "parent": null,
+        "tags": null,
+        "parameters": {
+            "Network": "3f8713b7-8aea-4b0f-a70b-98d4e1d6251f",
+            "OS::stack_name": "HeatStack",
+            "ImageId": "68e22196-a4aa-4946-85c3-75f4957e667a",
+            "OS::stack_id": "c89c4bb3-96cb-4a55-aafa-076a7939a306",
+            "KeyName": "heat-key",
+            "OS::project_id": "95d02433133a4c0a87ba6967474a2ad3",
+            "InstanceType": "m1.tiny"
+        },
+        "stack_user_project_id": "95d02433133a4c0a87ba6967474a2ad3",
+        "stack_status_reason": "Stack create completed successfully",
+        "stack_name": "HeatStack",
+        "outputs": [],
+        "creation_time": "2014-01-26T17:21:35Z",
+        "links": [
+            {
+                "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
+                "rel": "self"
+             }
+        ],
+        "capabilities": [],
+        "notification_topics": [],
+        "timeout_mins": 60,
+        "stack_status": "CREATE_COMPLETE",
+        "stack_owner": null,
+        "updated_time": "2014-01-26T17:21:41Z",
+        "id": "c89c4bb3-96cb-4a55-aafa-076a7939a306",
+        "template_description": "Hello world HOT template that just defines a single compute instance. Contains just base features to verify base HOT support.\n"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+

302

+

Found

+

The response is about redirection. The response header usually contains a location value that allows you to track the real location of the resource.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0026.html b/docs/rts/api-ref/rts_03_0026.html new file mode 100644 index 000000000..86d0bc4f5 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0026.html @@ -0,0 +1,244 @@ + + +

Updating a Stack

+

Function

This API is used to update a stack.

+
+

URI

PUT /v1/{project_id}/stacks/{stack_name}/{stack_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

template

+

body

+

Json

+

Yes

+

Specifies the template. The template content must use the YAML syntax.

+

template_url

+

body

+

String

+

No

+

Specifies the template URL. You cannot select a template using the URL temporarily.

+

environment

+

body

+

Json

+

No

+

Specifies information about the environment for creating a stack.

+

files

+

body

+

Json

+

No

+

Specifies the files referenced in the environment.

+

parameters

+

body

+

Json

+

No

+

Specifies parameter information of the stack.

+

timeout_mins

+

body

+

Int

+

No

+

Specifies the timeout duration.

+

disable_rollback

+

body

+

Boolean

+

No

+

Specifies whether to perform a rollback when a stack update fails.

+
+
+
+

Response Parameter

N/A

+
+

Request Example

PUT /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306
+{
+    "template": {
+        "heat_template_version": "2013-05-23",
+        "description": "Create a simple stack",
+        "parameters": {
+            "flavor": {
+                "default": "m1.tiny",
+                "type": "string"
+            }
+        },
+        "resources": {
+            "hello_world": {
+                "type": "OS::Nova::Server",
+                "properties": {
+                    "key_name": "heat_key",
+                    "flavor": {
+                        "get_param": "flavor"
+                    },
+                    "image": "40be8d1a-3eb9-40de-8abd-43237517384f",
+                    "user_data": "#!/bin/bash -xv\necho \"hello world\" > /root/hello-world.txt\n"
+                }
+            }
+        }
+    },
+    "parameters": {
+        "flavor": "m1.small"
+    }
+}
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

202

+

Accepted

+

The request has been accepted, but the processing is not complete.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0027.html b/docs/rts/api-ref/rts_03_0027.html new file mode 100644 index 000000000..f41fe59be --- /dev/null +++ b/docs/rts/api-ref/rts_03_0027.html @@ -0,0 +1,124 @@ + + +

Deleting a Stack

+

Function

This API is used to delete a stack.

+
+

URI

DELETE /v1/{project_id}/stacks/{stack_name}/{stack_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

This request does not return any content in the response body.

+
+

Request Example

DELETE /v1/9c53a566cb3443ab910cf0daebca90c4/stacks/HeatStack/34247a47-7bf9-4842-a899-421a3cca5779
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

204

+

No Content

+

The RTS service has fulfilled the request by deleting the resource.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0028.html b/docs/rts/api-ref/rts_03_0028.html new file mode 100644 index 000000000..c8f87c7d2 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0028.html @@ -0,0 +1,23 @@ + + +

Stack Resource Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0029.html b/docs/rts/api-ref/rts_03_0029.html new file mode 100644 index 000000000..9c023d367 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0029.html @@ -0,0 +1,296 @@ + + +

Querying Resources of a Stack

+

Function

This API is used to query resources of a stack.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources

+

This API supports redirection. During the calling, you can specify only stack_name or stack_id.

+
+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resources

+

body

+

List <dict>

+

Specifies resource information of the stack.

+
+
+

resources structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resource_name

+

body

+

String

+

Specifies the resource name.

+

links

+

body

+

List <dict>

+

Specifies the resource URL list.

+

logical_resource_id

+

body

+

String

+

Specifies the logical resource ID.

+

physical_resource_id

+

body

+

String

+

Specifies the physical resource ID.

+

resource_type

+

body

+

String

+

Specifies the resource type.

+

resource_status

+

body

+

String

+

Specifies the resource status.

+

resource_status_reason

+

body

+

String

+

Specifies the resource operation reason.

+

updated_time

+

body

+

String

+

Specifies the time when the resource was updated.

+

creation_time

+

body

+

String

+

Specifies the time when the resource was created.

+

required_by

+

body

+

List <str>

+

Specifies the resource dependency.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources
+
+

Response Example

{
+    "resources": [
+        {
+            "resource_name": "instacne_port",
+            "links": [
+                {
+                    "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/instacne_port",
+                    "rel": "self"
+                 },
+                {
+                    "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
+                    "rel": "stack"
+                 }
+            ],
+            "logical_resource_id": "instacne_port",
+            "resource_status_reason": "state changed",
+            "updated_time": "2014-01-27T16:28:03Z",
+            "required_by": ["my_instance"],
+            "resource_status": "RESUME_COMPLETE",
+            "physical_resource_id": "202307c7-d10e-4bcf-af85-6253f5d6b022",
+            "resource_type": "OS::Neutron::Port"
+        },
+        {
+            "resource_name": "my_instance",
+            "links": [
+                {
+                    "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/my_instance",
+                    "rel": "self"
+                 },
+                {
+                    "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
+                    "rel": "stack"
+                 }
+            ],
+            "logical_resource_id": "my_instance",
+            "resource_status_reason": "state changed",
+            "updated_time": "2014-01-27T16:28:06Z",
+            "required_by": [],
+            "resource_status": "RESUME_COMPLETE",
+            "physical_resource_id": "e722ad16-ff09-4622-aa5c-0466ae4ef8d8",
+            "resource_type": "OS::Nova::Server"
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+

302

+

Found

+

The response is about redirection. The response header usually contains a location value that allows you to track the real location of the resource.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0030.html b/docs/rts/api-ref/rts_03_0030.html new file mode 100644 index 000000000..a484124d5 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0030.html @@ -0,0 +1,303 @@ + + +

Querying Details of a Stack Resource

+

Function

This API is used to query details of a stack resource.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+

resource_name

+

String

+

Yes

+

Specifies the name of the resource in the stack.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resource

+

body

+

Dict

+

Specifies resource information of the stack.

+
+
+

resource structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resource_name

+

body

+

String

+

Specifies the resource name.

+

description

+

body

+

String

+

Describes the resource.

+

links

+

body

+

List <dict>

+

Specifies the resource URL list.

+

logical_resource_id

+

body

+

String

+

Specifies the logical resource ID.

+

creation_time

+

body

+

String

+

Specifies the time of creating the stack resource.

+

Example: 2019-04-30T02:55:48.869333

+

physical_resource_id

+

body

+

String

+

Specifies the physical resource ID.

+

attributes

+

body

+

Object

+

Includes key-value pairs of the resource attribute.

+

resource_type

+

body

+

String

+

Specifies the resource type.

+

resource_status

+

body

+

String

+

Specifies the resource status.

+

resource_status_reason

+

body

+

String

+

Specifies the resource operation reason.

+

updated_time

+

body

+

String

+

Specifies the time when the resource was updated.

+

required_by

+

body

+

List <str>

+

Specifies the resource dependency.

+
+
+
+

Request Example

GET /v1/6e0193034db54600b889f890768a72ea/stacks/stack-0vi3/63a16fbe-717b-417c-a3e5-08fc51544b49/resources/random-group
+
+

Response Example

{
+    "resource": {
+        "attributes": {
+            "attributes": null,
+            "refs": null
+        },
+        "creation_time": "2019-03-04T06:36:45.455761",
+        "description": "",
+        "links": [
+            {
+                "href": "https://orchestration.localdomain.com:8004/v1/6e0193034db54600b889f890768a72ea/stacks/stack-0vi3/63a16fbe-717b-417c-a3e5-08fc51544b49/resources/random-group",
+                "rel": "self"
+            },
+            {
+                "href": "https://orchestration.localdomain.com:8004/v1/6e0193034db54600b889f890768a72ea/stacks/stack-0vi3/63a16fbe-717b-417c-a3e5-08fc51544b49",
+                "rel": "stack"
+            },
+            {
+                "href": "https://orchestration.localdomain.com:8004/v1/6e0193034db54600b889f890768a72ea/stacks/stack-0vi3-random-group-k7emexipm2k6/2b6d0d58-0a7b-45d7-978f-519d0b1395ce",
+                "rel": "nested"
+            }
+        ],
+        "logical_resource_id": "random-group",
+        "physical_resource_id": "2b6d0d58-0a7b-45d7-978f-519d0b1395ce",
+        "required_by": [],
+        "resource_name": "random-group",
+        "resource_status": "CREATE_COMPLETE",
+        "resource_status_reason": "state changed",
+        "resource_type": "OS::Heat::ResourceGroup",
+        "updated_time": "2019-03-04T06:36:45.455761"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0031.html b/docs/rts/api-ref/rts_03_0031.html new file mode 100644 index 000000000..405e6b56d --- /dev/null +++ b/docs/rts/api-ref/rts_03_0031.html @@ -0,0 +1,152 @@ + + +

Querying Metadata of a Stack Resource

+

Function

This API is used to query metadata of a stack resource.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/metadata

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+

resource_name

+

String

+

Yes

+

Specifies the name of the resource in the stack.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

metadata

+

body

+

Dict

+

Specifies the resource metadata.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/my_instance/metadata
+
+

Response Example

{
+    "metadata": {
+        "Name": "SmokeServer"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0032.html b/docs/rts/api-ref/rts_03_0032.html new file mode 100644 index 000000000..2b1bf1b78 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0032.html @@ -0,0 +1,128 @@ + + +

Sending a Signal to a Stack Resource

+

Function

This API is used to send a signal to a stack resource to change the resource orchestration.

+
+

URI

POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/signal

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+

resource_name

+

String

+

Yes

+

Specifies the name of the resource in the stack.

+
+
+
+

Request Parameter

The requested content is determined by the stack resource to which the signal is to be sent. Some resources cannot receive signals.

+

This API is asynchronous. Status code 200 is returned if the request is successfully received.

+
+
+

Response Parameter

This operation does not return the response body.

+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/65eb0ae7-36de-4104-aace-6bd040a2f95f/resources/my_instance/signal
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0033.html b/docs/rts/api-ref/rts_03_0033.html new file mode 100644 index 000000000..467366809 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0033.html @@ -0,0 +1,167 @@ + + +

Marking a Resource as Unhealthy

+

Function

This API is used to mark the status of a specified resource as unhealthy.

+
+

URI

PATCH /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name_or_physical_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+

resource_name_or_physical_id

+

String

+

Yes

+

Specifies the resource name.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

mark_unhealthy

+

body

+

Boolean

+

Yes

+

Specifies whether to mark the status of a resource as unhealthy.

+

resource_status_reason

+

body

+

String

+

No

+

Describes the cause causing the current resource status.

+
+
+
+

Response Parameter

This operation does not return the response body.

+
+

Request Example

PATCH /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/65eb0ae7-36de-4104-aace-6bd040a2f95f/resources/my_instance
+{
+    "mark_unhealthy": false,
+    "resource_status_reason": "test reset"
+}
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0034.html b/docs/rts/api-ref/rts_03_0034.html new file mode 100644 index 000000000..0d0f8ed11 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0034.html @@ -0,0 +1,17 @@ + + +

Stack Action Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0035.html b/docs/rts/api-ref/rts_03_0035.html new file mode 100644 index 000000000..594a6d4dd --- /dev/null +++ b/docs/rts/api-ref/rts_03_0035.html @@ -0,0 +1,146 @@ + + +

Canceling Stack Updates

+

Function

This API is used to cancel updating a stack.

+
+

URI

POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actions

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

cancel_update

+

body

+

Object

+

Yes

+

Cancels updating a stack.

+
+
+
+

Response Parameter

This operation does not return the response body.

+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/actions
+{
+    "cancel_update": null
+}
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0036.html b/docs/rts/api-ref/rts_03_0036.html new file mode 100644 index 000000000..5a259dd0c --- /dev/null +++ b/docs/rts/api-ref/rts_03_0036.html @@ -0,0 +1,146 @@ + + +

Checking a Stack

+

Function

This API is used to check whether a stack is in the expected status.

+
+

URI

POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actions

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

check

+

body

+

Object

+

Yes

+

Checks stack resources.

+
+
+
+

Response Parameter

This operation does not return the response body.

+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/actions
+{
+    "check": null
+}
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0037.html b/docs/rts/api-ref/rts_03_0037.html new file mode 100644 index 000000000..9503dd809 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0037.html @@ -0,0 +1,19 @@ + + +

Stack Event Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0038.html b/docs/rts/api-ref/rts_03_0038.html new file mode 100644 index 000000000..0ec1dd093 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0038.html @@ -0,0 +1,261 @@ + + +

Querying Events of a Stack

+

Function

This API is used to query events of a stack.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/events

+

This API supports redirection. During the calling, you can specify only stack_name or stack_id.

+
+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

events

+

body

+

List <dict>

+

Specifies the events of a resource.

+
+
+

events structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resource_name

+

body

+

String

+

Specifies the resource name.

+

event_time

+

body

+

String

+

Specifies the time when an event occurs.

+

links

+

body

+

List <dict>

+

Specifies the event URL list.

+

logical_resource_id

+

body

+

String

+

Specifies the logical resource ID.

+

resource_status_reason

+

body

+

String

+

Specifies the resource operation reason.

+

resource_status

+

body

+

String

+

Specifies the resource status.

+

physical_resource_id

+

body

+

String

+

Specifies the physical resource ID.

+

id

+

body

+

String

+

Specifies the event ID.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/events
+
+

Response Example

{
+    "events": [
+        {
+            "resource_name": "instacne_port",
+            "event_time": "2014-01-26T17:21:35Z",
+            "links": [
+                {
+                     "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/instacne_port/events/1302",
+                     "rel": "self"
+                },
+                {
+                     "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/instacne_port",
+                     "rel": "resource"
+                 },
+                 {
+                     "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
+                     "rel": "stack"
+                 }
+            ],
+            "logical_resource_id": "instacne_port",
+            "resource_status_reason": "state changed",
+            "resource_status": "CREATE_IN_PROGRESS",
+            "physical_resource_id": null,
+            "id": "1302"
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+

302

+

Found

+

The response is about redirection. The response header usually contains a location value that allows you to track the real location of the resource.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0040.html b/docs/rts/api-ref/rts_03_0040.html new file mode 100644 index 000000000..b71bea9a7 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0040.html @@ -0,0 +1,253 @@ + + +

Querying Events of a Stack Resource

+

Function

This API is used to query events of a stack resource.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/events

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+

resource_name

+

String

+

Yes

+

Specifies the name of the resource in the stack.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

events

+

body

+

List <dict>

+

Specifies the events of a resource.

+
+
+

events structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resource_name

+

body

+

String

+

Specifies the resource name.

+

event_time

+

body

+

String

+

Specifies the time when an event occurs.

+

links

+

body

+

List <dict>

+

Specifies the event URL list.

+

logical_resource_id

+

body

+

String

+

Specifies the logical resource ID.

+

resource_status_reason

+

body

+

String

+

Specifies the resource operation reason.

+

resource_status

+

body

+

String

+

Specifies the resource status.

+

physical_resource_id

+

body

+

String

+

Specifies the physical resource ID.

+

id

+

body

+

String

+

Specifies the event ID.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/my_instance/events
+
+

Response Example

{
+    "events": [
+        {
+            "resource_name": "my_instance",
+            "event_time": "2014-01-26T17:21:35Z",
+            "links": [
+                {
+                    "href":  "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/my_instance/events/1304",
+                    "rel": "self"
+                }
+            ],
+            "logical_resource_id": "instacne_port",
+            "resource_status_reason": "state changed",
+            "resource_status": "CREATE_IN_PROGRESS",
+            "physical_resource_id": null,
+            "id": "1302"
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0041.html b/docs/rts/api-ref/rts_03_0041.html new file mode 100644 index 000000000..d459ee992 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0041.html @@ -0,0 +1,301 @@ + + +

Querying Details of a Stack Resource Event

+

Function

This API is used to query details of a stack resource event.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/events/{event_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+

resource_name

+

String

+

Yes

+

Specifies the name of the resource in the stack.

+

event_id

+

String

+

Yes

+

Specifies the UUID of the event related to the resource in the stack.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

event

+

body

+

Dict

+

Specifies a resource event.

+
+
+

event structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

event_time

+

body

+

String

+

Specifies the time when an event occurs.

+

id

+

body

+

String

+

Specifies the UUID of the event object.

+

links

+

body

+

List <dict>

+

Specifies the event URL list. Each URL is a JSON object with one href keyword for identifying the URL and one rel keyword indicating the event relationship. Multiple URLs may be returned.

+

logical_resource_id

+

body

+

String

+

Specifies the logical stack resource ID.

+

physical_resource_id

+

body

+

String

+

Specifies the physical stack resource ID.

+

resource_name

+

body

+

String

+

Specifies the resource name.

+

resource_properties

+

body

+

Dict

+

Specifies the mapping between resource attributes and events.

+

resource_status

+

body

+

String

+

Specifies the resource status.

+

resource_status_reason

+

body

+

String

+

Specifies the cause causing the current stack resource status.

+

resource_type

+

body

+

String

+

Specifies the resource type name.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/random_str/events/1313
+
+

Response Example

{
+    "event": { 
+        "event_time": "2014-02-18T18:23:27Z",
+        "id": "485",
+        "links": [
+            {
+                "href":  "http://x.x.x.x:8004/v1/8443bcd779f3435e86e1cbf73d98a89c/stacks/heat168714801/e6d10493-8d85-46cb-bf3c-e5572f255ef5/resources/random_str/events/1313",
+                "rel": "self"
+            },
+            { 
+                "href":  "http://x.x.x.x:8004/v1/8443bcd779f3435e86e1cbf73d98a89c/stacks/heat168714801/e6d10493-8d85-46cb-bf3c-e5572f255ef5/resources/random_str",
+                "rel": "resource"
+            },
+            { 
+                "href":  "http://x.x.x.x:8004/v1/8443bcd779f3435e86e1cbf73d98a89c/stacks/heat168714801/e6d10493-8d85-46cb-bf3c-e5572f255ef5",
+                "rel": "stack"
+            }
+        ],
+        "logical_resource_id": "random_key_name",
+        "physical_resource_id": null,
+        "resource_name": "random_key_name",
+        "resource_properties": {
+            "character_classes": null,
+            "character_sequences": null,
+            "length": 8,
+            "salt": null,
+            "sequence": null
+        },
+        "resource_status": "CREATE_IN_PROGRESS",
+        "resource_status_reason": "state changed",
+        "resource_type": "OS::Heat::RandomString"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0042.html b/docs/rts/api-ref/rts_03_0042.html new file mode 100644 index 000000000..20639d280 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0042.html @@ -0,0 +1,17 @@ + + +

Template Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0043.html b/docs/rts/api-ref/rts_03_0043.html new file mode 100644 index 000000000..d21e6f722 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0043.html @@ -0,0 +1,211 @@ + + +

Querying a Stack Template

+

Function

This API is used to query a stack template.

+
+

URI

GET /v1/{project_id}/stacks/{stack_name}/{stack_id}/template

+

This API supports redirection. During the calling, you can specify only stack_name or stack_id.

+
+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

stack_name

+

String

+

Yes

+

Specifies the stack name.

+

stack_id

+

String

+

Yes

+

Specifies the stack UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

heat_template_version

+

body

+

String

+

Specifies the version of the HOT template.

+

outputs

+

body

+

Dict

+

Includes key-value pairs of the output data.

+

parameters

+

body

+

Dict

+

Specifies the key-value pairs of template parameters.

+

description

+

body

+

String

+

Describes the stack template.

+

resources

+

body

+

Dict

+

Specifies the template resources.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/template
+
+

Response Example

{
+    "description": "Hello world HOT template that just defines a single server. Contains just base features to verify base HOT support.\n",
+    "heat_template_version": "2013-05-23",
+    "outputs": {
+        "foo": {
+            "description": "Show foo parameter value",
+            "value": {
+                "get_param": "foo"
+            }
+        }
+    },
+    "parameters": {
+        "foo": {
+            "default": "secret",
+            "description": "Name of an existing key pair to use for the server",
+            "hidden": true,
+            "type": "string"
+        }
+    },
+    "resources": {
+        "random_key_name": {
+            "properties": {
+                "length": 8
+            },
+            "type": "OS::Heat::RandomString"
+        }
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0044.html b/docs/rts/api-ref/rts_03_0044.html new file mode 100644 index 000000000..02beaedc0 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0044.html @@ -0,0 +1,187 @@ + + +

Validating a Template

+

Function

This API is used to check whether the template syntax meets requirements.

+
+

URI

POST /v1/{project_id}/validate

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

environment

+

body

+

Json

+

No

+

Specifies information about the environment for creating a stack.

+

files

+

body

+

Json

+

No

+

Specifies the files referenced in the environment.

+

template

+

body

+

Json

+

No

+

Specifies the stack template on which operations will be performed.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

description

+

body

+

String

+

Describes the template.

+

parameters

+

body

+

Dict

+

Specifies the template parameters.

+
+
+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/validate
+{
+    "template": "heat_template_version: 2014-10-16\ndescription: Create a serious of random string\nparameters:\n  length:\n    type: number\n    default: 4\nresources:\n  random:\n    type: OS::Heat::RandomString\n    properties:\n      length: { get_param: length }",
+    "environment": {},
+    "files": {}
+}
+
+

Response Example

{
+    "Description": "Create a serious of random string",
+    "Parameters": {
+        "length": {
+            "Default": 4,
+            "NoEcho": "false",
+            "Type": "Number",
+            "Description": "",
+            "Label": "length"
+        }
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0045.html b/docs/rts/api-ref/rts_03_0045.html new file mode 100644 index 000000000..9e40f139b --- /dev/null +++ b/docs/rts/api-ref/rts_03_0045.html @@ -0,0 +1,289 @@ + + +

Querying the Template of a Resource Type

+

Function

This API is used to query the template of a resource type.

+

The output template parameters of this API are related to the input parameters that you have specified, but the parameters may be different.

+
+
+

URI

GET /v1/{project_id}/resource_types/{type_name}/template

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

type_name

+

String

+

Yes

+

Specifies the resource type.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

template_type

+

query

+

String

+

No

+

Specifies the resource template type.

+

The valid types are cfn and hot.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

outputs

+

body

+

Dict

+

Includes key-value pairs of the output data.

+

heat_template_version

+

body

+

String

+

Specifies the version of the HOT template.

+

HeatTemplateFormatVersion

+

body

+

String

+

Specifies the version of the CFN template.

+

description

+

body

+

String

+

Describes the stack template.

+

parameters

+

body

+

Dict

+

Specifies the key-value pairs of template parameters.

+

resources

+

body

+

Dict

+

Specifies the template resources.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/resource_types/OS%3A%3AHeat%3A%3ARandomString/template
+
+

Response Example

{
+    "Outputs": {
+        "value": {
+            "Description": "The random string generated by this resource. This value is also available by referencing the resource.",
+            "Value": "{"Fn::GetAtt": ["RandomString", "value"]}"
+        },
+        "show": {
+            "Description": "Detailed information about resource.",
+            "Value": "{"Fn::GetAtt": ["RandomString", "show"]}"
+        }
+    },
+    "HeatTemplateFormatVersion": "2012-12-12",
+    "Resources": {
+        "RandomString": {
+            "Type": "OS::Heat::RandomString",
+            "Properties": {
+                "length": {
+                    "Ref": "length"
+                },
+                "salt": {
+                    "Ref": "salt"
+                },
+                "character_sequences": {
+                    "Fn::Split": [
+                        ",",
+                        {
+                            "Ref": "character_sequences"
+                        }
+                    ]
+                },
+                "character_classes": {
+                    "Fn::Split": [
+                        ",",
+                        {
+                            "Ref": "character_classes"
+                        }
+                    ]
+                },
+                "sequence": {
+                    "Ref": "sequence"
+                }
+            }
+        }
+    },
+    "Description": "Initial template of RandomString",
+    "Parameters": {
+        "length": {
+            "Default": 32,
+            "Type": "Number",
+            "Description": "Length of the string to generate.",
+            "MaxValue": 512,
+            "MinValue": 1
+        },
+        "salt": {
+            "Type": "String",
+            "Description": "Value which can be set or changed on stack update to trigger the resource for replacement with a new random string. The salt value itself is ignored by the random generator."
+        },
+        "character_sequences": {
+            "Type": "CommaDelimitedList",
+            "Description": "A list of character sequences and their constraints to generate the random string from."
+        },
+        "character_classes": {
+            "Default": [
+                {
+                    "class": "lettersdigits",
+                    "min": 1
+                }
+            ],
+            "Type": "CommaDelimitedList",
+            "Description": "A list of character class and their constraints to generate the random string from."
+        },
+        "sequence": {
+            "Type": "String",
+            "Description": "Sequence of characters to build the random string from.",
+            "AllowedValues": [
+                "lettersdigits",
+                "letters",
+                "lowercase",
+                "uppercase",
+                "digits",
+                "hexdigits",
+                "octdigits"
+            ]
+        }
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0046.html b/docs/rts/api-ref/rts_03_0046.html new file mode 100644 index 000000000..0a0b04ef6 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0046.html @@ -0,0 +1,186 @@ + + +

Querying the Type of a Resource

+

Function

This API is used to query the type of a resource.

+
+

URI

GET /v1/{project_id}/resource_types/{type_name}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

type_name

+

String

+

Yes

+

Specifies the resource type name.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

attributes

+

body

+

Dict

+

Specifies the resource feature dictionary.

+

properties

+

body

+

Dict

+

Specifies the resource attributes, including the description and type.

+

resource_type

+

body

+

String

+

Specifies the resource type.

+

support_status

+

body

+

Dict

+

Specifies the current status.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/resource_types/OS%3A%3AHeat%3A%3ARandomString
+
+

Response Example

{
+    "attributes": {
+        "an_attribute": {
+            "description": "A runtime value of the resource."
+        }
+    },
+    "properties": {
+        "a_property": {
+            "constraints": [
+                {
+                    "description": "Must be between 1 and 255 characters",
+                    "length": {
+                        "max": 255,
+                        "min": 1
+                    }
+                }
+            ],
+            "description": "A resource description.",
+            "required": true,
+            "type": "string",
+            "update_allowed": false
+        }
+    },
+    "resource_type": "OS::Heat::AResourceName",
+    "support_status": {
+        "message": "A status message",
+        "status": "SUPPORTED",
+        "version": "2014.1"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0047.html b/docs/rts/api-ref/rts_03_0047.html new file mode 100644 index 000000000..8bec49e97 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0047.html @@ -0,0 +1,123 @@ + + +

Querying Resource Types

+

Function

This API is used to query resource types.

+
+

URI

GET /v1/{project_id}/resource_types

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

resource_types

+

body

+

List <str>

+

Specifies the resource type list.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/resource_types
+
+

Response Example

{
+    "resource_types": [
+        "OS::Nova::Server",
+        "OS::Neutron::Net",
+        "OS::Neutron::Port",
+        "OS::Cinder::VolumeAttachment",
+        "OS::Neutron::RouterInterface",
+        "OS::Neutron::Router"
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0048.html b/docs/rts/api-ref/rts_03_0048.html new file mode 100644 index 000000000..952f967ed --- /dev/null +++ b/docs/rts/api-ref/rts_03_0048.html @@ -0,0 +1,15 @@ + + +

Building Information

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0049.html b/docs/rts/api-ref/rts_03_0049.html new file mode 100644 index 000000000..b2a7862a7 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0049.html @@ -0,0 +1,123 @@ + + +

Querying the Building Information

+

Function

This API is used to query the building information.

+
+

URI

GET /v1/{project_id}/build_info

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

api

+

body

+

Dict

+

Specifies the API information.

+

engine

+

body

+

Dict

+

Specifies the engine information.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/build_info
+
+

Response Example

{
+    "api": {
+        "revision": "{api_build_revision}"
+    },
+    "engine": {
+        "revision": "{engine_build_revision}"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

401

+

Unauthorized

+

Authorization failed.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0050.html b/docs/rts/api-ref/rts_03_0050.html new file mode 100644 index 000000000..15f49f6a4 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0050.html @@ -0,0 +1,33 @@ + + +

Software Configuration Management

+
+
+ + + +
+ diff --git a/docs/rts/api-ref/rts_03_0051.html b/docs/rts/api-ref/rts_03_0051.html new file mode 100644 index 000000000..5bfdb92be --- /dev/null +++ b/docs/rts/api-ref/rts_03_0051.html @@ -0,0 +1,348 @@ + + +

Creating One or More Software Configurations

+

Function

This API is used to create one or more software configurations.

+
+

URI

POST /v1/{project_id}/software_configs

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

name

+

body

+

String

+

No

+

Specifies the name of the software configuration.

+

config

+

body

+

String

+

No

+

Specifies the script used for defining the configuration.

+

group

+

body

+

String

+

No

+

Specifies the name of the software configuration group.

+

inputs

+

body

+

List <dict>

+

No

+

Specifies the software configuration input.

+

outputs

+

body

+

List <dict>

+

No

+

Specifies the software configuration output.

+

options

+

body

+

String

+

No

+

Specifies options used by a software configuration management tool.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_config

+

body

+

Dict

+

Specifies the software configuration information.

+
+
+

software_config structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

inputs

+

body

+

List <dict>

+

Specifies the software configuration input.

+

name

+

body

+

String

+

Specifies the name of the software configuration.

+

outputs

+

body

+

List <dict>

+

Specifies the software configuration output.

+

creation_time

+

body

+

Date Time

+

Specifies the time when the configuration was created.

+

group

+

body

+

String

+

Specifies the name of the software configuration group.

+

config

+

body

+

String

+

Specifies the software configuration code.

+

options

+

body

+

String

+

Specifies the software configuration options.

+

id

+

body

+

String

+

Specifies the software configuration UUID.

+
+
+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/software_configs
+{
+    "inputs": [
+        {
+            "default": null,
+            "type": "String",
+            "name": "foo",
+            "description": null
+        },
+        {
+            "default": null,
+            "type": "String",
+            "name": "bar",
+            "description": null
+        }
+    ],
+    "group": "script",
+    "name": "a-config-we5zpvyu7b5o",
+    "outputs": [
+        {
+            "type": "String",
+            "name": "result",
+            "error_output": false,
+            "description": null
+        }
+    ],
+    "config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
+    "options": null
+}
+
+

Response Example

{
+    "software_config": {
+        "creation_time": "2015-01-31T15:12:36Z",
+        "inputs": [
+            {
+                "default": null,
+                "type": "String",
+                "name": "foo",
+                "description": null
+            },
+            {
+                "default": null,
+                "type": "String",
+                "name": "bar",
+                "description": null
+            }
+        ],
+        "group": "script",
+        "name": "a-config-we5zpvyu7b5o",
+        "outputs": [
+            {
+                "type": "String",
+                "name": "result",
+                "error_output": false,
+                "description": null
+            }
+        ],
+        "options": null,
+        "config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
+        "id": "ddee7aca-aa32-4335-8265-d436b20db4f1"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0052.html b/docs/rts/api-ref/rts_03_0052.html new file mode 100644 index 000000000..08f054576 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0052.html @@ -0,0 +1,226 @@ + + +

Querying Software Configurations

+

Function

This API is used to query the software configurations.

+
+

URI

GET /v1/{project_id}/software_configs

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

limit

+

query

+

String

+

No

+

Specifies the number of returned software configurations.

+

marker

+

query

+

String

+

No

+

Specifies the software configuration from which the next data record starts to be queried.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_configs

+

body

+

List <dict>

+

Specifies the software configuration objects.

+
+
+

software_configs structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

creation_time

+

body

+

String

+

Specifies the creation time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+

group

+

body

+

String

+

Specifies the name of the software configuration group.

+

id

+

body

+

String

+

Specifies the software configuration UUID.

+

name

+

body

+

String

+

Specifies the name of the software configuration.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/software_configs
+
+

Response Example

{
+    "software_configs": [
+        {
+            "group": "script",
+            "name": "a-config-we5zpvyu7b5o",
+            "creation_time": "2015-01-31T15:12:36Z",
+            "id": "ddee7aca-aa32-4335-8265-d436b20db4f1",
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0053.html b/docs/rts/api-ref/rts_03_0053.html new file mode 100644 index 000000000..71a5e2e88 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0053.html @@ -0,0 +1,248 @@ + + +

Querying Details of a Software Configuration

+

Function

This API is used to query details of a software configuration.

+
+

URI

GET /v1/{project_id}/software_configs/{config_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

config_id

+

String

+

Yes

+

Specifies the software configuration UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_config

+

body

+

Dict

+

Specifies the software configuration list.

+
+
+

software_config structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

inputs

+

body

+

List <dict>

+

Specifies the software configuration input.

+

name

+

body

+

String

+

Specifies the name of the software configuration.

+

outputs

+

body

+

List <dict>

+

Specifies the software configuration output.

+

creation_time

+

body

+

Date Time

+

Specifies the time when a configuration is created.

+

group

+

body

+

String

+

Specifies the name of the software configuration group.

+

config

+

body

+

String

+

Specifies the software configuration code.

+

options

+

body

+

String

+

Specifies configuration options.

+

id

+

body

+

String

+

Specifies the software configuration UUID.

+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/software_configs/40p72423093a900a8b7a669768421a6a
+
+

Response Example

{
+    "software_config": {
+        "inputs": [
+            {
+                "default": null,
+                "type": "String",
+                "name": "foo",
+                "description": null
+            },
+            {
+                "default": null,
+                "type": "String",
+                "name": "bar",
+                "description": null
+            }
+        ],
+        "group": "script",
+        "name": "a-config-we5zpvyu7b5o",
+        "outputs": [
+            {
+                "type": "String",
+                "name": "result",
+                "error_output": false,
+                "description": null
+            }
+        ],
+        "creation_time": "2015-01-31T15:12:36Z",
+        "id": "ddee7aca-aa32-4335-8265-d436b20db4f1",
+        "config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
+        "options": null
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0054.html b/docs/rts/api-ref/rts_03_0054.html new file mode 100644 index 000000000..a4c06bf63 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0054.html @@ -0,0 +1,108 @@ + + +

Deleting a Software Configuration

+

Function

This API is used to delete a software configuration.

+
+

URI

DELETE /v1/{project_id}/software_configs/{config_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

config_id

+

String

+

Yes

+

Specifies the software configuration UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

This request does not return any content in the response body.

+
+

Request Example

DELETE /v1/95d02433133a4c0a87ba6967474a2ad3/software_configs/40p72423093a900a8b7a669768421a6a
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

204

+

No Content

+

The RTS service has fulfilled the request by deleting the resource.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0055.html b/docs/rts/api-ref/rts_03_0055.html new file mode 100644 index 000000000..745a5e532 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0055.html @@ -0,0 +1,330 @@ + + +

Creating One or More Software Deployments

+

Function

This API is used to create one or more software deployments.

+
+

URI

POST /v1/{project_id}/software_deployments

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

action

+

body

+

String

+

No

+

Specifies the stack action that triggers this software deployment.

+

config_id

+

body

+

String

+

Yes

+

Specifies the ID of the software configuration running on a server.

+

input_values

+

body

+

Object

+

No

+

Specifies input data stored in the form of a key-value pair.

+

server_id

+

body

+

String

+

Yes

+

Specifies the ID of the server deployed using the software configuration.

+

stack_user_project_id

+

body

+

String

+

No

+

Specifies the ID of the authenticated tenant who can perform operations on the deployment resources.

+

status

+

body

+

String

+

No

+

Specifies the status of software deployments. Valid values include COMPLETE, IN_PROGRESS, and FAILED.

+

status_reason

+

body

+

String

+

No

+

Specifies the cause of the software deployment status.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_deployment

+

body

+

Dict

+

Specifies the software deployment resource object.

+
+
+

software_deployment structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

action

+

body

+

String

+

Specifies the stack action that triggers this software deployment.

+

config_id

+

body

+

String

+

Specifies the ID of the software configuration running on a server.

+

creation_time

+

body

+

String

+

Specifies the creation time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+

id

+

body

+

String

+

Specifies the software deployment UUID.

+

input_values

+

body

+

Object

+

Specifies input data stored in the form of a key-value pair.

+

output_values

+

body

+

Object

+

Specifies output data stored in the form of a key-value pair.

+

server_id

+

body

+

String

+

Specifies the server ID.

+

status

+

body

+

String

+

Specifies the status of software deployments. Valid values include COMPLETE, IN_PROGRESS, and FAILED.

+

status_reason

+

body

+

String

+

Specifies the cause of the software deployment status.

+
+
+
+

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments
+{
+    "status": "IN_PROGRESS",
+    "server_id": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
+    "config_id": "8da95794-2ad9-4979-8ae5-739ce314c5cd",
+    "stack_user_project_id": "c024bfada67845ddb17d2b0c0be8cd79",
+    "action": "CREATE",
+    "status_reason": "Deploy data available"
+}
+
+

Response Example

{
+    "software_deployment": {
+        "status": "IN_PROGRESS",
+        "server_id": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
+        "config_id": "8da95794-2ad9-4979-8ae5-739ce314c5cd",
+        "output_values": null,
+        "input_values": null,
+        "action": "CREATE",
+        "status_reason": "Deploy data available",
+        "id": "ef422fa5-719a-419e-a10c-72e3a367b0b8",
+        "creation_time": "2015-01-31T15:12:36Z"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0056.html b/docs/rts/api-ref/rts_03_0056.html new file mode 100644 index 000000000..7eab9b410 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0056.html @@ -0,0 +1,281 @@ + + +

Querying Software Deployments

+

Function

This API is used to query software deployments.

+
+

URI

GET /v1/{project_id}/software_deployments

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

server_id

+

query

+

String

+

No

+

Specifies the target server ID.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_deployments

+

body

+

List <dict>

+

Specifies the software deployment resource object.

+
+
+

software_deployments structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

action

+

body

+

String

+

Specifies the stack action that triggers this software deployment resource.

+

config_id

+

body

+

String

+

Specifies the ID of the software configuration running on a server.

+

creation_time

+

body

+

String

+

Specifies the creation time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+

id

+

body

+

String

+

Specifies the software deployment UUID.

+

input_values

+

body

+

Object

+

Specifies input data stored in the form of a key-value pair.

+

output_values

+

body

+

Object

+

Specifies output data stored in the form of a key-value pair.

+

server_id

+

body

+

String

+

Specifies the server ID.

+

status

+

body

+

String

+

Specifies the current status of software deployments. Valid values include COMPLETE, IN_PROGRESS, and FAILED.

+

status_reason

+

body

+

String

+

Specifies the cause of the software deployment resource status.

+

updated_time

+

body

+

String

+

Specifies the update time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments
+
+

Response Example

{
+    "software_deployments": [
+        {
+            "status": "COMPLETE",
+            "server_id": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
+            "config_id": "8da95794-2ad9-4979-8ae5-739ce314c5cd",
+            "output_values": {
+                "deploy_stdout": "Writing to /tmp/barmy\nWritten to /tmp/barmy\n",
+                "deploy_stderr": "+ echo Writing to /tmp/barmy\n+ echo fu\n+ cat /tmp/barmy\n+ echo -n The file /tmp/barmy contains fu for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE\n+ echo Written to /tmp/barmy\n+ echo Output to stderr\nOutput to stderr\n",
+                "deploy_status_code": 0,
+                "result": "The file /tmp/barmy contains fu for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE"
+            },
+            "input_values": null,
+            "action": "CREATE",
+            "status_reason": "Outputs received",
+            "id": "ef422fa5-719a-419e-a10c-72e3a367b0b8",
+            "creation_time": "2015-01-31T15:12:36Z",
+            "updated_time": "2015-01-31T15:18:21Z"
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0057.html b/docs/rts/api-ref/rts_03_0057.html new file mode 100644 index 000000000..eb6163f67 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0057.html @@ -0,0 +1,256 @@ + + +

Querying Details of a Software Deployment

+

Function

This API is used to query details of a software deployment.

+
+

URI

GET /v1/{project_id}/software_deployments/{deployment_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

deployment_id

+

String

+

Yes

+

Specifies the software deployment UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_deployment

+

body

+

List <dict>

+

Specifies the software deployment objects.

+
+
+

software_deployment structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

action

+

body

+

String

+

Specifies the stack action that triggers the software deployment.

+

config_id

+

body

+

String

+

Specifies the ID of the software configuration running on a server.

+

creation_time

+

body

+

String

+

Specifies the creation time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+

id

+

body

+

String

+

Specifies the software deployment UUID.

+

input_values

+

body

+

Object

+

Specifies input data stored in the form of a key-value pair.

+

output_values

+

body

+

Object

+

Specifies output data stored in the form of a key-value pair.

+

server_id

+

body

+

String

+

Specifies the server ID.

+

status

+

body

+

String

+

Specifies the current status of software deployments. Valid values include COMPLETE, IN_PROGRESS, and FAILED.

+

status_reason

+

body

+

String

+

Specifies the cause of the software deployment status.

+

updated_time

+

body

+

String

+

Specifies the update time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/3d5ec2a8-7004-43b6-a7f6-542bdbe9d434
+
+

Response Example

{
+    "software_deployment": {
+        "action": "CREATE",
+        "config_id": "619d6e53-e14b-497f-8852-9c2671b07d79",
+        "creation_time": "2018-05-15T08:48:23.500895",
+        "id": "bb51252e-3e80-4be9-8c06-c52a88e87ec8",
+        "input_values": {},
+        "output_values": null,
+        "server_id": "ca839c6d-c038-46b6-b0b8-8ce78e715639",
+        "status": "IN_PROGRESS",
+        "status_reason": "Deploy data available"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0058.html b/docs/rts/api-ref/rts_03_0058.html new file mode 100644 index 000000000..831445b97 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0058.html @@ -0,0 +1,353 @@ + + +

Updating a Software Deployment

+

Function

This API is used to update a software deployment.

+
+

URI

PUT /v1/{project_id}/software_deployments/{deployment_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

deployment_id

+

String

+

Yes

+

Specifies the software deployment UUID.

+
+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Mandatory

+

Description

+

action

+

body

+

String

+

No

+

Specifies the stack action that triggers this software deployment.

+

config_id

+

body

+

String

+

No

+

Specifies the ID of the software configuration running on a server.

+

input_values

+

body

+

Object

+

No

+

Specifies input data stored in the form of a key-value pair.

+

output_values

+

body

+

Object

+

No

+

Specifies output data stored in the form of a key-value pair.

+

status

+

body

+

String

+

No

+

Specifies the status of software deployments. Valid values include COMPLETE, IN_PROGRESS, and FAILED.

+

status_reason

+

body

+

String

+

No

+

Specifies the cause of the software deployment status.

+
+
+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

software_deployment

+

body

+

Dict

+

Specifies the software deployment resource object.

+
+
+

software_deployment structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

action

+

body

+

String

+

Specifies the stack action that triggers this software deployment.

+

config_id

+

body

+

String

+

Specifies the ID of the software configuration running on a server.

+

creation_time

+

body

+

String

+

Specifies the creation time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+

id

+

body

+

String

+

Specifies the software deployment UUID.

+

input_values

+

body

+

Object

+

Specifies input data stored in the form of a key-value pair.

+

output_values

+

body

+

Object

+

Specifies output data stored in the form of a key-value pair.

+

server_id

+

body

+

String

+

Specifies the server ID.

+

status

+

body

+

String

+

Specifies the status of software deployments. Valid values include COMPLETE, IN_PROGRESS, and FAILED.

+

status_reason

+

body

+

String

+

Specifies the cause of the software deployment status.

+

updated_time

+

body

+

String

+

Specifies the update time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+
+
+
+

Request Example

PUT /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/3d5ec2a8-7004-43b6-a7f6-542bdbe9d434
+{
+    "status": "COMPLETE",
+    "output_values": {
+        "deploy_stdout": "Writing to /tmp/baaaaa\nWritten to /tmp/baaaaa\n",
+        "deploy_stderr": "+ echo Writing to /tmp/baaaaa\n+ echo fooooo\n+ cat /tmp/baaaaa\n+ echo -n The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE\n+ echo Written to /tmp/baaaaa\n+ echo Output to stderr\nOutput to stderr\n",
+        "deploy_status_code": 0,
+        "result": "The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE"
+    },
+    "status_reason": "Outputs received"
+}
+
+

Response Example

{
+    "software_deployment": {
+        "status": "COMPLETE",
+        "server_id": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
+        "config_id": "3d5ec2a8-7004-43b6-a7f6-542bdbe9d434",
+        "output_values": {
+            "deploy_stdout": "Writing to /tmp/baaaaa\nWritten to /tmp/baaaaa\n",
+            "deploy_stderr": "+ echo Writing to /tmp/baaaaa\n+ echo fooooo\n+ cat /tmp/baaaaa\n+ echo -n The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE\n+ echo Written to /tmp/baaaaa\n+ echo Output to stderr\nOutput to stderr\n",
+            "deploy_status_code": 0,
+            "result": "The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE"
+        },
+        "input_values": null,
+        "action": "CREATE",
+        "status_reason": "Outputs received",
+        "id": "06e87bcc-33a2-4bce-aebd-533e698282d3",
+        "creation_time": "2015-01-31T15:12:36Z",
+        "updated_time": "2015-01-31T15:18:21Z"
+    }
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0059.html b/docs/rts/api-ref/rts_03_0059.html new file mode 100644 index 000000000..41b607160 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0059.html @@ -0,0 +1,115 @@ + + +

Deleting a Software Deployment

+

Function

This API is used to delete a software deployment.

+
+

URI

DELETE /v1/{project_id}/software_deployments/{deployment_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

deployment_id

+

String

+

Yes

+

Specifies the software deployment UUID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

This request does not return any content in the response body.

+
+

Request Example

DELETE /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/80p72409093a9005bb7a6698c85a1b61
+
+

Response Example

None

+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

204

+

No Content

+

The RTS service has fulfilled the request by deleting the resource.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0060.html b/docs/rts/api-ref/rts_03_0060.html new file mode 100644 index 000000000..2eb6eacdc --- /dev/null +++ b/docs/rts/api-ref/rts_03_0060.html @@ -0,0 +1,364 @@ + + +

Viewing Metadata Configured on a Server

+

Function

This API is used to view the metadata configured on a server.

+
+

URI

GET /v1/{project_id}/software_deployments/metadata/{server_id}

+

For details about the parameters, see Table 1.

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

project_id

+

String

+

Yes

+

Specifies the project ID.

+

server_id

+

String

+

Yes

+

Specifies the target server ID.

+
+
+
+

Request Parameter

N/A

+
+

Response Parameter

+
+ + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

metadata

+

body

+

List <dict>

+

Specifies the software deployment metadata.

+
+
+

metadata structure information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

+

In

+

Type

+

Description

+

config

+

body

+

String

+

Specifies the configuration script or list.

+

creation_time

+

body

+

String

+

Specifies the creation time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+

group

+

body

+

String

+

Specifies the name of the software configuration group.

+

id

+

body

+

String

+

Specifies the software configuration UUID.

+

inputs

+

body

+

List <dict>

+

Specifies the software configuration input.

+

name

+

body

+

String

+

Specifies the name of the software configuration.

+

options

+

body

+

String

+

Contains mapping for the options of the software management tool that this resource uses.

+

outputs

+

body

+

List <dict>

+

Specifies the software configuration output.

+

updated_time

+

body

+

String

+

Specifies the update time. The timestamp uses the ISO 8601 format:

+
CCYY-MM-DDThh:mm:ss±hh:mm
+
+
+
+

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/metadata/6a5eca38-6a04-4b26-6af5-543cdbd3d5e4
+
+

Response Example

{
+    "metadata": [
+        {
+            "inputs": [
+                {
+                    "default": null,
+                    "type": "String",
+                    "name": "foo",
+                    "value": "fooooo",
+                    "description": null
+                },
+                {
+                    "default": null,
+                    "type": "String",
+                    "name": "bar",
+                    "value": "baaaaa",
+                    "description": null
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_server_id",
+                    "value": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
+                    "description": "ID of the server being deployed to"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_action",
+                    "value": "CREATE",
+                    "description": "Name of the current action being deployed"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_stack_id",
+                    "value": "a/9bd57090-8954-48ab-bab9-adf9e1ac70fc",
+                    "description": "ID of the stack this deployment belongs to"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_resource_name",
+                    "value": "deployment",
+                    "description": "Name of this deployment resource in the stack"
+                 },
+                {
+                    "type": "String",
+                    "name": "deploy_signal_id",
+                    "value": "http://x.x.x.x:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ae2a84fbdaeb047ae8da4b503f3b69f1f%3Astacks%2Fa%2F9bd57090-8954-48ab-bab9-adf9e1ac70fc%2Fresources%2Fdeployment?Timestamp=2014-03-19T20%3A30%3A59Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=ca3571413e4a49998d580215517b3685&SignatureVersion=2&Signature=w6Iu%2BNbg86mqwSOUf1GLuKPO7KaD82PiGpL4ig9Q1l4%3D",
+                    "description": "ID of signal to use for signalling output values"
+                }
+            ],
+            "group": "script",
+            "name": "a-config-we5zpvyu7b5o",
+            "outputs": [
+                {
+                    "type": "String",
+                    "name": "result",
+                    "error_output": false,
+                    "description": null
+                }
+            ],
+            "options": null,
+            "creation_time": "2015-01-31T15:12:36Z",
+            "updated_time": "2015-01-31T15:18:21Z",
+            "config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
+            "id": "3d5ec2a8-7004-43b6-a7f6-542bdbe9d434"
+        },
+        {
+            "inputs": [
+                {
+                    "default": null,
+                    "type": "String",
+                    "name": "foo",
+                    "value": "fu",
+                    "description": null
+                },
+                {
+                    "default": null,
+                    "type": "String",
+                    "name": "bar",
+                    "value": "barmy",
+                    "description": null
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_server_id",
+                    "value": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
+                    "description": "ID of the server being deployed to"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_action",
+                    "value": "CREATE",
+                    "description": "Name of the current action being deployed"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_stack_id",
+                    "value": "a/9bd57090-8954-48ab-bab9-adf9e1ac70fc",
+                    "description": "ID of the stack this deployment belongs to"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_resource_name",
+                    "value": "other_deployment",
+                    "description": "Name of this deployment resource in the stack"
+                },
+                {
+                    "type": "String",
+                    "name": "deploy_signal_id",
+                    "value": "http://x.x.x.x:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ae2a84fbdaeb047ae8da4b503f3b69f1f%3Astacks%2Fa%2F9bd57090-8954-48ab-bab9-adf9e1ac70fc%2Fresources%2Fother_deployment?Timestamp=2014-03-19T20%3A30%3A59Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=7b761482f8254946bcd3d5ccb36fe939&SignatureVersion=2&Signature=giMfv%2BhrAw6y%2FCMKQIQz2IhO5PkAj5%2BfP5YsL6rul3o%3D",
+                    "description": "ID of signal to use for signalling output values"
+                }
+            ],
+            "group": "script",
+            "name": "a-config-we5zpvyu7b5o",
+            "outputs": [
+                {
+                    "type": "String",
+                    "name": "result",
+                    "error_output": false,
+                    "description": null
+                }
+            ],
+            "options": null,
+            "creation_time": "2015-01-31T16:14:13Z",
+            "updated_time": "2015-01-31T16:18:19Z",
+            "config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
+            "id": "8da95794-2ad9-4979-8ae5-739ce314c5cd"
+        }
+    ]
+}
+
+

Return Code

+
+ + + + + + + + + +
Table 2 Normal return code

Return Code

+

Type

+

Description

+

200

+

OK

+

Request was successful.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Error return code

Return Code

+

Type

+

Description

+

400

+

Bad Request

+

The server failed to process the request.

+

401

+

Unauthorized

+

Authorization failed.

+

404

+

Not found

+

The requested resources are not found.

+

500

+

Internal Server Error

+

Failed to complete the request because of an internal service error.

+
+
+
+
+
+ +
+ diff --git a/docs/rts/api-ref/rts_03_0062.html b/docs/rts/api-ref/rts_03_0062.html new file mode 100644 index 000000000..99db9b253 --- /dev/null +++ b/docs/rts/api-ref/rts_03_0062.html @@ -0,0 +1,19 @@ + + +

Resource Type Management

+
+
+ + + +
+