Skip to content

Commit

Permalink
Removing unsupported LineOfCredit API
Browse files Browse the repository at this point in the history
Removing unsupported LineOfCredit API
  • Loading branch information
asarkar84 committed Feb 4, 2020
1 parent 3c346ab commit 91bb453
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 171 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4592,102 +4592,6 @@
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default": {
"get": {
"tags": [
"LineOfCredits"
],
"x-ms-examples": {
"LineOfCreditBySubscription": {
"$ref": "./examples/LineOfCreditBySubscription.json"
}
},
"operationId": "LineOfCredits_Get",
"description": "Get the current line of credit.",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/LineOfCredit"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
"put": {
"tags": [
"LineOfCredits"
],
"operationId": "LineOfCredits_Update",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"x-ms-examples": {
"IncreaseLineOfCreditBySubscription": {
"$ref": "./examples/IncreaseLineOfCreditBySubscription.json"
}
},
"description": "Increase the current line of credit.",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/LineOfCredit"
},
"description": "Parameters supplied to the increase line of credit operation."
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/LineOfCredit"
}
},
"202": {
"description": "Accepted. Line of credit increase is in progress.",
"headers": {
"Location": {
"description": "Location URI to poll for result.",
"type": "string"
},
"Retry-After": {
"description": "Recommends the retryable time after receiving this.",
"type": "integer"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -7615,54 +7519,6 @@
}
}
},
"LineOfCredit": {
"description": "Line of credit resource.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"properties": {
"properties": {
"description": "A line of credit.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/LineOfCreditProperties"
}
}
},
"LineOfCreditProperties": {
"description": "The properties of the line of credit.",
"properties": {
"creditLimit": {
"description": "The current credit limit.",
"$ref": "#/definitions/Amount",
"readOnly": false
},
"reason": {
"description": "The reason for the line of credit status when not approved.",
"type": "string",
"readOnly": true
},
"remainingBalance": {
"description": "Remaining balance.",
"$ref": "#/definitions/Amount",
"readOnly": true
},
"status": {
"description": "The line of credit status.",
"type": "string",
"enum": [
"Approved",
"Rejected"
],
"x-ms-enum": {
"name": "status",
"modelAsString": true
}
}
}
},
"Action": {
"description": "the action the caller allowed to do",
"type": "string",
Expand Down

This file was deleted.

0 comments on commit 91bb453

Please sign in to comment.