Viewing docs for Harbor v3.10.21
published on Monday, Jun 30, 2025 by Pulumiverse
published on Monday, Jun 30, 2025 by Pulumiverse
Viewing docs for Harbor v3.10.21
published on Monday, Jun 30, 2025 by Pulumiverse
published on Monday, Jun 30, 2025 by Pulumiverse
Example Usage
data "harbor_robot_accounts" "example" {
name = "example-robot"
}
output "robot_account_ids" {
value = [data.harbor_robot_accounts.example.robot_accounts.*.id]
}
Using getRobotAccounts
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 getRobotAccounts(args: GetRobotAccountsArgs, opts?: InvokeOptions): Promise<GetRobotAccountsResult>
function getRobotAccountsOutput(args: GetRobotAccountsOutputArgs, opts?: InvokeOptions): Output<GetRobotAccountsResult>def get_robot_accounts(level: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetRobotAccountsResult
def get_robot_accounts_output(level: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRobotAccountsResult]func GetRobotAccounts(ctx *Context, args *GetRobotAccountsArgs, opts ...InvokeOption) (*GetRobotAccountsResult, error)
func GetRobotAccountsOutput(ctx *Context, args *GetRobotAccountsOutputArgs, opts ...InvokeOption) GetRobotAccountsResultOutput> Note: This function is named GetRobotAccounts in the Go SDK.
public static class GetRobotAccounts
{
public static Task<GetRobotAccountsResult> InvokeAsync(GetRobotAccountsArgs args, InvokeOptions? opts = null)
public static Output<GetRobotAccountsResult> Invoke(GetRobotAccountsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRobotAccountsResult> getRobotAccounts(GetRobotAccountsArgs args, InvokeOptions options)
public static Output<GetRobotAccountsResult> getRobotAccounts(GetRobotAccountsArgs args, InvokeOptions options)
fn::invoke:
function: harbor:index/getRobotAccounts:getRobotAccounts
arguments:
# arguments dictionaryThe following arguments are supported:
- level str
- Level of the robot account, currently either
systemorproject. Default issystem. - name str
- The name of the robot account to filter by.
- project_
id int - The id of the project within harbor.
getRobotAccounts Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Robot
Accounts List<Pulumiverse.Harbor. Outputs. Get Robot Accounts Robot Account> - Level string
- Level of the robot account, currently either
systemorproject. Default issystem. - Name string
- The name of the robot account to filter by.
- Project
Id int - The id of the project within harbor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Robot
Accounts []GetRobot Accounts Robot Account - Level string
- Level of the robot account, currently either
systemorproject. Default issystem. - Name string
- The name of the robot account to filter by.
- Project
Id int - The id of the project within harbor.
- id String
- The provider-assigned unique ID for this managed resource.
- robot
Accounts List<GetRobot Accounts Robot Account> - level String
- Level of the robot account, currently either
systemorproject. Default issystem. - name String
- The name of the robot account to filter by.
- project
Id Integer - The id of the project within harbor.
- id string
- The provider-assigned unique ID for this managed resource.
- robot
Accounts GetRobot Accounts Robot Account[] - level string
- Level of the robot account, currently either
systemorproject. Default issystem. - name string
- The name of the robot account to filter by.
- project
Id number - The id of the project within harbor.
- id str
- The provider-assigned unique ID for this managed resource.
- robot_
accounts Sequence[GetRobot Accounts Robot Account] - level str
- Level of the robot account, currently either
systemorproject. Default issystem. - name str
- The name of the robot account to filter by.
- project_
id int - The id of the project within harbor.
- id String
- The provider-assigned unique ID for this managed resource.
- robot
Accounts List<Property Map> - level String
- Level of the robot account, currently either
systemorproject. Default issystem. - name String
- The name of the robot account to filter by.
- project
Id Number - The id of the project within harbor.
Supporting Types
GetRobotAccountsRobotAccount
Package Details
- Repository
- harbor pulumiverse/pulumi-harbor
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harborTerraform Provider.
Viewing docs for Harbor v3.10.21
published on Monday, Jun 30, 2025 by Pulumiverse
published on Monday, Jun 30, 2025 by Pulumiverse
