Skip to content

Commit

Permalink
CodeGen from PR 19247 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[DataFactory]Add support OAuth2ClientCredential auth in RestSevice (#19247)

* [DataFactory]Added privateEndpoint Into PrivateLinkConnectionApprovalRequest

* update

* [DataFactory]Add support OAuth2ClientCredential auth in RestSevice

* merge
  • Loading branch information
SDKAuto committed Jun 6, 2022
1 parent 408d222 commit d396296
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions schemas/2018-06-01/Microsoft.DataFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -12820,7 +12820,7 @@
},
"hostName": {
"type": "string",
"description": "GitHub Enterprise host name. For example: https://github.mydomain.com"
"description": "GitHub Enterprise host name. For example: `https://github.mydomain.com`"
},
"type": {
"type": "string",
Expand Down Expand Up @@ -23496,7 +23496,8 @@
"Anonymous",
"Basic",
"AadServicePrincipal",
"ManagedServiceIdentity"
"ManagedServiceIdentity",
"OAuth2ClientCredential"
]
},
{
Expand All @@ -23515,6 +23516,22 @@
"properties": {},
"description": "Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string)."
},
"clientId": {
"type": "object",
"properties": {},
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
},
"clientSecret": {
"oneOf": [
{
"$ref": "#/definitions/SecretBase"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The base definition of a secret type."
},
"credential": {
"oneOf": [
{
Expand Down Expand Up @@ -23547,6 +23564,16 @@
],
"description": "The base definition of a secret type."
},
"resource": {
"type": "object",
"properties": {},
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
},
"scope": {
"type": "object",
"properties": {},
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
},
"servicePrincipalId": {
"type": "object",
"properties": {},
Expand All @@ -23568,6 +23595,11 @@
"properties": {},
"description": "The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides."
},
"tokenEndpoint": {
"type": "object",
"properties": {},
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
},
"url": {
"type": "object",
"properties": {},
Expand Down

0 comments on commit d396296

Please sign in to comment.