Harbor v3.10.19 published on Monday, Feb 10, 2025 by Pulumiverse
harbor.getRegistry
Explore with Pulumi AI
Example Usage
data "harbor_registry" "main" {
  name          = "test_docker_harbor"
}
output "harbor_registry_id" {
  value   = data.harbor_registry.main.id
}
Using getRegistry
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 getRegistry(args: GetRegistryArgs, opts?: InvokeOptions): Promise<GetRegistryResult>
function getRegistryOutput(args: GetRegistryOutputArgs, opts?: InvokeOptions): Output<GetRegistryResult>def get_registry(name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetRegistryResult
def get_registry_output(name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetRegistryResult]func LookupRegistry(ctx *Context, args *LookupRegistryArgs, opts ...InvokeOption) (*LookupRegistryResult, error)
func LookupRegistryOutput(ctx *Context, args *LookupRegistryOutputArgs, opts ...InvokeOption) LookupRegistryResultOutput> Note: This function is named LookupRegistry in the Go SDK.
public static class GetRegistry 
{
    public static Task<GetRegistryResult> InvokeAsync(GetRegistryArgs args, InvokeOptions? opts = null)
    public static Output<GetRegistryResult> Invoke(GetRegistryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
public static Output<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
fn::invoke:
  function: harbor:index/getRegistry:getRegistry
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - The name of the register.
 
- Name string
 - The name of the register.
 
- name String
 - The name of the register.
 
- name string
 - The name of the register.
 
- name str
 - The name of the register.
 
- name String
 - The name of the register.
 
getRegistry Result
The following output properties are available:
- Description string
 - The description of the external container register.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Insecure bool
 - If the certificate of the external container register can be verified.
 - Name string
 - The name of the register.
 - Registry
Id int - The id of the register within harbor.
 - Status string
 - The health status of the external container register
 - Type string
 - The type of the provider type.
 - Url string
 - The url endpoint for the external container register
 
- Description string
 - The description of the external container register.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Insecure bool
 - If the certificate of the external container register can be verified.
 - Name string
 - The name of the register.
 - Registry
Id int - The id of the register within harbor.
 - Status string
 - The health status of the external container register
 - Type string
 - The type of the provider type.
 - Url string
 - The url endpoint for the external container register
 
- description String
 - The description of the external container register.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - insecure Boolean
 - If the certificate of the external container register can be verified.
 - name String
 - The name of the register.
 - registry
Id Integer - The id of the register within harbor.
 - status String
 - The health status of the external container register
 - type String
 - The type of the provider type.
 - url String
 - The url endpoint for the external container register
 
- description string
 - The description of the external container register.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - insecure boolean
 - If the certificate of the external container register can be verified.
 - name string
 - The name of the register.
 - registry
Id number - The id of the register within harbor.
 - status string
 - The health status of the external container register
 - type string
 - The type of the provider type.
 - url string
 - The url endpoint for the external container register
 
- description str
 - The description of the external container register.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - insecure bool
 - If the certificate of the external container register can be verified.
 - name str
 - The name of the register.
 - registry_
id int - The id of the register within harbor.
 - status str
 - The health status of the external container register
 - type str
 - The type of the provider type.
 - url str
 - The url endpoint for the external container register
 
- description String
 - The description of the external container register.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - insecure Boolean
 - If the certificate of the external container register can be verified.
 - name String
 - The name of the register.
 - registry
Id Number - The id of the register within harbor.
 - status String
 - The health status of the external container register
 - type String
 - The type of the provider type.
 - url String
 - The url endpoint for the external container register
 
Package Details
- Repository
 - harbor pulumiverse/pulumi-harbor
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
harborTerraform Provider.