ibm 1.79.2 published on Friday, Jun 13, 2025 by ibm-cloud
ibm.getIamActionControlAssignment
Explore with Pulumi AI
Provides a read-only data source to retrieve information about action_control_assignments. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const actionControlAssignment = ibm.getIamActionControlAssignments({});
import pulumi
import pulumi_ibm as ibm
action_control_assignment = ibm.get_iam_action_control_assignments()
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.GetIamActionControlAssignments(ctx, &ibm.GetIamActionControlAssignmentsArgs{}, nil)
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 actionControlAssignment = Ibm.GetIamActionControlAssignments.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIamActionControlAssignmentsArgs;
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) {
final var actionControlAssignment = IbmFunctions.getIamActionControlAssignments();
}
}
variables:
actionControlAssignment:
fn::invoke:
function: ibm:getIamActionControlAssignments
arguments: {}
Timeouts section
The resource includes default timeout settings for the following operations:
create
- (Timeout) Defaults to 30 minutes.update
- (Timeout) Defaults to 30 minutes.delete
- (Timeout) Defaults to 30 minutes.
Using getIamActionControlAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIamActionControlAssignment(args: GetIamActionControlAssignmentArgs, opts?: InvokeOptions): Promise<GetIamActionControlAssignmentResult>
function getIamActionControlAssignmentOutput(args: GetIamActionControlAssignmentOutputArgs, opts?: InvokeOptions): Output<GetIamActionControlAssignmentResult>
def get_iam_action_control_assignment(assignment_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIamActionControlAssignmentResult
def get_iam_action_control_assignment_output(assignment_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamActionControlAssignmentResult]
func LookupIamActionControlAssignment(ctx *Context, args *LookupIamActionControlAssignmentArgs, opts ...InvokeOption) (*LookupIamActionControlAssignmentResult, error)
func LookupIamActionControlAssignmentOutput(ctx *Context, args *LookupIamActionControlAssignmentOutputArgs, opts ...InvokeOption) LookupIamActionControlAssignmentResultOutput
> Note: This function is named LookupIamActionControlAssignment
in the Go SDK.
public static class GetIamActionControlAssignment
{
public static Task<GetIamActionControlAssignmentResult> InvokeAsync(GetIamActionControlAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetIamActionControlAssignmentResult> Invoke(GetIamActionControlAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIamActionControlAssignmentResult> getIamActionControlAssignment(GetIamActionControlAssignmentArgs args, InvokeOptions options)
public static Output<GetIamActionControlAssignmentResult> getIamActionControlAssignment(GetIamActionControlAssignmentArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIamActionControlAssignment:getIamActionControlAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Assignment
Id string - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- Id string
- (String) The action_control assignment template id.
- Assignment
Id string - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- Id string
- (String) The action_control assignment template id.
- assignment
Id String - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- id String
- (String) The action_control assignment template id.
- assignment
Id string - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- id string
- (String) The action_control assignment template id.
- assignment_
id str - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- id str
- (String) The action_control assignment template id.
- assignment
Id String - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- id String
- (String) The action_control assignment template id.
getIamActionControlAssignment Result
The following output properties are available:
- Account
Id string - (String) Enterprise account ID where template will be created.
- Assignment
Id string - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- Created
At string - (String) The UTC timestamp when the action_control assignment was created.
- Created
By stringId - (String) The iam ID of the entity that created the action_control assignment.
- Href string
- (String) The href URL that links to the policies assignments API by action_control assignment ID.
- Id string
- (String) The action_control assignment template id.
- Last
Modified stringAt - (String) The UTC timestamp when the action_control assignment was last modified.
- Last
Modified stringBy Id - (String) The iam ID of the entity that last modified the action_control assignment.
- Operation string
- Resources
List<Get
Iam Action Control Assignment Resource> - (List) Object for each account assigned.
- Constraints: The minimum length is
1
item. Nested schema for resources:
- Constraints: The minimum length is
- Status string
- (String) The action_control assignment status.
- Targets
List<Get
Iam Action Control Assignment Target> - (Map) assignment target details. Nested schema for target:
- Templates
List<Get
Iam Action Control Assignment Template> - (Map) template details Nested schema for template:
- Account
Id string - (String) Enterprise account ID where template will be created.
- Assignment
Id string - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- Created
At string - (String) The UTC timestamp when the action_control assignment was created.
- Created
By stringId - (String) The iam ID of the entity that created the action_control assignment.
- Href string
- (String) The href URL that links to the policies assignments API by action_control assignment ID.
- Id string
- (String) The action_control assignment template id.
- Last
Modified stringAt - (String) The UTC timestamp when the action_control assignment was last modified.
- Last
Modified stringBy Id - (String) The iam ID of the entity that last modified the action_control assignment.
- Operation string
- Resources
[]Get
Iam Action Control Assignment Resource - (List) Object for each account assigned.
- Constraints: The minimum length is
1
item. Nested schema for resources:
- Constraints: The minimum length is
- Status string
- (String) The action_control assignment status.
- Targets
[]Get
Iam Action Control Assignment Target - (Map) assignment target details. Nested schema for target:
- Templates
[]Get
Iam Action Control Assignment Template - (Map) template details Nested schema for template:
- account
Id String - (String) Enterprise account ID where template will be created.
- assignment
Id String - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- created
At String - (String) The UTC timestamp when the action_control assignment was created.
- created
By StringId - (String) The iam ID of the entity that created the action_control assignment.
- href String
- (String) The href URL that links to the policies assignments API by action_control assignment ID.
- id String
- (String) The action_control assignment template id.
- last
Modified StringAt - (String) The UTC timestamp when the action_control assignment was last modified.
- last
Modified StringBy Id - (String) The iam ID of the entity that last modified the action_control assignment.
- operation String
- resources
List<Get
Iam Action Control Assignment Resource> - (List) Object for each account assigned.
- Constraints: The minimum length is
1
item. Nested schema for resources:
- Constraints: The minimum length is
- status String
- (String) The action_control assignment status.
- targets
List<Get
Iam Action Control Assignment Target> - (Map) assignment target details. Nested schema for target:
- templates
List<Get
Iam Action Control Assignment Template> - (Map) template details Nested schema for template:
- account
Id string - (String) Enterprise account ID where template will be created.
- assignment
Id string - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- created
At string - (String) The UTC timestamp when the action_control assignment was created.
- created
By stringId - (String) The iam ID of the entity that created the action_control assignment.
- href string
- (String) The href URL that links to the policies assignments API by action_control assignment ID.
- id string
- (String) The action_control assignment template id.
- last
Modified stringAt - (String) The UTC timestamp when the action_control assignment was last modified.
- last
Modified stringBy Id - (String) The iam ID of the entity that last modified the action_control assignment.
- operation string
- resources
Get
Iam Action Control Assignment Resource[] - (List) Object for each account assigned.
- Constraints: The minimum length is
1
item. Nested schema for resources:
- Constraints: The minimum length is
- status string
- (String) The action_control assignment status.
- targets
Get
Iam Action Control Assignment Target[] - (Map) assignment target details. Nested schema for target:
- templates
Get
Iam Action Control Assignment Template[] - (Map) template details Nested schema for template:
- account_
id str - (String) Enterprise account ID where template will be created.
- assignment_
id str - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- created_
at str - (String) The UTC timestamp when the action_control assignment was created.
- created_
by_ strid - (String) The iam ID of the entity that created the action_control assignment.
- href str
- (String) The href URL that links to the policies assignments API by action_control assignment ID.
- id str
- (String) The action_control assignment template id.
- last_
modified_ strat - (String) The UTC timestamp when the action_control assignment was last modified.
- last_
modified_ strby_ id - (String) The iam ID of the entity that last modified the action_control assignment.
- operation str
- resources
Sequence[Get
Iam Action Control Assignment Resource] - (List) Object for each account assigned.
- Constraints: The minimum length is
1
item. Nested schema for resources:
- Constraints: The minimum length is
- status str
- (String) The action_control assignment status.
- targets
Sequence[Get
Iam Action Control Assignment Target] - (Map) assignment target details. Nested schema for target:
- templates
Sequence[Get
Iam Action Control Assignment Template] - (Map) template details Nested schema for template:
- account
Id String - (String) Enterprise account ID where template will be created.
- assignment
Id String - (String) Passed in value to correlate with other assignments.
- Constraints: The maximum length is
50
characters. The minimum length is1
character.
- Constraints: The maximum length is
- created
At String - (String) The UTC timestamp when the action_control assignment was created.
- created
By StringId - (String) The iam ID of the entity that created the action_control assignment.
- href String
- (String) The href URL that links to the policies assignments API by action_control assignment ID.
- id String
- (String) The action_control assignment template id.
- last
Modified StringAt - (String) The UTC timestamp when the action_control assignment was last modified.
- last
Modified StringBy Id - (String) The iam ID of the entity that last modified the action_control assignment.
- operation String
- resources List<Property Map>
- (List) Object for each account assigned.
- Constraints: The minimum length is
1
item. Nested schema for resources:
- Constraints: The minimum length is
- status String
- (String) The action_control assignment status.
- targets List<Property Map>
- (Map) assignment target details. Nested schema for target:
- templates List<Property Map>
- (Map) template details Nested schema for template:
Supporting Types
GetIamActionControlAssignmentResource
- Action
Controls List<GetIam Action Control Assignment Resource Action Control> - (String) The conflicting action_control id.
- Targets
List<Get
Iam Action Control Assignment Resource Target> - (Map) assignment target details. Nested schema for target:
- Action
Controls []GetIam Action Control Assignment Resource Action Control - (String) The conflicting action_control id.
- Targets
[]Get
Iam Action Control Assignment Resource Target - (Map) assignment target details. Nested schema for target:
- action
Controls List<GetIam Action Control Assignment Resource Action Control> - (String) The conflicting action_control id.
- targets
List<Get
Iam Action Control Assignment Resource Target> - (Map) assignment target details. Nested schema for target:
- action
Controls GetIam Action Control Assignment Resource Action Control[] - (String) The conflicting action_control id.
- targets
Get
Iam Action Control Assignment Resource Target[] - (Map) assignment target details. Nested schema for target:
- action_
controls Sequence[GetIam Action Control Assignment Resource Action Control] - (String) The conflicting action_control id.
- targets
Sequence[Get
Iam Action Control Assignment Resource Target] - (Map) assignment target details. Nested schema for target:
- action
Controls List<Property Map> - (String) The conflicting action_control id.
- targets List<Property Map>
- (Map) assignment target details. Nested schema for target:
GetIamActionControlAssignmentResourceActionControl
- Error
Messages List<GetIam Action Control Assignment Resource Action Control Error Message> - (List) The error response from API. Nested schema for error_message:
- Resource
Createds List<GetIam Action Control Assignment Resource Action Control Resource Created> - (List) On success, includes the action_control assigned. Nested schema for resource_created:
- Error
Messages []GetIam Action Control Assignment Resource Action Control Error Message - (List) The error response from API. Nested schema for error_message:
- Resource
Createds []GetIam Action Control Assignment Resource Action Control Resource Created - (List) On success, includes the action_control assigned. Nested schema for resource_created:
- error
Messages List<GetIam Action Control Assignment Resource Action Control Error Message> - (List) The error response from API. Nested schema for error_message:
- resource
Createds List<GetIam Action Control Assignment Resource Action Control Resource Created> - (List) On success, includes the action_control assigned. Nested schema for resource_created:
- error
Messages GetIam Action Control Assignment Resource Action Control Error Message[] - (List) The error response from API. Nested schema for error_message:
- resource
Createds GetIam Action Control Assignment Resource Action Control Resource Created[] - (List) On success, includes the action_control assigned. Nested schema for resource_created:
- error_
messages Sequence[GetIam Action Control Assignment Resource Action Control Error Message] - (List) The error response from API. Nested schema for error_message:
- resource_
createds Sequence[GetIam Action Control Assignment Resource Action Control Resource Created] - (List) On success, includes the action_control assigned. Nested schema for resource_created:
- error
Messages List<Property Map> - (List) The error response from API. Nested schema for error_message:
- resource
Createds List<Property Map> - (List) On success, includes the action_control assigned. Nested schema for resource_created:
GetIamActionControlAssignmentResourceActionControlErrorMessage
- Errors
List<Get
Iam Action Control Assignment Resource Action Control Error Message Error> - (List) The errors encountered during the response. Nested schema for errors:
- Status
Code double - (Integer) The http error code of the response.
- Trace string
- (String) The unique transaction id for the request.
- Errors
[]Get
Iam Action Control Assignment Resource Action Control Error Message Error - (List) The errors encountered during the response. Nested schema for errors:
- Status
Code float64 - (Integer) The http error code of the response.
- Trace string
- (String) The unique transaction id for the request.
- errors
List<Get
Iam Action Control Assignment Resource Action Control Error Message Error> - (List) The errors encountered during the response. Nested schema for errors:
- status
Code Double - (Integer) The http error code of the response.
- trace String
- (String) The unique transaction id for the request.
- errors
Get
Iam Action Control Assignment Resource Action Control Error Message Error[] - (List) The errors encountered during the response. Nested schema for errors:
- status
Code number - (Integer) The http error code of the response.
- trace string
- (String) The unique transaction id for the request.
- errors
Sequence[Get
Iam Action Control Assignment Resource Action Control Error Message Error] - (List) The errors encountered during the response. Nested schema for errors:
- status_
code float - (Integer) The http error code of the response.
- trace str
- (String) The unique transaction id for the request.
- errors List<Property Map>
- (List) The errors encountered during the response. Nested schema for errors:
- status
Code Number - (Integer) The http error code of the response.
- trace String
- (String) The unique transaction id for the request.
GetIamActionControlAssignmentResourceActionControlErrorMessageError
- Code string
- (String) The API error code for the error.
- Details
List<Get
Iam Action Control Assignment Resource Action Control Error Message Error Detail> - (List) Additional error details. Nested schema for details: Nested schema for conflicts_with:
- Message string
- (String) The error message returned by the API.
- More
Info string - (String) Additional info for error.
- Code string
- (String) The API error code for the error.
- Details
[]Get
Iam Action Control Assignment Resource Action Control Error Message Error Detail - (List) Additional error details. Nested schema for details: Nested schema for conflicts_with:
- Message string
- (String) The error message returned by the API.
- More
Info string - (String) Additional info for error.
- code String
- (String) The API error code for the error.
- details
List<Get
Iam Action Control Assignment Resource Action Control Error Message Error Detail> - (List) Additional error details. Nested schema for details: Nested schema for conflicts_with:
- message String
- (String) The error message returned by the API.
- more
Info String - (String) Additional info for error.
- code string
- (String) The API error code for the error.
- details
Get
Iam Action Control Assignment Resource Action Control Error Message Error Detail[] - (List) Additional error details. Nested schema for details: Nested schema for conflicts_with:
- message string
- (String) The error message returned by the API.
- more
Info string - (String) Additional info for error.
- code str
- (String) The API error code for the error.
- details
Sequence[Get
Iam Action Control Assignment Resource Action Control Error Message Error Detail] - (List) Additional error details. Nested schema for details: Nested schema for conflicts_with:
- message str
- (String) The error message returned by the API.
- more_
info str - (String) Additional info for error.
- code String
- (String) The API error code for the error.
- details List<Property Map>
- (List) Additional error details. Nested schema for details: Nested schema for conflicts_with:
- message String
- (String) The error message returned by the API.
- more
Info String - (String) Additional info for error.
GetIamActionControlAssignmentResourceActionControlErrorMessageErrorDetail
GetIamActionControlAssignmentResourceActionControlErrorMessageErrorDetailConflictsWith
GetIamActionControlAssignmentResourceActionControlResourceCreated
- Id string
- (String) The action_control assignment template id.
- Id string
- (String) The action_control assignment template id.
- id String
- (String) The action_control assignment template id.
- id string
- (String) The action_control assignment template id.
- id str
- (String) The action_control assignment template id.
- id String
- (String) The action_control assignment template id.
GetIamActionControlAssignmentResourceTarget
GetIamActionControlAssignmentTarget
GetIamActionControlAssignmentTemplate
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.