Skip to content

Commit

Permalink
Revert "Revert "Revert "Revert "Revert "Add Operations API"""""
Browse files Browse the repository at this point in the history
This reverts commit 9f55eb4.
  • Loading branch information
taogems committed Apr 16, 2021
1 parent 9f55eb4 commit 34ae6c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 285 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,118 +80,10 @@
}
}
},
"/providers/Microsoft.DBForPostgreSQL/operations": {
"get": {
"tags": [
"Operations"
],
"operationId": "Operations_List",
"x-ms-examples": {
"OperationList": {
"$ref": "./examples/OperationList.json"
}
},
"description": "Lists all of the available REST API operations.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"definitions": {
"PrivateDnsZoneSuffix": {
"type": "string",
"description": "Represents the private DNS zone suffix."
},
"OperationListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
},
"description": "The list of resource provider operations."
}
},
"description": "A list of resource provider operations."
},
"Operation": {
"properties": {
"name": {
"type": "string",
"readOnly": true,
"description": "The name of the operation being performed on this particular object."
},
"display": {
"$ref": "#/definitions/OperationDisplay",
"readOnly": true,
"description": "The localized display information for this particular operation or action."
},
"origin": {
"type": "string",
"readOnly": true,
"description": "The intended executor of the operation.",
"enum": [
"NotSpecified",
"user",
"system"
],
"x-ms-enum": {
"name": "OperationOrigin",
"modelAsString": true
}
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"readOnly": true,
"x-ms-client-flatten": false,
"description": "Additional descriptions for the operation."
}
},
"description": "REST API operation definition."
},
"OperationDisplay": {
"properties": {
"provider": {
"type": "string",
"readOnly": true,
"description": "Operation resource provider name."
},
"resource": {
"type": "string",
"readOnly": true,
"description": "Resource on which the operation is performed."
},
"operation": {
"type": "string",
"readOnly": true,
"description": "Localized friendly name for the operation."
},
"description": {
"type": "string",
"readOnly": true,
"description": "Operation description."
}
},
"description": "Display metadata associated with the operation."
"description": "Represents a resource name availability."
},
"CloudError": {
"x-ms-external": true,
Expand Down

This file was deleted.

0 comments on commit 34ae6c7

Please sign in to comment.