Skip to content

Commit e904bb2

Browse files
kshitizvijayKshitiz Vijayvargiya
authored andcommitted
Ksvijayv/metadata policy preview (Azure#16210)
* added Purview policy store json * changed to preview * Revert "added Purview policy store json" This reverts commit 76cd2e7. Co-authored-by: Kshitiz Vijayvargiya <[email protected]>
1 parent f684a92 commit e904bb2

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"policyId": "98ed42ff-b67f-44df-8c8c-7e6b43e77055",
5-
"api-version": "2021-07-01"
5+
"api-version": "2021-07-01-preview"
66
},
77
"responses": {
88
"200": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"Endpoint": "{Endpoint}",
4-
"api-version": "2021-07-01"
4+
"api-version": "2021-07-01-preview"
55
},
66
"responses": {
77
"200": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"policyId": "98ed42ff-b67f-44df-8c8c-7e6b43e77055",
5-
"api-version": "2021-07-01",
5+
"api-version": "2021-07-01-preview",
66
"body": {
77
"name": "policy_mycollection",
88
"id": "98ed42ff-b67f-44df-8c8c-7e6b43e77055",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"Endpoint": "{Endpoint}",
4-
"api-version": "2021-07-01"
4+
"api-version": "2021-07-01-preview"
55
},
66
"responses": {
77
"200": {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"title": "Purview Metadata Policies Service REST API Document",
5-
"version": "2021-07-01"
5+
"version": "2021-07-01-preview"
66
},
77
"paths": {
88
"/metadataRoles": {
@@ -332,8 +332,8 @@
332332
"properties": {
333333
"type": {
334334
"description": "The type of reference",
335-
"type": "string",
336-
"readOnly": true
335+
"default": "CollectionReference",
336+
"type": "string"
337337
},
338338
"referenceName": {
339339
"description": "The name of reference",

specification/purview/data-plane/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@ These are the global settings for the Purview API.
6262

6363
``` yaml
6464
openapi-type: data-plane
65-
tag: package-2021-07-01
65+
tag: package-2021-07-01-preview
6666
title: PurviewMetadataPolicyClient
6767
```
6868

6969

70-
### Tag: package-2021-07-01
70+
### Tag: package-2021-07-01-preview
7171

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

74-
``` yaml $(tag) == 'package-2021-07-01'
74+
``` yaml $(tag) == 'package-2021-07-01-preview'
7575
input-file:
76-
- Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01/purviewMetadataPolicy.json
76+
- Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01-preview/purviewMetadataPolicy.json
7777
modelerfour:
7878
lenient-model-deduplication: true
7979
```

0 commit comments

Comments
 (0)