ibm.CloudShellAccountSettings
Explore with Pulumi AI
Create, update, and delete cloud_shell_account_settingss with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cloudShellAccountSettings = new ibm.CloudShellAccountSettings("cloudShellAccountSettings", {
accountId: "12345678-abcd-1a2b-a1b2-1234567890ab",
defaultEnableNewFeatures: true,
defaultEnableNewRegions: true,
enabled: true,
features: [
{
enabled: true,
key: "server.file_manager",
},
{
enabled: true,
key: "server.web_preview",
},
],
regions: [
{
enabled: true,
key: "eu-de",
},
{
enabled: true,
key: "us-south",
},
],
rev: "130-1bc9ec83d7b9b049890c6d4b74dddb2a",
});
import pulumi
import pulumi_ibm as ibm
cloud_shell_account_settings = ibm.CloudShellAccountSettings("cloudShellAccountSettings",
account_id="12345678-abcd-1a2b-a1b2-1234567890ab",
default_enable_new_features=True,
default_enable_new_regions=True,
enabled=True,
features=[
{
"enabled": True,
"key": "server.file_manager",
},
{
"enabled": True,
"key": "server.web_preview",
},
],
regions=[
{
"enabled": True,
"key": "eu-de",
},
{
"enabled": True,
"key": "us-south",
},
],
rev="130-1bc9ec83d7b9b049890c6d4b74dddb2a")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewCloudShellAccountSettings(ctx, "cloudShellAccountSettings", &ibm.CloudShellAccountSettingsArgs{
AccountId: pulumi.String("12345678-abcd-1a2b-a1b2-1234567890ab"),
DefaultEnableNewFeatures: pulumi.Bool(true),
DefaultEnableNewRegions: pulumi.Bool(true),
Enabled: pulumi.Bool(true),
Features: ibm.CloudShellAccountSettingsFeatureArray{
&ibm.CloudShellAccountSettingsFeatureArgs{
Enabled: pulumi.Bool(true),
Key: pulumi.String("server.file_manager"),
},
&ibm.CloudShellAccountSettingsFeatureArgs{
Enabled: pulumi.Bool(true),
Key: pulumi.String("server.web_preview"),
},
},
Regions: ibm.CloudShellAccountSettingsRegionArray{
&ibm.CloudShellAccountSettingsRegionArgs{
Enabled: pulumi.Bool(true),
Key: pulumi.String("eu-de"),
},
&ibm.CloudShellAccountSettingsRegionArgs{
Enabled: pulumi.Bool(true),
Key: pulumi.String("us-south"),
},
},
Rev: pulumi.String("130-1bc9ec83d7b9b049890c6d4b74dddb2a"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var cloudShellAccountSettings = new Ibm.CloudShellAccountSettings("cloudShellAccountSettings", new()
{
AccountId = "12345678-abcd-1a2b-a1b2-1234567890ab",
DefaultEnableNewFeatures = true,
DefaultEnableNewRegions = true,
Enabled = true,
Features = new[]
{
new Ibm.Inputs.CloudShellAccountSettingsFeatureArgs
{
Enabled = true,
Key = "server.file_manager",
},
new Ibm.Inputs.CloudShellAccountSettingsFeatureArgs
{
Enabled = true,
Key = "server.web_preview",
},
},
Regions = new[]
{
new Ibm.Inputs.CloudShellAccountSettingsRegionArgs
{
Enabled = true,
Key = "eu-de",
},
new Ibm.Inputs.CloudShellAccountSettingsRegionArgs
{
Enabled = true,
Key = "us-south",
},
},
Rev = "130-1bc9ec83d7b9b049890c6d4b74dddb2a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CloudShellAccountSettings;
import com.pulumi.ibm.CloudShellAccountSettingsArgs;
import com.pulumi.ibm.inputs.CloudShellAccountSettingsFeatureArgs;
import com.pulumi.ibm.inputs.CloudShellAccountSettingsRegionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cloudShellAccountSettings = new CloudShellAccountSettings("cloudShellAccountSettings", CloudShellAccountSettingsArgs.builder()
.accountId("12345678-abcd-1a2b-a1b2-1234567890ab")
.defaultEnableNewFeatures(true)
.defaultEnableNewRegions(true)
.enabled(true)
.features(
CloudShellAccountSettingsFeatureArgs.builder()
.enabled(true)
.key("server.file_manager")
.build(),
CloudShellAccountSettingsFeatureArgs.builder()
.enabled(true)
.key("server.web_preview")
.build())
.regions(
CloudShellAccountSettingsRegionArgs.builder()
.enabled(true)
.key("eu-de")
.build(),
CloudShellAccountSettingsRegionArgs.builder()
.enabled(true)
.key("us-south")
.build())
.rev("130-1bc9ec83d7b9b049890c6d4b74dddb2a")
.build());
}
}
resources:
cloudShellAccountSettings:
type: ibm:CloudShellAccountSettings
properties:
accountId: 12345678-abcd-1a2b-a1b2-1234567890ab
defaultEnableNewFeatures: true
defaultEnableNewRegions: true
enabled: true
features:
- enabled: true
key: server.file_manager
- enabled: true
key: server.web_preview
regions:
- enabled: true
key: eu-de
- enabled: true
key: us-south
rev: 130-1bc9ec83d7b9b049890c6d4b74dddb2a
Create CloudShellAccountSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudShellAccountSettings(name: string, args: CloudShellAccountSettingsArgs, opts?: CustomResourceOptions);
@overload
def CloudShellAccountSettings(resource_name: str,
args: CloudShellAccountSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudShellAccountSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
default_enable_new_features: Optional[bool] = None,
default_enable_new_regions: Optional[bool] = None,
enabled: Optional[bool] = None,
features: Optional[Sequence[CloudShellAccountSettingsFeatureArgs]] = None,
regions: Optional[Sequence[CloudShellAccountSettingsRegionArgs]] = None,
rev: Optional[str] = None)
func NewCloudShellAccountSettings(ctx *Context, name string, args CloudShellAccountSettingsArgs, opts ...ResourceOption) (*CloudShellAccountSettings, error)
public CloudShellAccountSettings(string name, CloudShellAccountSettingsArgs args, CustomResourceOptions? opts = null)
public CloudShellAccountSettings(String name, CloudShellAccountSettingsArgs args)
public CloudShellAccountSettings(String name, CloudShellAccountSettingsArgs args, CustomResourceOptions options)
type: ibm:CloudShellAccountSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudShellAccountSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudShellAccountSettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudShellAccountSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudShellAccountSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudShellAccountSettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudShellAccountSettingsResource = new Ibm.CloudShellAccountSettings("cloudShellAccountSettingsResource", new()
{
AccountId = "string",
DefaultEnableNewFeatures = false,
DefaultEnableNewRegions = false,
Enabled = false,
Features = new[]
{
new Ibm.Inputs.CloudShellAccountSettingsFeatureArgs
{
Enabled = false,
Key = "string",
},
},
Regions = new[]
{
new Ibm.Inputs.CloudShellAccountSettingsRegionArgs
{
Enabled = false,
Key = "string",
},
},
Rev = "string",
});
example, err := ibm.NewCloudShellAccountSettings(ctx, "cloudShellAccountSettingsResource", &ibm.CloudShellAccountSettingsArgs{
AccountId: pulumi.String("string"),
DefaultEnableNewFeatures: pulumi.Bool(false),
DefaultEnableNewRegions: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
Features: .CloudShellAccountSettingsFeatureArray{
&.CloudShellAccountSettingsFeatureArgs{
Enabled: pulumi.Bool(false),
Key: pulumi.String("string"),
},
},
Regions: .CloudShellAccountSettingsRegionArray{
&.CloudShellAccountSettingsRegionArgs{
Enabled: pulumi.Bool(false),
Key: pulumi.String("string"),
},
},
Rev: pulumi.String("string"),
})
var cloudShellAccountSettingsResource = new CloudShellAccountSettings("cloudShellAccountSettingsResource", CloudShellAccountSettingsArgs.builder()
.accountId("string")
.defaultEnableNewFeatures(false)
.defaultEnableNewRegions(false)
.enabled(false)
.features(CloudShellAccountSettingsFeatureArgs.builder()
.enabled(false)
.key("string")
.build())
.regions(CloudShellAccountSettingsRegionArgs.builder()
.enabled(false)
.key("string")
.build())
.rev("string")
.build());
cloud_shell_account_settings_resource = ibm.CloudShellAccountSettings("cloudShellAccountSettingsResource",
account_id="string",
default_enable_new_features=False,
default_enable_new_regions=False,
enabled=False,
features=[{
"enabled": False,
"key": "string",
}],
regions=[{
"enabled": False,
"key": "string",
}],
rev="string")
const cloudShellAccountSettingsResource = new ibm.CloudShellAccountSettings("cloudShellAccountSettingsResource", {
accountId: "string",
defaultEnableNewFeatures: false,
defaultEnableNewRegions: false,
enabled: false,
features: [{
enabled: false,
key: "string",
}],
regions: [{
enabled: false,
key: "string",
}],
rev: "string",
});
type: ibm:CloudShellAccountSettings
properties:
accountId: string
defaultEnableNewFeatures: false
defaultEnableNewRegions: false
enabled: false
features:
- enabled: false
key: string
regions:
- enabled: false
key: string
rev: string
CloudShellAccountSettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudShellAccountSettings resource accepts the following input properties:
- Account
Id string - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Default
Enable boolNew 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 boolNew 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 bool
- When enabled, Cloud Shell is available to all users in the account.
- Features
List<Cloud
Shell Account Settings Feature> - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- Regions
List<Cloud
Shell Account Settings Region> - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- Rev string
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Account
Id string - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Default
Enable boolNew 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 boolNew 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 bool
- When enabled, Cloud Shell is available to all users in the account.
- Features
[]Cloud
Shell Account Settings Feature Args - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- Regions
[]Cloud
Shell Account Settings Region Args - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- Rev string
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account
Id String - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default
Enable BooleanNew 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 BooleanNew 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 Boolean
- When enabled, Cloud Shell is available to all users in the account.
- features
List<Cloud
Shell Account Settings Feature> - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions
List<Cloud
Shell Account Settings Region> - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev String
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account
Id string - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default
Enable booleanNew 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 booleanNew 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 boolean
- When enabled, Cloud Shell is available to all users in the account.
- features
Cloud
Shell Account Settings Feature[] - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions
Cloud
Shell Account Settings Region[] - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev string
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account_
id str - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default_
enable_ boolnew_ 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_ boolnew_ 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 bool
- When enabled, Cloud Shell is available to all users in the account.
- features
Sequence[Cloud
Shell Account Settings Feature Args] - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions
Sequence[Cloud
Shell Account Settings Region Args] - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev str
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account
Id String - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default
Enable BooleanNew 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 BooleanNew 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 Boolean
- When enabled, Cloud Shell is available to all users in the account.
- features List<Property Map>
- List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions List<Property Map>
- List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev String
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudShellAccountSettings resource produces the following output properties:
- Created
At double - (Integer) Creation timestamp in Unix epoch time.
- Created
By string - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- Updated
At double - (Integer) Timestamp of last update in Unix epoch time.
- Updated
By string - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Created
At float64 - (Integer) Creation timestamp in Unix epoch time.
- Created
By string - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- Updated
At float64 - (Integer) Timestamp of last update in Unix epoch time.
- Updated
By string - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created
At Double - (Integer) Creation timestamp in Unix epoch time.
- created
By String - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated
At Double - (Integer) Timestamp of last update in Unix epoch time.
- updated
By String - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created
At number - (Integer) Creation timestamp in Unix epoch time.
- created
By string - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- type string
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated
At number - (Integer) Timestamp of last update in Unix epoch time.
- updated
By string - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created_
at float - (Integer) Creation timestamp in Unix epoch time.
- created_
by str - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- type str
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated_
at float - (Integer) Timestamp of last update in Unix epoch time.
- updated_
by str - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created
At Number - (Integer) Creation timestamp in Unix epoch time.
- created
By String - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated
At Number - (Integer) Timestamp of last update in Unix epoch time.
- updated
By String - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
Look up Existing CloudShellAccountSettings Resource
Get an existing CloudShellAccountSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudShellAccountSettingsState, opts?: CustomResourceOptions): CloudShellAccountSettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[float] = None,
created_by: Optional[str] = None,
default_enable_new_features: Optional[bool] = None,
default_enable_new_regions: Optional[bool] = None,
enabled: Optional[bool] = None,
features: Optional[Sequence[CloudShellAccountSettingsFeatureArgs]] = None,
regions: Optional[Sequence[CloudShellAccountSettingsRegionArgs]] = None,
rev: Optional[str] = None,
type: Optional[str] = None,
updated_at: Optional[float] = None,
updated_by: Optional[str] = None) -> CloudShellAccountSettings
func GetCloudShellAccountSettings(ctx *Context, name string, id IDInput, state *CloudShellAccountSettingsState, opts ...ResourceOption) (*CloudShellAccountSettings, error)
public static CloudShellAccountSettings Get(string name, Input<string> id, CloudShellAccountSettingsState? state, CustomResourceOptions? opts = null)
public static CloudShellAccountSettings get(String name, Output<String> id, CloudShellAccountSettingsState state, CustomResourceOptions options)
resources: _: type: ibm:CloudShellAccountSettings get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Created
At double - (Integer) Creation timestamp in Unix epoch time.
- Created
By string - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Default
Enable boolNew 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 boolNew 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 bool
- When enabled, Cloud Shell is available to all users in the account.
- Features
List<Cloud
Shell Account Settings Feature> - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- Regions
List<Cloud
Shell Account Settings Region> - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- Rev string
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- Updated
At double - (Integer) Timestamp of last update in Unix epoch time.
- Updated
By string - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Account
Id string - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Created
At float64 - (Integer) Creation timestamp in Unix epoch time.
- Created
By string - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Default
Enable boolNew 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 boolNew 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 bool
- When enabled, Cloud Shell is available to all users in the account.
- Features
[]Cloud
Shell Account Settings Feature Args - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- Regions
[]Cloud
Shell Account Settings Region Args - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- Rev string
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- Updated
At float64 - (Integer) Timestamp of last update in Unix epoch time.
- Updated
By string - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account
Id String - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created
At Double - (Integer) Creation timestamp in Unix epoch time.
- created
By String - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default
Enable BooleanNew 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 BooleanNew 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 Boolean
- When enabled, Cloud Shell is available to all users in the account.
- features
List<Cloud
Shell Account Settings Feature> - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions
List<Cloud
Shell Account Settings Region> - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev String
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- type String
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated
At Double - (Integer) Timestamp of last update in Unix epoch time.
- updated
By String - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account
Id string - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created
At number - (Integer) Creation timestamp in Unix epoch time.
- created
By string - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default
Enable booleanNew 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 booleanNew 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 boolean
- When enabled, Cloud Shell is available to all users in the account.
- features
Cloud
Shell Account Settings Feature[] - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions
Cloud
Shell Account Settings Region[] - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev string
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- type string
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated
At number - (Integer) Timestamp of last update in Unix epoch time.
- updated
By string - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account_
id str - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created_
at float - (Integer) Creation timestamp in Unix epoch time.
- created_
by str - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default_
enable_ boolnew_ 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_ boolnew_ 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 bool
- When enabled, Cloud Shell is available to all users in the account.
- features
Sequence[Cloud
Shell Account Settings Feature Args] - List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions
Sequence[Cloud
Shell Account Settings Region Args] - List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev str
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- type str
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated_
at float - (Integer) Timestamp of last update in Unix epoch time.
- updated_
by str - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- account
Id String - The account ID in which the account settings belong to.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- created
At Number - (Integer) Creation timestamp in Unix epoch time.
- created
By String - (String) IAM ID of creator.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- default
Enable BooleanNew 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 BooleanNew 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 Boolean
- When enabled, Cloud Shell is available to all users in the account.
- features List<Property Map>
- List of Cloud Shell features.
- Constraints: The maximum length is
2
items. The minimum length is0
items. Nested schema for features:
- Constraints: The maximum length is
- regions List<Property Map>
- List of Cloud Shell region settings.
- Constraints: The maximum length is
3
items. The minimum length is0
items. Nested schema for regions:
- Constraints: The maximum length is
- rev String
- Unique revision number for the settings object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
- type String
- (String) Type of api response object.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-z_]*$/
.
- Constraints: The maximum length is
- updated
At Number - (Integer) Timestamp of last update in Unix epoch time.
- updated
By String - (String) IAM ID of last updater.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-]*$/
.
- Constraints: The maximum length is
Supporting Types
CloudShellAccountSettingsFeature, CloudShellAccountSettingsFeatureArgs
CloudShellAccountSettingsRegion, CloudShellAccountSettingsRegionArgs
Import
You can import the ibm_cloud_shell_account_settings
resource by using account_id
.
The account_id
property can be formed from and account_id
in the following format:
<account_id>
account_id
: A string. The account ID in which the account settings belong to.
Syntax
```sh $ pulumi import ibm:index/cloudShellAccountSettings:CloudShellAccountSettings cloud_shell_account_settings <account_id> ```
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.