Skip to content

Commit

Permalink
Updated agfood.json for privatelinks (Azure#21293)
Browse files Browse the repository at this point in the history
* updating common-types to v4

* resolved modelValidation for idFormat & apiVersion

* modelValidation for extensions

* modelValidation resolved for operationList

Co-authored-by: IshitaAsthana <[email protected]>
  • Loading branch information
2 people authored and kayousef committed Dec 21, 2022
1 parent d9b0e35 commit 80d7b4f
Show file tree
Hide file tree
Showing 17 changed files with 118 additions and 114 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"name": "provider.extension",
"type": "Microsoft.AgFoodPlatform/farmBeats/extensions",
"systemData": {
Expand All @@ -44,7 +44,7 @@
},
"201": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"name": "provider.extension",
"type": "Microsoft.AgFoodPlatform/farmBeats/extensions",
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-12-preview",
"api-version": "2021-09-01-preview",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "examples-rg",
"farmBeatsResourceName": "examples-farmbeatsResourceName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"name": "provider.extension",
"type": "Microsoft.AgFoodPlatform/farmBeats/extensions",
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"body": {
"value": [
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension",
"name": "provider.extension",
"type": "Microsoft.AgFoodPlatform/farmBeats/extensions",
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
"id": "Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/DTN.ContentServices",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/DTN.ContentServices",
"type": "Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions",
"systemData": {
"createdAt": "2021-04-12T15:28:06Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"body": {
"value": [
{
"id": "Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/DTN.ContentServices",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/DTN.ContentServices",
"type": "Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions",
"systemData": {
"createdAt": "2021-04-12T15:28:06Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmbeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand All @@ -39,7 +39,7 @@
},
"201": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmbeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmBeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"body": {
"value": [
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmBeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"body": {
"value": [
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmBeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmBeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "examples-farmBeatsResourceName",
"type": "Microsoft.AgFoodPlatform/farmBeats",
"location": "eastus2",
Expand All @@ -32,7 +32,7 @@
},
"identity": {
"type": "SystemAssigned",
"tenantId": "abcdefgh-86f1-41af-91ab-2d7cd011db47"
"tenantId": "11111111-2222-3333-4444-555555555555"
},
"systemData": {
"createdBy": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
}
}
],
"nextLink": "https://management.azure.com/providers/Microsoft.AgFoodPlatform/operations?$skiptoken={token}"
"nextLink": "https://management.azure.com/providers/Microsoft.AgFoodPlatform/operations"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Location": "http://azure.async.operation/status"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/privateLinkResources/farmbeats",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "farmbeats",
"type": "Microsoft.AgFoodPlatform/farmBeats/privateLinkResources",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"body": {
"value": [
{
"id": "subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/privateLinkResources/farmbeats",
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
"name": "farmbeats",
"type": "Microsoft.AgFoodPlatform/farmBeats/privateLinkResources",
"properties": {
Expand Down

0 comments on commit 80d7b4f

Please sign in to comment.