-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Outscale Bot <[email protected]>
- Loading branch information
1 parent
53f2417
commit 597c687
Showing
54 changed files
with
915 additions
and
52 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
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,53 @@ | ||
--- | ||
layout: "outscale" | ||
page_title: "OUTSCALE: outscale_entities_linked_to_policy" | ||
sidebar_current: "outscale-entities-linked-to-policy" | ||
description: |- | ||
[Provides information about entities (account, users, or user groups) linked to a specific managed policy.] | ||
--- | ||
|
||
# outscale_entities_linked_to_policy Data Source | ||
|
||
Provides information about entities (account, users, or user groups) linked to a specific managed policy. | ||
|
||
For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Policies.html). | ||
For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api.html#readentitieslinkedtopolicy). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "outscale_entities_linked_to_policy" "entities_linked_policy01" { | ||
policy_orn = "orn:ows:idauth::012345678910:policy/example/example-policy" | ||
entities_type = ["USER","GROUP","ACCOUNT"] | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `entities_type` - (Optional) The type of entity linked to the policy (`ACCOUNT` \| `USER` \| `GROUP`) you want to get information about. | ||
* `first_item` - (Optional) The item starting the list of entities requested. | ||
* `policy_orn` - (Optional) The OUTSCALE Resource Name (ORN) of the policy. For more information, see [Resource Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html). | ||
* `results_per_page` - (Optional) The maximum number of items that can be returned in a single response (by default, 100). | ||
|
||
## Attribute Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `accounts` - TODO_ARRAY | ||
* `id` - The ID of the entity. | ||
* `name` - The name of the entity. | ||
* `orn` - The OUTSCALE Resource Name (ORN) of the entity. For more information, see [Resource Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html). | ||
* `groups` - TODO_ARRAY | ||
* `id` - The ID of the entity. | ||
* `name` - The name of the entity. | ||
* `orn` - The OUTSCALE Resource Name (ORN) of the entity. For more information, see [Resource Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html). | ||
* `has_more_items` - If true, there are more items to return using the `first_item` parameter in a new request. | ||
* `items_count` - The number of entities the specified policy is linked to. | ||
* `max_results_limit` - Indicates maximum results defined for the operation. | ||
* `max_results_truncated` - If true, indicates whether requested page size is more than allowed. | ||
* `users` - TODO_ARRAY | ||
* `id` - The ID of the entity. | ||
* `name` - The name of the entity. | ||
* `orn` - The OUTSCALE Resource Name (ORN) of the entity. For more information, see [Resource Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html). |
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
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
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,63 @@ | ||
--- | ||
layout: "outscale" | ||
page_title: "OUTSCALE: outscale_policies" | ||
sidebar_current: "outscale-policies" | ||
description: |- | ||
[Provides information about NOT_FOUND.] | ||
--- | ||
|
||
# outscale_policies Data Source | ||
|
||
Provides information about NOT_FOUND. | ||
|
||
For more information on this resource, see the [User Guide](NOT_FOUND). | ||
For more information on this resource actions, see the [API documentation](NOT_FOUND). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "outscale_policies" "user_policies" { | ||
filter { | ||
name = "only_linked" | ||
values = [true] | ||
} | ||
filter { | ||
name = "path_prefix" | ||
values = ["/"] | ||
} | ||
filter { | ||
name = "scope" | ||
values = ["LOCAL"] | ||
} | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `filters` - One or more filters. | ||
* `only_linked` - (Optional) If set to true, lists only the policies attached to a user. | ||
* `path_prefix` - (Optional) The path prefix you can use to filter the results. If not specified, it is set to a slash (`/`). | ||
* `scope` - (Optional) The scope to filter policies (`OWS` \| `LOCAL`). | ||
* `first_item` - (Optional) The item starting the list of policies requested. | ||
* `results_per_page` - (Optional) The maximum number of items that can be returned in a single response (by default, `100`). | ||
|
||
## Attribute Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `has_more_items` - If true, there are more items to return using the `first_item` parameter in a new request. | ||
* `max_results_limit` - Indicates maximum results defined for the operation. | ||
* `max_results_truncated` - If true, indicates whether requested page size is more than allowed. | ||
* `policies` - Information about one or more policies. | ||
* `creation_date` - The date and time (UTC) at which the policy was created. | ||
* `description` - A friendly name for the policy (between 0 and 1000 characters). | ||
* `is_linkable` - Indicates whether the policy can be linked to a group or an EIM user. | ||
* `last_modification_date` - The date and time (UTC) at which the policy was last modified. | ||
* `orn` - The OUTSCALE Resource Name (ORN) of the policy. For more information, see [Resource Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html). | ||
* `path` - The path to the policy. | ||
* `policy_default_version_id` - The ID of the policy default version. | ||
* `policy_id` - The ID of the policy. | ||
* `policy_name` - The name of the policy. | ||
* `resources_count` - The number of resources attached to the policy. |
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,45 @@ | ||
--- | ||
layout: "outscale" | ||
page_title: "OUTSCALE: outscale_policies_linked_to_user" | ||
sidebar_current: "outscale-policies-linked-to-user" | ||
description: |- | ||
[Provides information about a link policy to user.] | ||
--- | ||
|
||
# outscale_policies_linked_to_user Data Source | ||
|
||
Provides information about a link policy to user. | ||
|
||
For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Policies.html). | ||
For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api.html#readlinkedpolicies). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "outscale_policies_linked_to_user" "linked_policy01" { | ||
user_name = "user_name" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `filters` - One or more filters. | ||
* `path_prefix` - (Optional) The path prefix of the policies. If not specified, it is set to a slash (`/`). | ||
* `first_item` - (Optional) The item starting the list of policies requested. | ||
* `results_per_page` - (Optional) The maximum number of items that can be returned in a single response (by default, `100`). | ||
* `user_name` - (Required) The name of the user the policies are linked to. | ||
|
||
## Attribute Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `creation_date` - The date and time (UTC) at which the linked policy was created. | ||
* `has_more_items` - If true, there are more items to return using the `first_item` parameter in a new request. | ||
* `last_modification_date` - The date and time (UTC) at which the linked policy was last modified. | ||
* `max_results_limit` - Indicates maximum results defined for the operation. | ||
* `max_results_truncated` - If true, indicates whether requested page size is more than allowed. | ||
* `orn` - The OUTSCALE Resource Name (ORN) of the policy. For more information, see [Resource Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html). | ||
* `policy_id` - The ID of the policy. | ||
* `policy_name` - The name of the policy. |
Oops, something went wrong.