# getAuthorizationModel

> Function getAuthorizationModel in pulumi-openfga.

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

Function getAuthorizationModel in pulumi-openfga.

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

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

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

## Arguments

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

## Result

| Property    | Type     | Always present | Description |
| ----------- | -------- | -------------- | ----------- |
| `id`        | `string` | no             |             |
| `modelJson` | `string` | yes            |             |
| `storeId`   | `string` | yes            |             |
