# getEndpointRegistries

> Function getEndpointRegistries in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Function getEndpointRegistries in pulumi-portainer.

Invoke token: `portainer:index/getEndpointRegistries:getEndpointRegistries`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const result = await portainer.getEndpointRegistries({
  environmentId: 0,
})
```

`getEndpointRegistriesOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property              | Type     | Required | Description |
| --------------------- | -------- | -------- | ----------- |
| `dockerhubRegistryId` | `number` | no       |             |
| `environmentId`       | `number` | yes      |             |
| `id`                  | `string` | no       |             |
| `namespace`           | `string` | no       |             |

## Result

| Property                 | Type                              | Always present | Description |
| ------------------------ | --------------------------------- | -------------- | ----------- |
| `dockerhubRateLimit`     | `number`                          | yes            |             |
| `dockerhubRateRemaining` | `number`                          | yes            |             |
| `dockerhubRegistryId`    | `number`                          | no             |             |
| `environmentId`          | `number`                          | yes            |             |
| `id`                     | `string`                          | yes            |             |
| `namespace`              | `string`                          | no             |             |
| `registries`             | `GetEndpointRegistriesRegistry[]` | yes            |             |

## `GetEndpointRegistriesRegistry`

Output object `GetEndpointRegistriesRegistry`. Fields below belong to this object.

| Property         | Type      | Always present | Description |
| ---------------- | --------- | -------------- | ----------- |
| `authentication` | `boolean` | no             |             |
| `baseUrl`        | `string`  | no             |             |
| `id`             | `number`  | no             |             |
| `name`           | `string`  | no             |             |
| `type`           | `number`  | no             |             |
| `url`            | `string`  | no             |             |
| `username`       | `string`  | no             |             |
