-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: zhengbo <zhengb@guance.com>
- Loading branch information
Showing
118 changed files
with
1,834 additions
and
11,521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,5 @@ dist/ | |
.idea/ | ||
.vscode/ | ||
|
||
# Environment | ||
.env* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "guance_permissions Data Source - guance" | ||
subcategory: "" | ||
description: |- | ||
A role permission is defined to grant a user permission to perform a specific action on a specific resource. | ||
Guance Cloud supports a number of different role permissions, and you can create new roles for users and assign permission scopes to roles to meet the permission needs of your organization. | ||
Example Usage | ||
```terraform | ||
data "guance_permissions" "demo" { | ||
} | ||
output "permissions" { | ||
value = data.guance_permissions.demo | ||
} | ||
``` | ||
--- | ||
|
||
# guance_permissions (Data Source) | ||
|
||
A role permission is defined to grant a user permission to perform a specific action on a specific resource. | ||
|
||
Guance Cloud supports a number of different role permissions, and you can create new roles for users and assign permission scopes to roles to meet the permission needs of your organization. | ||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "guance_permissions" "demo" { | ||
} | ||
output "permissions" { | ||
value = data.guance_permissions.demo | ||
} | ||
``` | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `is_support_custom_role` (Boolean) Filter the permission list that supports custom role. | ||
|
||
### Read-Only | ||
|
||
- `permissions` (Attributes List) The list of the permissions. (see [below for nested schema](#nestedatt--permissions)) | ||
|
||
<a id="nestedatt--permissions"></a> | ||
### Nested Schema for `permissions` | ||
|
||
Read-Only: | ||
|
||
- `desc` (String) The description of the permission. | ||
- `disabled` (Number) The disabled status of the permission. | ||
- `is_support_custom_role` (Number) Whether support custom role. | ||
- `is_support_general` (Number) Whether support general. | ||
- `is_support_owner` (Number) Whether support owner. | ||
- `is_support_read_only` (Number) Whether support readonly. | ||
- `is_support_ws_admin` (Number) Whether support WsAdmin. | ||
- `key` (String) The key of the permission. | ||
- `name` (String) The name of the permission. | ||
- `subs` (Attributes List) The list of the sub permissions. (see [below for nested schema](#nestedatt--permissions--subs)) | ||
|
||
<a id="nestedatt--permissions--subs"></a> | ||
### Nested Schema for `permissions.subs` | ||
|
||
Read-Only: | ||
|
||
- `desc` (String) The description of the permission. | ||
- `disabled` (Number) The disabled status of the permission. | ||
- `is_support_custom_role` (Number) Whether support custom role. | ||
- `is_support_general` (Number) Whether support general. | ||
- `is_support_owner` (Number) Whether support owner. | ||
- `is_support_read_only` (Number) Whether support readonly. | ||
- `is_support_ws_admin` (Number) Whether support WsAdmin. | ||
- `key` (String) The key of the permission. | ||
- `name` (String) The name of the permission. | ||
|
||
|
Oops, something went wrong.