Skip to content

Commit

Permalink
Revert WebApiSkill design change (Azure#29614)
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft authored Jun 27, 2024
1 parent 9d794a3 commit bfb929c
Showing 1 changed file with 28 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8787,12 +8787,26 @@
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
},
{
"$ref": "#/definitions/WebApiParameters"
}
],
"properties": {
"uri": {
"type": "string",
"description": "The url for the Web API."
},
"httpHeaders": {
"$ref": "#/definitions/WebApiHttpHeaders",
"description": "The headers required to make the http request."
},
"httpMethod": {
"type": "string",
"description": "The method for the http request."
},
"timeout": {
"type": "string",
"format": "duration",
"description": "The desired timeout for the request. Default is 30 seconds."
},
"batchSize": {
"type": "integer",
"format": "int32",
Expand All @@ -8804,6 +8818,17 @@
"format": "int32",
"x-nullable": true,
"description": "If set, the number of parallel calls that can be made to the Web API."
},
"authResourceId": {
"type": "string",
"x-nullable": true,
"x-ms-format": "arm-id",
"description": "Applies to custom skills that connect to external code in an Azure function or some other application that provides the transformations. This value should be the application ID created for the function or app when it was registered with Azure Active Directory. When specified, the custom skill connects to the function or app using a managed ID (either system or user-assigned) of the search service and the access token of the function or app, using this value as the resource id for creating the scope of the access token."
},
"authIdentity": {
"$ref": "#/definitions/SearchIndexerDataIdentity",
"x-nullable": true,
"description": "The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared."
}
},
"required": [
Expand Down

0 comments on commit bfb929c

Please sign in to comment.