Skip to content

Commit

Permalink
Autogenerate reference docs
Browse files Browse the repository at this point in the history
Signed-off-by: rad-ci-bot <[email protected]>
  • Loading branch information
rad-ci-bot committed Jan 14, 2025
1 parent 9a47acf commit 774a5c9
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/reference/cli/rad_resource-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Manage resource types
### SEE ALSO

* [rad]({{< ref rad.md >}}) - Radius CLI
* [rad resource-type create]({{< ref rad_resource-type_create.md >}}) - Create or update a resource type
* [rad resource-type delete]({{< ref rad_resource-type_delete.md >}}) - Delete resource provider
* [rad resource-type list]({{< ref rad_resource-type_list.md >}}) - List resource resource types
* [rad resource-type show]({{< ref rad_resource-type_show.md >}}) - Show resource resource type
Expand Down
58 changes: 58 additions & 0 deletions docs/content/reference/cli/rad_resource-type_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
type: docs
title: "rad resource-type create CLI reference"
linkTitle: "rad resource-type create"
slug: rad_resource-type_create
url: /reference/cli/rad_resource-type_create/
description: "Details on the rad resource-type create Radius CLI command"
---
## rad resource-type create

Create or update a resource type

### Synopsis

Create or update a resource type from a resource provider manifest.

Resource types are user defined types such as 'Mycompany.Messaging/plaid'.

Creating a resource type defines a new type that can be used in applications.

Input can be passed in using a JSON or YAML file using the --from-file option.


```
rad resource-type create [input] [flags]
```

### Examples

```
# Create a resource type from YAML file
rad resource-type create myType --from-file /path/to/input.yaml
# Create a resource type from JSON file
rad resource-type create myType --from-file /path/to/input.json
```

### Options

```
-f, --from-file string The input file. May be an absolute path or a path relative to the current working directory
-h, --help help for create
-o, --output string output format (supported formats are json, table) (default "table")
-w, --workspace string The workspace name
```

### Options inherited from parent commands

```
--config string config file (default "$HOME/.rad/config.yaml")
```

### SEE ALSO

* [rad resource-type]({{< ref rad_resource-type.md >}}) - Manage resource types

0 comments on commit 774a5c9

Please sign in to comment.