-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Afrin Katageri
committed
Dec 19, 2024
1 parent
6004269
commit 27dc329
Showing
2 changed files
with
81 additions
and
75 deletions.
There are no files selected for viewing
74 changes: 37 additions & 37 deletions
74
website/docs/d/cloud_shell_account_settings.html.markdown
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 |
---|---|---|
@@ -1,58 +1,58 @@ | ||
--- | ||
layout: "ibm" | ||
page_title: "IBM : cloud_shell_account_settings" | ||
page_title: "IBM : ibm_cloud_shell_account_settings" | ||
description: |- | ||
Get information about cloud_shell_account_settings | ||
subcategory: "IBM Cloud Shell" | ||
--- | ||
|
||
# ibm_cloud_shell_account_settings | ||
|
||
Provides a read-only data source for cloud_shell_account_settings. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. | ||
Provides a read-only data source to retrieve information about cloud_shell_account_settings. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax. | ||
|
||
## Example usage | ||
## Example Usage | ||
|
||
```terraform | ||
data "cloud_shell_account_settings" "cloud_shell_account_settings" { | ||
account_id = "account_id" | ||
```hcl | ||
data "ibm_cloud_shell_account_settings" "cloud_shell_account_settings" { | ||
account_id = ibm_cloud_shell_account_settings.cloud_shell_account_settings_instance.account_id | ||
} | ||
``` | ||
|
||
## Argument reference | ||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
You can specify the following arguments for this data source. | ||
|
||
* `account_id` - (Required, string) The account ID in which the account settings belong to. | ||
* `account_id` - (Required, Forces new resource, String) The account ID in which the account settings belong to. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9-]*$/`. | ||
|
||
## Attribute reference | ||
## Attribute Reference | ||
|
||
In addition to all arguments above, the following attributes are exported: | ||
After your data source is created, you can read values from the following attributes. | ||
|
||
* `id` - The unique identifier of the cloud_shell_account_settings. | ||
|
||
* `rev` - Unique revision number for the settings object. | ||
|
||
* `created_at` - Creation timestamp in Unix epoch time. | ||
|
||
* `created_by` - IAM ID of creator. | ||
|
||
* `default_enable_new_features` - You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. | ||
|
||
* `default_enable_new_regions` - Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. | ||
|
||
* `enabled` - When enabled, Cloud Shell is available to all users in the account. | ||
|
||
* `features` - List of Cloud Shell features. Nested `features` blocks have the following structure: | ||
* `enabled` - State of the feature. | ||
* `key` - Name of the feature. | ||
|
||
* `regions` - List of Cloud Shell region settings. Nested `regions` blocks have the following structure: | ||
* `enabled` - State of the region. | ||
* `key` - Name of the region. | ||
|
||
* `type` - Type of api response object. | ||
|
||
* `updated_at` - Timestamp of last update in Unix epoch time. | ||
|
||
* `updated_by` - IAM ID of last updater. | ||
* `created_at` - (Integer) Creation timestamp in Unix epoch time. | ||
* `created_by` - (String) IAM ID of creator. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9-]*$/`. | ||
* `default_enable_new_features` - (Boolean) You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. | ||
* `default_enable_new_regions` - (Boolean) Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. | ||
* `enabled` - (Boolean) When enabled, Cloud Shell is available to all users in the account. | ||
* `features` - (List) List of Cloud Shell features. | ||
* Constraints: The maximum length is `2` items. The minimum length is `0` items. | ||
Nested schema for **features**: | ||
* `enabled` - (Boolean) State of the feature. | ||
* `key` - (String) Name of the feature. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9_.]*$/`. | ||
* `regions` - (List) List of Cloud Shell region settings. | ||
* Constraints: The maximum length is `3` items. The minimum length is `0` items. | ||
Nested schema for **regions**: | ||
* `enabled` - (Boolean) State of the region. | ||
* `key` - (String) Name of the region. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z-]*$/`. | ||
* `rev` - (String) Unique revision number for the settings object. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9-]*$/`. | ||
* `type` - (String) Type of api response object. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-z_]*$/`. | ||
* `updated_at` - (Integer) Timestamp of last update in Unix epoch time. | ||
* `updated_by` - (String) IAM ID of last updater. | ||
* Constraints: The maximum length is `100` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9-]*$/`. | ||
|
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