Skip to content

Commit

Permalink
[DataFactory]Add AzureFileStorage and GoogleCloudStorage (#7308)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbof authored and lirenhe committed Sep 29, 2019
1 parent 629ccfd commit d901268
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,34 @@
}
]
},
"AzureFileStorageLocation": {
"description": "The location of file server dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DatasetLocation"
}
]
},
"GoogleCloudStorageLocation": {
"description": "The location of Google Cloud Storage dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DatasetLocation"
}
],
"properties": {
"bucketName": {
"type": "object",
"description": "Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string)"
},
"version": {
"type": "object",
"description": "Specify the version of Google Cloud Storage. Type: string (or Expression with resultType string)."
}
}
},
"FtpServerLocation": {
"description": "The location of ftp server dataset.",
"type": "object",
Expand Down Expand Up @@ -1528,6 +1556,10 @@
"tableName": {
"type": "object",
"description": "The Azure MySQL database table name. Type: string (or Expression with resultType string)."
},
"table": {
"type": "object",
"description": "The name of Azure MySQL database table. Type: string (or Expression with resultType string)."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,91 @@
"host"
]
},
"AzureFileStorageLinkedService": {
"x-ms-discriminator-value": "AzureFileStorage",
"description": "Azure File Storage linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Azure File Storage linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AzureFileStorageLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"AzureFileStorageLinkedServiceTypeProperties": {
"description": "Azure File Storage linked service properties.",
"properties": {
"host": {
"type": "object",
"description": "Host name of the server. Type: string (or Expression with resultType string)."
},
"userId": {
"type": "object",
"description": "User ID to logon the server. Type: string (or Expression with resultType string)."
},
"password": {
"description": "Password to logon the server.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"encryptedCredential": {
"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": [
"host"
]
},
"GoogleCloudStorageLinkedService": {
"x-ms-discriminator-value": "GoogleCloudStorage",
"description": "Linked service for Google Cloud Storage.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Google Cloud Storage linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/GoogleCloudStorageLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"GoogleCloudStorageLinkedServiceTypeProperties": {
"description": "Google Cloud Storage linked service properties.",
"properties": {
"accessKeyId": {
"type": "object",
"description": "The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string)."
},
"secretAccessKey": {
"description": "The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"serviceUrl": {
"type": "object",
"description": "This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string)."
},
"encryptedCredential": {
"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)."
}
}
},
"OracleLinkedService": {
"x-ms-discriminator-value": "Oracle",
"description": "Oracle database.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,80 @@
}
}
},
"AzureFileStorageReadSettings": {
"description": "Azure File Storage read settings.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
"recursive": {
"type": "object",
"description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)."
},
"wildcardFolderPath": {
"type": "object",
"description": "Azure File Storage wildcardFolderPath. Type: string (or Expression with resultType string)."
},
"wildcardFileName": {
"type": "object",
"description": "Azure File Storage wildcardFileName. Type: string (or Expression with resultType string)."
},
"enablePartitionDiscovery": {
"type": "boolean",
"description": "Indicates whether to enable partition discovery."
},
"modifiedDatetimeStart": {
"type": "object",
"description": "The start of file's modified datetime. Type: string (or Expression with resultType string)."
},
"modifiedDatetimeEnd": {
"type": "object",
"description": "The end of file's modified datetime. Type: string (or Expression with resultType string)."
}
}
},
"GoogleCloudStorageReadSettings": {
"description": "Google Cloud Storage read settings.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
"recursive": {
"type": "object",
"description": "If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean)."
},
"wildcardFolderPath": {
"type": "object",
"description": "Google Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string)."
},
"wildcardFileName": {
"type": "object",
"description": "Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string)."
},
"prefix": {
"type": "object",
"description": "The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string)."
},
"enablePartitionDiscovery": {
"type": "boolean",
"description": "Indicates whether to enable partition discovery."
},
"modifiedDatetimeStart": {
"type": "object",
"description": "The start of file's modified datetime. Type: string (or Expression with resultType string)."
},
"modifiedDatetimeEnd": {
"type": "object",
"description": "The end of file's modified datetime. Type: string (or Expression with resultType string)."
}
}
},
"FtpReadSettings": {
"description": "Ftp read settings.",
"type": "object",
Expand Down

0 comments on commit d901268

Please sign in to comment.