ibm.EnterpriseAccount
Explore with Pulumi AI
Create and update and delete enterprise_account
resource. For more information, about enterprise account, refer to setting up accounts to an enterprise.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const enterpriseAccount = new ibm.EnterpriseAccount("enterpriseAccount", {
options: {
createIamServiceIdWithApikeyAndOwnerPolicies: true,
},
ownerIamId: "owner_iam_id",
parent: "parent",
traits: [{
enterpriseIamManaged: true,
mfa: "NONE",
}],
});
const enterpriseImportAccount = new ibm.EnterpriseAccount("enterpriseImportAccount", {
accountId: "account_id",
enterpriseId: "enterprise_id",
parent: "parent",
});
import pulumi
import pulumi_ibm as ibm
enterprise_account = ibm.EnterpriseAccount("enterpriseAccount",
options={
"create_iam_service_id_with_apikey_and_owner_policies": True,
},
owner_iam_id="owner_iam_id",
parent="parent",
traits=[{
"enterprise_iam_managed": True,
"mfa": "NONE",
}])
enterprise_import_account = ibm.EnterpriseAccount("enterpriseImportAccount",
account_id="account_id",
enterprise_id="enterprise_id",
parent="parent")
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.NewEnterpriseAccount(ctx, "enterpriseAccount", &ibm.EnterpriseAccountArgs{
Options: &ibm.EnterpriseAccountOptionsArgs{
CreateIamServiceIdWithApikeyAndOwnerPolicies: pulumi.Bool(true),
},
OwnerIamId: pulumi.String("owner_iam_id"),
Parent: pulumi.String("parent"),
Traits: ibm.EnterpriseAccountTraitArray{
&ibm.EnterpriseAccountTraitArgs{
EnterpriseIamManaged: pulumi.Bool(true),
Mfa: pulumi.String("NONE"),
},
},
})
if err != nil {
return err
}
_, err = ibm.NewEnterpriseAccount(ctx, "enterpriseImportAccount", &ibm.EnterpriseAccountArgs{
AccountId: pulumi.String("account_id"),
EnterpriseId: pulumi.String("enterprise_id"),
Parent: pulumi.String("parent"),
})
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 enterpriseAccount = new Ibm.EnterpriseAccount("enterpriseAccount", new()
{
Options = new Ibm.Inputs.EnterpriseAccountOptionsArgs
{
CreateIamServiceIdWithApikeyAndOwnerPolicies = true,
},
OwnerIamId = "owner_iam_id",
Parent = "parent",
Traits = new[]
{
new Ibm.Inputs.EnterpriseAccountTraitArgs
{
EnterpriseIamManaged = true,
Mfa = "NONE",
},
},
});
var enterpriseImportAccount = new Ibm.EnterpriseAccount("enterpriseImportAccount", new()
{
AccountId = "account_id",
EnterpriseId = "enterprise_id",
Parent = "parent",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnterpriseAccount;
import com.pulumi.ibm.EnterpriseAccountArgs;
import com.pulumi.ibm.inputs.EnterpriseAccountOptionsArgs;
import com.pulumi.ibm.inputs.EnterpriseAccountTraitArgs;
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 enterpriseAccount = new EnterpriseAccount("enterpriseAccount", EnterpriseAccountArgs.builder()
.options(EnterpriseAccountOptionsArgs.builder()
.createIamServiceIdWithApikeyAndOwnerPolicies(true)
.build())
.ownerIamId("owner_iam_id")
.parent("parent")
.traits(EnterpriseAccountTraitArgs.builder()
.enterpriseIamManaged(true)
.mfa("NONE")
.build())
.build());
var enterpriseImportAccount = new EnterpriseAccount("enterpriseImportAccount", EnterpriseAccountArgs.builder()
.accountId("account_id")
.enterpriseId("enterprise_id")
.parent("parent")
.build());
}
}
resources:
enterpriseAccount:
type: ibm:EnterpriseAccount
properties:
options:
createIamServiceIdWithApikeyAndOwnerPolicies: true
ownerIamId: owner_iam_id
parent: parent
traits:
- enterpriseIamManaged: true
mfa: NONE
enterpriseImportAccount:
type: ibm:EnterpriseAccount
properties:
accountId: account_id
enterpriseId: enterprise_id
parent: parent
Create EnterpriseAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnterpriseAccount(name: string, args: EnterpriseAccountArgs, opts?: CustomResourceOptions);
@overload
def EnterpriseAccount(resource_name: str,
args: EnterpriseAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnterpriseAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
parent: Optional[str] = None,
account_id: Optional[str] = None,
enterprise_account_id: Optional[str] = None,
enterprise_id: Optional[str] = None,
ibm_enterprise_account_id: Optional[str] = None,
name: Optional[str] = None,
options: Optional[EnterpriseAccountOptionsArgs] = None,
owner_iam_id: Optional[str] = None,
timeouts: Optional[EnterpriseAccountTimeoutsArgs] = None,
traits: Optional[Sequence[EnterpriseAccountTraitArgs]] = None)
func NewEnterpriseAccount(ctx *Context, name string, args EnterpriseAccountArgs, opts ...ResourceOption) (*EnterpriseAccount, error)
public EnterpriseAccount(string name, EnterpriseAccountArgs args, CustomResourceOptions? opts = null)
public EnterpriseAccount(String name, EnterpriseAccountArgs args)
public EnterpriseAccount(String name, EnterpriseAccountArgs args, CustomResourceOptions options)
type: ibm:EnterpriseAccount
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 EnterpriseAccountArgs
- 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 EnterpriseAccountArgs
- 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 EnterpriseAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnterpriseAccountArgs
- 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 enterpriseAccountResource = new Ibm.EnterpriseAccount("enterpriseAccountResource", new()
{
Parent = "string",
AccountId = "string",
EnterpriseAccountId = "string",
EnterpriseId = "string",
IbmEnterpriseAccountId = "string",
Name = "string",
Options = new Ibm.Inputs.EnterpriseAccountOptionsArgs
{
CreateIamServiceIdWithApikeyAndOwnerPolicies = false,
},
OwnerIamId = "string",
Timeouts = new Ibm.Inputs.EnterpriseAccountTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Traits = new[]
{
new Ibm.Inputs.EnterpriseAccountTraitArgs
{
EnterpriseIamManaged = false,
Mfa = "string",
},
},
});
example, err := ibm.NewEnterpriseAccount(ctx, "enterpriseAccountResource", &ibm.EnterpriseAccountArgs{
Parent: pulumi.String("string"),
AccountId: pulumi.String("string"),
EnterpriseAccountId: pulumi.String("string"),
EnterpriseId: pulumi.String("string"),
IbmEnterpriseAccountId: pulumi.String("string"),
Name: pulumi.String("string"),
Options: &ibm.EnterpriseAccountOptionsArgs{
CreateIamServiceIdWithApikeyAndOwnerPolicies: pulumi.Bool(false),
},
OwnerIamId: pulumi.String("string"),
Timeouts: &ibm.EnterpriseAccountTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Traits: ibm.EnterpriseAccountTraitArray{
&ibm.EnterpriseAccountTraitArgs{
EnterpriseIamManaged: pulumi.Bool(false),
Mfa: pulumi.String("string"),
},
},
})
var enterpriseAccountResource = new EnterpriseAccount("enterpriseAccountResource", EnterpriseAccountArgs.builder()
.parent("string")
.accountId("string")
.enterpriseAccountId("string")
.enterpriseId("string")
.ibmEnterpriseAccountId("string")
.name("string")
.options(EnterpriseAccountOptionsArgs.builder()
.createIamServiceIdWithApikeyAndOwnerPolicies(false)
.build())
.ownerIamId("string")
.timeouts(EnterpriseAccountTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.traits(EnterpriseAccountTraitArgs.builder()
.enterpriseIamManaged(false)
.mfa("string")
.build())
.build());
enterprise_account_resource = ibm.EnterpriseAccount("enterpriseAccountResource",
parent="string",
account_id="string",
enterprise_account_id="string",
enterprise_id="string",
ibm_enterprise_account_id="string",
name="string",
options={
"create_iam_service_id_with_apikey_and_owner_policies": False,
},
owner_iam_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
traits=[{
"enterprise_iam_managed": False,
"mfa": "string",
}])
const enterpriseAccountResource = new ibm.EnterpriseAccount("enterpriseAccountResource", {
parent: "string",
accountId: "string",
enterpriseAccountId: "string",
enterpriseId: "string",
ibmEnterpriseAccountId: "string",
name: "string",
options: {
createIamServiceIdWithApikeyAndOwnerPolicies: false,
},
ownerIamId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
traits: [{
enterpriseIamManaged: false,
mfa: "string",
}],
});
type: ibm:EnterpriseAccount
properties:
accountId: string
enterpriseAccountId: string
enterpriseId: string
ibmEnterpriseAccountId: string
name: string
options:
createIamServiceIdWithApikeyAndOwnerPolicies: false
ownerIamId: string
parent: string
timeouts:
create: string
delete: string
update: string
traits:
- enterpriseIamManaged: false
mfa: string
EnterpriseAccount 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 EnterpriseAccount resource accepts the following input properties:
- Parent string
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- Account
Id string - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - Enterprise
Account stringId - (String) The enterprise account ID.
- Enterprise
Id string - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - Ibm
Enterprise stringAccount Id - (String) The unique identifier of an enterprise account.
- Name string
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - Options
Enterprise
Account Options The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- Owner
Iam stringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - Timeouts
Enterprise
Account Timeouts - Traits
List<Enterprise
Account Trait> - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property.
- Parent string
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- Account
Id string - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - Enterprise
Account stringId - (String) The enterprise account ID.
- Enterprise
Id string - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - Ibm
Enterprise stringAccount Id - (String) The unique identifier of an enterprise account.
- Name string
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - Options
Enterprise
Account Options Args The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- Owner
Iam stringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - Timeouts
Enterprise
Account Timeouts Args - Traits
[]Enterprise
Account Trait Args - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property.
- parent String
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- account
Id String - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - enterprise
Account StringId - (String) The enterprise account ID.
- enterprise
Id String - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - ibm
Enterprise StringAccount Id - (String) The unique identifier of an enterprise account.
- name String
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options
Enterprise
Account Options The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner
Iam StringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - timeouts
Enterprise
Account Timeouts - traits
List<Enterprise
Account Trait> - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property.
- parent string
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- account
Id string - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - enterprise
Account stringId - (String) The enterprise account ID.
- enterprise
Id string - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - ibm
Enterprise stringAccount Id - (String) The unique identifier of an enterprise account.
- name string
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options
Enterprise
Account Options The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner
Iam stringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - timeouts
Enterprise
Account Timeouts - traits
Enterprise
Account Trait[] - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property.
- parent str
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- account_
id str - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - enterprise_
account_ strid - (String) The enterprise account ID.
- enterprise_
id str - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - ibm_
enterprise_ straccount_ id - (String) The unique identifier of an enterprise account.
- name str
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options
Enterprise
Account Options Args The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner_
iam_ strid - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - timeouts
Enterprise
Account Timeouts Args - traits
Sequence[Enterprise
Account Trait Args] - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property.
- parent String
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- account
Id String - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - enterprise
Account StringId - (String) The enterprise account ID.
- enterprise
Id String - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - ibm
Enterprise StringAccount Id - (String) The unique identifier of an enterprise account.
- name String
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options Property Map
The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner
Iam StringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - timeouts Property Map
- traits List<Property Map>
- The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseAccount resource produces the following output properties:
- Created
At string - (Timestamp) The time stamp at which an account is created.
- Created
By string - (String) The IAM ID of an user or service that created an account.
- Crn string
- (String) The Cloud Resource Name (CRN) of an account.
- Enterprise
Path string - (String) The path from the enterprise to the particular account.
- Iam
Apikey string - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- Iam
Apikey stringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- Iam
Service stringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Enterprise boolAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- Owner
Email string - (String) The Email address of the owner of an account.
- Paid bool
- (String) The type of account, whether it is
free
, orpaid
. - State string
- (String) The state of an account.
- Updated
At string - (Timestamp) The time stamp at which an account was last updated.
- Updated
By string - (String) The IAM ID of the user or service that updated an account.
- Url string
- (String) The URL of an account.
- Created
At string - (Timestamp) The time stamp at which an account is created.
- Created
By string - (String) The IAM ID of an user or service that created an account.
- Crn string
- (String) The Cloud Resource Name (CRN) of an account.
- Enterprise
Path string - (String) The path from the enterprise to the particular account.
- Iam
Apikey string - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- Iam
Apikey stringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- Iam
Service stringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Enterprise boolAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- Owner
Email string - (String) The Email address of the owner of an account.
- Paid bool
- (String) The type of account, whether it is
free
, orpaid
. - State string
- (String) The state of an account.
- Updated
At string - (Timestamp) The time stamp at which an account was last updated.
- Updated
By string - (String) The IAM ID of the user or service that updated an account.
- Url string
- (String) The URL of an account.
- created
At String - (Timestamp) The time stamp at which an account is created.
- created
By String - (String) The IAM ID of an user or service that created an account.
- crn String
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise
Path String - (String) The path from the enterprise to the particular account.
- iam
Apikey String - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam
Apikey StringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam
Service StringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Enterprise BooleanAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- owner
Email String - (String) The Email address of the owner of an account.
- paid Boolean
- (String) The type of account, whether it is
free
, orpaid
. - state String
- (String) The state of an account.
- updated
At String - (Timestamp) The time stamp at which an account was last updated.
- updated
By String - (String) The IAM ID of the user or service that updated an account.
- url String
- (String) The URL of an account.
- created
At string - (Timestamp) The time stamp at which an account is created.
- created
By string - (String) The IAM ID of an user or service that created an account.
- crn string
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise
Path string - (String) The path from the enterprise to the particular account.
- iam
Apikey string - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam
Apikey stringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam
Service stringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Enterprise booleanAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- owner
Email string - (String) The Email address of the owner of an account.
- paid boolean
- (String) The type of account, whether it is
free
, orpaid
. - state string
- (String) The state of an account.
- updated
At string - (Timestamp) The time stamp at which an account was last updated.
- updated
By string - (String) The IAM ID of the user or service that updated an account.
- url string
- (String) The URL of an account.
- created_
at str - (Timestamp) The time stamp at which an account is created.
- created_
by str - (String) The IAM ID of an user or service that created an account.
- crn str
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise_
path str - (String) The path from the enterprise to the particular account.
- iam_
apikey str - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam_
apikey_ strid - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam_
service_ strid - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
enterprise_ boolaccount - (String) The flag to indicate whether the account is an enterprise account or not.
- owner_
email str - (String) The Email address of the owner of an account.
- paid bool
- (String) The type of account, whether it is
free
, orpaid
. - state str
- (String) The state of an account.
- updated_
at str - (Timestamp) The time stamp at which an account was last updated.
- updated_
by str - (String) The IAM ID of the user or service that updated an account.
- url str
- (String) The URL of an account.
- created
At String - (Timestamp) The time stamp at which an account is created.
- created
By String - (String) The IAM ID of an user or service that created an account.
- crn String
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise
Path String - (String) The path from the enterprise to the particular account.
- iam
Apikey String - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam
Apikey StringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam
Service StringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Enterprise BooleanAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- owner
Email String - (String) The Email address of the owner of an account.
- paid Boolean
- (String) The type of account, whether it is
free
, orpaid
. - state String
- (String) The state of an account.
- updated
At String - (Timestamp) The time stamp at which an account was last updated.
- updated
By String - (String) The IAM ID of the user or service that updated an account.
- url String
- (String) The URL of an account.
Look up Existing EnterpriseAccount Resource
Get an existing EnterpriseAccount 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?: EnterpriseAccountState, opts?: CustomResourceOptions): EnterpriseAccount
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
crn: Optional[str] = None,
enterprise_account_id: Optional[str] = None,
enterprise_id: Optional[str] = None,
enterprise_path: Optional[str] = None,
iam_apikey: Optional[str] = None,
iam_apikey_id: Optional[str] = None,
iam_service_id: Optional[str] = None,
ibm_enterprise_account_id: Optional[str] = None,
is_enterprise_account: Optional[bool] = None,
name: Optional[str] = None,
options: Optional[EnterpriseAccountOptionsArgs] = None,
owner_email: Optional[str] = None,
owner_iam_id: Optional[str] = None,
paid: Optional[bool] = None,
parent: Optional[str] = None,
state: Optional[str] = None,
timeouts: Optional[EnterpriseAccountTimeoutsArgs] = None,
traits: Optional[Sequence[EnterpriseAccountTraitArgs]] = None,
updated_at: Optional[str] = None,
updated_by: Optional[str] = None,
url: Optional[str] = None) -> EnterpriseAccount
func GetEnterpriseAccount(ctx *Context, name string, id IDInput, state *EnterpriseAccountState, opts ...ResourceOption) (*EnterpriseAccount, error)
public static EnterpriseAccount Get(string name, Input<string> id, EnterpriseAccountState? state, CustomResourceOptions? opts = null)
public static EnterpriseAccount get(String name, Output<String> id, EnterpriseAccountState state, CustomResourceOptions options)
resources: _: type: ibm:EnterpriseAccount 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 stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - Created
At string - (Timestamp) The time stamp at which an account is created.
- Created
By string - (String) The IAM ID of an user or service that created an account.
- Crn string
- (String) The Cloud Resource Name (CRN) of an account.
- Enterprise
Account stringId - (String) The enterprise account ID.
- Enterprise
Id string - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - Enterprise
Path string - (String) The path from the enterprise to the particular account.
- Iam
Apikey string - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- Iam
Apikey stringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- Iam
Service stringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- Ibm
Enterprise stringAccount Id - (String) The unique identifier of an enterprise account.
- Is
Enterprise boolAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- Name string
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - Options
Enterprise
Account Options The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- Owner
Email string - (String) The Email address of the owner of an account.
- Owner
Iam stringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - Paid bool
- (String) The type of account, whether it is
free
, orpaid
. - Parent string
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- State string
- (String) The state of an account.
- Timeouts
Enterprise
Account Timeouts - Traits
List<Enterprise
Account Trait> - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property. - Updated
At string - (Timestamp) The time stamp at which an account was last updated.
- Updated
By string - (String) The IAM ID of the user or service that updated an account.
- Url string
- (String) The URL of an account.
- Account
Id string - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - Created
At string - (Timestamp) The time stamp at which an account is created.
- Created
By string - (String) The IAM ID of an user or service that created an account.
- Crn string
- (String) The Cloud Resource Name (CRN) of an account.
- Enterprise
Account stringId - (String) The enterprise account ID.
- Enterprise
Id string - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - Enterprise
Path string - (String) The path from the enterprise to the particular account.
- Iam
Apikey string - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- Iam
Apikey stringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- Iam
Service stringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- Ibm
Enterprise stringAccount Id - (String) The unique identifier of an enterprise account.
- Is
Enterprise boolAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- Name string
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - Options
Enterprise
Account Options Args The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- Owner
Email string - (String) The Email address of the owner of an account.
- Owner
Iam stringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - Paid bool
- (String) The type of account, whether it is
free
, orpaid
. - Parent string
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- State string
- (String) The state of an account.
- Timeouts
Enterprise
Account Timeouts Args - Traits
[]Enterprise
Account Trait Args - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property. - Updated
At string - (Timestamp) The time stamp at which an account was last updated.
- Updated
By string - (String) The IAM ID of the user or service that updated an account.
- Url string
- (String) The URL of an account.
- account
Id String - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - created
At String - (Timestamp) The time stamp at which an account is created.
- created
By String - (String) The IAM ID of an user or service that created an account.
- crn String
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise
Account StringId - (String) The enterprise account ID.
- enterprise
Id String - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - enterprise
Path String - (String) The path from the enterprise to the particular account.
- iam
Apikey String - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam
Apikey StringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam
Service StringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- ibm
Enterprise StringAccount Id - (String) The unique identifier of an enterprise account.
- is
Enterprise BooleanAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- name String
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options
Enterprise
Account Options The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner
Email String - (String) The Email address of the owner of an account.
- owner
Iam StringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - paid Boolean
- (String) The type of account, whether it is
free
, orpaid
. - parent String
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- state String
- (String) The state of an account.
- timeouts
Enterprise
Account Timeouts - traits
List<Enterprise
Account Trait> - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property. - updated
At String - (Timestamp) The time stamp at which an account was last updated.
- updated
By String - (String) The IAM ID of the user or service that updated an account.
- url String
- (String) The URL of an account.
- account
Id string - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - created
At string - (Timestamp) The time stamp at which an account is created.
- created
By string - (String) The IAM ID of an user or service that created an account.
- crn string
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise
Account stringId - (String) The enterprise account ID.
- enterprise
Id string - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - enterprise
Path string - (String) The path from the enterprise to the particular account.
- iam
Apikey string - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam
Apikey stringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam
Service stringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- ibm
Enterprise stringAccount Id - (String) The unique identifier of an enterprise account.
- is
Enterprise booleanAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- name string
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options
Enterprise
Account Options The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner
Email string - (String) The Email address of the owner of an account.
- owner
Iam stringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - paid boolean
- (String) The type of account, whether it is
free
, orpaid
. - parent string
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- state string
- (String) The state of an account.
- timeouts
Enterprise
Account Timeouts - traits
Enterprise
Account Trait[] - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property. - updated
At string - (Timestamp) The time stamp at which an account was last updated.
- updated
By string - (String) The IAM ID of the user or service that updated an account.
- url string
- (String) The URL of an account.
- account_
id str - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - created_
at str - (Timestamp) The time stamp at which an account is created.
- created_
by str - (String) The IAM ID of an user or service that created an account.
- crn str
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise_
account_ strid - (String) The enterprise account ID.
- enterprise_
id str - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - enterprise_
path str - (String) The path from the enterprise to the particular account.
- iam_
apikey str - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam_
apikey_ strid - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam_
service_ strid - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- ibm_
enterprise_ straccount_ id - (String) The unique identifier of an enterprise account.
- is_
enterprise_ boolaccount - (String) The flag to indicate whether the account is an enterprise account or not.
- name str
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options
Enterprise
Account Options Args The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner_
email str - (String) The Email address of the owner of an account.
- owner_
iam_ strid - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - paid bool
- (String) The type of account, whether it is
free
, orpaid
. - parent str
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- state str
- (String) The state of an account.
- timeouts
Enterprise
Account Timeouts Args - traits
Sequence[Enterprise
Account Trait Args] - The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property. - updated_
at str - (Timestamp) The time stamp at which an account was last updated.
- updated_
by str - (String) The IAM ID of the user or service that updated an account.
- url str
- (String) The URL of an account.
- account
Id String - The stand-alone account ID that needs to be imported, such as
521ac39afd1b40aaad96fde2c6ad97xx
. - created
At String - (Timestamp) The time stamp at which an account is created.
- created
By String - (String) The IAM ID of an user or service that created an account.
- crn String
- (String) The Cloud Resource Name (CRN) of an account.
- enterprise
Account StringId - (String) The enterprise account ID.
- enterprise
Id String - The enterprise ID where the account is imported, such as
d7c510b72b3683459a19bdc901bb1
. - enterprise
Path String - (String) The path from the enterprise to the particular account.
- iam
Apikey String - (String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
- iam
Apikey StringId - (String) The ID of IAM_API_KEY which has owner IAM policies.
- iam
Service StringId - (String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
- ibm
Enterprise StringAccount Id - (String) The unique identifier of an enterprise account.
- is
Enterprise BooleanAccount - (String) The flag to indicate whether the account is an enterprise account or not.
- name String
- The name of an enterprise. The minimum and maximum character should be from
3 to 60
characters. - options Property Map
The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api key when creating a child account in the enterprise." The create_iam_service_id_with_apikey_and_owner_policies property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field
options = { create_iam_service_id_with_apikey_and_owner_policies = true }
create_iam_service_id_with_apikey_and_owner_policies is an optional property.Review the argument reference that you can specify to import a new account in an enterprise resource.
- owner
Email String - (String) The Email address of the owner of an account.
- owner
Iam StringId - The IAM ID of the account owner, such as
IBMid-0123ABC
. The IAM ID must already exist. - paid Boolean
- (String) The type of account, whether it is
free
, orpaid
. - parent String
- The CRN of the parent in which the account is created. The parent can be an existing account group or an enterprise itself, such as
crn:v1:bluemix:public:enterprise::a/ee63d11ab2fc4859bc2144e874049::enterprise:d7c510b72b3683459a19bdc901bb
- state String
- (String) The state of an account.
- timeouts Property Map
- traits List<Property Map>
- The traits object can be used to set properties on child accounts of an enterprise.
By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string
traits {mfa = "NONE"}
mfa is an optional property. The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean fieldtraits { enterprise_iam_managed = true }
enterprise_iam_managed an optional property. - updated
At String - (Timestamp) The time stamp at which an account was last updated.
- updated
By String - (String) The IAM ID of the user or service that updated an account.
- url String
- (String) The URL of an account.
Supporting Types
EnterpriseAccountOptions, EnterpriseAccountOptionsArgs
- Create
Iam boolService Id With Apikey And Owner Policies - By default this field is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. IAM service id has account owner IAM policies and the API key associated with it can generate a token and setup resources in the account.
- Create
Iam boolService Id With Apikey And Owner Policies - By default this field is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. IAM service id has account owner IAM policies and the API key associated with it can generate a token and setup resources in the account.
- create
Iam BooleanService Id With Apikey And Owner Policies - By default this field is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. IAM service id has account owner IAM policies and the API key associated with it can generate a token and setup resources in the account.
- create
Iam booleanService Id With Apikey And Owner Policies - By default this field is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. IAM service id has account owner IAM policies and the API key associated with it can generate a token and setup resources in the account.
- create_
iam_ boolservice_ id_ with_ apikey_ and_ owner_ policies - By default this field is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. IAM service id has account owner IAM policies and the API key associated with it can generate a token and setup resources in the account.
- create
Iam BooleanService Id With Apikey And Owner Policies - By default this field is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. IAM service id has account owner IAM policies and the API key associated with it can generate a token and setup resources in the account.
EnterpriseAccountTimeouts, EnterpriseAccountTimeoutsArgs
EnterpriseAccountTrait, EnterpriseAccountTraitArgs
- Enterprise
Iam boolManaged - The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field. This is an optional field.
- Mfa string
- By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.
- Enterprise
Iam boolManaged - The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field. This is an optional field.
- Mfa string
- By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.
- enterprise
Iam BooleanManaged - The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field. This is an optional field.
- mfa String
- By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.
- enterprise
Iam booleanManaged - The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field. This is an optional field.
- mfa string
- By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.
- enterprise_
iam_ boolmanaged - The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field. This is an optional field.
- mfa str
- By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.
- enterprise
Iam BooleanManaged - The Enterprise IAM settings property will be turned off for a newly created child account by default. You can enable this property by passing 'true' in this boolean field. This is an optional field.
- mfa String
- By default MFA will be enabled on a child account. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.
Import
The ibm_enterprise_account
resource can be imported by using account_group_id.
Example
$ pulumi import ibm:index/enterpriseAccount:EnterpriseAccount example 907ec1a69a354afc94d3a7b499d6784f
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.