forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f039d80
commit b61d51f
Showing
22 changed files
with
97 additions
and
40 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
specification/purview/data-plane/Azure.Analytics.Purview.Account/readme.md
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Purview | ||
|
||
> see https://aka.ms/autorest | ||
This is the AutoRest configuration file for Purview Administrator. | ||
|
||
--- | ||
|
||
## 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 Catalog API. | ||
|
||
``` yaml | ||
openapi-type: data-plane | ||
tag: package-composite-1 | ||
security: AADToken | ||
security-scopes: https://purview.azure.net/.default | ||
modelerfour: | ||
lenient-model-deduplication: true | ||
``` | ||
```yaml $(purview-account) | ||
title: PurviewAccountClient | ||
purview-account-tag: package-preview-2019-11-01 | ||
``` | ||
```yaml $(purview-metadata) | ||
title: PurviewMetadataClient | ||
purview-metadata-tag: package-preview-2021-07-01 | ||
``` | ||
### Tag: package-composite-1 | ||
These settings apply only when `--tag=package-composite-1` is specified on the command line. | ||
|
||
```yaml $(tag) == 'package-composite-1' | ||
input-file: | ||
- Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json | ||
- Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01-preview/purviewMetadataPolicy.json | ||
``` | ||
|
||
### Tag: package-preview-2019-11-01 | ||
|
||
These settings apply only when `--purview-account-tag=package-preview-2019-11-01` is specified on the command line. | ||
|
||
```yaml $(purview-account-tag) == 'package-preview-2019-11-01' | ||
input-file: | ||
- Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json | ||
``` | ||
|
||
### Tag: package-preview-2021-07-01 | ||
|
||
These settings apply only when `--purview-metadata-tag=package-preview-2021-07-01` is specified on the command line. | ||
|
||
```yaml $(purview-metadata-tag) == 'package-preview-2021-07-01' | ||
input-file: | ||
- Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01-preview/purviewMetadataPolicy.json | ||
``` | ||
|
||
## Suppression | ||
|
||
``` yaml | ||
directive: | ||
- suppress: D5001 | ||
where: | ||
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/xxx.get | ||
reason: It doesn't support file annotation in example file. | ||
``` | ||
|
||
# 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-js | ||
- repo: azure-sdk-for-python | ||
- repo: azure-sdk-for-java | ||
- repo: azure-sdk-for-net-track2 | ||
``` |