ibm.IamAccountSettingsExternalInteraction
Explore with Pulumi AI
Create IamAccountSettingsExternalInteraction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamAccountSettingsExternalInteraction(name: string, args: IamAccountSettingsExternalInteractionArgs, opts?: CustomResourceOptions);
@overload
def IamAccountSettingsExternalInteraction(resource_name: str,
args: IamAccountSettingsExternalInteractionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IamAccountSettingsExternalInteraction(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
external_account_identity_interaction: Optional[IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionArgs] = None,
accept_language: Optional[str] = None,
iam_account_settings_external_interaction_id: Optional[str] = None)
func NewIamAccountSettingsExternalInteraction(ctx *Context, name string, args IamAccountSettingsExternalInteractionArgs, opts ...ResourceOption) (*IamAccountSettingsExternalInteraction, error)
public IamAccountSettingsExternalInteraction(string name, IamAccountSettingsExternalInteractionArgs args, CustomResourceOptions? opts = null)
public IamAccountSettingsExternalInteraction(String name, IamAccountSettingsExternalInteractionArgs args)
public IamAccountSettingsExternalInteraction(String name, IamAccountSettingsExternalInteractionArgs args, CustomResourceOptions options)
type: ibm:IamAccountSettingsExternalInteraction
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 IamAccountSettingsExternalInteractionArgs
- 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 IamAccountSettingsExternalInteractionArgs
- 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 IamAccountSettingsExternalInteractionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamAccountSettingsExternalInteractionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamAccountSettingsExternalInteractionArgs
- 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 iamAccountSettingsExternalInteractionResource = new Ibm.IamAccountSettingsExternalInteraction("iamAccountSettingsExternalInteractionResource", new()
{
AccountId = "string",
ExternalAccountIdentityInteraction = new Ibm.Inputs.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionArgs
{
IdentityTypes = new Ibm.Inputs.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesArgs
{
Service = new Ibm.Inputs.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceArgs
{
ExternalAllowedAccounts = new[]
{
"string",
},
State = "string",
},
ServiceId = new Ibm.Inputs.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceIdArgs
{
ExternalAllowedAccounts = new[]
{
"string",
},
State = "string",
},
User = new Ibm.Inputs.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesUserArgs
{
ExternalAllowedAccounts = new[]
{
"string",
},
State = "string",
},
},
},
AcceptLanguage = "string",
IamAccountSettingsExternalInteractionId = "string",
});
example, err := ibm.NewIamAccountSettingsExternalInteraction(ctx, "iamAccountSettingsExternalInteractionResource", &ibm.IamAccountSettingsExternalInteractionArgs{
AccountId: pulumi.String("string"),
ExternalAccountIdentityInteraction: &ibm.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionArgs{
IdentityTypes: &ibm.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesArgs{
Service: &ibm.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceArgs{
ExternalAllowedAccounts: pulumi.StringArray{
pulumi.String("string"),
},
State: pulumi.String("string"),
},
ServiceId: &ibm.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceIdArgs{
ExternalAllowedAccounts: pulumi.StringArray{
pulumi.String("string"),
},
State: pulumi.String("string"),
},
User: &ibm.IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesUserArgs{
ExternalAllowedAccounts: pulumi.StringArray{
pulumi.String("string"),
},
State: pulumi.String("string"),
},
},
},
AcceptLanguage: pulumi.String("string"),
IamAccountSettingsExternalInteractionId: pulumi.String("string"),
})
var iamAccountSettingsExternalInteractionResource = new IamAccountSettingsExternalInteraction("iamAccountSettingsExternalInteractionResource", IamAccountSettingsExternalInteractionArgs.builder()
.accountId("string")
.externalAccountIdentityInteraction(IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionArgs.builder()
.identityTypes(IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesArgs.builder()
.service(IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceArgs.builder()
.externalAllowedAccounts("string")
.state("string")
.build())
.serviceId(IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceIdArgs.builder()
.externalAllowedAccounts("string")
.state("string")
.build())
.user(IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesUserArgs.builder()
.externalAllowedAccounts("string")
.state("string")
.build())
.build())
.build())
.acceptLanguage("string")
.iamAccountSettingsExternalInteractionId("string")
.build());
iam_account_settings_external_interaction_resource = ibm.IamAccountSettingsExternalInteraction("iamAccountSettingsExternalInteractionResource",
account_id="string",
external_account_identity_interaction={
"identity_types": {
"service": {
"external_allowed_accounts": ["string"],
"state": "string",
},
"service_id": {
"external_allowed_accounts": ["string"],
"state": "string",
},
"user": {
"external_allowed_accounts": ["string"],
"state": "string",
},
},
},
accept_language="string",
iam_account_settings_external_interaction_id="string")
const iamAccountSettingsExternalInteractionResource = new ibm.IamAccountSettingsExternalInteraction("iamAccountSettingsExternalInteractionResource", {
accountId: "string",
externalAccountIdentityInteraction: {
identityTypes: {
service: {
externalAllowedAccounts: ["string"],
state: "string",
},
serviceId: {
externalAllowedAccounts: ["string"],
state: "string",
},
user: {
externalAllowedAccounts: ["string"],
state: "string",
},
},
},
acceptLanguage: "string",
iamAccountSettingsExternalInteractionId: "string",
});
type: ibm:IamAccountSettingsExternalInteraction
properties:
acceptLanguage: string
accountId: string
externalAccountIdentityInteraction:
identityTypes:
service:
externalAllowedAccounts:
- string
state: string
serviceId:
externalAllowedAccounts:
- string
state: string
user:
externalAllowedAccounts:
- string
state: string
iamAccountSettingsExternalInteractionId: string
IamAccountSettingsExternalInteraction 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 IamAccountSettingsExternalInteraction resource accepts the following input properties:
- Account
Id string - The account ID that the Access Management Account Settings belong to.
- External
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction - How external accounts can interact in relation to the requested account.
- Accept
Language string - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - Iam
Account stringSettings External Interaction Id
- Account
Id string - The account ID that the Access Management Account Settings belong to.
- External
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction Args - How external accounts can interact in relation to the requested account.
- Accept
Language string - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - Iam
Account stringSettings External Interaction Id
- account
Id String - The account ID that the Access Management Account Settings belong to.
- external
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction - How external accounts can interact in relation to the requested account.
- accept
Language String - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - iam
Account StringSettings External Interaction Id
- account
Id string - The account ID that the Access Management Account Settings belong to.
- external
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction - How external accounts can interact in relation to the requested account.
- accept
Language string - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - iam
Account stringSettings External Interaction Id
- account_
id str - The account ID that the Access Management Account Settings belong to.
- external_
account_ Iamidentity_ interaction Account Settings External Interaction External Account Identity Interaction Args - How external accounts can interact in relation to the requested account.
- accept_
language str - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - iam_
account_ strsettings_ external_ interaction_ id
- account
Id String - The account ID that the Access Management Account Settings belong to.
- external
Account Property MapIdentity Interaction - How external accounts can interact in relation to the requested account.
- accept
Language String - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - iam
Account StringSettings External Interaction Id
Outputs
All input properties are implicitly available as output properties. Additionally, the IamAccountSettingsExternalInteraction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IamAccountSettingsExternalInteraction Resource
Get an existing IamAccountSettingsExternalInteraction 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?: IamAccountSettingsExternalInteractionState, opts?: CustomResourceOptions): IamAccountSettingsExternalInteraction
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accept_language: Optional[str] = None,
account_id: Optional[str] = None,
external_account_identity_interaction: Optional[IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionArgs] = None,
iam_account_settings_external_interaction_id: Optional[str] = None) -> IamAccountSettingsExternalInteraction
func GetIamAccountSettingsExternalInteraction(ctx *Context, name string, id IDInput, state *IamAccountSettingsExternalInteractionState, opts ...ResourceOption) (*IamAccountSettingsExternalInteraction, error)
public static IamAccountSettingsExternalInteraction Get(string name, Input<string> id, IamAccountSettingsExternalInteractionState? state, CustomResourceOptions? opts = null)
public static IamAccountSettingsExternalInteraction get(String name, Output<String> id, IamAccountSettingsExternalInteractionState state, CustomResourceOptions options)
resources: _: type: ibm:IamAccountSettingsExternalInteraction 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.
- Accept
Language string - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - Account
Id string - The account ID that the Access Management Account Settings belong to.
- External
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction - How external accounts can interact in relation to the requested account.
- Iam
Account stringSettings External Interaction Id
- Accept
Language string - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - Account
Id string - The account ID that the Access Management Account Settings belong to.
- External
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction Args - How external accounts can interact in relation to the requested account.
- Iam
Account stringSettings External Interaction Id
- accept
Language String - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - account
Id String - The account ID that the Access Management Account Settings belong to.
- external
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction - How external accounts can interact in relation to the requested account.
- iam
Account StringSettings External Interaction Id
- accept
Language string - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - account
Id string - The account ID that the Access Management Account Settings belong to.
- external
Account IamIdentity Interaction Account Settings External Interaction External Account Identity Interaction - How external accounts can interact in relation to the requested account.
- iam
Account stringSettings External Interaction Id
- accept_
language str - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - account_
id str - The account ID that the Access Management Account Settings belong to.
- external_
account_ Iamidentity_ interaction Account Settings External Interaction External Account Identity Interaction Args - How external accounts can interact in relation to the requested account.
- iam_
account_ strsettings_ external_ interaction_ id
- accept
Language String - Language code for translations*
default
- English*de
- German (Standard)*en
- English*es
- Spanish (Spain)*fr
- French (Standard)*it
- Italian (Standard)*ja
- Japanese*ko
- Korean*pt-br
- Portuguese (Brazil)*zh-cn
- Chinese (Simplified, PRC)*zh-tw
- (Chinese, Taiwan). - account
Id String - The account ID that the Access Management Account Settings belong to.
- external
Account Property MapIdentity Interaction - How external accounts can interact in relation to the requested account.
- iam
Account StringSettings External Interaction Id
Supporting Types
IamAccountSettingsExternalInteractionExternalAccountIdentityInteraction, IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionArgs
- Identity
Types IamAccount Settings External Interaction External Account Identity Interaction Identity Types - The settings for each identity type.
- Identity
Types IamAccount Settings External Interaction External Account Identity Interaction Identity Types - The settings for each identity type.
- identity
Types IamAccount Settings External Interaction External Account Identity Interaction Identity Types - The settings for each identity type.
- identity
Types IamAccount Settings External Interaction External Account Identity Interaction Identity Types - The settings for each identity type.
- identity_
types IamAccount Settings External Interaction External Account Identity Interaction Identity Types - The settings for each identity type.
- identity
Types Property Map - The settings for each identity type.
IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypes, IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesArgs
- Service
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types Service - The core set of properties associated with a service identity type.
- Service
Id IamAccount Settings External Interaction External Account Identity Interaction Identity Types Service Id - The core set of properties associated with a serviceID identity type.
- User
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types User - The core set of properties associated with a user identity type.
- Service
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types Service - The core set of properties associated with a service identity type.
- Service
Id IamAccount Settings External Interaction External Account Identity Interaction Identity Types Service Id - The core set of properties associated with a serviceID identity type.
- User
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types User - The core set of properties associated with a user identity type.
- service
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types Service - The core set of properties associated with a service identity type.
- service
Id IamAccount Settings External Interaction External Account Identity Interaction Identity Types Service Id - The core set of properties associated with a serviceID identity type.
- user
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types User - The core set of properties associated with a user identity type.
- service
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types Service - The core set of properties associated with a service identity type.
- service
Id IamAccount Settings External Interaction External Account Identity Interaction Identity Types Service Id - The core set of properties associated with a serviceID identity type.
- user
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types User - The core set of properties associated with a user identity type.
- service
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types Service - The core set of properties associated with a service identity type.
- service_
id IamAccount Settings External Interaction External Account Identity Interaction Identity Types Service Id - The core set of properties associated with a serviceID identity type.
- user
Iam
Account Settings External Interaction External Account Identity Interaction Identity Types User - The core set of properties associated with a user identity type.
- service Property Map
- The core set of properties associated with a service identity type.
- service
Id Property Map - The core set of properties associated with a serviceID identity type.
- user Property Map
- The core set of properties associated with a user identity type.
IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesService, IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceArgs
- External
Allowed List<string>Accounts - List of accounts that the state applies to for the service identity type.
- State string
- The state of the service identity type.
- External
Allowed []stringAccounts - List of accounts that the state applies to for the service identity type.
- State string
- The state of the service identity type.
- external
Allowed List<String>Accounts - List of accounts that the state applies to for the service identity type.
- state String
- The state of the service identity type.
- external
Allowed string[]Accounts - List of accounts that the state applies to for the service identity type.
- state string
- The state of the service identity type.
- external_
allowed_ Sequence[str]accounts - List of accounts that the state applies to for the service identity type.
- state str
- The state of the service identity type.
- external
Allowed List<String>Accounts - List of accounts that the state applies to for the service identity type.
- state String
- The state of the service identity type.
IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceId, IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesServiceIdArgs
- External
Allowed List<string>Accounts - List of accounts that the state applies to for the serviceId identity type.
- State string
- The state of the serviceId identity type.
- External
Allowed []stringAccounts - List of accounts that the state applies to for the serviceId identity type.
- State string
- The state of the serviceId identity type.
- external
Allowed List<String>Accounts - List of accounts that the state applies to for the serviceId identity type.
- state String
- The state of the serviceId identity type.
- external
Allowed string[]Accounts - List of accounts that the state applies to for the serviceId identity type.
- state string
- The state of the serviceId identity type.
- external_
allowed_ Sequence[str]accounts - List of accounts that the state applies to for the serviceId identity type.
- state str
- The state of the serviceId identity type.
- external
Allowed List<String>Accounts - List of accounts that the state applies to for the serviceId identity type.
- state String
- The state of the serviceId identity type.
IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesUser, IamAccountSettingsExternalInteractionExternalAccountIdentityInteractionIdentityTypesUserArgs
- External
Allowed List<string>Accounts - List of accounts that the state applies to for the user identity type.
- State string
- The state of the user identity type.
- External
Allowed []stringAccounts - List of accounts that the state applies to for the user identity type.
- State string
- The state of the user identity type.
- external
Allowed List<String>Accounts - List of accounts that the state applies to for the user identity type.
- state String
- The state of the user identity type.
- external
Allowed string[]Accounts - List of accounts that the state applies to for the user identity type.
- state string
- The state of the user identity type.
- external_
allowed_ Sequence[str]accounts - List of accounts that the state applies to for the user identity type.
- state str
- The state of the user identity type.
- external
Allowed List<String>Accounts - List of accounts that the state applies to for the user identity type.
- state String
- The state of the user identity type.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.