-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving preview version to public folder (#22447)
* moving preview version to public folder * updating cadl file * fixing cadl compile error * fixing inconsistent cadl --------- Co-authored-by: Gaurav Bang <gauravbang@microsoft.com>
- Loading branch information
1 parent
d66735f
commit 9dff39e
Showing
88 changed files
with
6,740 additions
and
0 deletions.
There are no files selected for viewing
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,6 @@ | ||
emit: | ||
- "@azure-tools/cadl-autorest" | ||
options: | ||
"@azure-tools/cadl-autorest": | ||
azure-resource-provider-folder: ./swagger/newrelic/resource-manager | ||
examples-directory: ./examples |
28 changes: 28 additions & 0 deletions
28
specification/newrelic/NewRelic.Management/examples/Accounts_List_MaximumSet_Gen.json
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,28 @@ | ||
{ | ||
"operationId": "Accounts_List", | ||
"title": "Accounts_List_MaximumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "nqmcgifgaqlf", | ||
"userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", | ||
"location": "egh" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "ycdsgeiitvxcd", | ||
"properties": { | ||
"organizationId": "wvdclwi", | ||
"accountId": "igmdjq", | ||
"accountName": "accname", | ||
"region": "xnsylopqwcggudcln" | ||
} | ||
} | ||
], | ||
"nextLink": "http://testlink.com" | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
specification/newrelic/NewRelic.Management/examples/Accounts_List_MinimumSet_Gen.json
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,21 @@ | ||
{ | ||
"operationId": "Accounts_List", | ||
"title": "Accounts_List_MinimumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "nqmcgifgaqlf", | ||
"userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", | ||
"location": "egh" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "ycdsgeiitvxcd" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
203 changes: 203 additions & 0 deletions
203
...ication/newrelic/NewRelic.Management/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json
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,203 @@ | ||
{ | ||
"operationId": "Monitors_CreateOrUpdate", | ||
"title": "Monitors_CreateOrUpdate_MaximumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "hfmjmpyqgezxkp", | ||
"resourceGroupName": "rgNewRelic", | ||
"monitorName": "cdlymktqw", | ||
"resource": { | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"monitoringStatus": "Enabled", | ||
"marketplaceSubscriptionStatus": "Active", | ||
"newRelicAccountProperties": { | ||
"userId": "vcscxlncofcuduadesd", | ||
"accountInfo": { | ||
"accountId": "xhqmg", | ||
"ingestionKey": "wltnimmhqt", | ||
"region": "ljcf" | ||
}, | ||
"organizationInfo": { | ||
"organizationId": "k" | ||
}, | ||
"singleSignOnProperties": { | ||
"singleSignOnState": "Initial", | ||
"enterpriseAppId": "kwiwfz", | ||
"singleSignOnUrl": "kvseueuljsxmfwpqctz", | ||
"provisioningState": "Accepted" | ||
} | ||
}, | ||
"userInfo": { | ||
"firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", | ||
"lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", | ||
"emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", | ||
"phoneNumber": "krf", | ||
"country": "hslqnwdanrconqyekwbnttaetv" | ||
}, | ||
"planData": { | ||
"usageType": "PAYG", | ||
"billingCycle": "YEARLY", | ||
"planDetails": "tbbiaga", | ||
"effectiveDate": "2022-12-05T14:11:37.786Z" | ||
}, | ||
"liftrResourceCategory": "Unknown", | ||
"orgCreationSource": "LIFTR", | ||
"accountCreationSource": "LIFTR" | ||
}, | ||
"identity": { | ||
"type": "None", | ||
"userAssignedIdentities": { | ||
"key8903": {} | ||
} | ||
}, | ||
"tags": { | ||
"key6976": "oaxfhf" | ||
}, | ||
"location": "k" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"monitoringStatus": "Enabled", | ||
"marketplaceSubscriptionStatus": "Active", | ||
"marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", | ||
"newRelicAccountProperties": { | ||
"userId": "vcscxlncofcuduadesd", | ||
"accountInfo": { | ||
"accountId": "xhqmg", | ||
"region": "ljcf" | ||
}, | ||
"organizationInfo": { | ||
"organizationId": "k" | ||
}, | ||
"singleSignOnProperties": { | ||
"singleSignOnState": "Initial", | ||
"enterpriseAppId": "kwiwfz", | ||
"singleSignOnUrl": "kvseueuljsxmfwpqctz", | ||
"provisioningState": "Accepted" | ||
} | ||
}, | ||
"userInfo": { | ||
"firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", | ||
"lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", | ||
"emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", | ||
"phoneNumber": "krf", | ||
"country": "hslqnwdanrconqyekwbnttaetv" | ||
}, | ||
"planData": { | ||
"usageType": "PAYG", | ||
"billingCycle": "YEARLY", | ||
"planDetails": "tbbiaga", | ||
"effectiveDate": "2022-12-05T14:11:37.786Z" | ||
}, | ||
"liftrResourceCategory": "Unknown", | ||
"liftrResourcePreference": 12, | ||
"orgCreationSource": "LIFTR", | ||
"accountCreationSource": "LIFTR" | ||
}, | ||
"identity": { | ||
"principalId": "cac47a92-2856-11ed-a261-0242ac120002", | ||
"tenantId": "cac47a92-2856-11ed-a261-0242ac120002", | ||
"type": "None", | ||
"userAssignedIdentities": { | ||
"key8903": { | ||
"principalId": "cac47a92-2856-11ed-a261-0242ac120002", | ||
"clientId": "cac47a92-2856-11ed-a261-0242ac120002" | ||
} | ||
} | ||
}, | ||
"tags": { | ||
"key6976": "oaxfhf" | ||
}, | ||
"location": "k", | ||
"id": "ilrwkvbuwu", | ||
"name": "fteaqmtwspcfgyopqzrepiqu", | ||
"type": "hdj", | ||
"systemData": { | ||
"createdBy": "pcdjzdldbwsdlfi", | ||
"createdByType": "User", | ||
"createdAt": "2022-12-05T14:11:37.787Z", | ||
"lastModifiedBy": "xbsjrxmwwlmpnpvcica", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-12-05T14:11:37.787Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://contoso.com/operationstatus" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"monitoringStatus": "Enabled", | ||
"marketplaceSubscriptionStatus": "Active", | ||
"marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", | ||
"newRelicAccountProperties": { | ||
"userId": "vcscxlncofcuduadesd", | ||
"accountInfo": { | ||
"accountId": "xhqmg", | ||
"region": "ljcf" | ||
}, | ||
"organizationInfo": { | ||
"organizationId": "k" | ||
}, | ||
"singleSignOnProperties": { | ||
"singleSignOnState": "Initial", | ||
"enterpriseAppId": "kwiwfz", | ||
"singleSignOnUrl": "kvseueuljsxmfwpqctz", | ||
"provisioningState": "Accepted" | ||
} | ||
}, | ||
"userInfo": { | ||
"firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", | ||
"lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", | ||
"emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", | ||
"phoneNumber": "krf", | ||
"country": "hslqnwdanrconqyekwbnttaetv" | ||
}, | ||
"planData": { | ||
"usageType": "PAYG", | ||
"billingCycle": "YEARLY", | ||
"planDetails": "tbbiaga", | ||
"effectiveDate": "2022-12-05T14:11:37.786Z" | ||
}, | ||
"liftrResourceCategory": "Unknown", | ||
"liftrResourcePreference": 12, | ||
"orgCreationSource": "LIFTR", | ||
"accountCreationSource": "LIFTR" | ||
}, | ||
"identity": { | ||
"principalId": "cac47a92-2856-11ed-a261-0242ac120002", | ||
"tenantId": "cac47a92-2856-11ed-a261-0242ac120002", | ||
"type": "None", | ||
"userAssignedIdentities": { | ||
"key8903": { | ||
"principalId": "cac47a92-2856-11ed-a261-0242ac120002", | ||
"clientId": "cac47a92-2856-11ed-a261-0242ac120002" | ||
} | ||
} | ||
}, | ||
"tags": { | ||
"key6976": "oaxfhf" | ||
}, | ||
"location": "k", | ||
"id": "ilrwkvbuwu", | ||
"name": "fteaqmtwspcfgyopqzrepiqu", | ||
"type": "hdj", | ||
"systemData": { | ||
"createdBy": "pcdjzdldbwsdlfi", | ||
"createdByType": "User", | ||
"createdAt": "2022-12-05T14:11:37.787Z", | ||
"lastModifiedBy": "xbsjrxmwwlmpnpvcica", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-12-05T14:11:37.787Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MaximumSet_Gen.json
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,19 @@ | ||
{ | ||
"operationId": "Monitors_Delete", | ||
"title": "Monitors_Delete_MaximumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "ddqonpqwjr", | ||
"resourceGroupName": "rgopenapi", | ||
"monitorName": "ipxmlcbonyxtolzejcjshkmlron" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://contoso.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MinimumSet_Gen.json
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,19 @@ | ||
{ | ||
"operationId": "Monitors_Delete", | ||
"title": "Monitors_Delete_MinimumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "ddqonpqwjr", | ||
"resourceGroupName": "rgopenapi", | ||
"monitorName": "ipxmlcbonyxtolzejcjshkmlron" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://contoso.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ication/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MaximumSet_Gen.json
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,28 @@ | ||
{ | ||
"operationId": "Monitors_GetMetricRules", | ||
"title": "Monitors_GetMetricRules_MaximumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "nqmcgifgaqlf", | ||
"resourceGroupName": "rgNewRelic", | ||
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", | ||
"request": { | ||
"userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sendMetrics": "Enabled", | ||
"userEmail": "test@testing.com", | ||
"filteringTags": [ | ||
{ | ||
"name": "qnvixg", | ||
"value": "ihyabcsjvhkfzckfjvgvtlhdyvmwge", | ||
"action": "Include" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ication/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MinimumSet_Gen.json
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,18 @@ | ||
{ | ||
"operationId": "Monitors_GetMetricRules", | ||
"title": "Monitors_GetMetricRules_MinimumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "nqmcgifgaqlf", | ||
"resourceGroupName": "rgNewRelic", | ||
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", | ||
"request": { | ||
"userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...cation/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json
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,25 @@ | ||
{ | ||
"operationId": "Monitors_GetMetricStatus", | ||
"title": "Monitors_GetMetricStatus_MaximumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "nqmcgifgaqlf", | ||
"resourceGroupName": "rgNewRelic", | ||
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", | ||
"request": { | ||
"azureResourceIds": [ | ||
"enfghpfw" | ||
], | ||
"userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"azureResourceIds": [ | ||
"enfghpfw" | ||
] | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...cation/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json
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,18 @@ | ||
{ | ||
"operationId": "Monitors_GetMetricStatus", | ||
"title": "Monitors_GetMetricStatus_MinimumSet_Gen", | ||
"parameters": { | ||
"api-version": "2022-07-01-preview", | ||
"subscriptionId": "nqmcgifgaqlf", | ||
"resourceGroupName": "rgNewRelic", | ||
"monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", | ||
"request": { | ||
"userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
Oops, something went wrong.