Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Custom Role resource schema.
Example Usage
data "stackit_authorization_project_custom_role" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "my.custom.role"
}
Using getAuthorizationProjectCustomRole
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 getAuthorizationProjectCustomRole(args: GetAuthorizationProjectCustomRoleArgs, opts?: InvokeOptions): Promise<GetAuthorizationProjectCustomRoleResult>
function getAuthorizationProjectCustomRoleOutput(args: GetAuthorizationProjectCustomRoleOutputArgs, opts?: InvokeOptions): Output<GetAuthorizationProjectCustomRoleResult>def get_authorization_project_custom_role(resource_id: Optional[str] = None,
role_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuthorizationProjectCustomRoleResult
def get_authorization_project_custom_role_output(resource_id: Optional[pulumi.Input[str]] = None,
role_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizationProjectCustomRoleResult]func LookupAuthorizationProjectCustomRole(ctx *Context, args *LookupAuthorizationProjectCustomRoleArgs, opts ...InvokeOption) (*LookupAuthorizationProjectCustomRoleResult, error)
func LookupAuthorizationProjectCustomRoleOutput(ctx *Context, args *LookupAuthorizationProjectCustomRoleOutputArgs, opts ...InvokeOption) LookupAuthorizationProjectCustomRoleResultOutput> Note: This function is named LookupAuthorizationProjectCustomRole in the Go SDK.
public static class GetAuthorizationProjectCustomRole
{
public static Task<GetAuthorizationProjectCustomRoleResult> InvokeAsync(GetAuthorizationProjectCustomRoleArgs args, InvokeOptions? opts = null)
public static Output<GetAuthorizationProjectCustomRoleResult> Invoke(GetAuthorizationProjectCustomRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuthorizationProjectCustomRoleResult> getAuthorizationProjectCustomRole(GetAuthorizationProjectCustomRoleArgs args, InvokeOptions options)
public static Output<GetAuthorizationProjectCustomRoleResult> getAuthorizationProjectCustomRole(GetAuthorizationProjectCustomRoleArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getAuthorizationProjectCustomRole:getAuthorizationProjectCustomRole
arguments:
# arguments dictionaryThe following arguments are supported:
- Resource
Id string - Resource to add the custom role to.
- Role
Id string - The ID of the role.
- Resource
Id string - Resource to add the custom role to.
- Role
Id string - The ID of the role.
- resource
Id String - Resource to add the custom role to.
- role
Id String - The ID of the role.
- resource
Id string - Resource to add the custom role to.
- role
Id string - The ID of the role.
- resource_
id str - Resource to add the custom role to.
- role_
id str - The ID of the role.
- resource
Id String - Resource to add the custom role to.
- role
Id String - The ID of the role.
getAuthorizationProjectCustomRole Result
The following output properties are available:
- Description string
- A human readable description of the role.
- Id string
- Name string
- Name of the role
- Permissions List<string>
- Permissions for the role
- Resource
Id string - Resource to add the custom role to.
- Role
Id string - The ID of the role.
- Description string
- A human readable description of the role.
- Id string
- Name string
- Name of the role
- Permissions []string
- Permissions for the role
- Resource
Id string - Resource to add the custom role to.
- Role
Id string - The ID of the role.
- description String
- A human readable description of the role.
- id String
- name String
- Name of the role
- permissions List<String>
- Permissions for the role
- resource
Id String - Resource to add the custom role to.
- role
Id String - The ID of the role.
- description string
- A human readable description of the role.
- id string
- name string
- Name of the role
- permissions string[]
- Permissions for the role
- resource
Id string - Resource to add the custom role to.
- role
Id string - The ID of the role.
- description str
- A human readable description of the role.
- id str
- 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
- name String
- Name of the role
- permissions List<String>
- Permissions for the role
- resource
Id String - Resource to add the custom role to.
- role
Id 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
stackitTerraform Provider.
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
