Skip to content

Commit

Permalink
docs: Improves description for ccapi.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenHanZhang committed Jan 9, 2025
1 parent 253f911 commit 3d4c094
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/docs/r/cloud_control_resource.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ resource "alicloud_cloud_control_resource" "default" {
## Argument Reference

The following arguments are supported:
* `desire_attributes` - (Optional, JsonString) Resource attributes specified when users create and update resources
* `product` - (Required, ForceNew) Products
* `resource_code` - (Required, ForceNew) Resource Code, if there is a parent resource, split with::, such as VPC::VSwitch.
* `resource_id` - (Optional, ForceNew) If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to split them.
* `desire_attributes` - (Optional, JsonString) Resource attributes specified when a user creates or updates a resource.
* `product` - (Required, ForceNew) The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
* `resource_code` - (Required, ForceNew) Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
* `resource_id` - If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.

## Attributes Reference

The following attributes are exported:
* `id` - The ID of the resource supplied above.The value is formulated as `<product>:<resource_code>:<resource_id>`.
* `resource_attributes` - Resource Attribute Collection
* `resource_attributes` - The collection of properties for the resource.

## Timeouts

Expand Down

0 comments on commit 3d4c094

Please sign in to comment.