Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update auto-generated documentation #1355

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Loading