Skip to content

Commit

Permalink
(Public swagger update) Add TeradataSource,TeradataPartitionSettings,…
Browse files Browse the repository at this point in the history
…TeradataTableDataset,TeradataTableDatasetTypeProperties (#6346)

* Modify the public swagger by reference to private swagger

* add TerdateTableDataset,TeradataSource

* modify specified
  • Loading branch information
Yiliu-microsoft authored and jhendrixMSFT committed Jun 20, 2019
1 parent 38de98d commit 7a5e168
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,36 @@
}
}
},
"TeradataTableDatasetTypeProperties": {
"description": "Teradata dataset properties.",
"properties": {
"database": {
"type": "object",
"description": "The database name of Teradata. Type: string (or Expression with resultType string)."
},
"table": {
"type": "object",
"description": "The table name of Teradata. Type: string (or Expression with resultType string)."
}
}
},
"TeradataTableDataset": {
"x-ms-discriminator-value": "TeradataTable",
"description": "The Teradata database dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "Teradata dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/TeradataTableDatasetTypeProperties"
}
}
},
"AzureMySqlTableDataset": {
"x-ms-discriminator-value": "AzureMySqlTable",
"description": "The Azure MySQL database dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,10 @@
"TeradataLinkedServiceTypeProperties": {
"description": "Teradata linked service properties.",
"properties": {
"connectionString": {
"description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
"type": "object"
},
"server": {
"type": "object",
"description": "Server name for connection. Type: string (or Expression with resultType string)."
Expand Down Expand Up @@ -965,10 +969,7 @@
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
}
},
"required": [
"server"
]
}
},
"AzureMLLinkedService": {
"x-ms-discriminator-value": "AzureML",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,56 @@
}
}
},
"TeradataSource": {
"description": "A copy activity Teradata source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "Teradata query. Type: string (or Expression with resultType string)."
},
"partitionOption": {
"description": "The partition mechanism that will be used for teradata read in parallel.",
"type": "object",
"enum": [
"None",
"Hash",
"DynamicRange"
],
"x-ms-enum": {
"name": "TabularPartitionOption",
"modelAsString": true
}
},
"partitionSettings": {
"description": "The settings that will be leveraged for teradata source partitioning.",
"$ref": "#/definitions/TeradataPartitionSettings"
}
}
},
"TeradataPartitionSettings": {
"description": "The settings that will be leveraged for teradata source partitioning.",
"type": "object",
"properties": {
"partitionColumnName": {
"type": "object",
"description": "The name of the column in integer type that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)."
},
"partitionUpperBound": {
"type": "object",
"description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionLowerBound": {
"type": "object",
"description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
}
}
},
"WebSource": {
"description": "A copy activity source for web page table.",
"type": "object",
Expand Down

0 comments on commit 7a5e168

Please sign in to comment.