Skip to content

Commit

Permalink
testing a new readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
pvadali-az committed Apr 14, 2022
1 parent ab54161 commit e5536c9
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 48 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Purview

> see https://aka.ms/autorest
This is the AutoRest configuration file for Purview.



---
## Getting Started
To build the SDK for Purview, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:

> `autorest`
To see additional help and options, run:

> `autorest --help`
---

## Configuration

### Basic Information
These are the global settings for the Azure Purview Scanning API.

``` yaml
openapi-type: data-plane
tag: package-2022-02-01-preview
```
These are the global settings for the Purview Scanning API.
``` yaml
openapi-type: data-plane
tag: package-2018-12-01-preview
title: PurviewScanningClient
```
### Tag: package-2022-02-01-preview
These settings apply only when `--tag=package-2022-02-01-preview` is specified on the command line.

``` yaml $(tag) == 'package-2022-02-01-preview'
input-file:
- Azure.Analytics.Purview.Scanning/preview/2022-02-01-preview/scanningService.json
modelerfour:
lenient-model-deduplication: true
```

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

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

``` yaml $(tag) == 'package-2021-10-01-preview'
input-file:
- Azure.Analytics.Purview.Scanning/preview/2021-10-01-preview/scanningService.json
modelerfour:
lenient-model-deduplication: true
```

### Tag: package-2018-12-01-preview

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

``` yaml $(tag) == 'package-2018-12-01-preview'
input-file:
- Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
modelerfour:
lenient-model-deduplication: true
```

---
# Code Generation

## Java

These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
java:
output-folder: $(csharp-sdks-folder)/Purview/ScanningClient/Generated
add-credentials: true
sync-methods: all
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Azure.Analytics.Purview.Scanning
clear-output-folder: true
```

## Python

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

# 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-net-track2
```
48 changes: 0 additions & 48 deletions specification/purview/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,48 +37,6 @@ input-file:
- Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json
```


These are the global settings for the Purview Scanning API.

``` yaml
openapi-type: data-plane
tag: package-2018-12-01-preview
title: PurviewScanningClient
```

### Tag: package-2022-02-01-preview

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

``` yaml $(tag) == 'package-2022-02-01-preview'
input-file:
- Azure.Analytics.Purview.Scanning/preview/2022-02-01-preview/scanningService.json
modelerfour:
lenient-model-deduplication: true
```

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

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

``` yaml $(tag) == 'package-2021-10-01-preview'
input-file:
- Azure.Analytics.Purview.Scanning/preview/2021-10-01-preview/scanningService.json
modelerfour:
lenient-model-deduplication: true
```

### Tag: package-2018-12-01-preview

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

``` yaml $(tag) == 'package-2018-12-01-preview'
input-file:
- Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
modelerfour:
lenient-model-deduplication: true
```

These are the global settings for the Purview API.

``` yaml
Expand Down Expand Up @@ -128,12 +86,6 @@ java:
add-credentials: true
output-folder: $(azure-libraries-for-java-folder)/purview/Microsoft.Azure.Analytics.Purview.Catalog/src/Generated
clear-output-folder: true
output-folder: $(csharp-sdks-folder)/Purview/ScanningClient/Generated
add-credentials: true
sync-methods: all
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Azure.Analytics.Purview.Scanning
clear-output-folder: true
```

## Python
Expand Down

0 comments on commit e5536c9

Please sign in to comment.