# getStores

> Function getStores in pulumi-openfga.

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

Function getStores in pulumi-openfga.

Invoke token: `openfga:index/getStores:getStores`.

## 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 openfga from "pulumi-openfga"

const result = await openfga.getStores()
```

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

## Arguments

This function takes no arguments.

## Result

| Property | Type               | Always present | Description |
| -------- | ------------------ | -------------- | ----------- |
| `stores` | `GetStoresStore[]` | yes            |             |

## `GetStoresStore`

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

| Property | Type     | Always present | Description                 |
| -------- | -------- | -------------- | --------------------------- |
| `id`     | `string` | yes            | The unique ID of the store. |
| `name`   | `string` | yes            | The name of the store.      |
