From d3af35e544597c1af44ceae46b86524b86d548e8 Mon Sep 17 00:00:00 2001 From: Joo Wan Ro Date: Tue, 30 Jan 2018 10:54:30 -0800 Subject: [PATCH] [ADLA - ADLS] - Adding pageable extension for Catalog ACL APIs and removing childrenNum property (#2353) * Adding paging for ListAcls and ListAclsByDatabase * Although paging is not supported for these operations, the design decision that we took was to provide support at the client side just in case we need to add it from the server side. * Removing default response from Swagger for Acl APIs * Removing childrenNum property from FileStatusProperties * This property is always null as brought up by this issue: https://github.com/Azure/azure-sdk-for-net/issues/3770 * Fixing examples for childrenNum * Fixing oav validate-example errors --- .../stable/2016-11-01/catalog.json | 99 +++++++++---------- .../Adla_Catalog_CreateCredential.json | 2 + .../examples/Adla_Catalog_CreateSecret.json | 2 + .../Adla_Catalog_DeleteAllSecrets.json | 2 + .../Adla_Catalog_DeleteCredential.json | 2 + .../examples/Adla_Catalog_DeleteSecret.json | 2 + .../examples/Adla_Catalog_GetAssembly.json | 2 + .../examples/Adla_Catalog_GetCredential.json | 2 + .../examples/Adla_Catalog_GetDatabase.json | 2 + .../Adla_Catalog_GetExternalDataSource.json | 2 + .../examples/Adla_Catalog_GetPackage.json | 2 + .../examples/Adla_Catalog_GetProcedure.json | 2 + .../examples/Adla_Catalog_GetSchema.json | 2 + .../examples/Adla_Catalog_GetSecret.json | 2 + .../examples/Adla_Catalog_GetTable.json | 2 + .../Adla_Catalog_GetTablePartition.json | 2 + .../Adla_Catalog_GetTableStatistic.json | 2 + .../examples/Adla_Catalog_GetTableType.json | 2 + .../Adla_Catalog_GetTableValuedFunction.json | 2 + .../examples/Adla_Catalog_GetView.json | 2 + .../examples/Adla_Catalog_GrantAcl.json | 4 +- .../Adla_Catalog_GrantAclToDatabase.json | 4 +- .../examples/Adla_Catalog_ListAcls.json | 5 +- .../Adla_Catalog_ListAclsByDatabase.json | 5 +- .../examples/Adla_Catalog_ListAssemblies.json | 2 + .../Adla_Catalog_ListCredentials.json | 2 + .../examples/Adla_Catalog_ListDatabases.json | 2 + .../Adla_Catalog_ListExternalDataSources.json | 2 + .../examples/Adla_Catalog_ListPackages.json | 2 + .../examples/Adla_Catalog_ListProcedures.json | 2 + .../examples/Adla_Catalog_ListSchemas.json | 2 + .../Adla_Catalog_ListTablePartitions.json | 2 + .../Adla_Catalog_ListTableStatistics.json | 2 + ...Catalog_ListTableStatisticsByDatabase.json | 2 + ...istTableStatisticsByDatabaseAndSchema.json | 2 + .../examples/Adla_Catalog_ListTableTypes.json | 2 + ...Adla_Catalog_ListTableValuedFunctions.json | 2 + ...og_ListTableValuedFunctionsByDatabase.json | 2 + .../examples/Adla_Catalog_ListTables.json | 2 + .../Adla_Catalog_ListTablesByDatabase.json | 2 + .../examples/Adla_Catalog_ListTypes.json | 2 + .../examples/Adla_Catalog_ListViews.json | 2 + .../Adla_Catalog_ListViewsByDatabase.json | 2 + .../examples/Adla_Catalog_RevokeAcl.json | 4 +- .../Adla_Catalog_RevokeAclFromDatabase.json | 4 +- .../Adla_Catalog_UpdateCredential.json | 2 + .../examples/Adla_Catalog_UpdateSecret.json | 2 + .../examples/Adls_FileSystem_Append.json | 4 +- .../examples/Adls_FileSystem_CheckAccess.json | 4 +- .../examples/Adls_FileSystem_Concat.json | 4 +- .../Adls_FileSystem_ConcurrentAppend.json | 4 +- .../examples/Adls_FileSystem_Create.json | 4 +- .../examples/Adls_FileSystem_Delete.json | 4 +- .../Adls_FileSystem_GetAclStatus.json | 4 +- .../Adls_FileSystem_GetContentSummary.json | 4 +- .../Adls_FileSystem_GetFileStatus.json | 5 +- .../Adls_FileSystem_ListFileStatus.json | 5 +- .../examples/Adls_FileSystem_Mkdirs.json | 4 +- .../Adls_FileSystem_ModifyAclEntries.json | 4 +- .../examples/Adls_FileSystem_MsConcat.json | 4 +- .../examples/Adls_FileSystem_Open.json | 4 +- .../examples/Adls_FileSystem_RemoveAcl.json | 6 +- .../Adls_FileSystem_RemoveAclEntries.json | 4 +- .../Adls_FileSystem_RemoveDefaultAcl.json | 4 +- .../examples/Adls_FileSystem_Rename.json | 4 +- .../examples/Adls_FileSystem_SetAcl.json | 4 +- .../Adls_FileSystem_SetFileExpiry.json | 4 +- .../examples/Adls_FileSystem_SetOwner.json | 4 +- .../Adls_FileSystem_SetPermission.json | 4 +- .../stable/2016-11-01/filesystem.json | 6 -- 70 files changed, 207 insertions(+), 96 deletions(-) diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json index 304ef4d0a245..f560f7308ce5 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json @@ -2553,11 +2553,11 @@ "schema": { "$ref": "#/definitions/AclList" } - }, - "default": { - "description": "404 - Not found." } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-odata": "#/definitions/Acl" } }, @@ -2628,11 +2628,11 @@ "schema": { "$ref": "#/definitions/AclList" } - }, - "default": { - "description": "404 - Not found." } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-odata": "#/definitions/Acl" } }, @@ -2745,24 +2745,17 @@ } }, "x-ms-paths": { - "/catalog/usql/databases/{databaseName}/acl?op=GRANTACE": { + "/catalog/usql/acl?op=GRANTACE": { "post": { "tags": [ "Catalog" ], - "operationId": "Catalog_GrantAclToDatabase", - "description": "Grants an access control list (ACL) entry to the database from the Data Lake Analytics catalog.", + "operationId": "Catalog_GrantAcl", + "description": "Grants an access control list (ACL) entry to the Data Lake Analytics catalog.", "x-ms-examples": { - "Grants an access control list (ACL) entry to the database from the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_GrantAclToDatabase.json" } + "Grants an access control list (ACL) entry to the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_GrantAcl.json" } }, "parameters": [ - { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database." - }, { "name": "parameters", "in": "body", @@ -2770,7 +2763,7 @@ "schema": { "$ref": "#/definitions/AclCreateOrUpdateParameters" }, - "description": "Parameters supplied to create or update an access control list (ACL) entry for a database." + "description": "Parameters supplied to create or update an access control list (ACL) entry for a Data Lake Analytics catalog." }, { "name": "op", @@ -2788,23 +2781,20 @@ ], "responses": { "200": { - "description": "Successfully granted the access control list (ACL) entry to the specified database." - }, - "default": { - "description": "404 - Not found." + "description": "Successfully granted the access control list (ACL) entry to the Data Lake Analytics catalog." } } } }, - "/catalog/usql/databases/{databaseName}/acl?op=REVOKEACE": { + "/catalog/usql/databases/{databaseName}/acl?op=GRANTACE": { "post": { "tags": [ "Catalog" ], - "operationId": "Catalog_RevokeAclFromDatabase", - "description": "Revokes an access control list (ACL) entry for the database from the Data Lake Analytics catalog.", + "operationId": "Catalog_GrantAclToDatabase", + "description": "Grants an access control list (ACL) entry to the database from the Data Lake Analytics catalog.", "x-ms-examples": { - "Revokes an access control list (ACL) entry for the database from the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_RevokeAclFromDatabase.json" } + "Grants an access control list (ACL) entry to the database from the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_GrantAclToDatabase.json" } }, "parameters": [ { @@ -2819,9 +2809,9 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/AclDeleteParameters" + "$ref": "#/definitions/AclCreateOrUpdateParameters" }, - "description": "Parameters supplied to delete an access control list (ACL) entry for a database." + "description": "Parameters supplied to create or update an access control list (ACL) entry for a database." }, { "name": "op", @@ -2830,7 +2820,7 @@ "type": "string", "description": "The constant value for the operation.", "enum": [ - "REVOKEACE" + "GRANTACE" ] }, { @@ -2839,23 +2829,20 @@ ], "responses": { "200": { - "description": "Successfully revoked the access control list (ACL) entry from the specified database." - }, - "default": { - "description": "404 - Not found." + "description": "Successfully granted the access control list (ACL) entry to the specified database." } } } }, - "/catalog/usql/acl?op=GRANTACE": { + "/catalog/usql/acl?op=REVOKEACE": { "post": { "tags": [ "Catalog" ], - "operationId": "Catalog_GrantAcl", - "description": "Grants an access control list (ACL) entry to the Data Lake Analytics catalog.", + "operationId": "Catalog_RevokeAcl", + "description": "Revokes an access control list (ACL) entry from the Data Lake Analytics catalog.", "x-ms-examples": { - "Grants an access control list (ACL) entry to the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_GrantAcl.json" } + "Revokes an access control list (ACL) entry from the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_RevokeAcl.json" } }, "parameters": [ { @@ -2863,9 +2850,9 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/AclCreateOrUpdateParameters" + "$ref": "#/definitions/AclDeleteParameters" }, - "description": "Parameters supplied to create or update an access control list (ACL) entry for a Data Lake Analytics catalog." + "description": "Parameters supplied to delete an access control list (ACL) entry from a Data Lake Analytics catalog." }, { "name": "op", @@ -2874,7 +2861,7 @@ "type": "string", "description": "The constant value for the operation.", "enum": [ - "GRANTACE" + "REVOKEACE" ] }, { @@ -2883,25 +2870,29 @@ ], "responses": { "200": { - "description": "Successfully granted the access control list (ACL) entry to the Data Lake Analytics catalog." - }, - "default": { - "description": "404 - Not found." + "description": "Successfully revoked the access control list (ACL) entry from the Data Lake Analytics catalog." } } } }, - "/catalog/usql/acl?op=REVOKEACE": { + "/catalog/usql/databases/{databaseName}/acl?op=REVOKEACE": { "post": { "tags": [ "Catalog" ], - "operationId": "Catalog_RevokeAcl", - "description": "Revokes an access control list (ACL) entry from the Data Lake Analytics catalog.", + "operationId": "Catalog_RevokeAclFromDatabase", + "description": "Revokes an access control list (ACL) entry for the database from the Data Lake Analytics catalog.", "x-ms-examples": { - "Revokes an access control list (ACL) entry from the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_RevokeAcl.json" } + "Revokes an access control list (ACL) entry for the database from the Data Lake Analytics catalog": { "$ref": "./examples/Adla_Catalog_RevokeAclFromDatabase.json" } }, "parameters": [ + { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database." + }, { "name": "parameters", "in": "body", @@ -2909,7 +2900,7 @@ "schema": { "$ref": "#/definitions/AclDeleteParameters" }, - "description": "Parameters supplied to delete an access control list (ACL) entry from a Data Lake Analytics catalog." + "description": "Parameters supplied to delete an access control list (ACL) entry for a database." }, { "name": "op", @@ -2927,10 +2918,7 @@ ], "responses": { "200": { - "description": "Successfully revoked the access control list (ACL) entry from the Data Lake Analytics catalog." - }, - "default": { - "description": "404 - Not found." + "description": "Successfully revoked the access control list (ACL) entry from the specified database." } } } @@ -3059,6 +3047,11 @@ "description": "A Data Lake Analytics catalog access control list (ACL) entry." }, "AclList": { + "allOf": [ + { + "$ref": "#/definitions/CatalogItemList" + } + ], "properties": { "value": { "type": "array", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateCredential.json index 5f7a799e393c..3ecec8d20ed9 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateCredential.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "credentialName": "test_credential_name", "parameters": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateSecret.json index 9c0c34df3333..610d09b19144 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_CreateSecret.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "secretName": "test_secret_name", "parameters": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteAllSecrets.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteAllSecrets.json index 800ceb7b0eab..9e8b91296054 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteAllSecrets.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteAllSecrets.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master" }, "responses": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteCredential.json index f5d979cf931f..735406634a0c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteCredential.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "credentialName": "test_credential_name", "parameters": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteSecret.json index c8b036e84758..62d68222eee3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_DeleteSecret.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "secretName": "test_secret_name" }, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetAssembly.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetAssembly.json index 0b5e529a94ae..821a7d192e6e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetAssembly.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetAssembly.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "assemblyName": "test_assembly_name" }, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetCredential.json index 699dccda4792..ed310d3c0249 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetCredential.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "credentialName": "test_credential_name" }, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetDatabase.json index 8db236962224..ae7ce0caba76 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master" }, "responses": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetExternalDataSource.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetExternalDataSource.json index 96712f19b246..0109800c719a 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetExternalDataSource.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetExternalDataSource.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "externalDataSourceName": "test_external_data_source_name" }, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetPackage.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetPackage.json index 6f81991217d6..fb123d4c667d 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetPackage.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetPackage.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "packageName": "test_package_name" diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetProcedure.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetProcedure.json index 9d8c3c9a1017..1c4339bbc95d 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetProcedure.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetProcedure.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "procedureName": "test_procedure_name" diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSchema.json index cc1d3613550c..66c62125e3e9 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSchema.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSchema.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo" }, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSecret.json index 21b4b0a26c2c..454a4557f4aa 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetSecret.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "secretName": "test_secret_name" }, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTable.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTable.json index 0e10a9940d34..3914fa94a342 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTable.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTable.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableName": "test_table_name" diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTablePartition.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTablePartition.json index 3706309c1876..e367e0e3d105 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTablePartition.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTablePartition.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableName": "test_table_name", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableStatistic.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableStatistic.json index 81fdab970b35..0b41a3b773e2 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableStatistic.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableStatistic.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableName": "test_table_name", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableType.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableType.json index 282cdd217693..22b244d4c67c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableType.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableType.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableTypeName": "test_table_type_name" diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableValuedFunction.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableValuedFunction.json index 08b276990972..e50c8a3eeb7f 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableValuedFunction.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetTableValuedFunction.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableValuedFunctionName": "test_table_valued_function_name" diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetView.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetView.json index 6ea6a132983c..d8e521763c0d 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetView.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GetView.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "viewName": "test_view_name" diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAcl.json index c56ecbecabe6..527eab876111 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAcl.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAcl.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "parameters": { "aceType": "User", "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", @@ -10,8 +12,6 @@ }, "responses": { "200": { - }, - "404": { } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAclToDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAclToDatabase.json index 82de68054929..e1161b4d68b3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAclToDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_GrantAclToDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "parameters": { "aceType": "User", @@ -11,8 +13,6 @@ }, "responses": { "200": { - }, - "404": { } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAcls.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAcls.json index f5d3fd166e9c..3520a5c8814c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAcls.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAcls.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "$filter": "test_filter", "$top": 1, "$skip": 1, @@ -11,14 +13,13 @@ "responses": { "200": { "body": { + "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", "value": [{ "aceType": "User", "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "permission": "Use" }] } - }, - "404": { } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAclsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAclsByDatabase.json index 010b3c84fbf9..ad3a6f9e928b 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAclsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAclsByDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, @@ -12,14 +14,13 @@ "responses": { "200": { "body": { + "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=", "value": [{ "aceType": "User", "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "permission": "Use" }] } - }, - "404": { } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAssemblies.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAssemblies.json index 2c2b8157636f..f29786e3e431 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAssemblies.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListAssemblies.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListCredentials.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListCredentials.json index 3e6f3f286aec..3666ea447370 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListCredentials.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListCredentials.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListDatabases.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListDatabases.json index ec44bcd05198..8afb3c82c79e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListDatabases.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListDatabases.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "$filter": "test_filter", "$top": 1, "$skip": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListExternalDataSources.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListExternalDataSources.json index 1cec59184984..cfff2b00bd17 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListExternalDataSources.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListExternalDataSources.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListPackages.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListPackages.json index 15ecaf825816..db0b0831a2d3 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListPackages.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListPackages.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListProcedures.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListProcedures.json index 84b235cb20c2..63711b33ff73 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListProcedures.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListProcedures.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListSchemas.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListSchemas.json index ce7a4eb41ee4..4e7662b58658 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListSchemas.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListSchemas.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablePartitions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablePartitions.json index 0fe70d134cbb..bd2d66de562a 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablePartitions.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablePartitions.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableName": "test_table_name", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatistics.json index e33c7db34ad6..acd9670cb21e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatistics.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatistics.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "tableName": "test_view_name", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabase.json index 08f3395f5c8a..4b61e4daafba 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabaseAndSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabaseAndSchema.json index fec32cf39592..5bc1acc5e772 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabaseAndSchema.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableStatisticsByDatabaseAndSchema.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableTypes.json index 4356b14e7dae..d6320995ae46 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableTypes.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableTypes.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctions.json index 96dc917e99d2..9a2cbc27567c 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctions.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctions.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctionsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctionsByDatabase.json index 45a63af60335..cc92fbd51b46 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctionsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTableValuedFunctionsByDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTables.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTables.json index 3cd051c77802..8b09461b6b9e 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTables.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTables.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablesByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablesByDatabase.json index 6a6c22f86962..422319648d42 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablesByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTablesByDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTypes.json index 9a154140aaf0..a12fd57d00fa 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTypes.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListTypes.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViews.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViews.json index b16f427f3c13..045583455676 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViews.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViews.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "schemaName": "dbo", "$filter": "test_filter", diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViewsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViewsByDatabase.json index 7f2ddb2a2499..f9558d85d6eb 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViewsByDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_ListViewsByDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "$filter": "test_filter", "$top": 1, diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAcl.json index b4f2b0575fe8..c37b49068e35 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAcl.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAcl.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "parameters": { "aceType": "User", "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" @@ -9,8 +11,6 @@ }, "responses": { "200": { - }, - "404": { } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAclFromDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAclFromDatabase.json index 5beadb5e3530..28ecb0f98ab9 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAclFromDatabase.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_RevokeAclFromDatabase.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "parameters": { "aceType": "User", @@ -10,8 +12,6 @@ }, "responses": { "200": { - }, - "404": { } } } diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateCredential.json index 50aac3065f5e..2771e90ee959 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateCredential.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateCredential.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "credentialName": "test_credential_name", "parameters": { diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateSecret.json index 9c0c34df3333..610d09b19144 100644 --- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateSecret.json +++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Catalog_UpdateSecret.json @@ -1,6 +1,8 @@ { "parameters": { "api-version": "2016-11-01", + "accountName": "contosoadla", + "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net", "databaseName": "master", "secretName": "test_secret_name", "parameters": { diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Append.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Append.json index 59c89d72e4f9..f25e35126c48 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Append.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Append.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "streamContents": "This is actually a byte stream. This request/response is being presented as a string for readability in the example", "offset": 1, "syncFlag": "DATA", diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_CheckAccess.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_CheckAccess.json index d8315fe27acc..57dd3199dbc4 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_CheckAccess.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_CheckAccess.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "fsaction": "test_fsaction", "op": "CHECKACCESS" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Concat.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Concat.json index 031b683b3c04..c7543d4f5d6e 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Concat.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Concat.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "sources": [ "test_source_1", "test_source_2" diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ConcurrentAppend.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ConcurrentAppend.json index ca731d46659b..f22dc4c17e0f 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ConcurrentAppend.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ConcurrentAppend.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "streamContents": "This is actually a byte stream. This request/response is being presented as a string for readability in the example", "appendMode": "autocreate", "op": "CONCURRENTAPPEND", diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Create.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Create.json index 588d2b2f60ea..edb3d1539dc4 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Create.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Create.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "streamContents": { "test_key": "/test_file_path" }, "overwrite": false, "syncFlag": "DATA", diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Delete.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Delete.json index bc791a72eee5..f48e68ff67d3 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Delete.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Delete.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "recursive": false, "op": "DELETE" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetAclStatus.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetAclStatus.json index bf96ff3797a2..fd753327c3ec 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetAclStatus.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetAclStatus.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "tooId": false, "op": "GETACLSTATUS" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetContentSummary.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetContentSummary.json index 1c9ec261eb43..ece8fd9c3948 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetContentSummary.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetContentSummary.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "op": "GETCONTENTSUMMARY" }, "responses": { diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetFileStatus.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetFileStatus.json index ef1c611aa413..856340564ed5 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetFileStatus.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetFileStatus.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "tooId": false, "op": "GETFILESTATUS" }, @@ -11,7 +13,6 @@ "FileStatus": { "accessTime": 1, "blockSize": 1, - "childrenNum": 1, "msExpirationTime": 1, "group": "test_group", "length": 1, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ListFileStatus.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ListFileStatus.json index 17913dfe7945..1e009f339127 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ListFileStatus.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ListFileStatus.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "listSize": 1, "listAfter": "test_list_after", "listBefore": "test_list_before", @@ -15,7 +17,6 @@ "FileStatus": [{ "accessTime": 1, "blockSize": 1, - "childrenNum": 1, "msExpirationTime": 1, "group": "test_group", "length": 1, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Mkdirs.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Mkdirs.json index b8ccae0a8891..570b16eb03a6 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Mkdirs.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Mkdirs.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "permission": 1, "op": "MKDIRS" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ModifyAclEntries.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ModifyAclEntries.json index bde401da3b02..969c768c8d97 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ModifyAclEntries.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_ModifyAclEntries.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "aclspec": "user:2666084e-edd4-4276-9a8c-d1024a5e3d94:rwx", "op": "MODIFYACLENTRIES" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_MsConcat.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_MsConcat.json index 457f730817e7..0107c9ad35d5 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_MsConcat.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_MsConcat.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "deleteSourceDirectory": false, "streamContents": "sources=/file/path/1.txt,/file/path/2.txt,/file/path/lastfile.csv", "op": "MSCONCAT" diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Open.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Open.json index 1040ba6a5d35..09f577b0ad56 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Open.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Open.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "length": 1, "offset": 1, "fileSessionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAcl.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAcl.json index c81e9ac50824..b8e8ffc7d53b 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAcl.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAcl.json @@ -1,11 +1,13 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "op": "REMOVEACL" }, "responses": { "200": { } } -} \ No newline at end of file +} diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAclEntries.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAclEntries.json index 2b4d5d9c2814..d74ccbd804b3 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAclEntries.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveAclEntries.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "aclspec": "user:2666084e-edd4-4276-9a8c-d1024a5e3d94", "op": "REMOVEACLENTRIES" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveDefaultAcl.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveDefaultAcl.json index b38ce9cb37a0..95dd2e63e180 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveDefaultAcl.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_RemoveDefaultAcl.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "op": "REMOVEDEFAULTACL" }, "responses": { diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Rename.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Rename.json index a9da80a46d17..a755f081252c 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Rename.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_Rename.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "destination": "/test_destination_path", "op": "RENAME" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetAcl.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetAcl.json index 7238aacf7815..d40026690e65 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetAcl.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetAcl.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "aclspec": "user:2666084e-edd4-4276-9a8c-d1024a5e3d94:rwx", "op": "SETACL" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetFileExpiry.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetFileExpiry.json index ba3650bbe118..5c7c770e0dbb 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetFileExpiry.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetFileExpiry.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "expiryOption": "NeverExpire", "expireTime": 1, "op": "SETEXPIRY" diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetOwner.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetOwner.json index 3f62005d8524..7b06647ea926 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetOwner.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetOwner.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "owner": "test_owner", "group": "test_group", "op": "SETOWNER" diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetPermission.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetPermission.json index 4f8fc9f9e448..3bbe88f0d6d0 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetPermission.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_SetPermission.json @@ -1,7 +1,9 @@ { "parameters": { "api-version": "2016-11-01", - "path": "/test_file_path", + "accountName": "contosoadla", + "adlsFileSystemDnsSuffix": "azuredatalakestore.net", + "path": "test_file_path", "permission": "rwx", "op": "SETPERMISSION" }, diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/filesystem.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/filesystem.json index 1337551e5858..b4f488638859 100644 --- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/filesystem.json +++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/filesystem.json @@ -1561,12 +1561,6 @@ "format": "int64", "description": "the block size for the file." }, - "childrenNum": { - "type": "integer", - "readOnly": true, - "format": "int64", - "description": "the number of children in the directory." - }, "msExpirationTime": { "x-ms-client-name": "expirationTime", "type": "integer",