1. Packages
  2. Scaleway
  3. API Docs
  4. Packages
  5. getNamespace
Scaleway v1.27.0 published on Monday, Apr 21, 2025 by pulumiverse

scaleway.registry.getNamespace

Explore with Pulumi AI

scaleway logo
Scaleway v1.27.0 published on Monday, Apr 21, 2025 by pulumiverse

    Gets information about a registry namespace.

    Using getNamespace

    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 getNamespace(args: GetNamespaceArgs, opts?: InvokeOptions): Promise<GetNamespaceResult>
    function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: InvokeOptions): Output<GetNamespaceResult>
    def get_namespace(name: Optional[str] = None,
                      namespace_id: Optional[str] = None,
                      project_id: Optional[str] = None,
                      region: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetNamespaceResult
    def get_namespace_output(name: Optional[pulumi.Input[str]] = None,
                      namespace_id: Optional[pulumi.Input[str]] = None,
                      project_id: Optional[pulumi.Input[str]] = None,
                      region: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceResult]
    func LookupNamespace(ctx *Context, args *LookupNamespaceArgs, opts ...InvokeOption) (*LookupNamespaceResult, error)
    func LookupNamespaceOutput(ctx *Context, args *LookupNamespaceOutputArgs, opts ...InvokeOption) LookupNamespaceResultOutput

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

    public static class GetNamespace 
    {
        public static Task<GetNamespaceResult> InvokeAsync(GetNamespaceArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceResult> Invoke(GetNamespaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
    public static Output<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scaleway:registry/getNamespace:getNamespace
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The namespace name.
    NamespaceId string

    The namespace id.

    Note You must specify at least one: name and/or image_id.

    ProjectId string
    project_id) The ID of the project the namespace is associated with.
    Region string
    region) The region in which the namespace exists.
    Name string
    The namespace name.
    NamespaceId string

    The namespace id.

    Note You must specify at least one: name and/or image_id.

    ProjectId string
    project_id) The ID of the project the namespace is associated with.
    Region string
    region) The region in which the namespace exists.
    name String
    The namespace name.
    namespaceId String

    The namespace id.

    Note You must specify at least one: name and/or image_id.

    projectId String
    project_id) The ID of the project the namespace is associated with.
    region String
    region) The region in which the namespace exists.
    name string
    The namespace name.
    namespaceId string

    The namespace id.

    Note You must specify at least one: name and/or image_id.

    projectId string
    project_id) The ID of the project the namespace is associated with.
    region string
    region) The region in which the namespace exists.
    name str
    The namespace name.
    namespace_id str

    The namespace id.

    Note You must specify at least one: name and/or image_id.

    project_id str
    project_id) The ID of the project the namespace is associated with.
    region str
    region) The region in which the namespace exists.
    name String
    The namespace name.
    namespaceId String

    The namespace id.

    Note You must specify at least one: name and/or image_id.

    projectId String
    project_id) The ID of the project the namespace is associated with.
    region String
    region) The region in which the namespace exists.

    getNamespace Result

    The following output properties are available:

    Description string
    Endpoint string
    The endpoint of the Registry Namespace.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPublic bool
    The Namespace Privacy Policy: whether or not the images are public.
    OrganizationId string
    The organization ID the namespace is associated with.
    Name string
    NamespaceId string
    ProjectId string
    Region string
    Description string
    Endpoint string
    The endpoint of the Registry Namespace.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPublic bool
    The Namespace Privacy Policy: whether or not the images are public.
    OrganizationId string
    The organization ID the namespace is associated with.
    Name string
    NamespaceId string
    ProjectId string
    Region string
    description String
    endpoint String
    The endpoint of the Registry Namespace.
    id String
    The provider-assigned unique ID for this managed resource.
    isPublic Boolean
    The Namespace Privacy Policy: whether or not the images are public.
    organizationId String
    The organization ID the namespace is associated with.
    name String
    namespaceId String
    projectId String
    region String
    description string
    endpoint string
    The endpoint of the Registry Namespace.
    id string
    The provider-assigned unique ID for this managed resource.
    isPublic boolean
    The Namespace Privacy Policy: whether or not the images are public.
    organizationId string
    The organization ID the namespace is associated with.
    name string
    namespaceId string
    projectId string
    region string
    description str
    endpoint str
    The endpoint of the Registry Namespace.
    id str
    The provider-assigned unique ID for this managed resource.
    is_public bool
    The Namespace Privacy Policy: whether or not the images are public.
    organization_id str
    The organization ID the namespace is associated with.
    name str
    namespace_id str
    project_id str
    region str
    description String
    endpoint String
    The endpoint of the Registry Namespace.
    id String
    The provider-assigned unique ID for this managed resource.
    isPublic Boolean
    The Namespace Privacy Policy: whether or not the images are public.
    organizationId String
    The organization ID the namespace is associated with.
    name String
    namespaceId String
    projectId String
    region String

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.27.0 published on Monday, Apr 21, 2025 by pulumiverse