Skip to content

Commit

Permalink
moving preview version to public folder (#22447)
Browse files Browse the repository at this point in the history
* 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
banggaurav and Gaurav Bang authored Feb 8, 2023
1 parent d66735f commit 9dff39e
Show file tree
Hide file tree
Showing 88 changed files with 6,740 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specification/newrelic/NewRelic.Management/cadl-project.yaml
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
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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"
}
]
}
}
}
}
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": {}
}
}
}
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"
]
}
}
}
}
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": {}
}
}
}
Loading

0 comments on commit 9dff39e

Please sign in to comment.