Skip to content

Commit

Permalink
Updating enrollments account examples (#25874)
Browse files Browse the repository at this point in the history
* Update enrollmentAccountByDepartment.json

* Update enrollmentAccountsListByDepartment.json

* Update types.json
  • Loading branch information
himanshuPandey25 authored Sep 26, 2023
1 parent a653993 commit 65e9efe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/6564892/enrollmentAccounts/257698",
"id": "/providers/Microsoft.Billing/billingAccounts/6564892/departments/164821/enrollmentAccounts/257698",
"name": "257698",
"properties": {
"costCenter": "C0",
Expand All @@ -21,7 +21,7 @@
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z"
},
"type": "Microsoft.Billing/billingAccounts/enrollmentAccounts"
"type": "Microsoft.Billing/billingAccounts/departments/enrollmentAccounts"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/6564892/enrollmentAccounts/257698",
"id": "/providers/Microsoft.Billing/billingAccounts/6564892/departments/164821/enrollmentAccounts/257698",
"name": "257698",
"properties": {
"costCenter": "C0",
Expand All @@ -22,10 +22,10 @@
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z"
},
"type": "Microsoft.Billing/billingAccounts/enrollmentAccounts"
"type": "Microsoft.Billing/billingAccounts/departments/enrollmentAccounts"
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/6564892/enrollmentAccounts/264698",
"id": "/providers/Microsoft.Billing/billingAccounts/6564892/departments/164821/enrollmentAccounts/264698",
"name": "264698",
"properties": {
"costCenter": "C1",
Expand All @@ -38,7 +38,7 @@
"startDate": "2018-05-01T17:32:28Z",
"endDate": "2019-05-31T17:32:28Z"
},
"type": "Microsoft.Billing/billingAccounts/enrollmentAccounts"
"type": "Microsoft.Billing/billingAccounts/departments/enrollmentAccounts"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
"description": "The ID that uniquely identifies an enrollment account.",
"required": true,
"type": "string",
"pattern": "^[1-9][0-9]*$",
"pattern": "^[a-zA-Z\\d-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"departmentName": {
Expand All @@ -369,7 +369,7 @@
"description": "The ID that uniquely identifies the department.",
"required": true,
"type": "string",
"pattern": "^[1-9][0-9]*$",
"pattern": "^[a-zA-Z\\d-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"invoiceName": {
Expand Down

0 comments on commit 65e9efe

Please sign in to comment.