| object | | |
Status | string | The state of the stack. Valid values:
- CREATE_IN_PROGRESS: The stack is being created.
- CREATE_FAILED: The stack failed to be created.
- CREATE_COMPLETE: The stack is created.
- UPDATE_IN_PROGRESS: The stack is being updated.
- UPDATE_FAILED: The stack failed to be updated.
- UPDATE_COMPLETE: The stack is updated.
- DELETE_IN_PROGRESS: The stack is being deleted.
- DELETE_FAILED: The stack failed to be deleted.
- CREATE_ROLLBACK_IN_PROGRESS: The resources are being rolled back after the stack failed to be created.
- CREATE_ROLLBACK_FAILED: The resources failed to be rolled back after the stack failed to be created.
- CREATE_ROLLBACK_COMPLETE: The resources are rolled back after the stack failed to be created.
- ROLLBACK_IN_PROGRESS: The resources of the stack are being rolled back.
- ROLLBACK_FAILED: The resources of the stack failed to be rolled back.
- ROLLBACK_COMPLETE: The resources of the stack are rolled back.
- CHECK_IN_PROGRESS: The stack is being validated.
- CHECK_FAILED: The stack failed to be validated.
- CHECK_COMPLETE: The stack is validated.
- REVIEW_IN_PROGRESS: The stack is being reviewed.
- IMPORT_CREATE_IN_PROGRESS: The stack is being created by using imported resources.
- IMPORT_CREATE_FAILED: The stack failed to be created by using imported resources.
- IMPORT_CREATE_COMPLETE: The stack is created by using imported resources.
- IMPORT_CREATE_ROLLBACK_IN_PROGRESS: The resources are being rolled back after the stack failed to be created by using imported resources.
- IMPORT_CREATE_ROLLBACK_FAILED: The resources failed to be rolled back after the stack failed to be created by using imported resources.
- IMPORT_CREATE_ROLLBACK_COMPLETE: The resources are rolled back after the stack failed to be created by using imported resources.
- IMPORT_UPDATE_IN_PROGRESS: The stack is being updated by using imported resources.
- IMPORT_UPDATE_FAILED: The stack failed to be updated by using imported resources.
- IMPORT_UPDATE_COMPLETE: The stack is updated by using imported resources.
- IMPORT_UPDATE_ROLLBACK_IN_PROGRESS: The resources are being rolled back after the stack failed to be updated by using imported resources.
- IMPORT_UPDATE_ROLLBACK_FAILED: The resources failed to be rolled back after the stack failed to be updated by using imported resources.
- IMPORT_UPDATE_ROLLBACK_COMPLETE: The resources are rolled back after the stack failed to be updated by using imported resources.
| CREATE_COMPLETE |
Description | string | The description of the stack. | Create a VPC. |
Parameters | array<object> | The parameters of the stack. | |
| object | | |
ParameterKey | string | | ALIYUN::Region |
ParameterValue | string | | cn-hangzhou |
RequestId | string | | B288A0BE-D927-4888-B0F7-B35EF84B6E6F |
StatusReason | string | The reason why the stack is in its current state. | Stack CREATE completed successfully |
ParentStackId | string | The ID of the parent stack. | 4a6c9851-3b0f-4f5f-b4ca-a14bf692**** |
CreateTime | string | The time when the stack was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC. | 2020-09-16T08:21:40 |
DeletionProtection | string | Indicates whether deletion protection is enabled for the stack. Valid values:
- Enabled: Deletion protection is enabled for the stack.
- Disabled: Deletion protection is disabled for the stack. You can delete the stack by using the ROS console or by calling the DeleteStack operation.
Note
Deletion protection of a nested stack is the same as deletion protection of its root stack.
| Disabled |
RootStackId | string | The ID of the root stack. This parameter is returned if the specified stack is a nested stack. | 4a6c9851-3b0f-4f5f-b4ca-a14bf692**** |
TemplateDescription | string | The description of the template. | Create a VPC. |
StackType | string | The stack type. Valid values:
- ROS: ROS stack. The stack is created by using a ROS template.
- Terraform: Terraform stack. The stack is created by using a Terraform template.
| ROS |
RamRoleName | string | The name of the Resource Access Management (RAM) role. ROS assumes the RAM role to create the stack and uses the credentials of the role to call the APIs of Alibaba Cloud services.
ROS assumes the RAM role to perform operations on the stack. If you have permissions to perform operations on the stack, ROS assumes the RAM role even if you do not have permissions to use the RAM role. You must make sure that permissions are granted to the RAM role based on the principle of least privilege.
If this parameter is not specified, ROS uses the existing role that is associated with the stack. If no roles are available, ROS uses a temporary credential that is generated from the credentials of your account.
The RAM role name can be up to 64 characters in length. | test-role |
UpdateTime | string | The time when the stack was updated. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC. | 2020-09-17T08:21:40 |
Outputs | array<object> | The outputs of the stack. | |
| object | The output of the stack.
Note
This parameter is returned if OutputOption is set to Enabled.
| [{"Description": "VPC ID","OutputKey": "VpcId","OutputValue": "vpc-bp1m6fww66xbntjyc****"}] |
DriftDetectionTime | string | The time when the most recent successful drift detection was performed on the stack. | 2020-09-16T09:21:40 |
RegionId | string | The region ID of the stack. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
StackDriftStatus | string | The state of the stack on which the most recent successful drift detection was performed. Valid values:
- DRIFTED: The stack has drifted.
- NOT_CHECKED: No successful drift detection is performed on the stack.
- IN_SYNC: The stack is being synchronized.
| IN_SYNC |
NotificationURLs | array | The callback URLs for receiving stack events. | |
| string | The callback URL for receiving stack events. | ["http://127.XX.XX.1:8080/x", "http://127.0.XX.XX:8080/y"] |
DisableRollback | boolean | Indicates whether rollback is disabled when the stack fails to be created. Valid values:
| false |
StackName | string | The stack name.
The name can be up to 255 characters in length, and can contain digits, letters, hyphens (-), and underscores (_). The name must start with a digit or letter. | MyStack |
Tags | array<object> | | |
| object | | |
Key | string | The tag key of the stack. | usage |
Value | string | The tag value of the stack. | test |
TimeoutInMinutes | integer | The timeout period for creating the stack. Unit: minutes. | 10 |
StackId | string | | c754d2a4-28f1-46df-b557-9586173a**** |
ResourceGroupId | string | The ID of the resource group. | rg-acfmxazb4ph6aiy**** |
ResourceProgress | object | The resource creation progress. | |
TotalResourceCount | integer | The total number of resources.
Note
This parameter is returned only if ShowResourceProgress is set to EnabledIfCreateStack .
| 2 |
SuccessResourceCount | integer | The number of resources that are created.
Note
This parameter is returned only if ShowResourceProgress is set to EnabledIfCreateStack .
| 1 |
FailedResourceCount | integer | The number of resources that failed to be created.
Note
This parameter is returned only if ShowResourceProgress is set to EnabledIfCreateStack .
| 0 |
InProgressResourceCount | integer | The number of resources that are being created.
Note
This parameter is returned only if ShowResourceProgress is set to EnabledIfCreateStack .
| 1 |
PendingResourceCount | integer | The number of resources to be created.
Note
This parameter is returned only if ShowResourceProgress is set to EnabledIfCreateStack .
| 0 |
InProgressResourceDetails | array<object> | The progress details of resources that are being created.
Note
This parameter is returned only if ShowResourceProgress is set to EnabledIfCreateStack .
| |
| object | | |
ResourceName | string | | WaitCondition |
ResourceType | string | | ALIYUN::ROS::WaitCondition |
ProgressValue | float | The current progress value of the resource. | 5 |
ProgressTargetValue | float | The desired progress value of the resource. | 10 |
StackOperationProgress | float | The overall creation progress of the stack, in percentage. Valid values: 0 to 100.
The value progressively increases from 0 to 100 during a stack creation operation. If the stack is created, the value reaches 100. If the stack fails to be created, a rollback is started for the stack resources, and the value progressively decreases. The value decreases to 0 when the stack resources are rolled back. This parameter indicates only the overall creation progress, regardless of whether during a stack creation or rollback operation.
Note
This parameter is returned only if ShowResourceProgress is set to PercentageOnly .
| 100 |
StackActionProgress | float | The creation or rollback progress of the stack, in percentage. Valid values: 0 to 100.
The value progressively increases from 0 to 100 during a stack creation operation. If the stack is created, the value reaches 100. If the stack fails to be created, a rollback is started for the stack resources, and the value progressively increases from the percentage of the remaining progress (100 - Progress value generated when the stack fails to be created). The value increases to 100 when the stack resources are rolled back. This parameter indicates the creation progress during a stack creation operation and indicates the rollback progress during a stack rollback operation.
Note
This parameter is returned only if ShowResourceProgress is set to PercentageOnly .
| 100 |
Log | object | | |
TerraformLogs | array<object> | The logs generated when the Terraform stack is run. This parameter is returned only for a Terraform stack. This parameter is returned if LogOption is left empty or set to Stack or All.
Note
This parameter is not returned for a running stack. The logs are generated from the most recent operation on the stack, such as the creation, resumed creation, update, or deletion operation.
| |
| object | | |
Command | string | The name of the Terraform command that is run. Valid values:
- apply
- plan
- destroy
- version
For more information about Terraform commands, see Basic CLI Features. | apply |
Stream | string | The output stream. Valid values:
- stdout: standard output stream
- stderr: standard error stream
| stdout |
Content | string | The content of the output stream that is returned after the command is run. | Apply complete! Resources: 42 added, 0 changed, 0 destroyed. |
ResourceLogs | array<object> | The logs of resources in the stack. This parameter is returned if LogOption is set to Resource or All.
Note
The logs are returned only for resources of specific types, such as the ALIYUN::ROS::ResourceCleaner type.
| |
| object | | |
ResourceName | string | The name of the resource that is defined in the template. | MyResourceCleaner |
Logs | array<object> | All the logs that are associated with the resources. | |
| object | | |
Keys | array | The keywords of a resource log. | |
| string | The keyword of a resource log. | ResourceDetails |
Content | string | The content of a resource log. | [] |
TemplateId | string | The template ID. This parameter is returned only if the current stack template is a custom template or shared template.
If the template is a shared template, the value of this parameter is the same as the value of TemplateARN. | a52f81be-496f-4e1c-a286-8852ab54**** |
TemplateVersion | string | The version of the template. This parameter is returned only if the current stack template is a custom template or shared template.
If the template is a shared template, this parameter is returned only if VersionOption is set to AllVersions.
Valid values: v1 to v100. | v1 |
TemplateScratchId | string | The ID of the resource scenario. This parameter is returned only if the current template of the stack is generated from a resource scenario. | ts-7f7a704cf71c49a6**** |
TemplateURL | string | The URL of the file that contains the template body. This parameter is returned only if the current template of the stack is from a URL. The URL can point to a template that is located on an HTTP or HTTPS web server or in an Object Storage Service (OSS) bucket. | oss://ros/template/demo |
Interface | string | The description of the console user interface (UI). | {} |
ServiceManaged | boolean | Indicates whether the stack is a managed stack. Valid values:
| false |
ServiceName | string | The name of the service to which the managed stack belongs. | ACVS |
OperationInfo | object | The supplementary information that is returned if an error occurs on a stack operation.
Note
This parameter is returned together with at least one sub-parameter and only under specific conditions. For example, the supplementary information is returned when an API operation of another Alibaba Cloud service fails to be called.
| |
Code | string | | DependencyViolation |
Message | string | | There is still instance(s) in the specified security group. |
RequestId | string | The ID of the request that is initiated to call the API operation of another Alibaba Cloud service. | 071D6166-3F6B-5C7B-A1F0-0113FBB643A8 |
Action | string | The name of the API operation that belongs to another Alibaba Cloud service. | DeleteSecurityGroup |
ResourceType | string | The type of the resource on which the operation error occurs. | ALIYUN::ECS::SecurityGroup |
LogicalResourceId | string | The logical ID of the resource on which the operation error occurs. | EcsSecurityGroup |
OrderIds | array | The order IDs. This parameter is returned only if you configured manual payment when you created a subscription stack. | |
| string | | 2161413696**** |
CheckedStackResourceCount | integer | The number of resources on which drift detection was performed.
Note
This parameter is returned only if the most recent drift detection on the stack was successful.
| 1 |
NotCheckedStackResourceCount | integer | The number of resources on which drift detection was not performed.
Note
This parameter is returned only if the most recent drift detection on the stack was successful.
| 1 |