1. Packages
  2. Packages
  3. stackit
  4. API Docs
  5. getAuthorizationOrganizationCustomRole
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud

    Custom Role resource schema.

    Example Usage

    data "stackit_authorization_organization_custom_role" "example" {
      resource_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name        = "my.custom.role"
    }
    

    Using getAuthorizationOrganizationCustomRole

    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 getAuthorizationOrganizationCustomRole(args: GetAuthorizationOrganizationCustomRoleArgs, opts?: InvokeOptions): Promise<GetAuthorizationOrganizationCustomRoleResult>
    function getAuthorizationOrganizationCustomRoleOutput(args: GetAuthorizationOrganizationCustomRoleOutputArgs, opts?: InvokeOptions): Output<GetAuthorizationOrganizationCustomRoleResult>
    def get_authorization_organization_custom_role(resource_id: Optional[str] = None,
                                                   role_id: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetAuthorizationOrganizationCustomRoleResult
    def get_authorization_organization_custom_role_output(resource_id: pulumi.Input[Optional[str]] = None,
                                                   role_id: pulumi.Input[Optional[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizationOrganizationCustomRoleResult]
    func LookupAuthorizationOrganizationCustomRole(ctx *Context, args *LookupAuthorizationOrganizationCustomRoleArgs, opts ...InvokeOption) (*LookupAuthorizationOrganizationCustomRoleResult, error)
    func LookupAuthorizationOrganizationCustomRoleOutput(ctx *Context, args *LookupAuthorizationOrganizationCustomRoleOutputArgs, opts ...InvokeOption) LookupAuthorizationOrganizationCustomRoleResultOutput

    > Note: This function is named LookupAuthorizationOrganizationCustomRole in the Go SDK.

    public static class GetAuthorizationOrganizationCustomRole 
    {
        public static Task<GetAuthorizationOrganizationCustomRoleResult> InvokeAsync(GetAuthorizationOrganizationCustomRoleArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthorizationOrganizationCustomRoleResult> Invoke(GetAuthorizationOrganizationCustomRoleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthorizationOrganizationCustomRoleResult> getAuthorizationOrganizationCustomRole(GetAuthorizationOrganizationCustomRoleArgs args, InvokeOptions options)
    public static Output<GetAuthorizationOrganizationCustomRoleResult> getAuthorizationOrganizationCustomRole(GetAuthorizationOrganizationCustomRoleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getAuthorizationOrganizationCustomRole:getAuthorizationOrganizationCustomRole
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceId string
    Resource to add the custom role to.
    RoleId string
    The ID of the role.
    ResourceId string
    Resource to add the custom role to.
    RoleId string
    The ID of the role.
    resourceId String
    Resource to add the custom role to.
    roleId String
    The ID of the role.
    resourceId string
    Resource to add the custom role to.
    roleId string
    The ID of the role.
    resource_id str
    Resource to add the custom role to.
    role_id str
    The ID of the role.
    resourceId String
    Resource to add the custom role to.
    roleId String
    The ID of the role.

    getAuthorizationOrganizationCustomRole Result

    The following output properties are available:

    Description string
    A human readable description of the role.
    Id string
    Terraform's internal resource identifier. It is structured as "[resourceid],[roleid]".
    Name string
    Name of the role
    Permissions List<string>
    Permissions for the role
    ResourceId string
    Resource to add the custom role to.
    RoleId string
    The ID of the role.
    Description string
    A human readable description of the role.
    Id string
    Terraform's internal resource identifier. It is structured as "[resourceid],[roleid]".
    Name string
    Name of the role
    Permissions []string
    Permissions for the role
    ResourceId string
    Resource to add the custom role to.
    RoleId string
    The ID of the role.
    description String
    A human readable description of the role.
    id String
    Terraform's internal resource identifier. It is structured as "[resourceid],[roleid]".
    name String
    Name of the role
    permissions List<String>
    Permissions for the role
    resourceId String
    Resource to add the custom role to.
    roleId String
    The ID of the role.
    description string
    A human readable description of the role.
    id string
    Terraform's internal resource identifier. It is structured as "[resourceid],[roleid]".
    name string
    Name of the role
    permissions string[]
    Permissions for the role
    resourceId string
    Resource to add the custom role to.
    roleId string
    The ID of the role.
    description str
    A human readable description of the role.
    id str
    Terraform's internal resource identifier. It is structured as "[resourceid],[roleid]".
    name str
    Name of the role
    permissions Sequence[str]
    Permissions for the role
    resource_id str
    Resource to add the custom role to.
    role_id str
    The ID of the role.
    description String
    A human readable description of the role.
    id String
    Terraform's internal resource identifier. It is structured as "[resourceid],[roleid]".
    name String
    Name of the role
    permissions List<String>
    Permissions for the role
    resourceId String
    Resource to add the custom role to.
    roleId String
    The ID of the role.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.6
    published on Wednesday, May 6, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.