# getAuthorizationModels

> Function getAuthorizationModels in pulumi-openfga.

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

Function getAuthorizationModels in pulumi-openfga.

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

## 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.getAuthorizationModels({
  storeId: "<storeId>",
})
```

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

## Arguments

| Property  | Type     | Required | Description |
| --------- | -------- | -------- | ----------- |
| `storeId` | `string` | yes      |             |

## Result

| Property              | Type                                         | Always present | Description |
| --------------------- | -------------------------------------------- | -------------- | ----------- |
| `authorizationModels` | `GetAuthorizationModelsAuthorizationModel[]` | yes            |             |
| `storeId`             | `string`                                     | yes            |             |

## `GetAuthorizationModelsAuthorizationModel`

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

| Property    | Type     | Always present | Description                                        |
| ----------- | -------- | -------------- | -------------------------------------------------- |
| `id`        | `string` | yes            | The unique ID of the authorization model.          |
| `modelJson` | `string` | yes            | The authorization model definition in JSON format. |
