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_project" "main" {
name = "library"
}
output "project_id" {
value = data.harbor_project.main.id
}
Using getProject
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 getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>
function getProjectOutput(args: GetProjectOutputArgs, opts?: InvokeOptions): Output<GetProjectResult>def get_project(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectResult
def get_project_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)
func LookupProjectOutput(ctx *Context, args *LookupProjectOutputArgs, opts ...InvokeOption) LookupProjectResultOutput> Note: This function is named LookupProject in the Go SDK.
public static class GetProject
{
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
public static Output<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
fn::invoke:
function: harbor:index/getProject:getProject
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the project.
- Name string
- The name of the project.
- name String
- The name of the project.
- name string
- The name of the project.
- name str
- The name of the project.
- name String
- The name of the project.
getProject Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the project.
- Project
Id int - The id of the project within harbor.
- Public bool
- If the project has public accessibility.
- Type string
- The type of the project : Project or ProxyCache.
- Vulnerability
Scanning bool - If the images is scanned for vulnerabilities when push to harbor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the project.
- Project
Id int - The id of the project within harbor.
- Public bool
- If the project has public accessibility.
- Type string
- The type of the project : Project or ProxyCache.
- Vulnerability
Scanning bool - If the images is scanned for vulnerabilities when push to harbor.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the project.
- project
Id Integer - The id of the project within harbor.
- public_ Boolean
- If the project has public accessibility.
- type String
- The type of the project : Project or ProxyCache.
- vulnerability
Scanning Boolean - If the images is scanned for vulnerabilities when push to harbor.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the project.
- project
Id number - The id of the project within harbor.
- public boolean
- If the project has public accessibility.
- type string
- The type of the project : Project or ProxyCache.
- vulnerability
Scanning boolean - If the images is scanned for vulnerabilities when push to harbor.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the project.
- project_
id int - The id of the project within harbor.
- public bool
- If the project has public accessibility.
- type str
- The type of the project : Project or ProxyCache.
- vulnerability_
scanning bool - If the images is scanned for vulnerabilities when push to harbor.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the project.
- project
Id Number - The id of the project within harbor.
- public Boolean
- If the project has public accessibility.
- type String
- The type of the project : Project or ProxyCache.
- vulnerability
Scanning Boolean - If the images is scanned for vulnerabilities when push to harbor.
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
