Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Billing RP] Rename BillingAccount->EnrollmentAccount. #2626

Merged
merged 1 commit into from
Mar 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"application/json"
],
"paths": {
"/providers/Microsoft.Billing/billingAccounts": {
"/providers/Microsoft.Billing/enrollmentAccounts": {
"get": {
"tags": [
"BillingAccounts"
"EnrollmentAccounts"
],
"x-ms-examples": {
"BillingAccountsList": {
"$ref": "./examples/BillingAccountsList.json"
"EnrollmentAccountsList": {
"$ref": "./examples/EnrollmentAccountsList.json"
}
},
"operationId": "BillingAccounts_List",
"description": "Lists the billing accounts the caller has access to.",
"operationId": "EnrollmentAccounts_List",
"description": "Lists the enrollment accounts the caller has access to.",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
Expand All @@ -37,7 +37,7 @@
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/BillingAccountListResult"
"$ref": "#/definitions/EnrollmentAccountListResult"
}
},
"default": {
Expand All @@ -49,23 +49,23 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{name}": {
"/providers/Microsoft.Billing/enrollmentAccounts/{name}": {
"get": {
"tags": [
"BillingAccounts"
"EnrollmentAccounts"
],
"x-ms-examples": {
"BillingAccountsGet": {
"$ref": "./examples/BillingAccountsGet.json"
"EnrollmentAccountsGet": {
"$ref": "./examples/EnrollmentAccountsGet.json"
}
},
"operationId": "BillingAccounts_Get",
"description": "Gets a billing account by name.",
"operationId": "EnrollmentAccounts_Get",
"description": "Gets a enrollment account by name.",
"parameters": [
{
"name": "name",
"in": "path",
"description": "Billing Account name.",
"description": "Enrollment Account name.",
"required": true,
"type": "string"
},
Expand All @@ -77,7 +77,7 @@
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/BillingAccountResult"
"$ref": "#/definitions/EnrollmentAccountResult"
}
},
"default": {
Expand Down Expand Up @@ -384,8 +384,8 @@
}
},
"definitions": {
"BillingAccountResult": {
"description": "A billing account resource.",
"EnrollmentAccountResult": {
"description": "An enrollment account resource.",
"type": "object",
"allOf": [
{
Expand All @@ -394,27 +394,27 @@
],
"properties": {
"properties": {
"description": "A billing account.",
"description": "An enrollment account.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/BillingAccountProperties"
"$ref": "#/definitions/EnrollmentAccountProperties"
}
}
},
"BillingAccountListResult": {
"description": "Result of listing billing accounts.",
"EnrollmentAccountListResult": {
"description": "Result of listing enrollment accounts.",
"properties": {
"value": {
"description": "The list of billing accounts.",
"description": "The list of enrollment accounts.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/BillingAccountResult"
"$ref": "#/definitions/EnrollmentAccountResult"
}
}
}
},
"BillingAccountProperties": {
"description": "The properties of the billing account.",
"EnrollmentAccountProperties": {
"description": "The properties of the enrollment account.",
"properties": {
"principalName": {
"description": "The account owner's principal name.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556",
"id": "/providers/Microsoft.Billing/enrollmentAccounts/e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556",
"name": "e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556",
"type": "Microsoft.Billing/billingAccounts",
"type": "Microsoft.Billing/enrollmentAccounts",
"properties": {
"principalName": "[email protected]"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556",
"id": "/providers/Microsoft.Billing/enrollmentAccounts/e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556",
"name": "e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556",
"type": "Microsoft.Billing/billingAccounts",
"type": "Microsoft.Billing/enrollmentAccounts",
"properties": {
"principalName": "[email protected]"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/edd24053-07cd-4ed4-aa5b-326160a6680d",
"id": "/providers/Microsoft.Billing/enrollmentAccounts/edd24053-07cd-4ed4-aa5b-326160a6680d",
"name": "edd24053-07cd-4ed4-aa5b-326160a6680d",
"type": "Microsoft.Billing/billingAccounts",
"type": "Microsoft.Billing/enrollmentAccounts",
"properties": {
"principalName": "[email protected]"
}
Expand Down