clients_new/

directory
v0.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2026 License: Apache-2.0

README

API

Prerequisites

  1. Install NodeJS

  2. Install AutoRest

    npm install -g autorest@3.7.2
    

Configuration

The following are the settings for this using this API with AutoRest.

Input OpenAPI specifications
Tag: 2023-10-01-preview

These settings apply only when --tag=2023-10-01-preview is specified on the command line.

input-file:
  - ../../../pkg/cli/swagger/genericResource.json
modelerfour:
  treat-type-object-as-anything: false
Common

The following configuration generates track2 go models and client.

version: 3.*.*
use: "@autorest/go@4.0.0-preview.75"
module: "github.com/radius-project/radius/pkg/cli/clients_new/generated"
file-prefix: zz_generated_
license-header: "Licensed under the Apache License, Version 2.0 . See LICENSE in the repository root for license information.\nCode generated by Microsoft (R) AutoRest Code Generator.\nChanges may cause incorrect behavior and will be lost if the code is regenerated."
azure-arm: true
Output
Tag: 2023-10-01-preview

These settings apply only when --tag=2023-10-01-preview is specified on the command line.

output-folder: ./generated
Adding ResourceTypes

All resource types are tracked in resourceTypesList in ucp package. Whenever a new core-rp or portable resource type is added this list has to be updated.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL