Skip to content
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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@

These settings apply only when `--az` is specified on the command line.

For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.
For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.

``` yaml $(az) && $(target-mode) != 'core'
```yaml $(az) && $(target-mode) != 'core'
az:
extensions: databasewatcher
namespace: azure.mgmt.databasewatcher
package-name: azure-mgmt-databasewatcher
extensions: databasewatcher
namespace: azure.mgmt.databasewatcher
package-name: azure-mgmt-databasewatcher
az-output-folder: $(azure-cli-extension-folder)/src/databasewatcher
python-sdk-output-folder: "$(az-output-folder)/azext_databasewatcher/vendored_sdks/databasewatcher"
# add additional configuration here specific for Azure CLI
# refer to the faq.md for more details
```

This is for command modules that already in azure cli main repo.


This is for command modules that already in azure cli main repo.
``` yaml $(az) && $(target-mode) == 'core'
```yaml $(az) && $(target-mode) == 'core'
az:
extensions: databasewatcher
namespace: azure.mgmt.databasewatcher
package-name: azure-mgmt-databasewatcher
az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/databasewatcher
python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/databasewatcher"
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## CLI Common Settings for all the command line tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# database watcher

> see https://aka.ms/autorest

This is the AutoRest configuration file for database watcher.

## Getting Started

To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:

> `autorest readme.md`

To see additional help and options, run:

> `autorest --help`

For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.

---

## Configuration

### Basic Information

These are the global settings for the database watcher.

```yaml
openapi-type: arm
openapi-subtype: rpaas
tag: package-2025-01-02
```

### Tag: package-2025-01-02

These settings apply only when `--tag=package-2025-01-02` is specified on the command line.

```yaml $(tag) == 'package-2025-01-02'
input-file:
- stable/2025-01-02/Watcher.json
```

### Tag: package-2024-10-01-preview

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

```yaml $(tag) == 'package-2024-10-01-preview'
input-file:
- preview/2024-10-01-preview/Watcher.json
```

### Tag: package-2024-07-19-preview

These settings apply only when `--tag=package-2024-07-19-preview` is specified on the command line.

```yaml $(tag) == 'package-2024-07-19-preview'
input-file:
- preview/2024-07-19-preview/Watcher.json
```

### Tag: package-2023-09-01-preview

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

```yaml $(tag) == 'package-2023-09-01-preview'
input-file:
- preview/2023-09-01-preview/Watcher.json
```

---

# Code Generation

## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
- repo: azure-powershell
```

## Az

See configuration in [readme.az.md](./readme.az.md)

## Python

See configuration in [readme.python.md](./readme.python.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(python)
```yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-databasewatcher
Expand All @@ -12,7 +12,7 @@ package-version: 1.0.0b1
clear-output-folder: true
```

``` yaml $(python)
```yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/databasewatcher/azure-mgmt-databasewatcher/azure/mgmt/databasewatcher
```
Loading
Loading