1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnterpriseAccount
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. EnterpriseAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. EnterpriseAccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EnterpriseAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
        },
    },
});
Copy
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: &.EnterpriseAccountOptionsArgs{
CreateIamServiceIdWithApikeyAndOwnerPolicies: pulumi.Bool(false),
},
OwnerIamId: pulumi.String("string"),
Timeouts: &.EnterpriseAccountTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Traits: .EnterpriseAccountTraitArray{
&.EnterpriseAccountTraitArgs{
EnterpriseIamManaged: pulumi.Bool(false),
Mfa: pulumi.String("string"),
},
},
})
Copy
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());
Copy
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",
    }])
Copy
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",
    }],
});
Copy
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
Copy

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 This property is required. 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
AccountId string
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
EnterpriseAccountId string
(String) The enterprise account ID.
EnterpriseId string
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
IbmEnterpriseAccountId string
(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 EnterpriseAccountOptions

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.

OwnerIamId string
The IAM ID of the account owner, such as IBMid-0123ABC. The IAM ID must already exist.
Timeouts EnterpriseAccountTimeouts
Traits List<EnterpriseAccountTrait>
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
Parent This property is required. 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
AccountId string
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
EnterpriseAccountId string
(String) The enterprise account ID.
EnterpriseId string
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
IbmEnterpriseAccountId string
(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 EnterpriseAccountOptionsArgs

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.

OwnerIamId string
The IAM ID of the account owner, such as IBMid-0123ABC. The IAM ID must already exist.
Timeouts EnterpriseAccountTimeoutsArgs
Traits []EnterpriseAccountTraitArgs
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
parent This property is required. 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
accountId String
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
enterpriseAccountId String
(String) The enterprise account ID.
enterpriseId String
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
ibmEnterpriseAccountId String
(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 EnterpriseAccountOptions

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.

ownerIamId String
The IAM ID of the account owner, such as IBMid-0123ABC. The IAM ID must already exist.
timeouts EnterpriseAccountTimeouts
traits List<EnterpriseAccountTrait>
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
parent This property is required. 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
accountId string
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
enterpriseAccountId string
(String) The enterprise account ID.
enterpriseId string
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
ibmEnterpriseAccountId string
(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 EnterpriseAccountOptions

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.

ownerIamId string
The IAM ID of the account owner, such as IBMid-0123ABC. The IAM ID must already exist.
timeouts EnterpriseAccountTimeouts
traits EnterpriseAccountTrait[]
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
parent This property is required. 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_id str
(String) The enterprise account ID.
enterprise_id str
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
ibm_enterprise_account_id str
(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 EnterpriseAccountOptionsArgs

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_id str
The IAM ID of the account owner, such as IBMid-0123ABC. The IAM ID must already exist.
timeouts EnterpriseAccountTimeoutsArgs
traits Sequence[EnterpriseAccountTraitArgs]
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
parent This property is required. 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
accountId String
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
enterpriseAccountId String
(String) The enterprise account ID.
enterpriseId String
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
ibmEnterpriseAccountId String
(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.

ownerIamId String
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 field traits { 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:

CreatedAt string
(Timestamp) The time stamp at which an account is created.
CreatedBy 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.
EnterprisePath string
(String) The path from the enterprise to the particular account.
IamApikey string
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
IamApikeyId string
(String) The ID of IAM_API_KEY which has owner IAM policies.
IamServiceId string
(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.
IsEnterpriseAccount bool
(String) The flag to indicate whether the account is an enterprise account or not.
OwnerEmail string
(String) The Email address of the owner of an account.
bool
(String) The type of account, whether it is free, or paid.
State string
(String) The state of an account.
UpdatedAt string
(Timestamp) The time stamp at which an account was last updated.
UpdatedBy string
(String) The IAM ID of the user or service that updated an account.
Url string
(String) The URL of an account.
CreatedAt string
(Timestamp) The time stamp at which an account is created.
CreatedBy 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.
EnterprisePath string
(String) The path from the enterprise to the particular account.
IamApikey string
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
IamApikeyId string
(String) The ID of IAM_API_KEY which has owner IAM policies.
IamServiceId string
(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.
IsEnterpriseAccount bool
(String) The flag to indicate whether the account is an enterprise account or not.
OwnerEmail string
(String) The Email address of the owner of an account.
bool
(String) The type of account, whether it is free, or paid.
State string
(String) The state of an account.
UpdatedAt string
(Timestamp) The time stamp at which an account was last updated.
UpdatedBy string
(String) The IAM ID of the user or service that updated an account.
Url string
(String) The URL of an account.
createdAt String
(Timestamp) The time stamp at which an account is created.
createdBy 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.
enterprisePath String
(String) The path from the enterprise to the particular account.
iamApikey String
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
iamApikeyId String
(String) The ID of IAM_API_KEY which has owner IAM policies.
iamServiceId String
(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.
isEnterpriseAccount Boolean
(String) The flag to indicate whether the account is an enterprise account or not.
ownerEmail String
(String) The Email address of the owner of an account.
Boolean
(String) The type of account, whether it is free, or paid.
state String
(String) The state of an account.
updatedAt String
(Timestamp) The time stamp at which an account was last updated.
updatedBy String
(String) The IAM ID of the user or service that updated an account.
url String
(String) The URL of an account.
createdAt string
(Timestamp) The time stamp at which an account is created.
createdBy 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.
enterprisePath string
(String) The path from the enterprise to the particular account.
iamApikey string
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
iamApikeyId string
(String) The ID of IAM_API_KEY which has owner IAM policies.
iamServiceId string
(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.
isEnterpriseAccount boolean
(String) The flag to indicate whether the account is an enterprise account or not.
ownerEmail string
(String) The Email address of the owner of an account.
boolean
(String) The type of account, whether it is free, or paid.
state string
(String) The state of an account.
updatedAt string
(Timestamp) The time stamp at which an account was last updated.
updatedBy 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_id str
(String) The ID of IAM_API_KEY which has owner IAM policies.
iam_service_id str
(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_account bool
(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.
bool
(String) The type of account, whether it is free, or paid.
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.
createdAt String
(Timestamp) The time stamp at which an account is created.
createdBy 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.
enterprisePath String
(String) The path from the enterprise to the particular account.
iamApikey String
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
iamApikeyId String
(String) The ID of IAM_API_KEY which has owner IAM policies.
iamServiceId String
(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.
isEnterpriseAccount Boolean
(String) The flag to indicate whether the account is an enterprise account or not.
ownerEmail String
(String) The Email address of the owner of an account.
Boolean
(String) The type of account, whether it is free, or paid.
state String
(String) The state of an account.
updatedAt String
(Timestamp) The time stamp at which an account was last updated.
updatedBy 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AccountId string
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
CreatedAt string
(Timestamp) The time stamp at which an account is created.
CreatedBy 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.
EnterpriseAccountId string
(String) The enterprise account ID.
EnterpriseId string
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
EnterprisePath string
(String) The path from the enterprise to the particular account.
IamApikey string
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
IamApikeyId string
(String) The ID of IAM_API_KEY which has owner IAM policies.
IamServiceId string
(String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
IbmEnterpriseAccountId string
(String) The unique identifier of an enterprise account.
IsEnterpriseAccount bool
(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 EnterpriseAccountOptions

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.

OwnerEmail string
(String) The Email address of the owner of an account.
OwnerIamId string
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, or paid.
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 EnterpriseAccountTimeouts
Traits List<EnterpriseAccountTrait>
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
UpdatedAt string
(Timestamp) The time stamp at which an account was last updated.
UpdatedBy string
(String) The IAM ID of the user or service that updated an account.
Url string
(String) The URL of an account.
AccountId string
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
CreatedAt string
(Timestamp) The time stamp at which an account is created.
CreatedBy 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.
EnterpriseAccountId string
(String) The enterprise account ID.
EnterpriseId string
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
EnterprisePath string
(String) The path from the enterprise to the particular account.
IamApikey string
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
IamApikeyId string
(String) The ID of IAM_API_KEY which has owner IAM policies.
IamServiceId string
(String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
IbmEnterpriseAccountId string
(String) The unique identifier of an enterprise account.
IsEnterpriseAccount bool
(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 EnterpriseAccountOptionsArgs

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.

OwnerEmail string
(String) The Email address of the owner of an account.
OwnerIamId string
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, or paid.
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 EnterpriseAccountTimeoutsArgs
Traits []EnterpriseAccountTraitArgs
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
UpdatedAt string
(Timestamp) The time stamp at which an account was last updated.
UpdatedBy string
(String) The IAM ID of the user or service that updated an account.
Url string
(String) The URL of an account.
accountId String
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
createdAt String
(Timestamp) The time stamp at which an account is created.
createdBy 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.
enterpriseAccountId String
(String) The enterprise account ID.
enterpriseId String
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
enterprisePath String
(String) The path from the enterprise to the particular account.
iamApikey String
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
iamApikeyId String
(String) The ID of IAM_API_KEY which has owner IAM policies.
iamServiceId String
(String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
ibmEnterpriseAccountId String
(String) The unique identifier of an enterprise account.
isEnterpriseAccount Boolean
(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 EnterpriseAccountOptions

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.

ownerEmail String
(String) The Email address of the owner of an account.
ownerIamId String
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, or paid.
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 EnterpriseAccountTimeouts
traits List<EnterpriseAccountTrait>
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
updatedAt String
(Timestamp) The time stamp at which an account was last updated.
updatedBy String
(String) The IAM ID of the user or service that updated an account.
url String
(String) The URL of an account.
accountId string
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
createdAt string
(Timestamp) The time stamp at which an account is created.
createdBy 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.
enterpriseAccountId string
(String) The enterprise account ID.
enterpriseId string
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
enterprisePath string
(String) The path from the enterprise to the particular account.
iamApikey string
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
iamApikeyId string
(String) The ID of IAM_API_KEY which has owner IAM policies.
iamServiceId string
(String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
ibmEnterpriseAccountId string
(String) The unique identifier of an enterprise account.
isEnterpriseAccount boolean
(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 EnterpriseAccountOptions

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.

ownerEmail string
(String) The Email address of the owner of an account.
ownerIamId string
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, or paid.
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 EnterpriseAccountTimeouts
traits EnterpriseAccountTrait[]
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
updatedAt string
(Timestamp) The time stamp at which an account was last updated.
updatedBy 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_id str
(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_id str
(String) The ID of IAM_API_KEY which has owner IAM policies.
iam_service_id str
(String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
ibm_enterprise_account_id str
(String) The unique identifier of an enterprise account.
is_enterprise_account bool
(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 EnterpriseAccountOptionsArgs

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_id str
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, or paid.
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 EnterpriseAccountTimeoutsArgs
traits Sequence[EnterpriseAccountTraitArgs]
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 field traits { 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.
accountId String
The stand-alone account ID that needs to be imported, such as 521ac39afd1b40aaad96fde2c6ad97xx.
createdAt String
(Timestamp) The time stamp at which an account is created.
createdBy 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.
enterpriseAccountId String
(String) The enterprise account ID.
enterpriseId String
The enterprise ID where the account is imported, such as d7c510b72b3683459a19bdc901bb1.
enterprisePath String
(String) The path from the enterprise to the particular account.
iamApikey String
(String) The IAM API KEY of the account with owner IAM policies, will be used to create resources in enterprise child account.
iamApikeyId String
(String) The ID of IAM_API_KEY which has owner IAM policies.
iamServiceId String
(String) The IAM Service ID of the account will be used to create IAM_API_KEY with owner IAM policies.
ibmEnterpriseAccountId String
(String) The unique identifier of an enterprise account.
isEnterpriseAccount Boolean
(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.

ownerEmail String
(String) The Email address of the owner of an account.
ownerIamId String
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, or paid.
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 field traits { enterprise_iam_managed = true } enterprise_iam_managed an optional property.
updatedAt String
(Timestamp) The time stamp at which an account was last updated.
updatedBy 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

CreateIamServiceIdWithApikeyAndOwnerPolicies bool
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.
CreateIamServiceIdWithApikeyAndOwnerPolicies bool
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.
createIamServiceIdWithApikeyAndOwnerPolicies Boolean
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.
createIamServiceIdWithApikeyAndOwnerPolicies boolean
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_service_id_with_apikey_and_owner_policies bool
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.
createIamServiceIdWithApikeyAndOwnerPolicies Boolean
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

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

EnterpriseAccountTrait
, EnterpriseAccountTraitArgs

EnterpriseIamManaged bool
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.
EnterpriseIamManaged bool
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.
enterpriseIamManaged Boolean
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.
enterpriseIamManaged boolean
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_managed bool
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.
enterpriseIamManaged Boolean
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
Copy

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.