diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java index 3dbbea4152a93..01b679102af46 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Accounts.java @@ -11,6 +11,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccount; +import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccountBasic; import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccountUpdateParameters; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; @@ -32,9 +33,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - PagedList listByResourceGroup(final String resourceGroupName); + PagedList listByResourceGroup(final String resourceGroupName); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. @@ -44,25 +45,25 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback); + ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable> listByResourceGroupAsync(final String resourceGroupName); + Observable> listByResourceGroupAsync(final String resourceGroupName); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName); + Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * @@ -76,9 +77,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. @@ -94,7 +95,7 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. @@ -107,9 +108,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. @@ -122,9 +123,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -132,9 +133,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - PagedList list(); + PagedList list(); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -143,23 +144,23 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listAsync(final ListOperationCallback serviceCallback); + ServiceFuture> listAsync(final ListOperationCallback serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable> listAsync(); + Observable> listAsync(); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable>> listWithServiceResponseAsync(); + Observable>> listWithServiceResponseAsync(); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * @@ -172,9 +173,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -189,7 +190,7 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -201,9 +202,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -215,136 +216,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DataLakeAnalyticsAccount object if successful. - */ - DataLakeAnalyticsAccount get(String resourceGroupName, String accountName); - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback); - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeAnalyticsAccount object - */ - Observable getAsync(String resourceGroupName, String accountName); - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeAnalyticsAccount object - */ - Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - void delete(String resourceGroupName, String accountName); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable deleteAsync(String resourceGroupName, String accountName); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - void beginDelete(String resourceGroupName, String accountName); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture beginDeleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable beginDeleteAsync(String resourceGroupName, String accountName); - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable> beginDeleteWithServiceResponseAsync(String resourceGroupName, String accountName); + Observable>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. @@ -618,6 +492,133 @@ public interface Accounts { */ Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, DataLakeAnalyticsAccountUpdateParameters parameters); + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + void delete(String resourceGroupName, String accountName); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable deleteAsync(String resourceGroupName, String accountName); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + void beginDelete(String resourceGroupName, String accountName); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture beginDeleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable beginDeleteAsync(String resourceGroupName, String accountName); + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable> beginDeleteWithServiceResponseAsync(String resourceGroupName, String accountName); + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DataLakeAnalyticsAccount object if successful. + */ + DataLakeAnalyticsAccount get(String resourceGroupName, String accountName); + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback); + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DataLakeAnalyticsAccount object + */ + Observable getAsync(String resourceGroupName, String accountName); + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DataLakeAnalyticsAccount object + */ + Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName); + /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * @@ -625,9 +626,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - PagedList listByResourceGroupNext(final String nextPageLink); + PagedList listByResourceGroupNext(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. @@ -638,25 +639,25 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable> listByResourceGroupNextAsync(final String nextPageLink); + Observable> listByResourceGroupNextAsync(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink); + Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -665,9 +666,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - PagedList listNext(final String nextPageLink); + PagedList listNext(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. @@ -678,24 +679,24 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable> listNextAsync(final String nextPageLink); + Observable> listNextAsync(final String nextPageLink); /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - Observable>> listNextWithServiceResponseAsync(final String nextPageLink); + Observable>> listNextWithServiceResponseAsync(final String nextPageLink); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java index a92c11e573189..f4f38eed34040 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Catalogs.java @@ -144,97 +144,97 @@ public interface Catalogs { Observable> updateSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName, DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters parameters); /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the USqlSecret object if successful. */ - USqlSecret getSecret(String accountName, String databaseName, String secretName); + void deleteSecret(String accountName, String databaseName, String secretName); /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture getSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback); + ServiceFuture deleteSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback); /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlSecret object + * @return the {@link ServiceResponse} object if successful. */ - Observable getSecretAsync(String accountName, String databaseName, String secretName); + Observable deleteSecretAsync(String accountName, String databaseName, String secretName); /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlSecret object + * @return the {@link ServiceResponse} object if successful. */ - Observable> getSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName); + Observable> deleteSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName); /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the USqlSecret object if successful. */ - void deleteSecret(String accountName, String databaseName, String secretName); + USqlSecret getSecret(String accountName, String databaseName, String secretName); /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture deleteSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback); + ServiceFuture getSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback); /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the USqlSecret object */ - Observable deleteSecretAsync(String accountName, String databaseName, String secretName); + Observable getSecretAsync(String accountName, String databaseName, String secretName); /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the USqlSecret object */ - Observable> deleteSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName); + Observable> getSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName); /** * Deletes all secrets in the specified database. This is deprecated and will be removed in the next release. In the future, please only drop individual credentials using DeleteCredential. @@ -282,7 +282,7 @@ public interface Catalogs { * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @throws IllegalArgumentException thrown if parameters fail the validation @@ -295,7 +295,7 @@ public interface Catalogs { * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -308,7 +308,7 @@ public interface Catalogs { * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @throws IllegalArgumentException thrown if parameters fail the validation @@ -320,7 +320,7 @@ public interface Catalogs { * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @throws IllegalArgumentException thrown if parameters fail the validation @@ -378,53 +378,6 @@ public interface Catalogs { */ Observable> updateCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialUpdateParameters parameters); - /** - * Retrieves the specified credential from the Data Lake Analytics catalog. - * - * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the USqlCredential object if successful. - */ - USqlCredential getCredential(String accountName, String databaseName, String credentialName); - - /** - * Retrieves the specified credential from the Data Lake Analytics catalog. - * - * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCredentialAsync(String accountName, String databaseName, String credentialName, final ServiceCallback serviceCallback); - - /** - * Retrieves the specified credential from the Data Lake Analytics catalog. - * - * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlCredential object - */ - Observable getCredentialAsync(String accountName, String databaseName, String credentialName); - - /** - * Retrieves the specified credential from the Data Lake Analytics catalog. - * - * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlCredential object - */ - Observable> getCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName); - /** * Deletes the specified credential in the specified database. * @@ -524,6 +477,53 @@ public interface Catalogs { */ Observable> deleteCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade); + /** + * Retrieves the specified credential from the Data Lake Analytics catalog. + * + * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the USqlCredential object if successful. + */ + USqlCredential getCredential(String accountName, String databaseName, String credentialName); + + /** + * Retrieves the specified credential from the Data Lake Analytics catalog. + * + * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCredentialAsync(String accountName, String databaseName, String credentialName, final ServiceCallback serviceCallback); + + /** + * Retrieves the specified credential from the Data Lake Analytics catalog. + * + * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the USqlCredential object + */ + Observable getCredentialAsync(String accountName, String databaseName, String credentialName); + + /** + * Retrieves the specified credential from the Data Lake Analytics catalog. + * + * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the USqlCredential object + */ + Observable> getCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName); + /** * Retrieves the list of credentials from the Data Lake Analytics catalog. * @@ -1066,12 +1066,13 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<USqlTable> object if successful. */ - PagedList listTables(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList listTables(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic); /** * Retrieves the list of tables from the Data Lake Analytics catalog. @@ -1085,11 +1086,12 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic, final ListOperationCallback serviceCallback); /** * Retrieves the list of tables from the Data Lake Analytics catalog. @@ -1103,10 +1105,11 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - Observable> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic); /** * Retrieves the list of tables from the Data Lake Analytics catalog. @@ -1120,10 +1123,11 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - Observable>> listTablesWithServiceResponseAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable>> listTablesWithServiceResponseAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic); /** * Retrieves the list of all table statistics within the specified schema from the Data Lake Analytics catalog. @@ -2865,12 +2869,13 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<USqlTable> object if successful. */ - PagedList listTablesByDatabase(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList listTablesByDatabase(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic); /** * Retrieves the list of all tables in a database from the Data Lake Analytics catalog. @@ -2883,11 +2888,12 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic, final ListOperationCallback serviceCallback); /** * Retrieves the list of all tables in a database from the Data Lake Analytics catalog. @@ -2900,10 +2906,11 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - Observable> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic); /** * Retrieves the list of all tables in a database from the Data Lake Analytics catalog. @@ -2916,10 +2923,11 @@ public interface Catalogs { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - Observable>> listTablesByDatabaseWithServiceResponseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable>> listTablesByDatabaseWithServiceResponseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic); /** * Retrieves the list of all table valued functions in a database from the Data Lake Analytics catalog. diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java index 6fb3ecde6d9cf..0e377b34404dd 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobManagementClient.java @@ -102,6 +102,18 @@ public interface DataLakeAnalyticsJobManagementClient { */ DataLakeAnalyticsJobManagementClient withGenerateClientRequestId(boolean generateClientRequestId); + /** + * Gets the Pipelines object to access its operations. + * @return the Pipelines object. + */ + Pipelines pipelines(); + + /** + * Gets the Recurrences object to access its operations. + * @return the Recurrences object. + */ + Recurrences recurrences(); + /** * Gets the Jobs object to access its operations. * @return the Jobs object. diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeStoreAccounts.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeStoreAccounts.java index 81d8f82a21830..777b947706fc3 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeStoreAccounts.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/DataLakeStoreAccounts.java @@ -26,192 +26,192 @@ */ public interface DataLakeStoreAccounts { /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DataLakeStoreAccountInfo object if successful. */ - DataLakeStoreAccountInfo get(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback); + ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback); /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeStoreAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - Observable getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeStoreAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); - + Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - void delete(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters); /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback); + ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters, final ServiceCallback serviceCallback); /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters); /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + void delete(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback); + ServiceFuture deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + Observable deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); + /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DataLakeStoreAccountInfo object if successful. */ - void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters); + DataLakeStoreAccountInfo get(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters, final ServiceCallback serviceCallback); + ServiceFuture getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the DataLakeStoreAccountInfo object */ - Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters); + Observable getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the DataLakeStoreAccountInfo object */ - Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters); + Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName); /** * Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any. diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java index c41290141b39d..109fecc6268e6 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Jobs.java @@ -10,8 +10,11 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.datalake.analytics.models.BuildJobParameters; +import com.microsoft.azure.management.datalake.analytics.models.CreateJobParameters; import com.microsoft.azure.management.datalake.analytics.models.JobDataPath; import com.microsoft.azure.management.datalake.analytics.models.JobInformation; +import com.microsoft.azure.management.datalake.analytics.models.JobInformationBasic; import com.microsoft.azure.management.datalake.analytics.models.JobStatistics; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; @@ -123,7 +126,7 @@ public interface Jobs { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the JobInformation object if successful. */ - JobInformation build(String accountName, JobInformation parameters); + JobInformation build(String accountName, BuildJobParameters parameters); /** * Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation. @@ -134,7 +137,7 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture buildAsync(String accountName, JobInformation parameters, final ServiceCallback serviceCallback); + ServiceFuture buildAsync(String accountName, BuildJobParameters parameters, final ServiceCallback serviceCallback); /** * Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation. @@ -144,7 +147,7 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - Observable buildAsync(String accountName, JobInformation parameters); + Observable buildAsync(String accountName, BuildJobParameters parameters); /** * Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation. @@ -154,7 +157,7 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - Observable> buildWithServiceResponseAsync(String accountName, JobInformation parameters); + Observable> buildWithServiceResponseAsync(String accountName, BuildJobParameters parameters); /** * Cancels the running job specified by the job ID. @@ -199,94 +202,94 @@ public interface Jobs { Observable> cancelWithServiceResponseAsync(String accountName, UUID jobIdentity); /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the JobInformation object if successful. */ - JobInformation get(String accountName, UUID jobIdentity); + JobInformation create(String accountName, UUID jobIdentity, CreateJobParameters parameters); /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture getAsync(String accountName, UUID jobIdentity, final ServiceCallback serviceCallback); + ServiceFuture createAsync(String accountName, UUID jobIdentity, CreateJobParameters parameters, final ServiceCallback serviceCallback); /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - Observable getAsync(String accountName, UUID jobIdentity); + Observable createAsync(String accountName, UUID jobIdentity, CreateJobParameters parameters); /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - Observable> getWithServiceResponseAsync(String accountName, UUID jobIdentity); + Observable> createWithServiceResponseAsync(String accountName, UUID jobIdentity, CreateJobParameters parameters); /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the JobInformation object if successful. */ - JobInformation create(String accountName, UUID jobIdentity, JobInformation parameters); + JobInformation get(String accountName, UUID jobIdentity); /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture createAsync(String accountName, UUID jobIdentity, JobInformation parameters, final ServiceCallback serviceCallback); + ServiceFuture getAsync(String accountName, UUID jobIdentity, final ServiceCallback serviceCallback); /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - Observable createAsync(String accountName, UUID jobIdentity, JobInformation parameters); + Observable getAsync(String accountName, UUID jobIdentity); /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - Observable> createWithServiceResponseAsync(String accountName, UUID jobIdentity, JobInformation parameters); + Observable> getWithServiceResponseAsync(String accountName, UUID jobIdentity); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -295,9 +298,9 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<JobInformation> object if successful. + * @return the PagedList<JobInformationBasic> object if successful. */ - PagedList list(final String accountName); + PagedList list(final String accountName); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -307,25 +310,25 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback); + ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - Observable> listAsync(final String accountName); + Observable> listAsync(final String accountName); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - Observable>> listWithServiceResponseAsync(final String accountName); + Observable>> listWithServiceResponseAsync(final String accountName); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. * @@ -339,9 +342,9 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<JobInformation> object if successful. + * @return the PagedList<JobInformationBasic> object if successful. */ - PagedList list(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList list(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -357,7 +360,7 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -370,9 +373,9 @@ public interface Jobs { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - Observable> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -385,9 +388,9 @@ public interface Jobs { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - Observable>> listWithServiceResponseAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable>> listWithServiceResponseAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -396,9 +399,9 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<JobInformation> object if successful. + * @return the PagedList<JobInformationBasic> object if successful. */ - PagedList listNext(final String nextPageLink); + PagedList listNext(final String nextPageLink); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. @@ -409,24 +412,24 @@ public interface Jobs { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - Observable> listNextAsync(final String nextPageLink); + Observable> listNextAsync(final String nextPageLink); /** * Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - Observable>> listNextWithServiceResponseAsync(final String nextPageLink); + Observable>> listNextWithServiceResponseAsync(final String nextPageLink); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Pipelines.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Pipelines.java new file mode 100644 index 0000000000000..a1f6323d7ad9b --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Pipelines.java @@ -0,0 +1,247 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.datalake.analytics.models.JobPipelineInformation; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.util.List; +import java.util.UUID; +import org.joda.time.DateTime; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in Pipelines. + */ +public interface Pipelines { + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobPipelineInformation> object if successful. + */ + PagedList list(final String accountName); + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback); + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + Observable> listAsync(final String accountName); + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + Observable>> listWithServiceResponseAsync(final String accountName); + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobPipelineInformation> object if successful. + */ + PagedList list(final String accountName, final DateTime startDateTime, final DateTime endDateTime); + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime, final ListOperationCallback serviceCallback); + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + Observable> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime); + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + Observable>> listWithServiceResponseAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobPipelineInformation object if successful. + */ + JobPipelineInformation get(String accountName, UUID pipelineIdentity); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getAsync(String accountName, UUID pipelineIdentity, final ServiceCallback serviceCallback); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + Observable getAsync(String accountName, UUID pipelineIdentity); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + Observable> getWithServiceResponseAsync(String accountName, UUID pipelineIdentity); + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobPipelineInformation object if successful. + */ + JobPipelineInformation get(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getAsync(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime, final ServiceCallback serviceCallback); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + Observable getAsync(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime); + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + Observable> getWithServiceResponseAsync(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime); + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobPipelineInformation> object if successful. + */ + PagedList listNext(final String nextPageLink); + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + Observable> listNextAsync(final String nextPageLink); + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + Observable>> listNextWithServiceResponseAsync(final String nextPageLink); + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Recurrences.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Recurrences.java new file mode 100644 index 0000000000000..009315bb1fc84 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/Recurrences.java @@ -0,0 +1,247 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.datalake.analytics.models.JobRecurrenceInformation; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.util.List; +import java.util.UUID; +import org.joda.time.DateTime; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in Recurrences. + */ +public interface Recurrences { + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobRecurrenceInformation> object if successful. + */ + PagedList list(final String accountName); + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback); + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + Observable> listAsync(final String accountName); + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + Observable>> listWithServiceResponseAsync(final String accountName); + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobRecurrenceInformation> object if successful. + */ + PagedList list(final String accountName, final DateTime startDateTime, final DateTime endDateTime); + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime, final ListOperationCallback serviceCallback); + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + Observable> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime); + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + Observable>> listWithServiceResponseAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobRecurrenceInformation object if successful. + */ + JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getAsync(String accountName, UUID recurrenceIdentity, final ServiceCallback serviceCallback); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + Observable getAsync(String accountName, UUID recurrenceIdentity); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + Observable> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity); + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobRecurrenceInformation object if successful. + */ + JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime, final ServiceCallback serviceCallback); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + Observable getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime); + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + Observable> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime); + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobRecurrenceInformation> object if successful. + */ + PagedList listNext(final String nextPageLink); + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + Observable> listNextAsync(final String nextPageLink); + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + Observable>> listNextWithServiceResponseAsync(final String nextPageLink); + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/StorageAccounts.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/StorageAccounts.java index e846097c4dd1f..1d7d6c355ef60 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/StorageAccounts.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/StorageAccounts.java @@ -29,109 +29,112 @@ */ public interface StorageAccounts { /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageAccountInfo object if successful. */ - StorageAccountInfo get(String resourceGroupName, String accountName, String storageAccountName); + void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters); /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture getAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback); + ServiceFuture addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, final ServiceCallback serviceCallback); /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - Observable getAsync(String resourceGroupName, String accountName, String storageAccountName); + Observable addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters); /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName); + Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters); /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - void delete(String resourceGroupName, String accountName, String storageAccountName); + void update(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture deleteAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback); + ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback); /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable deleteAsync(String resourceGroupName, String accountName, String storageAccountName); + Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName); - + Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName); /** * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - void update(String resourceGroupName, String accountName, String storageAccountName); + void update(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters); /** * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. @@ -139,11 +142,12 @@ public interface StorageAccounts { * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback); + ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, final ServiceCallback serviceCallback); /** * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. @@ -151,10 +155,11 @@ public interface StorageAccounts { * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName); + Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters); /** * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. @@ -162,109 +167,104 @@ public interface StorageAccounts { * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName); + Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters); + /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - void update(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters); + void delete(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, final ServiceCallback serviceCallback); + ServiceFuture deleteAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback); /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters); + Observable deleteAsync(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters); + Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageAccountInfo object if successful. */ - void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters); + StorageAccountInfo get(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, final ServiceCallback serviceCallback); + ServiceFuture getAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback); /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the StorageAccountInfo object */ - Observable addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters); + Observable getAsync(String resourceGroupName, String accountName, String storageAccountName); /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the StorageAccountInfo object */ - Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters); + Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName); /** * Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts. diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java index 370f14e765faa..b8f7770aa0f5f 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/AccountsImpl.java @@ -15,6 +15,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccount; +import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccountBasic; import com.microsoft.azure.management.datalake.analytics.models.DataLakeAnalyticsAccountUpdateParameters; import com.microsoft.azure.management.datalake.analytics.models.PageImpl; import com.microsoft.azure.Page; @@ -74,18 +75,6 @@ interface AccountsService { @GET("subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts") Observable> list(@Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts get" }) - @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}") - Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts delete" }) - @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}", method = "DELETE", hasBody = true) - Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts beginDelete" }) - @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}", method = "DELETE", hasBody = true) - Observable> beginDelete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts create" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}") Observable> create(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Body DataLakeAnalyticsAccount parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -102,6 +91,18 @@ interface AccountsService { @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}") Observable> beginUpdate(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Body DataLakeAnalyticsAccountUpdateParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts delete" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}", method = "DELETE", hasBody = true) + Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts beginDelete" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}", method = "DELETE", hasBody = true) + Observable> beginDelete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts get" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}") + Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Accounts listByResourceGroupNext" }) @GET Observable> listByResourceGroupNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -119,13 +120,13 @@ interface AccountsService { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - public PagedList listByResourceGroup(final String resourceGroupName) { - ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listByResourceGroup(final String resourceGroupName) { + ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -139,12 +140,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) { + public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listByResourceGroupSinglePageAsync(resourceGroupName), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink); } }, @@ -156,13 +157,13 @@ public Observable>> call(String n * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - public Observable> listByResourceGroupAsync(final String resourceGroupName) { + public Observable> listByResourceGroupAsync(final String resourceGroupName) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -173,13 +174,13 @@ public Page call(ServiceResponse>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName) { + public Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName) { return listByResourceGroupSinglePageAsync(resourceGroupName) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -194,9 +195,9 @@ public Observable>> call(ServiceR * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeAnalyticsAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName) { + public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -213,12 +214,12 @@ public Observable>> listByResourc final String orderby = null; final Boolean count = null; return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listByResourceGroupDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listByResourceGroupDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -239,13 +240,13 @@ public Observable>> call(Response * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - public PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -265,12 +266,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink); } }, @@ -288,13 +289,13 @@ public Observable>> call(String n * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - public Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName, filter, top, skip, select, orderby, count) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -311,13 +312,13 @@ public Page call(ServiceResponse>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -330,17 +331,17 @@ public Observable>> call(ServiceR /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * - ServiceResponse> * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - ServiceResponse> * @param filter OData filter. Optional. - ServiceResponse> * @param top The number of items to return. Optional. - ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. - ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. - ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. - ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + ServiceResponse> * @param filter OData filter. Optional. + ServiceResponse> * @param top The number of items to return. Optional. + ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. + ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. + ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. + ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeAnalyticsAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -351,12 +352,12 @@ public Observable>> listByResourc throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listByResourceGroupDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listByResourceGroupDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -364,9 +365,9 @@ public Observable>> call(Response }); } - private ServiceResponse> listByResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listByResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -377,13 +378,13 @@ private ServiceResponse> listByResourceGroupD * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - public PagedList list() { - ServiceResponse> response = listSinglePageAsync().toBlocking().single(); - return new PagedList(response.body()) { + public PagedList list() { + ServiceResponse> response = listSinglePageAsync().toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -396,12 +397,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAsync(final ListOperationCallback serviceCallback) { + public ServiceFuture> listAsync(final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSinglePageAsync(), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -412,13 +413,13 @@ public Observable>> call(String n * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - public Observable> listAsync() { + public Observable> listAsync() { return listWithServiceResponseAsync() - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -428,13 +429,13 @@ public Page call(ServiceResponse>> listWithServiceResponseAsync() { + public Observable>> listWithServiceResponseAsync() { return listSinglePageAsync() - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -448,9 +449,9 @@ public Observable>> call(ServiceR * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeAnalyticsAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSinglePageAsync() { + public Observable>> listSinglePageAsync() { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } @@ -464,12 +465,12 @@ public Observable>> listSinglePag final String orderby = null; final Boolean count = null; return service.list(this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -489,13 +490,13 @@ public Observable>> call(Response * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - public PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listSinglePageAsync(filter, top, skip, select, orderby, count).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + ServiceResponse> response = listSinglePageAsync(filter, top, skip, select, orderby, count).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -514,12 +515,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSinglePageAsync(filter, top, skip, select, orderby, count), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -536,13 +537,13 @@ public Observable>> call(String n * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - public Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listWithServiceResponseAsync(filter, top, skip, select, orderby, count) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -558,13 +559,13 @@ public Page call(ServiceResponse>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listSinglePageAsync(filter, top, skip, select, orderby, count) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -577,16 +578,16 @@ public Observable>> call(ServiceR /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * - ServiceResponse> * @param filter OData filter. Optional. - ServiceResponse> * @param top The number of items to return. Optional. - ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. - ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. - ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. - ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param filter OData filter. Optional. + ServiceResponse> * @param top The number of items to return. Optional. + ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. + ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. + ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. + ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeAnalyticsAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSinglePageAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listSinglePageAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } @@ -594,251 +595,12 @@ public Observable>> listSinglePag throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.list(this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = listDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DataLakeAnalyticsAccount object if successful. - */ - public DataLakeAnalyticsAccount get(String resourceGroupName, String accountName) { - return getWithServiceResponseAsync(resourceGroupName, accountName).toBlocking().single().body(); - } - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, accountName), serviceCallback); - } - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeAnalyticsAccount object - */ - public Observable getAsync(String resourceGroupName, String accountName) { - return getWithServiceResponseAsync(resourceGroupName, accountName).map(new Func1, DataLakeAnalyticsAccount>() { - @Override - public DataLakeAnalyticsAccount call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets details of the specified Data Lake Analytics account. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to retrieve. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeAnalyticsAccount object - */ - public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName) { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (accountName == null) { - throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); - } - if (this.client.subscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); - } - if (this.client.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); - } - return service.get(resourceGroupName, accountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - public void delete(String resourceGroupName, String accountName) { - deleteWithServiceResponseAsync(resourceGroupName, accountName).toBlocking().last().body(); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, accountName), serviceCallback); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - public Observable deleteAsync(String resourceGroupName, String accountName) { - return deleteWithServiceResponseAsync(resourceGroupName, accountName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName) { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (accountName == null) { - throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); - } - if (this.client.subscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); - } - if (this.client.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); - } - Observable> observable = service.delete(resourceGroupName, accountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - public void beginDelete(String resourceGroupName, String accountName) { - beginDeleteWithServiceResponseAsync(resourceGroupName, accountName).toBlocking().single().body(); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture beginDeleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginDeleteWithServiceResponseAsync(resourceGroupName, accountName), serviceCallback); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable beginDeleteAsync(String resourceGroupName, String accountName) { - return beginDeleteWithServiceResponseAsync(resourceGroupName, accountName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Begins the delete delete process for the Data Lake Analytics account object specified by the account name. - * - * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to delete - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable> beginDeleteWithServiceResponseAsync(String resourceGroupName, String accountName) { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (accountName == null) { - throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); - } - if (this.client.subscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); - } - if (this.client.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); - } - return service.beginDelete(resourceGroupName, accountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = beginDeleteDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -846,11 +608,9 @@ public Observable> call(Response response) { }); } - private ServiceResponse beginDeleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1021,8 +781,8 @@ public Observable> call(Response beginCreateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1342,6 +1102,247 @@ private ServiceResponse beginUpdateDelegate(Response deleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, accountName), serviceCallback); + } + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable deleteAsync(String resourceGroupName, String accountName) { + return deleteWithServiceResponseAsync(resourceGroupName, accountName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Observable> observable = service.delete(resourceGroupName, accountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + } + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void beginDelete(String resourceGroupName, String accountName) { + beginDeleteWithServiceResponseAsync(resourceGroupName, accountName).toBlocking().single().body(); + } + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture beginDeleteAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginDeleteWithServiceResponseAsync(resourceGroupName, accountName), serviceCallback); + } + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable beginDeleteAsync(String resourceGroupName, String accountName) { + return beginDeleteWithServiceResponseAsync(resourceGroupName, accountName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Begins the delete process for the Data Lake Analytics account object specified by the account name. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to delete + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> beginDeleteWithServiceResponseAsync(String resourceGroupName, String accountName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.beginDelete(resourceGroupName, accountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = beginDeleteDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse beginDeleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DataLakeAnalyticsAccount object if successful. + */ + public DataLakeAnalyticsAccount get(String resourceGroupName, String accountName) { + return getWithServiceResponseAsync(resourceGroupName, accountName).toBlocking().single().body(); + } + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getAsync(String resourceGroupName, String accountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, accountName), serviceCallback); + } + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DataLakeAnalyticsAccount object + */ + public Observable getAsync(String resourceGroupName, String accountName) { + return getWithServiceResponseAsync(resourceGroupName, accountName).map(new Func1, DataLakeAnalyticsAccount>() { + @Override + public DataLakeAnalyticsAccount call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets details of the specified Data Lake Analytics account. + * + * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. + * @param accountName The name of the Data Lake Analytics account to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DataLakeAnalyticsAccount object + */ + public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.get(resourceGroupName, accountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * @@ -1349,13 +1350,13 @@ private ServiceResponse beginUpdateDelegate(Response listByResourceGroupNext(final String nextPageLink) { - ServiceResponse> response = listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listByResourceGroupNext(final String nextPageLink) { + ServiceResponse> response = listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -1370,12 +1371,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + public ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listByResourceGroupNextSinglePageAsync(nextPageLink), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink); } }, @@ -1387,13 +1388,13 @@ public Observable>> call(String n * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - public Observable> listByResourceGroupNextAsync(final String nextPageLink) { + public Observable> listByResourceGroupNextAsync(final String nextPageLink) { return listByResourceGroupNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -1404,13 +1405,13 @@ public Page call(ServiceResponse>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink) { + public Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1423,22 +1424,22 @@ public Observable>> call(ServiceR /** * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeAnalyticsAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listByResourceGroupNextSinglePageAsync(final String nextPageLink) { + public Observable>> listByResourceGroupNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } String nextUrl = String.format("%s", nextPageLink); return service.listByResourceGroupNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listByResourceGroupNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listByResourceGroupNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1446,9 +1447,9 @@ public Observable>> call(Response }); } - private ServiceResponse> listByResourceGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listByResourceGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1460,13 +1461,13 @@ private ServiceResponse> listByResourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeAnalyticsAccount> object if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object if successful. */ - public PagedList listNext(final String nextPageLink) { - ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listNext(final String nextPageLink) { + ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -1481,12 +1482,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listNextSinglePageAsync(nextPageLink), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -1498,13 +1499,13 @@ public Observable>> call(String n * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeAnalyticsAccount> object + * @return the observable to the PagedList<DataLakeAnalyticsAccountBasic> object */ - public Observable> listNextAsync(final String nextPageLink) { + public Observable> listNextAsync(final String nextPageLink) { return listNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -1515,13 +1516,13 @@ public Page call(ServiceResponse>> listNextWithServiceResponseAsync(final String nextPageLink) { + public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { return listNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1534,22 +1535,22 @@ public Observable>> call(ServiceR /** * Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeAnalyticsAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeAnalyticsAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listNextSinglePageAsync(final String nextPageLink) { + public Observable>> listNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } String nextUrl = String.format("%s", nextPageLink); return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1557,9 +1558,9 @@ public Observable>> call(Response }); } - private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java index 93ee381656fda..874a016499412 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/CatalogsImpl.java @@ -94,14 +94,14 @@ interface CatalogsService { @PATCH("catalog/usql/databases/{databaseName}/secrets/{secretName}") Observable> updateSecret(@Path("databaseName") String databaseName, @Path("secretName") String secretName, @Body DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs getSecret" }) - @GET("catalog/usql/databases/{databaseName}/secrets/{secretName}") - Observable> getSecret(@Path("databaseName") String databaseName, @Path("secretName") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs deleteSecret" }) @HTTP(path = "catalog/usql/databases/{databaseName}/secrets/{secretName}", method = "DELETE", hasBody = true) Observable> deleteSecret(@Path("databaseName") String databaseName, @Path("secretName") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs getSecret" }) + @GET("catalog/usql/databases/{databaseName}/secrets/{secretName}") + Observable> getSecret(@Path("databaseName") String databaseName, @Path("secretName") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs deleteAllSecrets" }) @HTTP(path = "catalog/usql/databases/{databaseName}/secrets", method = "DELETE", hasBody = true) Observable> deleteAllSecrets(@Path("databaseName") String databaseName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); @@ -114,14 +114,14 @@ interface CatalogsService { @PATCH("catalog/usql/databases/{databaseName}/credentials/{credentialName}") Observable> updateCredential(@Path("databaseName") String databaseName, @Path("credentialName") String credentialName, @Body DataLakeAnalyticsCatalogCredentialUpdateParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs getCredential" }) - @GET("catalog/usql/databases/{databaseName}/credentials/{credentialName}") - Observable> getCredential(@Path("databaseName") String databaseName, @Path("credentialName") String credentialName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs deleteCredential" }) @POST("catalog/usql/databases/{databaseName}/credentials/{credentialName}") Observable> deleteCredential(@Path("databaseName") String databaseName, @Path("credentialName") String credentialName, @Body DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, @Query("cascade") Boolean cascade, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs getCredential" }) + @GET("catalog/usql/databases/{databaseName}/credentials/{credentialName}") + Observable> getCredential(@Path("databaseName") String databaseName, @Path("credentialName") String credentialName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs listCredentials" }) @GET("catalog/usql/databases/{databaseName}/credentials") Observable> listCredentials(@Path("databaseName") String databaseName, @Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); @@ -148,7 +148,7 @@ interface CatalogsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs listTables" }) @GET("catalog/usql/databases/{databaseName}/schemas/{schemaName}/tables") - Observable> listTables(@Path("databaseName") String databaseName, @Path("schemaName") String schemaName, @Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + Observable> listTables(@Path("databaseName") String databaseName, @Path("schemaName") String schemaName, @Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("basic") Boolean basic, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs listTableStatisticsByDatabaseAndSchema" }) @GET("catalog/usql/databases/{databaseName}/schemas/{schemaName}/statistics") @@ -228,7 +228,7 @@ interface CatalogsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs listTablesByDatabase" }) @GET("catalog/usql/databases/{databaseName}/tables") - Observable> listTablesByDatabase(@Path("databaseName") String databaseName, @Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + Observable> listTablesByDatabase(@Path("databaseName") String databaseName, @Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("basic") Boolean basic, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Catalogs listTableValuedFunctionsByDatabase" }) @GET("catalog/usql/databases/{databaseName}/tablevaluedfunctions") @@ -527,62 +527,61 @@ private ServiceResponse updateSecretDelegate(Response respon } /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the USqlSecret object if successful. */ - public USqlSecret getSecret(String accountName, String databaseName, String secretName) { - return getSecretWithServiceResponseAsync(accountName, databaseName, secretName).toBlocking().single().body(); + public void deleteSecret(String accountName, String databaseName, String secretName) { + deleteSecretWithServiceResponseAsync(accountName, databaseName, secretName).toBlocking().single().body(); } /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSecretWithServiceResponseAsync(accountName, databaseName, secretName), serviceCallback); + public ServiceFuture deleteSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSecretWithServiceResponseAsync(accountName, databaseName, secretName), serviceCallback); } /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlSecret object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getSecretAsync(String accountName, String databaseName, String secretName) { - return getSecretWithServiceResponseAsync(accountName, databaseName, secretName).map(new Func1, USqlSecret>() { + public Observable deleteSecretAsync(String accountName, String databaseName, String secretName) { + return deleteSecretWithServiceResponseAsync(accountName, databaseName, secretName).map(new Func1, Void>() { @Override - public USqlSecret call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. + * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to get + * @param secretName The name of the secret to delete * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlSecret object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName) { + public Observable> deleteSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -599,12 +598,12 @@ public Observable> getSecretWithServiceResponseAsync throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.getSecret(databaseName, secretName, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteSecret(databaseName, secretName, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getSecretDelegate(response); + ServiceResponse clientResponse = deleteSecretDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -613,69 +612,70 @@ public Observable> call(Response respo }); } - private ServiceResponse getSecretDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse deleteSecretDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the USqlSecret object if successful. */ - public void deleteSecret(String accountName, String databaseName, String secretName) { - deleteSecretWithServiceResponseAsync(accountName, databaseName, secretName).toBlocking().single().body(); + public USqlSecret getSecret(String accountName, String databaseName, String secretName) { + return getSecretWithServiceResponseAsync(accountName, databaseName, secretName).toBlocking().single().body(); } /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSecretWithServiceResponseAsync(accountName, databaseName, secretName), serviceCallback); + public ServiceFuture getSecretAsync(String accountName, String databaseName, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSecretWithServiceResponseAsync(accountName, databaseName, secretName), serviceCallback); } /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the USqlSecret object */ - public Observable deleteSecretAsync(String accountName, String databaseName, String secretName) { - return deleteSecretWithServiceResponseAsync(accountName, databaseName, secretName).map(new Func1, Void>() { + public Observable getSecretAsync(String accountName, String databaseName, String secretName) { + return getSecretWithServiceResponseAsync(accountName, databaseName, secretName).map(new Func1, USqlSecret>() { @Override - public Void call(ServiceResponse response) { + public USqlSecret call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead. + * Gets the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use GetCredential instead. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the secret. - * @param secretName The name of the secret to delete + * @param secretName The name of the secret to get * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the USqlSecret object */ - public Observable> deleteSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName) { + public Observable> getSecretWithServiceResponseAsync(String accountName, String databaseName, String secretName) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -692,12 +692,12 @@ public Observable> deleteSecretWithServiceResponseAsync(St throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.deleteSecret(databaseName, secretName, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSecret(databaseName, secretName, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteSecretDelegate(response); + ServiceResponse clientResponse = getSecretDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -706,9 +706,9 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteSecretDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse getSecretDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -803,7 +803,7 @@ private ServiceResponse deleteAllSecretsDelegate(Response re * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @throws IllegalArgumentException thrown if parameters fail the validation @@ -818,7 +818,7 @@ public void createCredential(String accountName, String databaseName, String cre * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -833,7 +833,7 @@ public ServiceFuture createCredentialAsync(String accountName, String data * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @throws IllegalArgumentException thrown if parameters fail the validation @@ -852,7 +852,7 @@ public Void call(ServiceResponse response) { * Creates the specified credential for use with external data sources in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database in which to create the credential. + * @param databaseName The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object. * @param credentialName The name of the credential. * @param parameters The parameters required to create the credential (name and password) * @throws IllegalArgumentException thrown if parameters fail the validation @@ -1002,62 +1002,61 @@ private ServiceResponse updateCredentialDelegate(Response re } /** - * Retrieves the specified credential from the Data Lake Analytics catalog. + * Deletes the specified credential in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. + * @param databaseName The name of the database containing the credential. + * @param credentialName The name of the credential to delete * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the USqlCredential object if successful. */ - public USqlCredential getCredential(String accountName, String databaseName, String credentialName) { - return getCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).toBlocking().single().body(); + public void deleteCredential(String accountName, String databaseName, String credentialName) { + deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).toBlocking().single().body(); } /** - * Retrieves the specified credential from the Data Lake Analytics catalog. + * Deletes the specified credential in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. + * @param databaseName The name of the database containing the credential. + * @param credentialName The name of the credential to delete * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getCredentialAsync(String accountName, String databaseName, String credentialName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCredentialWithServiceResponseAsync(accountName, databaseName, credentialName), serviceCallback); + public ServiceFuture deleteCredentialAsync(String accountName, String databaseName, String credentialName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName), serviceCallback); } /** - * Retrieves the specified credential from the Data Lake Analytics catalog. + * Deletes the specified credential in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. + * @param databaseName The name of the database containing the credential. + * @param credentialName The name of the credential to delete * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlCredential object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getCredentialAsync(String accountName, String databaseName, String credentialName) { - return getCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).map(new Func1, USqlCredential>() { + public Observable deleteCredentialAsync(String accountName, String databaseName, String credentialName) { + return deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).map(new Func1, Void>() { @Override - public USqlCredential call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Retrieves the specified credential from the Data Lake Analytics catalog. + * Deletes the specified credential in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the schema. - * @param credentialName The name of the credential. + * @param databaseName The name of the database containing the credential. + * @param credentialName The name of the credential to delete * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the USqlCredential object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName) { + public Observable> deleteCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -1073,13 +1072,15 @@ public Observable> getCredentialWithServiceRespo if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } + final DataLakeAnalyticsCatalogCredentialDeleteParameters parameters = null; + final Boolean cascade = null; String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.getCredential(databaseName, credentialName, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteCredential(databaseName, credentialName, parameters, cascade, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getCredentialDelegate(response); + ServiceResponse clientResponse = deleteCredentialDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -1088,25 +1089,20 @@ public Observable> call(Response r }); } - private ServiceResponse getCredentialDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - /** * Deletes the specified credential in the specified database. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the credential. * @param credentialName The name of the credential to delete + * @param parameters The parameters to delete a credential if the current user is not the account owner. + * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void deleteCredential(String accountName, String databaseName, String credentialName) { - deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).toBlocking().single().body(); + public void deleteCredential(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade) { + deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName, parameters, cascade).toBlocking().single().body(); } /** @@ -1115,12 +1111,14 @@ public void deleteCredential(String accountName, String databaseName, String cre * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the credential. * @param credentialName The name of the credential to delete + * @param parameters The parameters to delete a credential if the current user is not the account owner. + * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteCredentialAsync(String accountName, String databaseName, String credentialName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName), serviceCallback); + public ServiceFuture deleteCredentialAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName, parameters, cascade), serviceCallback); } /** @@ -1129,11 +1127,13 @@ public ServiceFuture deleteCredentialAsync(String accountName, String data * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the credential. * @param credentialName The name of the credential to delete + * @param parameters The parameters to delete a credential if the current user is not the account owner. + * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteCredentialAsync(String accountName, String databaseName, String credentialName) { - return deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).map(new Func1, Void>() { + public Observable deleteCredentialAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade) { + return deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName, parameters, cascade).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -1147,10 +1147,12 @@ public Void call(ServiceResponse response) { * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. * @param databaseName The name of the database containing the credential. * @param credentialName The name of the credential to delete + * @param parameters The parameters to delete a credential if the current user is not the account owner. + * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName) { + public Observable> deleteCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -1166,8 +1168,7 @@ public Observable> deleteCredentialWithServiceResponseAsyn if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final DataLakeAnalyticsCatalogCredentialDeleteParameters parameters = null; - final Boolean cascade = null; + Validator.validate(parameters); String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); return service.deleteCredential(databaseName, credentialName, parameters, cascade, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>() { @@ -1183,70 +1184,70 @@ public Observable> call(Response response) { }); } + private ServiceResponse deleteCredentialDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** - * Deletes the specified credential in the specified database. + * Retrieves the specified credential from the Data Lake Analytics catalog. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the credential. - * @param credentialName The name of the credential to delete - * @param parameters The parameters to delete a credential if the current user is not the account owner. - * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the USqlCredential object if successful. */ - public void deleteCredential(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade) { - deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName, parameters, cascade).toBlocking().single().body(); + public USqlCredential getCredential(String accountName, String databaseName, String credentialName) { + return getCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).toBlocking().single().body(); } /** - * Deletes the specified credential in the specified database. + * Retrieves the specified credential from the Data Lake Analytics catalog. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the credential. - * @param credentialName The name of the credential to delete - * @param parameters The parameters to delete a credential if the current user is not the account owner. - * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteCredentialAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName, parameters, cascade), serviceCallback); + public ServiceFuture getCredentialAsync(String accountName, String databaseName, String credentialName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCredentialWithServiceResponseAsync(accountName, databaseName, credentialName), serviceCallback); } /** - * Deletes the specified credential in the specified database. + * Retrieves the specified credential from the Data Lake Analytics catalog. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the credential. - * @param credentialName The name of the credential to delete - * @param parameters The parameters to delete a credential if the current user is not the account owner. - * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the USqlCredential object */ - public Observable deleteCredentialAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade) { - return deleteCredentialWithServiceResponseAsync(accountName, databaseName, credentialName, parameters, cascade).map(new Func1, Void>() { + public Observable getCredentialAsync(String accountName, String databaseName, String credentialName) { + return getCredentialWithServiceResponseAsync(accountName, databaseName, credentialName).map(new Func1, USqlCredential>() { @Override - public Void call(ServiceResponse response) { + public USqlCredential call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes the specified credential in the specified database. + * Retrieves the specified credential from the Data Lake Analytics catalog. * * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations. - * @param databaseName The name of the database containing the credential. - * @param credentialName The name of the credential to delete - * @param parameters The parameters to delete a credential if the current user is not the account owner. - * @param cascade Indicates if the delete should be a cascading delete (which deletes all resources dependent on the credential as well as the credential) or not. If false will fail if there are any resources relying on the credential. + * @param databaseName The name of the database containing the schema. + * @param credentialName The name of the credential. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the USqlCredential object */ - public Observable> deleteCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName, DataLakeAnalyticsCatalogCredentialDeleteParameters parameters, Boolean cascade) { + public Observable> getCredentialWithServiceResponseAsync(String accountName, String databaseName, String credentialName) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -1262,14 +1263,13 @@ public Observable> deleteCredentialWithServiceResponseAsyn if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Validator.validate(parameters); String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.deleteCredential(databaseName, credentialName, parameters, cascade, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getCredential(databaseName, credentialName, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteCredentialDelegate(response); + ServiceResponse clientResponse = getCredentialDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -1278,9 +1278,9 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteCredentialDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse getCredentialDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -2544,8 +2544,9 @@ public Observable>> listTablesSinglePageAsync(fi final String select = null; final String orderby = null; final Boolean count = null; + final Boolean basic = null; String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.listTables(databaseName, schemaName, filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + return service.listTables(databaseName, schemaName, filter, top, skip, select, orderby, count, basic, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -2571,13 +2572,14 @@ public Observable>> call(Response * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<USqlTable> object if successful. */ - public PagedList listTables(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listTablesSinglePageAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count).toBlocking().single(); + public PagedList listTables(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { + ServiceResponse> response = listTablesSinglePageAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count, basic).toBlocking().single(); return new PagedList(response.body()) { @Override public Page nextPage(String nextPageLink) { @@ -2598,13 +2600,14 @@ public Page nextPage(String nextPageLink) { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listTablesSinglePageAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count), + listTablesSinglePageAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count, basic), new Func1>>>() { @Override public Observable>> call(String nextPageLink) { @@ -2626,11 +2629,12 @@ public Observable>> call(String nextPageLink) { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - public Observable> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - return listTablesWithServiceResponseAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count) + public Observable> listTablesAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { + return listTablesWithServiceResponseAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count, basic) .map(new Func1>, Page>() { @Override public Page call(ServiceResponse> response) { @@ -2651,11 +2655,12 @@ public Page call(ServiceResponse> response) { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - public Observable>> listTablesWithServiceResponseAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - return listTablesSinglePageAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count) + public Observable>> listTablesWithServiceResponseAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { + return listTablesSinglePageAsync(accountName, databaseName, schemaName, filter, top, skip, select, orderby, count, basic) .concatMap(new Func1>, Observable>>>() { @Override public Observable>> call(ServiceResponse> page) { @@ -2680,10 +2685,11 @@ public Observable>> call(ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<USqlTable> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listTablesSinglePageAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listTablesSinglePageAsync(final String accountName, final String databaseName, final String schemaName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -2700,7 +2706,7 @@ public Observable>> listTablesSinglePageAsync(fi throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.listTables(databaseName, schemaName, filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + return service.listTables(databaseName, schemaName, filter, top, skip, select, orderby, count, basic, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -6844,8 +6850,9 @@ public Observable>> listTablesByDatabaseSinglePa final String select = null; final String orderby = null; final Boolean count = null; + final Boolean basic = null; String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.listTablesByDatabase(databaseName, filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + return service.listTablesByDatabase(databaseName, filter, top, skip, select, orderby, count, basic, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -6870,13 +6877,14 @@ public Observable>> call(Response * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<USqlTable> object if successful. */ - public PagedList listTablesByDatabase(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listTablesByDatabaseSinglePageAsync(accountName, databaseName, filter, top, skip, select, orderby, count).toBlocking().single(); + public PagedList listTablesByDatabase(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { + ServiceResponse> response = listTablesByDatabaseSinglePageAsync(accountName, databaseName, filter, top, skip, select, orderby, count, basic).toBlocking().single(); return new PagedList(response.body()) { @Override public Page nextPage(String nextPageLink) { @@ -6896,13 +6904,14 @@ public Page nextPage(String nextPageLink) { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listTablesByDatabaseSinglePageAsync(accountName, databaseName, filter, top, skip, select, orderby, count), + listTablesByDatabaseSinglePageAsync(accountName, databaseName, filter, top, skip, select, orderby, count, basic), new Func1>>>() { @Override public Observable>> call(String nextPageLink) { @@ -6923,11 +6932,12 @@ public Observable>> call(String nextPageLink) { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - public Observable> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - return listTablesByDatabaseWithServiceResponseAsync(accountName, databaseName, filter, top, skip, select, orderby, count) + public Observable> listTablesByDatabaseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { + return listTablesByDatabaseWithServiceResponseAsync(accountName, databaseName, filter, top, skip, select, orderby, count, basic) .map(new Func1>, Page>() { @Override public Page call(ServiceResponse> response) { @@ -6947,11 +6957,12 @@ public Page call(ServiceResponse> response) { * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<USqlTable> object */ - public Observable>> listTablesByDatabaseWithServiceResponseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - return listTablesByDatabaseSinglePageAsync(accountName, databaseName, filter, top, skip, select, orderby, count) + public Observable>> listTablesByDatabaseWithServiceResponseAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { + return listTablesByDatabaseSinglePageAsync(accountName, databaseName, filter, top, skip, select, orderby, count, basic) .concatMap(new Func1>, Observable>>>() { @Override public Observable>> call(ServiceResponse> page) { @@ -6975,10 +6986,11 @@ public Observable>> call(ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param basic The basic switch indicates what level of information to return when listing tables. When basic is true, only database_name, schema_name, table_name and version are returned for each table, otherwise all table metadata is returned. By default, it is false * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<USqlTable> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listTablesByDatabaseSinglePageAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listTablesByDatabaseSinglePageAsync(final String accountName, final String databaseName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final Boolean basic) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -6992,7 +7004,7 @@ public Observable>> listTablesByDatabaseSinglePa throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaCatalogDnsSuffix}", this.client.adlaCatalogDnsSuffix()); - return service.listTablesByDatabase(databaseName, filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + return service.listTablesByDatabase(databaseName, filter, top, skip, select, orderby, count, basic, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java index 72786a865834e..7413d5645d467 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeAnalyticsJobManagementClientImpl.java @@ -12,6 +12,8 @@ import com.microsoft.azure.AzureServiceClient; import com.microsoft.azure.management.datalake.analytics.DataLakeAnalyticsJobManagementClient; import com.microsoft.azure.management.datalake.analytics.Jobs; +import com.microsoft.azure.management.datalake.analytics.Pipelines; +import com.microsoft.azure.management.datalake.analytics.Recurrences; import com.microsoft.rest.credentials.ServiceClientCredentials; import com.microsoft.rest.RestClient; @@ -134,6 +136,32 @@ public DataLakeAnalyticsJobManagementClientImpl withGenerateClientRequestId(bool return this; } + /** + * The Pipelines object to access its operations. + */ + private Pipelines pipelines; + + /** + * Gets the Pipelines object to access its operations. + * @return the Pipelines object. + */ + public Pipelines pipelines() { + return this.pipelines; + } + + /** + * The Recurrences object to access its operations. + */ + private Recurrences recurrences; + + /** + * Gets the Recurrences object to access its operations. + * @return the Recurrences object. + */ + public Recurrences recurrences() { + return this.recurrences; + } + /** * The Jobs object to access its operations. */ @@ -183,6 +211,8 @@ protected void initialize() { this.acceptLanguage = "en-US"; this.longRunningOperationRetryTimeout = 30; this.generateClientRequestId = true; + this.pipelines = new PipelinesImpl(restClient().retrofit(), this); + this.recurrences = new RecurrencesImpl(restClient().retrofit(), this); this.jobs = new JobsImpl(restClient().retrofit(), this); this.azureClient = new AzureClient(this); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeStoreAccountsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeStoreAccountsImpl.java index aca72d5ead109..044a51e220e73 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeStoreAccountsImpl.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/DataLakeStoreAccountsImpl.java @@ -65,17 +65,17 @@ public DataLakeStoreAccountsImpl(Retrofit retrofit, DataLakeAnalyticsAccountMana * used by Retrofit to perform actually REST calls. */ interface DataLakeStoreAccountsService { - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.DataLakeStoreAccounts get" }) - @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/{dataLakeStoreAccountName}") - Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("dataLakeStoreAccountName") String dataLakeStoreAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.DataLakeStoreAccounts add" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/{dataLakeStoreAccountName}") + Observable> add(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("dataLakeStoreAccountName") String dataLakeStoreAccountName, @Path("subscriptionId") String subscriptionId, @Body AddDataLakeStoreParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.DataLakeStoreAccounts delete" }) @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/{dataLakeStoreAccountName}", method = "DELETE", hasBody = true) Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("dataLakeStoreAccountName") String dataLakeStoreAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.DataLakeStoreAccounts add" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/{dataLakeStoreAccountName}") - Observable> add(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("dataLakeStoreAccountName") String dataLakeStoreAccountName, @Path("subscriptionId") String subscriptionId, @Body AddDataLakeStoreParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.DataLakeStoreAccounts get" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/{dataLakeStoreAccountName}") + Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("dataLakeStoreAccountName") String dataLakeStoreAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.DataLakeStoreAccounts listByAccount" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/") @@ -88,62 +88,61 @@ interface DataLakeStoreAccountsService { } /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DataLakeStoreAccountInfo object if successful. */ - public DataLakeStoreAccountInfo get(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { - return getWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).toBlocking().single().body(); + public void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).toBlocking().single().body(); } /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName), serviceCallback); + public ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName), serviceCallback); } /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeStoreAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { - return getWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).map(new Func1, DataLakeStoreAccountInfo>() { + public Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + return addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).map(new Func1, Void>() { @Override - public DataLakeStoreAccountInfo call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DataLakeStoreAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + public Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -159,12 +158,13 @@ public Observable> getWithServiceRespo if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.get(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + final AddDataLakeStoreParameters parameters = null; + return service.add(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getDelegate(response); + ServiceResponse clientResponse = addDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -173,52 +173,48 @@ public Observable> call(Response getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void delete(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { - deleteWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).toBlocking().single().body(); + public void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters) { + addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName, parameters).toBlocking().single().body(); } /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName), serviceCallback); + public ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName, parameters), serviceCallback); } /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { - return deleteWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).map(new Func1, Void>() { + public Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters) { + return addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName, parameters).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -227,15 +223,16 @@ public Void call(ServiceResponse response) { } /** - * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. + * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove + * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param parameters The details of the Data Lake Store account. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + public Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -251,12 +248,13 @@ public Observable> deleteWithServiceResponseAsync(String r if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.delete(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + Validator.validate(parameters); + return service.add(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteDelegate(response); + ServiceResponse clientResponse = addDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -265,7 +263,7 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse addDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) @@ -273,44 +271,44 @@ private ServiceResponse deleteDelegate(Response response) th } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { - addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).toBlocking().single().body(); + public void delete(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + deleteWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).toBlocking().single().body(); } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName), serviceCallback); + public ServiceFuture deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName), serviceCallback); } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { - return addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).map(new Func1, Void>() { + public Observable deleteAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + return deleteWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -319,15 +317,15 @@ public Void call(ServiceResponse response) { } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. + * @param accountName The name of the Data Lake Analytics account from which to remove the Data Lake Store account. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -343,13 +341,12 @@ public Observable> addWithServiceResponseAsync(String reso if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final AddDataLakeStoreParameters parameters = null; - return service.add(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.delete(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = addDelegate(response); + ServiceResponse clientResponse = deleteDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -358,66 +355,70 @@ public Observable> call(Response response) { }); } + private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DataLakeStoreAccountInfo object if successful. */ - public void add(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters) { - addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName, parameters).toBlocking().single().body(); + public DataLakeStoreAccountInfo get(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + return getWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).toBlocking().single().body(); } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName, parameters), serviceCallback); + public ServiceFuture getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName), serviceCallback); } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the DataLakeStoreAccountInfo object */ - public Observable addAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters) { - return addWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName, parameters).map(new Func1, Void>() { + public Observable getAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { + return getWithServiceResponseAsync(resourceGroupName, accountName, dataLakeStoreAccountName).map(new Func1, DataLakeStoreAccountInfo>() { @Override - public Void call(ServiceResponse response) { + public DataLakeStoreAccountInfo call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account. + * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Data Lake Store account. - * @param dataLakeStoreAccountName The name of the Data Lake Store account to add. - * @param parameters The details of the Data Lake Store account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. + * @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the DataLakeStoreAccountInfo object */ - public Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName, AddDataLakeStoreParameters parameters) { + public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String dataLakeStoreAccountName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -433,13 +434,12 @@ public Observable> addWithServiceResponseAsync(String reso if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Validator.validate(parameters); - return service.add(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.get(resourceGroupName, accountName, dataLakeStoreAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = addDelegate(response); + ServiceResponse clientResponse = getDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -448,9 +448,9 @@ public Observable> call(Response response) { }); } - private ServiceResponse addDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java index c915516dc1470..1f54bf3b7d68f 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/JobsImpl.java @@ -15,8 +15,11 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.datalake.analytics.models.BuildJobParameters; +import com.microsoft.azure.management.datalake.analytics.models.CreateJobParameters; import com.microsoft.azure.management.datalake.analytics.models.JobDataPath; import com.microsoft.azure.management.datalake.analytics.models.JobInformation; +import com.microsoft.azure.management.datalake.analytics.models.JobInformationBasic; import com.microsoft.azure.management.datalake.analytics.models.JobStatistics; import com.microsoft.azure.management.datalake.analytics.models.PageImpl; import com.microsoft.azure.Page; @@ -78,20 +81,20 @@ interface JobsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Jobs build" }) @POST("BuildJob") - Observable> build(@Body JobInformation parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + Observable> build(@Body BuildJobParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Jobs cancel" }) @POST("Jobs/{jobIdentity}/CancelJob") Observable> cancel(@Path("jobIdentity") UUID jobIdentity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Jobs create" }) + @PUT("Jobs/{jobIdentity}") + Observable> create(@Path("jobIdentity") UUID jobIdentity, @Body CreateJobParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Jobs get" }) @GET("Jobs/{jobIdentity}") Observable> get(@Path("jobIdentity") UUID jobIdentity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Jobs create" }) - @PUT("Jobs/{jobIdentity}") - Observable> create(@Path("jobIdentity") UUID jobIdentity, @Body JobInformation parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Jobs list" }) @GET("Jobs") Observable> list(@Query("$filter") String filter, @Query("$top") Integer top, @Query("$skip") Integer skip, @Query("$select") String select, @Query("$orderby") String orderby, @Query("$count") Boolean count, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); @@ -286,7 +289,7 @@ private ServiceResponse getDebugDataPathDelegate(Response buildAsync(String accountName, JobInformation parameters, final ServiceCallback serviceCallback) { + public ServiceFuture buildAsync(String accountName, BuildJobParameters parameters, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(buildWithServiceResponseAsync(accountName, parameters), serviceCallback); } @@ -311,7 +314,7 @@ public ServiceFuture buildAsync(String accountName, JobInformati * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - public Observable buildAsync(String accountName, JobInformation parameters) { + public Observable buildAsync(String accountName, BuildJobParameters parameters) { return buildWithServiceResponseAsync(accountName, parameters).map(new Func1, JobInformation>() { @Override public JobInformation call(ServiceResponse response) { @@ -328,7 +331,7 @@ public JobInformation call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - public Observable> buildWithServiceResponseAsync(String accountName, JobInformation parameters) { + public Observable> buildWithServiceResponseAsync(String accountName, BuildJobParameters parameters) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -451,42 +454,45 @@ private ServiceResponse cancelDelegate(Response response) th } /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the JobInformation object if successful. */ - public JobInformation get(String accountName, UUID jobIdentity) { - return getWithServiceResponseAsync(accountName, jobIdentity).toBlocking().single().body(); + public JobInformation create(String accountName, UUID jobIdentity, CreateJobParameters parameters) { + return createWithServiceResponseAsync(accountName, jobIdentity, parameters).toBlocking().single().body(); } /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getAsync(String accountName, UUID jobIdentity, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getWithServiceResponseAsync(accountName, jobIdentity), serviceCallback); + public ServiceFuture createAsync(String accountName, UUID jobIdentity, CreateJobParameters parameters, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createWithServiceResponseAsync(accountName, jobIdentity, parameters), serviceCallback); } /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - public Observable getAsync(String accountName, UUID jobIdentity) { - return getWithServiceResponseAsync(accountName, jobIdentity).map(new Func1, JobInformation>() { + public Observable createAsync(String accountName, UUID jobIdentity, CreateJobParameters parameters) { + return createWithServiceResponseAsync(accountName, jobIdentity, parameters).map(new Func1, JobInformation>() { @Override public JobInformation call(ServiceResponse response) { return response.body(); @@ -495,14 +501,15 @@ public JobInformation call(ServiceResponse response) { } /** - * Gets the job information for the specified job ID. + * Submits a job to the specified Data Lake Analytics account. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity JobInfo ID. + * @param jobIdentity The job ID (a GUID) for the job being submitted. + * @param parameters The parameters to submit a job. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - public Observable> getWithServiceResponseAsync(String accountName, UUID jobIdentity) { + public Observable> createWithServiceResponseAsync(String accountName, UUID jobIdentity, CreateJobParameters parameters) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -512,16 +519,20 @@ public Observable> getWithServiceResponseAsync(S if (jobIdentity == null) { throw new IllegalArgumentException("Parameter jobIdentity is required and cannot be null."); } + if (parameters == null) { + throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); + } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } + Validator.validate(parameters); String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); - return service.get(jobIdentity, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + return service.create(jobIdentity, parameters, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = getDelegate(response); + ServiceResponse clientResponse = createDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -530,7 +541,7 @@ public Observable> call(Response r }); } - private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse createDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) @@ -538,45 +549,42 @@ private ServiceResponse getDelegate(Response respo } /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the JobInformation object if successful. */ - public JobInformation create(String accountName, UUID jobIdentity, JobInformation parameters) { - return createWithServiceResponseAsync(accountName, jobIdentity, parameters).toBlocking().single().body(); + public JobInformation get(String accountName, UUID jobIdentity) { + return getWithServiceResponseAsync(accountName, jobIdentity).toBlocking().single().body(); } /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture createAsync(String accountName, UUID jobIdentity, JobInformation parameters, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createWithServiceResponseAsync(accountName, jobIdentity, parameters), serviceCallback); + public ServiceFuture getAsync(String accountName, UUID jobIdentity, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(accountName, jobIdentity), serviceCallback); } /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - public Observable createAsync(String accountName, UUID jobIdentity, JobInformation parameters) { - return createWithServiceResponseAsync(accountName, jobIdentity, parameters).map(new Func1, JobInformation>() { + public Observable getAsync(String accountName, UUID jobIdentity) { + return getWithServiceResponseAsync(accountName, jobIdentity).map(new Func1, JobInformation>() { @Override public JobInformation call(ServiceResponse response) { return response.body(); @@ -585,15 +593,14 @@ public JobInformation call(ServiceResponse response) { } /** - * Submits a job to the specified Data Lake Analytics account. + * Gets the job information for the specified job ID. * * @param accountName The Azure Data Lake Analytics account to execute job operations on. - * @param jobIdentity The job ID (a GUID) for the job being submitted. - * @param parameters The parameters to submit a job. + * @param jobIdentity JobInfo ID. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the JobInformation object */ - public Observable> createWithServiceResponseAsync(String accountName, UUID jobIdentity, JobInformation parameters) { + public Observable> getWithServiceResponseAsync(String accountName, UUID jobIdentity) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -603,20 +610,16 @@ public Observable> createWithServiceResponseAsyn if (jobIdentity == null) { throw new IllegalArgumentException("Parameter jobIdentity is required and cannot be null."); } - if (parameters == null) { - throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); - } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Validator.validate(parameters); String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); - return service.create(jobIdentity, parameters, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + return service.get(jobIdentity, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = createDelegate(response); + ServiceResponse clientResponse = getDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -625,7 +628,7 @@ public Observable> call(Response r }); } - private ServiceResponse createDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) @@ -639,13 +642,13 @@ private ServiceResponse createDelegate(Response re * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<JobInformation> object if successful. + * @return the PagedList<JobInformationBasic> object if successful. */ - public PagedList list(final String accountName) { - ServiceResponse> response = listSinglePageAsync(accountName).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList list(final String accountName) { + ServiceResponse> response = listSinglePageAsync(accountName).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -659,12 +662,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback) { + public ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSinglePageAsync(accountName), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -676,13 +679,13 @@ public Observable>> call(String nextPageLin * * @param accountName The Azure Data Lake Analytics account to execute job operations on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - public Observable> listAsync(final String accountName) { + public Observable> listAsync(final String accountName) { return listWithServiceResponseAsync(accountName) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -693,13 +696,13 @@ public Page call(ServiceResponse> response) * * @param accountName The Azure Data Lake Analytics account to execute job operations on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - public Observable>> listWithServiceResponseAsync(final String accountName) { + public Observable>> listWithServiceResponseAsync(final String accountName) { return listSinglePageAsync(accountName) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -714,9 +717,9 @@ public Observable>> call(ServiceResponse>> listSinglePageAsync(final String accountName) { + public Observable>> listSinglePageAsync(final String accountName) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -734,12 +737,12 @@ public Observable>> listSinglePageAsync(fin final Boolean count = null; String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); return service.list(filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -760,13 +763,13 @@ public Observable>> call(Response list(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listSinglePageAsync(accountName, filter, top, skip, select, orderby, count).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList list(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + ServiceResponse> response = listSinglePageAsync(accountName, filter, top, skip, select, orderby, count).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -786,12 +789,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSinglePageAsync(accountName, filter, top, skip, select, orderby, count), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -809,13 +812,13 @@ public Observable>> call(String nextPageLin * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - public Observable> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable> listAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listWithServiceResponseAsync(accountName, filter, top, skip, select, orderby, count) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -832,13 +835,13 @@ public Page call(ServiceResponse> response) * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - public Observable>> listWithServiceResponseAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listWithServiceResponseAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listSinglePageAsync(accountName, filter, top, skip, select, orderby, count) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -851,17 +854,17 @@ public Observable>> call(ServiceResponse> * @param accountName The Azure Data Lake Analytics account to execute job operations on. - ServiceResponse> * @param filter OData filter. Optional. - ServiceResponse> * @param top The number of items to return. Optional. - ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. - ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. - ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. - ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param accountName The Azure Data Lake Analytics account to execute job operations on. + ServiceResponse> * @param filter OData filter. Optional. + ServiceResponse> * @param top The number of items to return. Optional. + ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. + ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. + ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. + ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<JobInformation> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<JobInformationBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSinglePageAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listSinglePageAsync(final String accountName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { if (accountName == null) { throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); } @@ -873,12 +876,12 @@ public Observable>> listSinglePageAsync(fin } String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); return service.list(filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -886,9 +889,9 @@ public Observable>> call(Response> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -900,13 +903,13 @@ private ServiceResponse> listDelegate(Response listNext(final String nextPageLink) { - ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listNext(final String nextPageLink) { + ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -921,12 +924,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listNextSinglePageAsync(nextPageLink), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -938,13 +941,13 @@ public Observable>> call(String nextPageLin * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - public Observable> listNextAsync(final String nextPageLink) { + public Observable> listNextAsync(final String nextPageLink) { return listNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -955,13 +958,13 @@ public Page call(ServiceResponse> response) * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<JobInformation> object + * @return the observable to the PagedList<JobInformationBasic> object */ - public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { + public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { return listNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -974,22 +977,22 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<JobInformation> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<JobInformationBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listNextSinglePageAsync(final String nextPageLink) { + public Observable>> listNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } String nextUrl = String.format("%s", nextPageLink); return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -997,9 +1000,9 @@ public Observable>> call(Response> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/PipelinesImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/PipelinesImpl.java new file mode 100644 index 0000000000000..0ec0931552393 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/PipelinesImpl.java @@ -0,0 +1,605 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.implementation; + +import retrofit2.Retrofit; +import com.microsoft.azure.management.datalake.analytics.Pipelines; +import com.google.common.base.Joiner; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceFuture; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.datalake.analytics.models.JobPipelineInformation; +import com.microsoft.azure.management.datalake.analytics.models.PageImpl; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; +import java.util.UUID; +import okhttp3.ResponseBody; +import org.joda.time.DateTime; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in Pipelines. + */ +public class PipelinesImpl implements Pipelines { + /** The Retrofit service to perform REST calls. */ + private PipelinesService service; + /** The service client containing this operation class. */ + private DataLakeAnalyticsJobManagementClientImpl client; + + /** + * Initializes an instance of PipelinesImpl. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public PipelinesImpl(Retrofit retrofit, DataLakeAnalyticsJobManagementClientImpl client) { + this.service = retrofit.create(PipelinesService.class); + this.client = client; + } + + /** + * The interface defining all the services for Pipelines to be + * used by Retrofit to perform actually REST calls. + */ + interface PipelinesService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Pipelines list" }) + @GET("pipelines") + Observable> list(@Query("startDateTime") DateTime startDateTime, @Query("endDateTime") DateTime endDateTime, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Pipelines get" }) + @GET("pipelines/{pipelineIdentity}") + Observable> get(@Path("pipelineIdentity") UUID pipelineIdentity, @Query("startDateTime") DateTime startDateTime, @Query("endDateTime") DateTime endDateTime, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Pipelines listNext" }) + @GET + Observable> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobPipelineInformation> object if successful. + */ + public PagedList list(final String accountName) { + ServiceResponse> response = listSinglePageAsync(accountName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSinglePageAsync(accountName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + public Observable> listAsync(final String accountName) { + return listWithServiceResponseAsync(accountName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + public Observable>> listWithServiceResponseAsync(final String accountName) { + return listSinglePageAsync(accountName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<JobPipelineInformation> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSinglePageAsync(final String accountName) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + final DateTime startDateTime = null; + final DateTime endDateTime = null; + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.list(startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobPipelineInformation> object if successful. + */ + public PagedList list(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + ServiceResponse> response = listSinglePageAsync(accountName, startDateTime, endDateTime).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSinglePageAsync(accountName, startDateTime, endDateTime), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + public Observable> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + return listWithServiceResponseAsync(accountName, startDateTime, endDateTime) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Lists all pipelines. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + public Observable>> listWithServiceResponseAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + return listSinglePageAsync(accountName, startDateTime, endDateTime) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists all pipelines. + * + ServiceResponse> * @param accountName The Azure Data Lake Analytics account to execute job operations on. + ServiceResponse> * @param startDateTime The start date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + ServiceResponse> * @param endDateTime The end date for when to get the list of pipelines. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<JobPipelineInformation> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSinglePageAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.list(startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobPipelineInformation object if successful. + */ + public JobPipelineInformation get(String accountName, UUID pipelineIdentity) { + return getWithServiceResponseAsync(accountName, pipelineIdentity).toBlocking().single().body(); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getAsync(String accountName, UUID pipelineIdentity, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(accountName, pipelineIdentity), serviceCallback); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + public Observable getAsync(String accountName, UUID pipelineIdentity) { + return getWithServiceResponseAsync(accountName, pipelineIdentity).map(new Func1, JobPipelineInformation>() { + @Override + public JobPipelineInformation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + public Observable> getWithServiceResponseAsync(String accountName, UUID pipelineIdentity) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (pipelineIdentity == null) { + throw new IllegalArgumentException("Parameter pipelineIdentity is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + final DateTime startDateTime = null; + final DateTime endDateTime = null; + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.get(pipelineIdentity, startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobPipelineInformation object if successful. + */ + public JobPipelineInformation get(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime) { + return getWithServiceResponseAsync(accountName, pipelineIdentity, startDateTime, endDateTime).toBlocking().single().body(); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getAsync(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(accountName, pipelineIdentity, startDateTime, endDateTime), serviceCallback); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + public Observable getAsync(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime) { + return getWithServiceResponseAsync(accountName, pipelineIdentity, startDateTime, endDateTime).map(new Func1, JobPipelineInformation>() { + @Override + public JobPipelineInformation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the Pipeline information for the specified pipeline ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param pipelineIdentity Pipeline ID. + * @param startDateTime The start date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the pipeline and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobPipelineInformation object + */ + public Observable> getWithServiceResponseAsync(String accountName, UUID pipelineIdentity, DateTime startDateTime, DateTime endDateTime) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (pipelineIdentity == null) { + throw new IllegalArgumentException("Parameter pipelineIdentity is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.get(pipelineIdentity, startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobPipelineInformation> object if successful. + */ + public PagedList listNext(final String nextPageLink) { + ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + public Observable> listNextAsync(final String nextPageLink) { + return listNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Lists all pipelines. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobPipelineInformation> object + */ + public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { + return listNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists all pipelines. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<JobPipelineInformation> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/RecurrencesImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/RecurrencesImpl.java new file mode 100644 index 0000000000000..9b6f96e47b829 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/RecurrencesImpl.java @@ -0,0 +1,605 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.implementation; + +import retrofit2.Retrofit; +import com.microsoft.azure.management.datalake.analytics.Recurrences; +import com.google.common.base.Joiner; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceFuture; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.datalake.analytics.models.JobRecurrenceInformation; +import com.microsoft.azure.management.datalake.analytics.models.PageImpl; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; +import java.util.UUID; +import okhttp3.ResponseBody; +import org.joda.time.DateTime; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in Recurrences. + */ +public class RecurrencesImpl implements Recurrences { + /** The Retrofit service to perform REST calls. */ + private RecurrencesService service; + /** The service client containing this operation class. */ + private DataLakeAnalyticsJobManagementClientImpl client; + + /** + * Initializes an instance of RecurrencesImpl. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public RecurrencesImpl(Retrofit retrofit, DataLakeAnalyticsJobManagementClientImpl client) { + this.service = retrofit.create(RecurrencesService.class); + this.client = client; + } + + /** + * The interface defining all the services for Recurrences to be + * used by Retrofit to perform actually REST calls. + */ + interface RecurrencesService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Recurrences list" }) + @GET("recurrences") + Observable> list(@Query("startDateTime") DateTime startDateTime, @Query("endDateTime") DateTime endDateTime, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Recurrences get" }) + @GET("recurrences/{recurrenceIdentity}") + Observable> get(@Path("recurrenceIdentity") UUID recurrenceIdentity, @Query("startDateTime") DateTime startDateTime, @Query("endDateTime") DateTime endDateTime, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.Recurrences listNext" }) + @GET + Observable> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobRecurrenceInformation> object if successful. + */ + public PagedList list(final String accountName) { + ServiceResponse> response = listSinglePageAsync(accountName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSinglePageAsync(accountName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + public Observable> listAsync(final String accountName) { + return listWithServiceResponseAsync(accountName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + public Observable>> listWithServiceResponseAsync(final String accountName) { + return listSinglePageAsync(accountName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<JobRecurrenceInformation> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSinglePageAsync(final String accountName) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + final DateTime startDateTime = null; + final DateTime endDateTime = null; + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.list(startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobRecurrenceInformation> object if successful. + */ + public PagedList list(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + ServiceResponse> response = listSinglePageAsync(accountName, startDateTime, endDateTime).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSinglePageAsync(accountName, startDateTime, endDateTime), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + public Observable> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + return listWithServiceResponseAsync(accountName, startDateTime, endDateTime) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Lists all recurrences. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + public Observable>> listWithServiceResponseAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + return listSinglePageAsync(accountName, startDateTime, endDateTime) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists all recurrences. + * + ServiceResponse> * @param accountName The Azure Data Lake Analytics account to execute job operations on. + ServiceResponse> * @param startDateTime The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + ServiceResponse> * @param endDateTime The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<JobRecurrenceInformation> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSinglePageAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.list(startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobRecurrenceInformation object if successful. + */ + public JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity) { + return getWithServiceResponseAsync(accountName, recurrenceIdentity).toBlocking().single().body(); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getAsync(String accountName, UUID recurrenceIdentity, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(accountName, recurrenceIdentity), serviceCallback); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + public Observable getAsync(String accountName, UUID recurrenceIdentity) { + return getWithServiceResponseAsync(accountName, recurrenceIdentity).map(new Func1, JobRecurrenceInformation>() { + @Override + public JobRecurrenceInformation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + public Observable> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (recurrenceIdentity == null) { + throw new IllegalArgumentException("Parameter recurrenceIdentity is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + final DateTime startDateTime = null; + final DateTime endDateTime = null; + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.get(recurrenceIdentity, startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the JobRecurrenceInformation object if successful. + */ + public JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime) { + return getWithServiceResponseAsync(accountName, recurrenceIdentity, startDateTime, endDateTime).toBlocking().single().body(); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(accountName, recurrenceIdentity, startDateTime, endDateTime), serviceCallback); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + public Observable getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime) { + return getWithServiceResponseAsync(accountName, recurrenceIdentity, startDateTime, endDateTime).map(new Func1, JobRecurrenceInformation>() { + @Override + public JobRecurrenceInformation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the recurrence information for the specified recurrence ID. + * + * @param accountName The Azure Data Lake Analytics account to execute job operations on. + * @param recurrenceIdentity Recurrence ID. + * @param startDateTime The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @param endDateTime The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the JobRecurrenceInformation object + */ + public Observable> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime) { + if (accountName == null) { + throw new IllegalArgumentException("Parameter accountName is required and cannot be null."); + } + if (this.client.adlaJobDnsSuffix() == null) { + throw new IllegalArgumentException("Parameter this.client.adlaJobDnsSuffix() is required and cannot be null."); + } + if (recurrenceIdentity == null) { + throw new IllegalArgumentException("Parameter recurrenceIdentity is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{accountName}", accountName, "{adlaJobDnsSuffix}", this.client.adlaJobDnsSuffix()); + return service.get(recurrenceIdentity, startDateTime, endDateTime, this.client.apiVersion(), this.client.acceptLanguage(), parameterizedHost, this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<JobRecurrenceInformation> object if successful. + */ + public PagedList listNext(final String nextPageLink) { + ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + public Observable> listNextAsync(final String nextPageLink) { + return listNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Lists all recurrences. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<JobRecurrenceInformation> object + */ + public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { + return listNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists all recurrences. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<JobRecurrenceInformation> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/StorageAccountsImpl.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/StorageAccountsImpl.java index 46641460607ed..14614bb964bec 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/StorageAccountsImpl.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/implementation/StorageAccountsImpl.java @@ -70,21 +70,21 @@ public StorageAccountsImpl(Retrofit retrofit, DataLakeAnalyticsAccountManagement * used by Retrofit to perform actually REST calls. */ interface StorageAccountsService { - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts get" }) - @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}") - Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts delete" }) - @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}", method = "DELETE", hasBody = true) - Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts add" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}") + Observable> add(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Body AddStorageAccountParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}") Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Body UpdateStorageAccountParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts add" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}") - Observable> add(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Body AddStorageAccountParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts delete" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}", method = "DELETE", hasBody = true) + Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts get" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}") + Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("storageAccountName") String storageAccountName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datalake.analytics.StorageAccounts getStorageContainer" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}/Containers/{containerName}") @@ -117,62 +117,65 @@ interface StorageAccountsService { } /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageAccountInfo object if successful. */ - public StorageAccountInfo get(String resourceGroupName, String accountName, String storageAccountName) { - return getWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).toBlocking().single().body(); + public void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters) { + addWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).toBlocking().single().body(); } /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName), serviceCallback); + public ServiceFuture addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(addWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters), serviceCallback); } /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getAsync(String resourceGroupName, String accountName, String storageAccountName) { - return getWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).map(new Func1, StorageAccountInfo>() { + public Observable addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters) { + return addWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).map(new Func1, Void>() { @Override - public StorageAccountInfo call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. + * Updates the specified Data Lake Analytics account to add an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. - * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. + * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to add + * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageAccountInfo object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName) { + public Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -185,15 +188,19 @@ public Observable> getWithServiceResponseAsy if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (parameters == null) { + throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); + } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.get(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(parameters); + return service.add(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getDelegate(response); + ServiceResponse clientResponse = addDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -202,52 +209,52 @@ public Observable> call(Response getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse addDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void delete(String resourceGroupName, String accountName, String storageAccountName) { - deleteWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).toBlocking().single().body(); + public void update(String resourceGroupName, String accountName, String storageAccountName) { + updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).toBlocking().single().body(); } /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName), serviceCallback); + public ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName), serviceCallback); } /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteAsync(String resourceGroupName, String accountName, String storageAccountName) { - return deleteWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).map(new Func1, Void>() { + public Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName) { + return updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -256,15 +263,15 @@ public Void call(ServiceResponse response) { } /** - * Updates the specified Data Lake Analytics account to remove an Azure Storage account. + * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to remove + * @param accountName The name of the Data Lake Analytics account to modify storage accounts in + * @param storageAccountName The Azure Storage account to modify * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -280,12 +287,13 @@ public Observable> deleteWithServiceResponseAsync(String r if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.delete(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + final UpdateStorageAccountParameters parameters = null; + return service.update(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteDelegate(response); + ServiceResponse clientResponse = updateDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -294,25 +302,19 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - /** * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void update(String resourceGroupName, String accountName, String storageAccountName) { - updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).toBlocking().single().body(); + public void update(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters) { + updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).toBlocking().single().body(); } /** @@ -321,12 +323,13 @@ public void update(String resourceGroupName, String accountName, String storageA * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName), serviceCallback); + public ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters), serviceCallback); } /** @@ -335,11 +338,12 @@ public ServiceFuture updateAsync(String resourceGroupName, String accountN * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName) { - return updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).map(new Func1, Void>() { + public Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters) { + return updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -353,10 +357,11 @@ public Void call(ServiceResponse response) { * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. * @param accountName The name of the Data Lake Analytics account to modify storage accounts in * @param storageAccountName The Azure Storage account to modify + * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -372,7 +377,7 @@ public Observable> updateWithServiceResponseAsync(String r if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final UpdateStorageAccountParameters parameters = null; + Validator.validate(parameters); return service.update(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override @@ -387,48 +392,52 @@ public Observable> call(Response response) { }); } + private ServiceResponse updateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void update(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters) { - updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).toBlocking().single().body(); + public void delete(String resourceGroupName, String accountName, String storageAccountName) { + deleteWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).toBlocking().single().body(); } /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters), serviceCallback); + public ServiceFuture deleteAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName), serviceCallback); } /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable updateAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters) { - return updateWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).map(new Func1, Void>() { + public Observable deleteAsync(String resourceGroupName, String accountName, String storageAccountName) { + return deleteWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -437,16 +446,15 @@ public Void call(ServiceResponse response) { } /** - * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. + * Updates the specified Data Lake Analytics account to remove an Azure Storage account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to modify storage accounts in - * @param storageAccountName The Azure Storage account to modify - * @param parameters The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change. + * @param accountName The name of the Data Lake Analytics account from which to remove the Azure Storage account. + * @param storageAccountName The name of the Azure Storage account to remove * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters) { + public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -462,13 +470,12 @@ public Observable> updateWithServiceResponseAsync(String r if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Validator.validate(parameters); - return service.update(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.delete(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateDelegate(response); + ServiceResponse clientResponse = deleteDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -477,7 +484,7 @@ public Observable> call(Response response) { }); } - private ServiceResponse updateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) @@ -485,65 +492,62 @@ private ServiceResponse updateDelegate(Response response) th } /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageAccountInfo object if successful. */ - public void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters) { - addWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).toBlocking().single().body(); + public StorageAccountInfo get(String resourceGroupName, String accountName, String storageAccountName) { + return getWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).toBlocking().single().body(); } /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(addWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters), serviceCallback); + public ServiceFuture getAsync(String resourceGroupName, String accountName, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName), serviceCallback); } /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the StorageAccountInfo object */ - public Observable addAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters) { - return addWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName, parameters).map(new Func1, Void>() { + public Observable getAsync(String resourceGroupName, String accountName, String storageAccountName) { + return getWithServiceResponseAsync(resourceGroupName, accountName, storageAccountName).map(new Func1, StorageAccountInfo>() { @Override - public Void call(ServiceResponse response) { + public StorageAccountInfo call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the specified Data Lake Analytics account to add an Azure Storage account. + * Gets the specified Azure Storage account linked to the given Data Lake Analytics account. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account. - * @param accountName The name of the Data Lake Analytics account to which to add the Azure Storage account. - * @param storageAccountName The name of the Azure Storage account to add - * @param parameters The parameters containing the access key and optional suffix for the Azure Storage Account. + * @param accountName The name of the Data Lake Analytics account from which to retrieve Azure storage account details. + * @param storageAccountName The name of the Azure Storage account for which to retrieve the details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the StorageAccountInfo object */ - public Observable> addWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters) { + public Observable> getWithServiceResponseAsync(String resourceGroupName, String accountName, String storageAccountName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -556,19 +560,15 @@ public Observable> addWithServiceResponseAsync(String reso if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (parameters == null) { - throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); - } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Validator.validate(parameters); - return service.add(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.get(resourceGroupName, accountName, storageAccountName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = addDelegate(response); + ServiceResponse clientResponse = getDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -577,9 +577,9 @@ public Observable> call(Response response) { }); } - private ServiceResponse addDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BaseJobParameters.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BaseJobParameters.java new file mode 100644 index 0000000000000..e1f59df223a44 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BaseJobParameters.java @@ -0,0 +1,70 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Data Lake Analytics Job Parameters base class for build and submit. + */ +public class BaseJobParameters { + /** + * the job type of the current job (Hive or USql). Possible values include: + * 'USql', 'Hive'. + */ + @JsonProperty(value = "type", required = true) + private JobType type; + + /** + * the job specific properties. + */ + @JsonProperty(value = "properties", required = true) + private CreateJobProperties properties; + + /** + * Get the type value. + * + * @return the type value + */ + public JobType type() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + * @return the BaseJobParameters object itself. + */ + public BaseJobParameters withType(JobType type) { + this.type = type; + return this; + } + + /** + * Get the properties value. + * + * @return the properties value + */ + public CreateJobProperties properties() { + return this.properties; + } + + /** + * Set the properties value. + * + * @param properties the properties value to set + * @return the BaseJobParameters object itself. + */ + public BaseJobParameters withProperties(CreateJobProperties properties) { + this.properties = properties; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BuildJobParameters.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BuildJobParameters.java new file mode 100644 index 0000000000000..3e9b0de0e614c --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/BuildJobParameters.java @@ -0,0 +1,43 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The parameters used to build a new Data Lake Analytics job. + */ +public class BuildJobParameters extends BaseJobParameters { + /** + * the friendly name of the job to build. + */ + @JsonProperty(value = "name") + private String name; + + /** + * Get the name value. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + * @return the BuildJobParameters object itself. + */ + public BuildJobParameters withName(String name) { + this.name = name; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateJobParameters.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateJobParameters.java new file mode 100644 index 0000000000000..eb294cf7d1b57 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateJobParameters.java @@ -0,0 +1,153 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The parameters used to submit a new Data Lake Analytics job. + */ +public class CreateJobParameters extends BaseJobParameters { + /** + * the friendly name of the job to submit. + */ + @JsonProperty(value = "name", required = true) + private String name; + + /** + * the degree of parallelism to use for this job. This must be greater than + * 0, if set to less than 0 it will default to 1. + */ + @JsonProperty(value = "degreeOfParallelism") + private Integer degreeOfParallelism; + + /** + * the priority value to use for the current job. Lower numbers have a + * higher priority. By default, a job has a priority of 1000. This must be + * greater than 0. + */ + @JsonProperty(value = "priority") + private Integer priority; + + /** + * the list of log file name patterns to find in the logFolder. '*' is the + * only matching character allowed. Example format: jobExecution*.log or + * *mylog*.txt. + */ + @JsonProperty(value = "logFilePatterns") + private List logFilePatterns; + + /** + * the recurring job relationship information properties. + */ + @JsonProperty(value = "related") + private JobRelationshipProperties related; + + /** + * Get the name value. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + * @return the CreateJobParameters object itself. + */ + public CreateJobParameters withName(String name) { + this.name = name; + return this; + } + + /** + * Get the degreeOfParallelism value. + * + * @return the degreeOfParallelism value + */ + public Integer degreeOfParallelism() { + return this.degreeOfParallelism; + } + + /** + * Set the degreeOfParallelism value. + * + * @param degreeOfParallelism the degreeOfParallelism value to set + * @return the CreateJobParameters object itself. + */ + public CreateJobParameters withDegreeOfParallelism(Integer degreeOfParallelism) { + this.degreeOfParallelism = degreeOfParallelism; + return this; + } + + /** + * Get the priority value. + * + * @return the priority value + */ + public Integer priority() { + return this.priority; + } + + /** + * Set the priority value. + * + * @param priority the priority value to set + * @return the CreateJobParameters object itself. + */ + public CreateJobParameters withPriority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * Get the logFilePatterns value. + * + * @return the logFilePatterns value + */ + public List logFilePatterns() { + return this.logFilePatterns; + } + + /** + * Set the logFilePatterns value. + * + * @param logFilePatterns the logFilePatterns value to set + * @return the CreateJobParameters object itself. + */ + public CreateJobParameters withLogFilePatterns(List logFilePatterns) { + this.logFilePatterns = logFilePatterns; + return this; + } + + /** + * Get the related value. + * + * @return the related value + */ + public JobRelationshipProperties related() { + return this.related; + } + + /** + * Set the related value. + * + * @param related the related value to set + * @return the CreateJobParameters object itself. + */ + public CreateJobParameters withRelated(JobRelationshipProperties related) { + this.related = related; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateJobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateJobProperties.java new file mode 100644 index 0000000000000..d96b7ee5e89c9 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateJobProperties.java @@ -0,0 +1,78 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonSubTypes; + +/** + * The common Data Lake Analytics job properties for job submission. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("CreateJobProperties") +@JsonSubTypes({ + @JsonSubTypes.Type(name = "USql", value = CreateUSqlJobProperties.class) +}) +public class CreateJobProperties { + /** + * the runtime version of the Data Lake Analytics engine to use for the + * specific type of job being run. + */ + @JsonProperty(value = "runtimeVersion") + private String runtimeVersion; + + /** + * the script to run. + */ + @JsonProperty(value = "script", required = true) + private String script; + + /** + * Get the runtimeVersion value. + * + * @return the runtimeVersion value + */ + public String runtimeVersion() { + return this.runtimeVersion; + } + + /** + * Set the runtimeVersion value. + * + * @param runtimeVersion the runtimeVersion value to set + * @return the CreateJobProperties object itself. + */ + public CreateJobProperties withRuntimeVersion(String runtimeVersion) { + this.runtimeVersion = runtimeVersion; + return this; + } + + /** + * Get the script value. + * + * @return the script value + */ + public String script() { + return this.script; + } + + /** + * Set the script value. + * + * @param script the script value to set + * @return the CreateJobProperties object itself. + */ + public CreateJobProperties withScript(String script) { + this.script = script; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateUSqlJobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateUSqlJobProperties.java new file mode 100644 index 0000000000000..b0dbc4dbbdf6e --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/CreateUSqlJobProperties.java @@ -0,0 +1,50 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * U-SQL job properties used when submitting U-SQL jobs. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("USql") +public class CreateUSqlJobProperties extends CreateJobProperties { + /** + * Optionally enforces a specific compilation mode for the job during + * execution. If this is not specified during submission, the server will + * determine the optimal compilation mode. Possible values include: + * 'Semantic', 'Full', 'SingleBox'. + */ + @JsonProperty(value = "compileMode") + private CompileMode compileMode; + + /** + * Get the compileMode value. + * + * @return the compileMode value + */ + public CompileMode compileMode() { + return this.compileMode; + } + + /** + * Set the compileMode value. + * + * @param compileMode the compileMode value to set + * @return the CreateUSqlJobProperties object itself. + */ + public CreateUSqlJobProperties withCompileMode(CompileMode compileMode) { + this.compileMode = compileMode; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java index ce25d9acac485..1286b35343068 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccount.java @@ -8,8 +8,9 @@ package com.microsoft.azure.management.datalake.analytics.models; -import java.util.List; import org.joda.time.DateTime; +import java.util.UUID; +import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource; @@ -35,6 +36,30 @@ public class DataLakeAnalyticsAccount extends Resource { @JsonProperty(value = "properties.state", access = JsonProperty.Access.WRITE_ONLY) private DataLakeAnalyticsAccountState state; + /** + * the account creation time. + */ + @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime creationTime; + + /** + * the account last modified time. + */ + @JsonProperty(value = "properties.lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastModifiedTime; + + /** + * the full CName endpoint for this account. + */ + @JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY) + private String endpoint; + + /** + * The unique identifier associated with this Data Lake Analytics account. + */ + @JsonProperty(value = "properties.accountId", access = JsonProperty.Access.WRITE_ONLY) + private UUID accountId; + /** * the default data lake storage account associated with this Data Lake * Analytics account. @@ -88,24 +113,6 @@ public class DataLakeAnalyticsAccount extends Resource { @JsonProperty(value = "properties.storageAccounts") private List storageAccounts; - /** - * the account creation time. - */ - @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY) - private DateTime creationTime; - - /** - * the account last modified time. - */ - @JsonProperty(value = "properties.lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) - private DateTime lastModifiedTime; - - /** - * the full CName endpoint for this account. - */ - @JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY) - private String endpoint; - /** * the commitment tier for the next month. Possible values include: * 'Consumption', 'Commitment_100AUHours', 'Commitment_500AUHours', @@ -185,6 +192,42 @@ public DataLakeAnalyticsAccountState state() { return this.state; } + /** + * Get the creationTime value. + * + * @return the creationTime value + */ + public DateTime creationTime() { + return this.creationTime; + } + + /** + * Get the lastModifiedTime value. + * + * @return the lastModifiedTime value + */ + public DateTime lastModifiedTime() { + return this.lastModifiedTime; + } + + /** + * Get the endpoint value. + * + * @return the endpoint value + */ + public String endpoint() { + return this.endpoint; + } + + /** + * Get the accountId value. + * + * @return the accountId value + */ + public UUID accountId() { + return this.accountId; + } + /** * Get the defaultDataLakeStoreAccount value. * @@ -323,33 +366,6 @@ public DataLakeAnalyticsAccount withStorageAccounts(List sto return this; } - /** - * Get the creationTime value. - * - * @return the creationTime value - */ - public DateTime creationTime() { - return this.creationTime; - } - - /** - * Get the lastModifiedTime value. - * - * @return the lastModifiedTime value - */ - public DateTime lastModifiedTime() { - return this.lastModifiedTime; - } - - /** - * Get the endpoint value. - * - * @return the endpoint value - */ - public String endpoint() { - return this.endpoint; - } - /** * Get the newTier value. * diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountBasic.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountBasic.java new file mode 100644 index 0000000000000..b806a499d56f5 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountBasic.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import org.joda.time.DateTime; +import java.util.UUID; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; + +/** + * A Data Lake Analytics account object, containing all information associated + * with the named Data Lake Analytics account. + */ +@JsonFlatten +public class DataLakeAnalyticsAccountBasic extends Resource { + /** + * the provisioning status of the Data Lake Analytics account. Possible + * values include: 'Failed', 'Creating', 'Running', 'Succeeded', + * 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private DataLakeAnalyticsAccountStatus provisioningState; + + /** + * the state of the Data Lake Analytics account. Possible values include: + * 'Active', 'Suspended'. + */ + @JsonProperty(value = "properties.state", access = JsonProperty.Access.WRITE_ONLY) + private DataLakeAnalyticsAccountState state; + + /** + * the account creation time. + */ + @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime creationTime; + + /** + * the account last modified time. + */ + @JsonProperty(value = "properties.lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastModifiedTime; + + /** + * the full CName endpoint for this account. + */ + @JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY) + private String endpoint; + + /** + * The unique identifier associated with this Data Lake Analytics account. + */ + @JsonProperty(value = "properties.accountId", access = JsonProperty.Access.WRITE_ONLY) + private UUID accountId; + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public DataLakeAnalyticsAccountStatus provisioningState() { + return this.provisioningState; + } + + /** + * Get the state value. + * + * @return the state value + */ + public DataLakeAnalyticsAccountState state() { + return this.state; + } + + /** + * Get the creationTime value. + * + * @return the creationTime value + */ + public DateTime creationTime() { + return this.creationTime; + } + + /** + * Get the lastModifiedTime value. + * + * @return the lastModifiedTime value + */ + public DateTime lastModifiedTime() { + return this.lastModifiedTime; + } + + /** + * Get the endpoint value. + * + * @return the endpoint value + */ + public String endpoint() { + return this.endpoint; + } + + /** + * Get the accountId value. + * + * @return the accountId value + */ + public UUID accountId() { + return this.accountId; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountPropertiesBasic.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountPropertiesBasic.java new file mode 100644 index 0000000000000..a880a90663343 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/DataLakeAnalyticsAccountPropertiesBasic.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import org.joda.time.DateTime; +import java.util.UUID; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The basic account specific properties that are associated with an underlying + * Data Lake Analytics account. + */ +public class DataLakeAnalyticsAccountPropertiesBasic { + /** + * the provisioning status of the Data Lake Analytics account. Possible + * values include: 'Failed', 'Creating', 'Running', 'Succeeded', + * 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted'. + */ + @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private DataLakeAnalyticsAccountStatus provisioningState; + + /** + * the state of the Data Lake Analytics account. Possible values include: + * 'Active', 'Suspended'. + */ + @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) + private DataLakeAnalyticsAccountState state; + + /** + * the account creation time. + */ + @JsonProperty(value = "creationTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime creationTime; + + /** + * the account last modified time. + */ + @JsonProperty(value = "lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastModifiedTime; + + /** + * the full CName endpoint for this account. + */ + @JsonProperty(value = "endpoint", access = JsonProperty.Access.WRITE_ONLY) + private String endpoint; + + /** + * The unique identifier associated with this Data Lake Analytics account. + */ + @JsonProperty(value = "accountId", access = JsonProperty.Access.WRITE_ONLY) + private UUID accountId; + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public DataLakeAnalyticsAccountStatus provisioningState() { + return this.provisioningState; + } + + /** + * Get the state value. + * + * @return the state value + */ + public DataLakeAnalyticsAccountState state() { + return this.state; + } + + /** + * Get the creationTime value. + * + * @return the creationTime value + */ + public DateTime creationTime() { + return this.creationTime; + } + + /** + * Get the lastModifiedTime value. + * + * @return the lastModifiedTime value + */ + public DateTime lastModifiedTime() { + return this.lastModifiedTime; + } + + /** + * Get the endpoint value. + * + * @return the endpoint value + */ + public String endpoint() { + return this.endpoint; + } + + /** + * Get the accountId value. + * + * @return the accountId value + */ + public UUID accountId() { + return this.accountId; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java index ed168747f8480..c2705111b00e3 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/HiveJobProperties.java @@ -13,7 +13,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** - * Hive job properties used when submitting and retrieving Hive jobs. + * Hive job properties used when retrieving Hive jobs. */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("Hive") diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java index 89b9902c60f0a..01b037b0becf9 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformation.java @@ -8,110 +8,20 @@ package com.microsoft.azure.management.datalake.analytics.models; -import java.util.UUID; import java.util.List; -import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty; /** - * The common Data Lake Analytics job information properties. + * The extended Data Lake Analytics job information properties returned when + * retrieving a specific job. */ -public class JobInformation { - /** - * the job's unique identifier (a GUID). - */ - @JsonProperty(value = "jobId", access = JsonProperty.Access.WRITE_ONLY) - private UUID jobId; - - /** - * the friendly name of the job. - */ - @JsonProperty(value = "name", required = true) - private String name; - - /** - * the job type of the current job (Hive or USql). Possible values include: - * 'USql', 'Hive'. - */ - @JsonProperty(value = "type", required = true) - private JobType type; - - /** - * the user or account that submitted the job. - */ - @JsonProperty(value = "submitter", access = JsonProperty.Access.WRITE_ONLY) - private String submitter; - +public class JobInformation extends JobInformationBasic { /** * the error message details for the job, if the job failed. */ @JsonProperty(value = "errorMessage", access = JsonProperty.Access.WRITE_ONLY) private List errorMessage; - /** - * the degree of parallelism used for this job. This must be greater than - * 0, if set to less than 0 it will default to 1. - */ - @JsonProperty(value = "degreeOfParallelism") - private Integer degreeOfParallelism; - - /** - * the priority value for the current job. Lower numbers have a higher - * priority. By default, a job has a priority of 1000. This must be greater - * than 0. - */ - @JsonProperty(value = "priority") - private Integer priority; - - /** - * the time the job was submitted to the service. - */ - @JsonProperty(value = "submitTime", access = JsonProperty.Access.WRITE_ONLY) - private DateTime submitTime; - - /** - * the start time of the job. - */ - @JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY) - private DateTime startTime; - - /** - * the completion time of the job. - */ - @JsonProperty(value = "endTime", access = JsonProperty.Access.WRITE_ONLY) - private DateTime endTime; - - /** - * the job state. When the job is in the Ended state, refer to Result and - * ErrorMessage for details. Possible values include: 'Accepted', - * 'Compiling', 'Ended', 'New', 'Queued', 'Running', 'Scheduling', - * 'Starting', 'Paused', 'WaitingForCapacity'. - */ - @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) - private JobState state; - - /** - * the result of job execution or the current result of the running job. - * Possible values include: 'None', 'Succeeded', 'Cancelled', 'Failed'. - */ - @JsonProperty(value = "result", access = JsonProperty.Access.WRITE_ONLY) - private JobResult result; - - /** - * the log folder path to use in the following format: - * adl://<accountName>.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/. - */ - @JsonProperty(value = "logFolder", access = JsonProperty.Access.WRITE_ONLY) - private String logFolder; - - /** - * the list of log file name patterns to find in the logFolder. '*' is the - * only matching character allowed. Example format: jobExecution*.log or - * *mylog*.txt. - */ - @JsonProperty(value = "logFilePatterns") - private List logFilePatterns; - /** * the job state audit records, indicating when various operations have * been performed on this job. @@ -125,64 +35,6 @@ public class JobInformation { @JsonProperty(value = "properties", required = true) private JobProperties properties; - /** - * Get the jobId value. - * - * @return the jobId value - */ - public UUID jobId() { - return this.jobId; - } - - /** - * Get the name value. - * - * @return the name value - */ - public String name() { - return this.name; - } - - /** - * Set the name value. - * - * @param name the name value to set - * @return the JobInformation object itself. - */ - public JobInformation withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type value. - * - * @return the type value - */ - public JobType type() { - return this.type; - } - - /** - * Set the type value. - * - * @param type the type value to set - * @return the JobInformation object itself. - */ - public JobInformation withType(JobType type) { - this.type = type; - return this; - } - - /** - * Get the submitter value. - * - * @return the submitter value - */ - public String submitter() { - return this.submitter; - } - /** * Get the errorMessage value. * @@ -192,120 +44,6 @@ public List errorMessage() { return this.errorMessage; } - /** - * Get the degreeOfParallelism value. - * - * @return the degreeOfParallelism value - */ - public Integer degreeOfParallelism() { - return this.degreeOfParallelism; - } - - /** - * Set the degreeOfParallelism value. - * - * @param degreeOfParallelism the degreeOfParallelism value to set - * @return the JobInformation object itself. - */ - public JobInformation withDegreeOfParallelism(Integer degreeOfParallelism) { - this.degreeOfParallelism = degreeOfParallelism; - return this; - } - - /** - * Get the priority value. - * - * @return the priority value - */ - public Integer priority() { - return this.priority; - } - - /** - * Set the priority value. - * - * @param priority the priority value to set - * @return the JobInformation object itself. - */ - public JobInformation withPriority(Integer priority) { - this.priority = priority; - return this; - } - - /** - * Get the submitTime value. - * - * @return the submitTime value - */ - public DateTime submitTime() { - return this.submitTime; - } - - /** - * Get the startTime value. - * - * @return the startTime value - */ - public DateTime startTime() { - return this.startTime; - } - - /** - * Get the endTime value. - * - * @return the endTime value - */ - public DateTime endTime() { - return this.endTime; - } - - /** - * Get the state value. - * - * @return the state value - */ - public JobState state() { - return this.state; - } - - /** - * Get the result value. - * - * @return the result value - */ - public JobResult result() { - return this.result; - } - - /** - * Get the logFolder value. - * - * @return the logFolder value - */ - public String logFolder() { - return this.logFolder; - } - - /** - * Get the logFilePatterns value. - * - * @return the logFilePatterns value - */ - public List logFilePatterns() { - return this.logFilePatterns; - } - - /** - * Set the logFilePatterns value. - * - * @param logFilePatterns the logFilePatterns value to set - * @return the JobInformation object itself. - */ - public JobInformation withLogFilePatterns(List logFilePatterns) { - this.logFilePatterns = logFilePatterns; - return this; - } - /** * Get the stateAuditRecords value. * diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformationBasic.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformationBasic.java new file mode 100644 index 0000000000000..1db03dfadd052 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobInformationBasic.java @@ -0,0 +1,307 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import java.util.UUID; +import org.joda.time.DateTime; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The common Data Lake Analytics job information properties. + */ +public class JobInformationBasic { + /** + * the job's unique identifier (a GUID). + */ + @JsonProperty(value = "jobId", access = JsonProperty.Access.WRITE_ONLY) + private UUID jobId; + + /** + * the friendly name of the job. + */ + @JsonProperty(value = "name", required = true) + private String name; + + /** + * the job type of the current job (Hive or USql). Possible values include: + * 'USql', 'Hive'. + */ + @JsonProperty(value = "type", required = true) + private JobType type; + + /** + * the user or account that submitted the job. + */ + @JsonProperty(value = "submitter", access = JsonProperty.Access.WRITE_ONLY) + private String submitter; + + /** + * the degree of parallelism used for this job. This must be greater than + * 0, if set to less than 0 it will default to 1. + */ + @JsonProperty(value = "degreeOfParallelism") + private Integer degreeOfParallelism; + + /** + * the priority value for the current job. Lower numbers have a higher + * priority. By default, a job has a priority of 1000. This must be greater + * than 0. + */ + @JsonProperty(value = "priority") + private Integer priority; + + /** + * the time the job was submitted to the service. + */ + @JsonProperty(value = "submitTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime submitTime; + + /** + * the start time of the job. + */ + @JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime startTime; + + /** + * the completion time of the job. + */ + @JsonProperty(value = "endTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime endTime; + + /** + * the job state. When the job is in the Ended state, refer to Result and + * ErrorMessage for details. Possible values include: 'Accepted', + * 'Compiling', 'Ended', 'New', 'Queued', 'Running', 'Scheduling', + * 'Starting', 'Paused', 'WaitingForCapacity'. + */ + @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) + private JobState state; + + /** + * the result of job execution or the current result of the running job. + * Possible values include: 'None', 'Succeeded', 'Cancelled', 'Failed'. + */ + @JsonProperty(value = "result", access = JsonProperty.Access.WRITE_ONLY) + private JobResult result; + + /** + * the log folder path to use in the following format: + * adl://<accountName>.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/. + */ + @JsonProperty(value = "logFolder", access = JsonProperty.Access.WRITE_ONLY) + private String logFolder; + + /** + * the list of log file name patterns to find in the logFolder. '*' is the + * only matching character allowed. Example format: jobExecution*.log or + * *mylog*.txt. + */ + @JsonProperty(value = "logFilePatterns") + private List logFilePatterns; + + /** + * the recurring job relationship information properties. + */ + @JsonProperty(value = "related") + private JobRelationshipProperties related; + + /** + * Get the jobId value. + * + * @return the jobId value + */ + public UUID jobId() { + return this.jobId; + } + + /** + * Get the name value. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + * @return the JobInformationBasic object itself. + */ + public JobInformationBasic withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type value. + * + * @return the type value + */ + public JobType type() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + * @return the JobInformationBasic object itself. + */ + public JobInformationBasic withType(JobType type) { + this.type = type; + return this; + } + + /** + * Get the submitter value. + * + * @return the submitter value + */ + public String submitter() { + return this.submitter; + } + + /** + * Get the degreeOfParallelism value. + * + * @return the degreeOfParallelism value + */ + public Integer degreeOfParallelism() { + return this.degreeOfParallelism; + } + + /** + * Set the degreeOfParallelism value. + * + * @param degreeOfParallelism the degreeOfParallelism value to set + * @return the JobInformationBasic object itself. + */ + public JobInformationBasic withDegreeOfParallelism(Integer degreeOfParallelism) { + this.degreeOfParallelism = degreeOfParallelism; + return this; + } + + /** + * Get the priority value. + * + * @return the priority value + */ + public Integer priority() { + return this.priority; + } + + /** + * Set the priority value. + * + * @param priority the priority value to set + * @return the JobInformationBasic object itself. + */ + public JobInformationBasic withPriority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * Get the submitTime value. + * + * @return the submitTime value + */ + public DateTime submitTime() { + return this.submitTime; + } + + /** + * Get the startTime value. + * + * @return the startTime value + */ + public DateTime startTime() { + return this.startTime; + } + + /** + * Get the endTime value. + * + * @return the endTime value + */ + public DateTime endTime() { + return this.endTime; + } + + /** + * Get the state value. + * + * @return the state value + */ + public JobState state() { + return this.state; + } + + /** + * Get the result value. + * + * @return the result value + */ + public JobResult result() { + return this.result; + } + + /** + * Get the logFolder value. + * + * @return the logFolder value + */ + public String logFolder() { + return this.logFolder; + } + + /** + * Get the logFilePatterns value. + * + * @return the logFilePatterns value + */ + public List logFilePatterns() { + return this.logFilePatterns; + } + + /** + * Set the logFilePatterns value. + * + * @param logFilePatterns the logFilePatterns value to set + * @return the JobInformationBasic object itself. + */ + public JobInformationBasic withLogFilePatterns(List logFilePatterns) { + this.logFilePatterns = logFilePatterns; + return this; + } + + /** + * Get the related value. + * + * @return the related value + */ + public JobRelationshipProperties related() { + return this.related; + } + + /** + * Set the related value. + * + * @param related the related value to set + * @return the JobInformationBasic object itself. + */ + public JobInformationBasic withRelated(JobRelationshipProperties related) { + this.related = related; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobPipelineInformation.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobPipelineInformation.java new file mode 100644 index 0000000000000..a024b3dab8795 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobPipelineInformation.java @@ -0,0 +1,205 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import java.util.UUID; +import org.joda.time.DateTime; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Job Pipeline Information, showing the relationship of jobs and recurrences + * of those jobs in a pipeline. + */ +public class JobPipelineInformation { + /** + * the job relationship pipeline identifier (a GUID). + */ + @JsonProperty(value = "pipelineId", access = JsonProperty.Access.WRITE_ONLY) + private UUID pipelineId; + + /** + * the friendly name of the job relationship pipeline, which does not need + * to be unique. + */ + @JsonProperty(value = "pipelineName", access = JsonProperty.Access.WRITE_ONLY) + private String pipelineName; + + /** + * the pipeline uri, unique, links to the originating service for this + * pipeline. + */ + @JsonProperty(value = "pipelineUri", access = JsonProperty.Access.WRITE_ONLY) + private String pipelineUri; + + /** + * the number of jobs in this pipeline that have failed. + */ + @JsonProperty(value = "numJobsFailed", access = JsonProperty.Access.WRITE_ONLY) + private Integer numJobsFailed; + + /** + * the number of jobs in this pipeline that have been canceled. + */ + @JsonProperty(value = "numJobsCanceled", access = JsonProperty.Access.WRITE_ONLY) + private Integer numJobsCanceled; + + /** + * the number of jobs in this pipeline that have succeeded. + */ + @JsonProperty(value = "numJobsSucceeded", access = JsonProperty.Access.WRITE_ONLY) + private Integer numJobsSucceeded; + + /** + * the number of job execution hours that resulted in failed jobs. + */ + @JsonProperty(value = "auHoursFailed", access = JsonProperty.Access.WRITE_ONLY) + private Double auHoursFailed; + + /** + * the number of job execution hours that resulted in canceled jobs. + */ + @JsonProperty(value = "auHoursCanceled", access = JsonProperty.Access.WRITE_ONLY) + private Double auHoursCanceled; + + /** + * the number of job execution hours that resulted in successful jobs. + */ + @JsonProperty(value = "auHoursSucceeded", access = JsonProperty.Access.WRITE_ONLY) + private Double auHoursSucceeded; + + /** + * the last time a job in this pipeline was submitted. + */ + @JsonProperty(value = "lastSubmitTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastSubmitTime; + + /** + * the list of recurrence identifiers representing each run of this + * pipeline. + */ + @JsonProperty(value = "runs", access = JsonProperty.Access.WRITE_ONLY) + private List runs; + + /** + * the list of recurrence identifiers representing each run of this + * pipeline. + */ + @JsonProperty(value = "recurrences", access = JsonProperty.Access.WRITE_ONLY) + private List recurrences; + + /** + * Get the pipelineId value. + * + * @return the pipelineId value + */ + public UUID pipelineId() { + return this.pipelineId; + } + + /** + * Get the pipelineName value. + * + * @return the pipelineName value + */ + public String pipelineName() { + return this.pipelineName; + } + + /** + * Get the pipelineUri value. + * + * @return the pipelineUri value + */ + public String pipelineUri() { + return this.pipelineUri; + } + + /** + * Get the numJobsFailed value. + * + * @return the numJobsFailed value + */ + public Integer numJobsFailed() { + return this.numJobsFailed; + } + + /** + * Get the numJobsCanceled value. + * + * @return the numJobsCanceled value + */ + public Integer numJobsCanceled() { + return this.numJobsCanceled; + } + + /** + * Get the numJobsSucceeded value. + * + * @return the numJobsSucceeded value + */ + public Integer numJobsSucceeded() { + return this.numJobsSucceeded; + } + + /** + * Get the auHoursFailed value. + * + * @return the auHoursFailed value + */ + public Double auHoursFailed() { + return this.auHoursFailed; + } + + /** + * Get the auHoursCanceled value. + * + * @return the auHoursCanceled value + */ + public Double auHoursCanceled() { + return this.auHoursCanceled; + } + + /** + * Get the auHoursSucceeded value. + * + * @return the auHoursSucceeded value + */ + public Double auHoursSucceeded() { + return this.auHoursSucceeded; + } + + /** + * Get the lastSubmitTime value. + * + * @return the lastSubmitTime value + */ + public DateTime lastSubmitTime() { + return this.lastSubmitTime; + } + + /** + * Get the runs value. + * + * @return the runs value + */ + public List runs() { + return this.runs; + } + + /** + * Get the recurrences value. + * + * @return the recurrences value + */ + public List recurrences() { + return this.recurrences; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobPipelineRunInformation.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobPipelineRunInformation.java new file mode 100644 index 0000000000000..b57f6e344e07f --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobPipelineRunInformation.java @@ -0,0 +1,49 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import java.util.UUID; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Run info for a specific job pipeline. + */ +public class JobPipelineRunInformation { + /** + * the run identifier of an instance of pipeline executions (a GUID). + */ + @JsonProperty(value = "runId", access = JsonProperty.Access.WRITE_ONLY) + private UUID runId; + + /** + * the time this instance was last submitted. + */ + @JsonProperty(value = "lastSubmitTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastSubmitTime; + + /** + * Get the runId value. + * + * @return the runId value + */ + public UUID runId() { + return this.runId; + } + + /** + * Get the lastSubmitTime value. + * + * @return the lastSubmitTime value + */ + public DateTime lastSubmitTime() { + return this.lastSubmitTime; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobRecurrenceInformation.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobRecurrenceInformation.java new file mode 100644 index 0000000000000..5ba36007bcc6e --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobRecurrenceInformation.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import java.util.UUID; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Recurrence job information for a specific recurrence. + */ +public class JobRecurrenceInformation { + /** + * the recurrence identifier (a GUID), unique per activity/script, + * regardless of iterations. This is something to link different + * occurrences of the same job together. + */ + @JsonProperty(value = "recurrenceId", access = JsonProperty.Access.WRITE_ONLY) + private UUID recurrenceId; + + /** + * the recurrence name, user friendly name for the correlation between + * jobs. + */ + @JsonProperty(value = "recurrenceName", access = JsonProperty.Access.WRITE_ONLY) + private String recurrenceName; + + /** + * the number of jobs in this recurrence that have failed. + */ + @JsonProperty(value = "numJobsFailed", access = JsonProperty.Access.WRITE_ONLY) + private Integer numJobsFailed; + + /** + * the number of jobs in this recurrence that have been canceled. + */ + @JsonProperty(value = "numJobsCanceled", access = JsonProperty.Access.WRITE_ONLY) + private Integer numJobsCanceled; + + /** + * the number of jobs in this recurrence that have succeeded. + */ + @JsonProperty(value = "numJobsSucceeded", access = JsonProperty.Access.WRITE_ONLY) + private Integer numJobsSucceeded; + + /** + * the number of job execution hours that resulted in failed jobs. + */ + @JsonProperty(value = "auHoursFailed", access = JsonProperty.Access.WRITE_ONLY) + private Double auHoursFailed; + + /** + * the number of job execution hours that resulted in canceled jobs. + */ + @JsonProperty(value = "auHoursCanceled", access = JsonProperty.Access.WRITE_ONLY) + private Double auHoursCanceled; + + /** + * the number of job execution hours that resulted in successful jobs. + */ + @JsonProperty(value = "auHoursSucceeded", access = JsonProperty.Access.WRITE_ONLY) + private Double auHoursSucceeded; + + /** + * the last time a job in this recurrence was submitted. + */ + @JsonProperty(value = "lastSubmitTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastSubmitTime; + + /** + * Get the recurrenceId value. + * + * @return the recurrenceId value + */ + public UUID recurrenceId() { + return this.recurrenceId; + } + + /** + * Get the recurrenceName value. + * + * @return the recurrenceName value + */ + public String recurrenceName() { + return this.recurrenceName; + } + + /** + * Get the numJobsFailed value. + * + * @return the numJobsFailed value + */ + public Integer numJobsFailed() { + return this.numJobsFailed; + } + + /** + * Get the numJobsCanceled value. + * + * @return the numJobsCanceled value + */ + public Integer numJobsCanceled() { + return this.numJobsCanceled; + } + + /** + * Get the numJobsSucceeded value. + * + * @return the numJobsSucceeded value + */ + public Integer numJobsSucceeded() { + return this.numJobsSucceeded; + } + + /** + * Get the auHoursFailed value. + * + * @return the auHoursFailed value + */ + public Double auHoursFailed() { + return this.auHoursFailed; + } + + /** + * Get the auHoursCanceled value. + * + * @return the auHoursCanceled value + */ + public Double auHoursCanceled() { + return this.auHoursCanceled; + } + + /** + * Get the auHoursSucceeded value. + * + * @return the auHoursSucceeded value + */ + public Double auHoursSucceeded() { + return this.auHoursSucceeded; + } + + /** + * Get the lastSubmitTime value. + * + * @return the lastSubmitTime value + */ + public DateTime lastSubmitTime() { + return this.lastSubmitTime; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobRelationshipProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobRelationshipProperties.java new file mode 100644 index 0000000000000..a237a296a6826 --- /dev/null +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/JobRelationshipProperties.java @@ -0,0 +1,181 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.analytics.models; + +import java.util.UUID; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Job relationship information properties including pipeline information, + * correlation information, etc. + */ +public class JobRelationshipProperties { + /** + * the job relationship pipeline identifier (a GUID). + */ + @JsonProperty(value = "pipelineId") + private UUID pipelineId; + + /** + * the friendly name of the job relationship pipeline, which does not need + * to be unique. + */ + @JsonProperty(value = "pipelineName") + private String pipelineName; + + /** + * the pipeline uri, unique, links to the originating service for this + * pipeline. + */ + @JsonProperty(value = "pipelineUri") + private String pipelineUri; + + /** + * the run identifier (a GUID), unique identifier of the iteration of this + * pipeline. + */ + @JsonProperty(value = "runId") + private UUID runId; + + /** + * the recurrence identifier (a GUID), unique per activity/script, + * regardless of iterations. This is something to link different + * occurrences of the same job together. + */ + @JsonProperty(value = "recurrenceId", required = true) + private UUID recurrenceId; + + /** + * the recurrence name, user friendly name for the correlation between + * jobs. + */ + @JsonProperty(value = "recurrenceName") + private String recurrenceName; + + /** + * Get the pipelineId value. + * + * @return the pipelineId value + */ + public UUID pipelineId() { + return this.pipelineId; + } + + /** + * Set the pipelineId value. + * + * @param pipelineId the pipelineId value to set + * @return the JobRelationshipProperties object itself. + */ + public JobRelationshipProperties withPipelineId(UUID pipelineId) { + this.pipelineId = pipelineId; + return this; + } + + /** + * Get the pipelineName value. + * + * @return the pipelineName value + */ + public String pipelineName() { + return this.pipelineName; + } + + /** + * Set the pipelineName value. + * + * @param pipelineName the pipelineName value to set + * @return the JobRelationshipProperties object itself. + */ + public JobRelationshipProperties withPipelineName(String pipelineName) { + this.pipelineName = pipelineName; + return this; + } + + /** + * Get the pipelineUri value. + * + * @return the pipelineUri value + */ + public String pipelineUri() { + return this.pipelineUri; + } + + /** + * Set the pipelineUri value. + * + * @param pipelineUri the pipelineUri value to set + * @return the JobRelationshipProperties object itself. + */ + public JobRelationshipProperties withPipelineUri(String pipelineUri) { + this.pipelineUri = pipelineUri; + return this; + } + + /** + * Get the runId value. + * + * @return the runId value + */ + public UUID runId() { + return this.runId; + } + + /** + * Set the runId value. + * + * @param runId the runId value to set + * @return the JobRelationshipProperties object itself. + */ + public JobRelationshipProperties withRunId(UUID runId) { + this.runId = runId; + return this; + } + + /** + * Get the recurrenceId value. + * + * @return the recurrenceId value + */ + public UUID recurrenceId() { + return this.recurrenceId; + } + + /** + * Set the recurrenceId value. + * + * @param recurrenceId the recurrenceId value to set + * @return the JobRelationshipProperties object itself. + */ + public JobRelationshipProperties withRecurrenceId(UUID recurrenceId) { + this.recurrenceId = recurrenceId; + return this; + } + + /** + * Get the recurrenceName value. + * + * @return the recurrenceName value + */ + public String recurrenceName() { + return this.recurrenceName; + } + + /** + * Set the recurrenceName value. + * + * @param recurrenceName the recurrenceName value to set + * @return the JobRelationshipProperties object itself. + */ + public JobRelationshipProperties withRecurrenceName(String recurrenceName) { + this.recurrenceName = recurrenceName; + return this; + } + +} diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageContainer.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageContainer.java index 9ba87bd54ed1c..1648e2a0a80b8 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageContainer.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/StorageContainer.java @@ -17,18 +17,18 @@ */ @JsonFlatten public class StorageContainer { - /** - * the name of the blob container. - */ - @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) - private String name; - /** * the unique identifier of the blob container. */ @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) private String id; + /** + * the name of the blob container. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + /** * the type of the blob container. */ @@ -42,21 +42,21 @@ public class StorageContainer { private DateTime lastModifiedTime; /** - * Get the name value. + * Get the id value. * - * @return the name value + * @return the id value */ - public String name() { - return this.name; + public String id() { + return this.id; } /** - * Get the id value. + * Get the name value. * - * @return the id value + * @return the name value */ - public String id() { - return this.id; + public String name() { + return this.name; } /** diff --git a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java index c00668dc5403f..fb98ca49beb10 100644 --- a/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java +++ b/azure-mgmt-datalake-analytics/src/main/java/com/microsoft/azure/management/datalake/analytics/models/USqlJobProperties.java @@ -15,7 +15,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** - * U-SQL job properties used when submitting and retrieving U-SQL jobs. + * U-SQL job properties used when retrieving U-SQL jobs. */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("USql") @@ -23,25 +23,25 @@ public class USqlJobProperties extends JobProperties { /** * the list of resources that are required by the job. */ - @JsonProperty(value = "resources") + @JsonProperty(value = "resources", access = JsonProperty.Access.WRITE_ONLY) private List resources; /** * the job specific statistics. */ - @JsonProperty(value = "statistics") + @JsonProperty(value = "statistics", access = JsonProperty.Access.WRITE_ONLY) private JobStatistics statistics; /** * the job specific debug data locations. */ - @JsonProperty(value = "debugData") + @JsonProperty(value = "debugData", access = JsonProperty.Access.WRITE_ONLY) private JobDataPath debugData; /** * the diagnostics for the job. */ - @JsonProperty(value = "diagnostics") + @JsonProperty(value = "diagnostics", access = JsonProperty.Access.WRITE_ONLY) private List diagnostics; /** @@ -100,12 +100,12 @@ public class USqlJobProperties extends JobProperties { private Long yarnApplicationTimeStamp; /** - * Optionally enforces a specific compilation mode for the job during - * execution. If this is not specified during submission, the server will - * determine the optimal compilation mode. Possible values include: - * 'Semantic', 'Full', 'SingleBox'. + * the specific compilation mode for the job used during execution. If this + * is not specified during submission, the server will determine the + * optimal compilation mode. Possible values include: 'Semantic', 'Full', + * 'SingleBox'. */ - @JsonProperty(value = "compileMode") + @JsonProperty(value = "compileMode", access = JsonProperty.Access.WRITE_ONLY) private CompileMode compileMode; /** @@ -117,17 +117,6 @@ public List resources() { return this.resources; } - /** - * Set the resources value. - * - * @param resources the resources value to set - * @return the USqlJobProperties object itself. - */ - public USqlJobProperties withResources(List resources) { - this.resources = resources; - return this; - } - /** * Get the statistics value. * @@ -137,17 +126,6 @@ public JobStatistics statistics() { return this.statistics; } - /** - * Set the statistics value. - * - * @param statistics the statistics value to set - * @return the USqlJobProperties object itself. - */ - public USqlJobProperties withStatistics(JobStatistics statistics) { - this.statistics = statistics; - return this; - } - /** * Get the debugData value. * @@ -157,17 +135,6 @@ public JobDataPath debugData() { return this.debugData; } - /** - * Set the debugData value. - * - * @param debugData the debugData value to set - * @return the USqlJobProperties object itself. - */ - public USqlJobProperties withDebugData(JobDataPath debugData) { - this.debugData = debugData; - return this; - } - /** * Get the diagnostics value. * @@ -177,17 +144,6 @@ public List diagnostics() { return this.diagnostics; } - /** - * Set the diagnostics value. - * - * @param diagnostics the diagnostics value to set - * @return the USqlJobProperties object itself. - */ - public USqlJobProperties withDiagnostics(List diagnostics) { - this.diagnostics = diagnostics; - return this; - } - /** * Get the algebraFilePath value. * @@ -269,15 +225,4 @@ public CompileMode compileMode() { return this.compileMode; } - /** - * Set the compileMode value. - * - * @param compileMode the compileMode value to set - * @return the USqlJobProperties object itself. - */ - public USqlJobProperties withCompileMode(CompileMode compileMode) { - this.compileMode = compileMode; - return this; - } - } diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java index 955219e0703c3..4c974ed6ba14e 100644 --- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java +++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsAccountOperationsTests.java @@ -22,6 +22,7 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { String adlaAcct = generateRandomResourceName("adla",15); String storageAcct = generateRandomResourceName("wasb",15); String adlsName2 = generateRandomResourceName("adls2",15); + // Create storageManagementClient.storageAccounts() .define(storageAcct) @@ -35,7 +36,7 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { .getByResourceGroup(rgName, storageAcct) .getKeys().get(0).value(); - // create second ADLS account + // Create second ADLS account DataLakeStoreAccount adlsCreateParams = new DataLakeStoreAccount(); adlsCreateParams.withLocation(environmentLocation.name()); dataLakeStoreAccountManagementClient.accounts().create(rgName, adlsName2, adlsCreateParams); @@ -62,7 +63,7 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { Assert.assertEquals(1, createResponse.dataLakeStoreAccounts().size()); Assert.assertEquals(adlsName, createResponse.dataLakeStoreAccounts().get(0).name()); - // update the tags + // Update the tags DataLakeAnalyticsAccountUpdateParameters updateParams = new DataLakeAnalyticsAccountUpdateParameters(); createParams.getTags().put("testkey2", "testvalue2"); updateParams.withTags(createParams.getTags()); @@ -75,7 +76,7 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { Assert.assertEquals(1, updateResponse.dataLakeStoreAccounts().size()); Assert.assertEquals(adlsName, updateResponse.dataLakeStoreAccounts().get(0).name()); - // get the account + // Get the account DataLakeAnalyticsAccount getResponse = dataLakeAnalyticsAccountManagementClient.accounts().get(rgName, adlaAcct); Assert.assertEquals(environmentLocation.name(), getResponse.location()); Assert.assertEquals("Microsoft.DataLakeAnalytics/accounts", getResponse.type()); @@ -85,10 +86,10 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { Assert.assertEquals(1, getResponse.dataLakeStoreAccounts().size()); Assert.assertEquals(adlsName, getResponse.dataLakeStoreAccounts().get(0).name()); - // list all accounts and make sure there is one. - List listResult = dataLakeAnalyticsAccountManagementClient.accounts().list(); - DataLakeAnalyticsAccount discoveredAcct = null; - for (DataLakeAnalyticsAccount acct : listResult) { + // List all accounts and make sure there is one. + List listResult = dataLakeAnalyticsAccountManagementClient.accounts().list(); + DataLakeAnalyticsAccountBasic discoveredAcct = null; + for (DataLakeAnalyticsAccountBasic acct : listResult) { if (acct.name().equals(adlaAcct)) { discoveredAcct = acct; break; @@ -102,13 +103,10 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { Assert.assertTrue(discoveredAcct.id().contains(adlaAcct)); Assert.assertEquals(2, discoveredAcct.getTags().size()); - // the properties should be empty when we do list calls - Assert.assertNull(discoveredAcct.dataLakeStoreAccounts()); - - // list within a resource group + // List within a resource group listResult = dataLakeAnalyticsAccountManagementClient.accounts().listByResourceGroup(rgName); discoveredAcct = null; - for (DataLakeAnalyticsAccount acct : listResult) { + for (DataLakeAnalyticsAccountBasic acct : listResult) { if (acct.name().equals(adlaAcct)) { discoveredAcct = acct; break; @@ -122,27 +120,24 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { Assert.assertTrue(discoveredAcct.id().contains(adlaAcct)); Assert.assertEquals(2, discoveredAcct.getTags().size()); - // the properties should be empty when we do list calls - Assert.assertNull(discoveredAcct.dataLakeStoreAccounts()); - // Add, list, get and remove a data lake store account AddDataLakeStoreParameters addAdlsParams = new AddDataLakeStoreParameters(); // This needs to be set and empty for now due to the front end expecting a valid json body dataLakeAnalyticsAccountManagementClient.dataLakeStoreAccounts().add(rgName, adlaAcct, adlsName2, addAdlsParams); - // list ADLS accounts + // List ADLS accounts List adlsListResult = dataLakeAnalyticsAccountManagementClient.dataLakeStoreAccounts().listByAccount(rgName, adlaAcct); Assert.assertEquals(2, adlsListResult.size()); - // get the one we just added + // Get the one we just added DataLakeStoreAccountInfo adlsGetResult = dataLakeAnalyticsAccountManagementClient.dataLakeStoreAccounts().get(rgName, adlaAcct, adlsName2); Assert.assertEquals(adlsName2, adlsGetResult.name()); // Remove the data source dataLakeAnalyticsAccountManagementClient.dataLakeStoreAccounts().delete(rgName, adlaAcct, adlsName2); - // list again, confirming there is only one ADLS account + // List again, confirming there is only one ADLS account adlsListResult = dataLakeAnalyticsAccountManagementClient.dataLakeStoreAccounts().listByAccount(rgName, adlaAcct); Assert.assertEquals(1, adlsListResult.size()); @@ -152,18 +147,18 @@ public void canCreateGetUpdateDeleteAdlaAccount() throws Exception { addStoreParams.withAccessKey(storageAccessKey); dataLakeAnalyticsAccountManagementClient.storageAccounts().add(rgName, adlaAcct, storageAcct, addStoreParams); - // list ADLS accounts + // List ADLS accounts List storeListResult = dataLakeAnalyticsAccountManagementClient.storageAccounts().listByAccount(rgName, adlaAcct); Assert.assertEquals(1, storeListResult.size()); - // get the one we just added + // Get the one we just added StorageAccountInfo storageGetResult = dataLakeAnalyticsAccountManagementClient.storageAccounts().get(rgName, adlaAcct, storageAcct); Assert.assertEquals(storageAcct, storageGetResult.name()); // Remove the data source dataLakeAnalyticsAccountManagementClient.storageAccounts().delete(rgName, adlaAcct, storageAcct); - // list again, confirming there is only one ADLS account + // List again, confirming there is only one ADLS account storeListResult = dataLakeAnalyticsAccountManagementClient.storageAccounts().listByAccount(rgName, adlaAcct); Assert.assertEquals(0, storeListResult.size()); diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java index 15403de12742d..ccdeec10d238e 100644 --- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java +++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsCatalogOperationsTests.java @@ -25,7 +25,7 @@ import java.util.UUID; public class DataLakeAnalyticsCatalogOperationsTests extends DataLakeAnalyticsManagementTestBase { - // catalog names + // Catalog names protected static String dbName; protected static String tableName; protected static String tvfName; @@ -39,7 +39,8 @@ public class DataLakeAnalyticsCatalogOperationsTests extends DataLakeAnalyticsMa @Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) throws IOException { super.initializeClients(restClient, defaultSubscription, domain); - // define catalog items + + // Define catalog items dbName = generateRandomResourceName("testdb1", 15); tableName = generateRandomResourceName("testtable1", 15); tvfName = generateRandomResourceName("testtvf1", 15); @@ -62,7 +63,7 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti " ClickedUrls string,\r\n" + " INDEX idx1 //Name of index\r\n" + " CLUSTERED (Region ASC) //Column to cluster by\r\n" + - " PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\r\n" + + " PARTITIONED BY (UserId) HASH (Region) //Column to partition by\r\n" + ");\r\n" + "\r\n" + "ALTER TABLE {0}.dbo.{1} ADD IF NOT EXISTS PARTITION (1);\r\n" + @@ -141,7 +142,7 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti " T(a, b);\r\n" + "END;", dbName, tableName, tvfName, viewName, procName); - // create the catalog + // Create the catalog try { UUID mockId = UUID.fromString("b9e2ef31-a25d-4a8f-be26-f558b823376f"); UUID idToUse; @@ -160,13 +161,13 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti } } - // TODO: re-enable this test once the underlying issue is investigated and resolved by the product team. + // TODO: re-enable this test once the underlying issue is investigated and resolved by the product team //@Test public void canGetCatalogItems() throws Exception { List dbListResponse = dataLakeAnalyticsCatalogManagementClient.catalogs().listDatabases(jobAndCatalogAdlaName); Assert.assertTrue(dbListResponse.size() >= 1); - // look for the DB we created + // Look for the DB we created boolean foundCatalogElement = false; for (USqlDatabase db: dbListResponse) { if (db.name().equals(dbName)) { @@ -207,7 +208,7 @@ public void canGetCatalogItems() throws Exception { Assert.assertTrue(tvfListResponse.size() >= 1); - // look for the tvf we created + // Look for the tvf we created foundCatalogElement = false; for (USqlTableValuedFunction tvf: tvfListResponse) { if (tvf.name().equals(tvfName)) { @@ -228,7 +229,7 @@ public void canGetCatalogItems() throws Exception { Assert.assertTrue(viewListResponse.size() >= 1); - // look for the view we created + // Look for the view we created foundCatalogElement = false; for (USqlView view: viewListResponse) { if (view.name().equals(viewName)) { @@ -250,7 +251,7 @@ public void canGetCatalogItems() throws Exception { Assert.assertTrue(procListResponse.size() >= 1); - // look for the procedure we created + // Look for the procedure we created foundCatalogElement = false; for (USqlProcedure proc: procListResponse) { if (proc.name().equals(procName)) { @@ -291,9 +292,21 @@ public void canGetCatalogItems() throws Exception { Assert.assertFalse(foundCatalogElement); } - @Test + // TODO: got the error: "CREATE/ALTER/DROP CREDENTIAL statements have been deprecated and removed from the language." Details below: + // DETAILS: to fix this, I must use Azure Powershell cmdlets instead for such operations (https://msdn.microsoft.com/en-us/library/azure/mt621327.aspx). + // will consider how to test this in the near future + // SPECIFIC ERROR MESSAGE: + // "errorId":"E_CSC_USER_CREDENTIALDDLISREMOVED", + // "severity":"Error", + // "component":"CSC", + // "source":"USER", + // "message":"CREATE/ALTER/DROP CREDENTIAL statements used in the script are removed from U-SQL language.", + // "details":"at token 'CREATE', line 1\r\nnear the ###:\r\n**************\r\nUSE testdb117763a; ### CREATE CREDENTIAL testcred178426 WITH USER_NAME = \"scope@rkm4grspxa\", IDENTITY = \"a7f0a37750c5425\";", + // "description":"CREATE/ALTER/DROP CREDENTIAL statements have been deprecated and removed from the language.", + // "resolution":"Use credential management commandlets in the latest Azure Powershell.", + //@Test public void canCreateUpdateDeleteSecretsAndCredentials() throws Exception { - // create the secret + // Create the secret DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters createParams = new DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters(); createParams.withPassword(secretPwd); createParams.withUri("https://adlasecrettest.contoso.com:443"); @@ -307,14 +320,14 @@ public void canCreateUpdateDeleteSecretsAndCredentials() throws Exception { jobAndCatalogAdlaName, dbName, secretName, createParams); - // should never make it here + // Should never make it here Assert.assertTrue(false); } catch(Exception e) { - // expected. + // Expected } - // Get the secret and ensure the response contains a date. + // Get the secret and ensure the response contains a date USqlSecret secretGetResponse = dataLakeAnalyticsCatalogManagementClient.catalogs().getSecret( jobAndCatalogAdlaName, dbName, secretName); @@ -326,7 +339,7 @@ public void canCreateUpdateDeleteSecretsAndCredentials() throws Exception { String.format("USE %s; CREATE CREDENTIAL %s WITH USER_NAME = \"scope@rkm4grspxa\", IDENTITY = \"%s\";", dbName, credentialName, secretName); - // setup job ids for mocks + // Setup job ids for mocks UUID mockedId = UUID.fromString("fa9fa5bf-ff12-48af-8a0b-2800049ef23e"); UUID toUse; if(isRecordMode()) { @@ -343,7 +356,7 @@ public void canCreateUpdateDeleteSecretsAndCredentials() throws Exception { jobAndCatalogAdlaName, dbName); Assert.assertTrue(credListResponse.size() >= 1); - // look for the credential we created + // Look for the credential we created boolean foundCatalogElement = false; for (USqlCredential cred: credListResponse) { if (cred.name().equals(credentialName)) { @@ -362,7 +375,7 @@ public void canCreateUpdateDeleteSecretsAndCredentials() throws Exception { String credentialDropScript = String.format("USE %s; DROP CREDENTIAL %s;", dbName, credentialName); - // setup job ids for mocks + // Setup job ids for mocks UUID mockedId2 = UUID.fromString("54a54b5b-6209-455e-8bd1-832a6fcff3d8"); UUID toUse2; if(isRecordMode()) { @@ -384,11 +397,11 @@ public void canCreateUpdateDeleteSecretsAndCredentials() throws Exception { USqlSecret nothing = dataLakeAnalyticsCatalogManagementClient.catalogs().getSecret( jobAndCatalogAdlaName, dbName, secretName); - // should never make it here and if we do there should not be a secret. + // Should never make it here and if we do there should not be a secret Assert.assertNull("Was able to retrieve a deleted secret", nothing); } catch (Exception e) { - // expected + // Expected } } diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java index 4ff7ba872dd17..54307638d9164 100644 --- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java +++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsJobOperationsTests.java @@ -6,11 +6,8 @@ package com.microsoft.azure.management.datalake.analytics; -import com.microsoft.azure.management.datalake.analytics.models.JobInformation; -import com.microsoft.azure.management.datalake.analytics.models.JobResult; -import com.microsoft.azure.management.datalake.analytics.models.JobState; -import com.microsoft.azure.management.datalake.analytics.models.JobType; -import com.microsoft.azure.management.datalake.analytics.models.USqlJobProperties; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.datalake.analytics.models.*; import com.microsoft.azure.management.resources.fluentcore.utils.SdkContext; import org.junit.Assert; import org.junit.Test; @@ -19,39 +16,74 @@ import java.util.UUID; public class DataLakeAnalyticsJobOperationsTests extends DataLakeAnalyticsManagementTestBase { - private static String jobScript = "DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;"; - + @Test public void canSubmitGetListAndCancelJobs() throws Exception { - // submit a job - JobInformation jobToSubmit = new JobInformation(); - USqlJobProperties jobProperties = new USqlJobProperties(); - jobProperties.withScript(jobScript); - jobToSubmit.withName("java azure sdk data lake analytics job"); - jobToSubmit.withDegreeOfParallelism(2); - jobToSubmit.withType(JobType.USQL); - jobToSubmit.withProperties(jobProperties); - // define two static IDs for use with recordings. + // Define two static IDs for use with recordings UUID mockedId = UUID.fromString("123a9b88-d8cf-4a5a-9546-882cde67476b"); UUID mockedId2 = UUID.fromString("b422b92a-ff47-4324-bea1-1d98cb09cce4"); + UUID mockedId3 = UUID.fromString("94521484-9d14-452d-9330-d18d306d78c5"); + UUID mockedId4 = UUID.fromString("5247eb29-9060-4f58-9f61-b63fab547c58"); + UUID mockedId5 = UUID.fromString("4f30649a-95f9-4595-94fe-0a35d7dd0eec"); + UUID mockedId6 = UUID.fromString("204d9164-4e43-48ec-8651-3e13110dfbb4"); UUID jobId; - UUID secondJobId; + UUID jobId2; + UUID pipelineId; + UUID recurrenceId; + UUID runId; + UUID runId2; if (isRecordMode()) { - jobId = UUID.randomUUID(); - secondJobId = UUID.randomUUID(); + jobId = UUID.fromString(SdkContext.randomUuid()); + jobId2 = UUID.fromString(SdkContext.randomUuid());; + pipelineId = UUID.fromString(SdkContext.randomUuid()); + runId = UUID.fromString(SdkContext.randomUuid()); + runId2 = UUID.fromString(SdkContext.randomUuid()); + recurrenceId = UUID.fromString(SdkContext.randomUuid()); addTextReplacementRule(jobId.toString(), mockedId.toString()); - addTextReplacementRule(secondJobId.toString(), mockedId2.toString()); + addTextReplacementRule(jobId2.toString(), mockedId2.toString()); + addTextReplacementRule(pipelineId.toString(), mockedId3.toString()); + addTextReplacementRule(recurrenceId.toString(), mockedId4.toString()); + addTextReplacementRule(runId.toString(), mockedId5.toString()); + addTextReplacementRule(runId2.toString(), mockedId6.toString()); } else { jobId = mockedId; - secondJobId = mockedId2; + jobId2 = mockedId2; + pipelineId = mockedId3; + recurrenceId = mockedId4; + runId = mockedId5; + runId2 = mockedId6; } + // Submit a job + CreateJobParameters jobToSubmit = new CreateJobParameters(); + jobToSubmit.withName("java azure sdk data lake analytics job"); + jobToSubmit.withDegreeOfParallelism(2); + jobToSubmit.withType(JobType.USQL); + + CreateUSqlJobProperties jobProperties = new CreateUSqlJobProperties(); + jobProperties.withScript("DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;"); + + JobRelationshipProperties jobRelated = new JobRelationshipProperties(); + jobRelated.withPipelineId(pipelineId); + jobRelated.withPipelineName("pipeline"); + jobRelated.withPipelineUri("https://pipelineuri.contoso.com/myJob"); + jobRelated.withRecurrenceId(recurrenceId); + jobRelated.withRecurrenceName("recurrence"); + jobRelated.withRunId(runId); + + jobToSubmit.withProperties(jobProperties); + jobToSubmit.withRelated(jobRelated); + + // Wait for 5 minutes for the server to restore the account cache + // Without this, the test will pass non-deterministically + SdkContext.sleep(300000); + JobInformation jobCreateResponse = dataLakeAnalyticsJobManagementClient.jobs().create(jobAndCatalogAdlaName, jobId, jobToSubmit); Assert.assertNotNull(jobCreateResponse); - // cancel the job + // Cancel the job dataLakeAnalyticsJobManagementClient.jobs().cancel(jobAndCatalogAdlaName, jobId); // Get the job and ensure it was cancelled @@ -61,18 +93,22 @@ public void canSubmitGetListAndCancelJobs() throws Exception { Assert.assertTrue(cancelledJobResponse.errorMessage().size() >= 1); // Resubmit and wait for job to finish - jobCreateResponse = dataLakeAnalyticsJobManagementClient.jobs().create(jobAndCatalogAdlaName, secondJobId, jobToSubmit); + // First update the runId to a new run + jobToSubmit.related().withRunId(runId2); + jobCreateResponse = dataLakeAnalyticsJobManagementClient.jobs().create(jobAndCatalogAdlaName, jobId2, jobToSubmit); Assert.assertNotNull(jobCreateResponse); + // Poll the job until it finishes JobInformation getJobResponse = dataLakeAnalyticsJobManagementClient.jobs().get(jobAndCatalogAdlaName, jobCreateResponse.jobId()); Assert.assertNotNull(getJobResponse); - int maxWaitInSeconds = 180; // 3 minutes should be long enough + // 3 minutes should be long enough + int maxWaitInSeconds = 180; int curWaitInSeconds = 0; while (getJobResponse.state() != JobState.ENDED && curWaitInSeconds < maxWaitInSeconds) { - // wait 5 seconds before polling again + // Wait 5 seconds before polling again SdkContext.sleep(5 * 1000); curWaitInSeconds += 5; getJobResponse = dataLakeAnalyticsJobManagementClient.jobs().get(jobAndCatalogAdlaName, jobCreateResponse.jobId()); @@ -87,11 +123,12 @@ public void canSubmitGetListAndCancelJobs() throws Exception { getJobResponse.jobId(), getJobResponse.state(), getJobResponse.result(), getJobResponse.errorMessage()), getJobResponse.state() == JobState.ENDED && getJobResponse.result() == JobResult.SUCCEEDED); - List listJobResponse = dataLakeAnalyticsJobManagementClient.jobs().list(jobAndCatalogAdlaName); + // Make sure the job is in the list of jobs + PagedList listJobResponse = dataLakeAnalyticsJobManagementClient.jobs().list(jobAndCatalogAdlaName); Assert.assertNotNull(listJobResponse); boolean foundJob = false; - for(JobInformation eachJob : listJobResponse) { - if (eachJob.jobId().equals(secondJobId)) { + for (JobInformationBasic eachJob : listJobResponse) { + if (eachJob.jobId().equals(jobId2)) { foundJob = true; break; } @@ -99,22 +136,85 @@ public void canSubmitGetListAndCancelJobs() throws Exception { Assert.assertTrue(foundJob); + // Validate job relationship retrieval (get/list pipeline and get/list recurrence) + // Get/List pipeline + JobPipelineInformation getPipelineResponse = dataLakeAnalyticsJobManagementClient.pipelines().get(jobAndCatalogAdlaName, pipelineId); + Assert.assertEquals(pipelineId, getPipelineResponse.pipelineId()); + Assert.assertEquals("pipeline", getPipelineResponse.pipelineName()); + Assert.assertEquals("https://pipelineuri.contoso.com/myJob", getPipelineResponse.pipelineUri()); + Assert.assertTrue(getPipelineResponse.runs().size() >= 2); + + PagedList listPipelineResponse = dataLakeAnalyticsJobManagementClient.pipelines().list(jobAndCatalogAdlaName); + Assert.assertEquals(1, listPipelineResponse.size()); + boolean foundPipeline = false; + for (JobPipelineInformation eachPipeline : listPipelineResponse) { + if (eachPipeline.pipelineId().equals(pipelineId)) { + foundPipeline = true; + break; + } + } + + Assert.assertTrue(foundPipeline); + + // Get/List recurrence + JobRecurrenceInformation getRecurrenceResponse = dataLakeAnalyticsJobManagementClient.recurrences().get(jobAndCatalogAdlaName, recurrenceId); + Assert.assertEquals(recurrenceId, getRecurrenceResponse.recurrenceId()); + Assert.assertEquals("recurrence", getRecurrenceResponse.recurrenceName()); + + PagedList listRecurrenceResponse = dataLakeAnalyticsJobManagementClient.recurrences().list(jobAndCatalogAdlaName); + Assert.assertEquals(1, listRecurrenceResponse.size()); + boolean foundRecurrence = false; + for (JobRecurrenceInformation eachRecurrence : listRecurrenceResponse) { + if (eachRecurrence.recurrenceId().equals(recurrenceId)) { + foundRecurrence = true; + break; + } + } + + Assert.assertTrue(foundRecurrence); + + // Build a job + BuildJobParameters jobToBuild = new BuildJobParameters(); + jobToBuild.withName("java azure sdk data lake analytics job"); + jobToBuild.withType(JobType.USQL); + + jobProperties = new CreateUSqlJobProperties(); + jobProperties.withScript("DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;"); + + jobToBuild.withProperties(jobProperties); + // Just compile the job, which requires a jobId in the job object. - JobInformation compileResponse = dataLakeAnalyticsJobManagementClient.jobs().build(jobAndCatalogAdlaName, jobToSubmit); + JobInformation compileResponse = dataLakeAnalyticsJobManagementClient.jobs().build(jobAndCatalogAdlaName, jobToBuild); + Assert.assertNotNull(compileResponse); + + // Now compile a broken job and verify diagnostics report an error + jobToBuild.properties().withScript("DROP DATABASE IF EXIST FOO; CREATE DATABASE FOO;"); + compileResponse = dataLakeAnalyticsJobManagementClient.jobs().build(jobAndCatalogAdlaName, jobToBuild); Assert.assertNotNull(compileResponse); - // list the jobs both with a hand crafted query string and using the parameters - listJobResponse = dataLakeAnalyticsJobManagementClient.jobs().list(jobAndCatalogAdlaName, null, null, null, null,"jobId", null); + Assert.assertEquals(1, ((USqlJobProperties) compileResponse.properties()).diagnostics().size()); + Assert.assertEquals(SeverityTypes.ERROR, ((USqlJobProperties) compileResponse.properties()).diagnostics().get(0).severity()); + Assert.assertEquals(18, (int) ((USqlJobProperties) compileResponse.properties()).diagnostics().get(0).columnNumber()); + Assert.assertEquals(22, (int) ((USqlJobProperties) compileResponse.properties()).diagnostics().get(0).end()); + Assert.assertEquals(17, (int) ((USqlJobProperties) compileResponse.properties()).diagnostics().get(0).start()); + Assert.assertEquals(1, (int) ((USqlJobProperties) compileResponse.properties()).diagnostics().get(0).lineNumber()); + Assert.assertTrue(((USqlJobProperties) compileResponse.properties()).diagnostics().get(0).message().contains("E_CSC_USER_SYNTAXERROR")); + + // TODO: re-enable this when the server side is fixed + // List the jobs both with a hand crafted query string and using the parameters + /** + listJobResponse = dataLakeAnalyticsJobManagementClient.jobs().list(jobAndCatalogAdlaName, null, null, null, "jobId",null, null); Assert.assertNotNull(listJobResponse); foundJob = false; - for(JobInformation eachJob : listJobResponse) { - if (eachJob.jobId().equals(secondJobId)) { + for (JobInformationBasic eachJob : listJobResponse) { + if (eachJob.jobId().equals(jobId2)) { foundJob = true; break; } } Assert.assertTrue(foundJob); + **/ } } diff --git a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java index 971b31fd49303..f45a8a8e266ca 100644 --- a/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java +++ b/azure-mgmt-datalake-analytics/src/test/java/com/microsoft/azure/management/datalake/analytics/DataLakeAnalyticsManagementTestBase.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.datalake.analytics; +import com.microsoft.azure.AzureResponseBuilder; import com.microsoft.azure.credentials.ApplicationTokenCredentials; import com.microsoft.azure.management.datalake.analytics.models.*; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount; @@ -15,6 +16,7 @@ import com.microsoft.azure.management.resources.fluentcore.utils.SdkContext; import com.microsoft.azure.management.resources.implementation.ResourceManager; import com.microsoft.azure.management.storage.implementation.StorageManager; +import com.microsoft.azure.serializer.AzureJacksonAdapter; import com.microsoft.rest.LogLevel; import com.microsoft.rest.RestClient; import com.microsoft.azure.management.datalake.analytics.implementation.DataLakeAnalyticsAccountManagementClientImpl; @@ -45,18 +47,13 @@ public class DataLakeAnalyticsManagementTestBase extends TestBase { @Override protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) throws IOException { - rgName = generateRandomResourceName("adlarg",15); - adlsName = generateRandomResourceName("adls",15); - jobAndCatalogAdlaName = generateRandomResourceName("secondadla",15); - environmentLocation = Region.US_EAST2; dataLakeAnalyticsAccountManagementClient = new DataLakeAnalyticsAccountManagementClientImpl(restClient) .withSubscriptionId(defaultSubscription); - // TODO: in the future this needs to be dynamic depending on the Azure environment - // the tests are running in. + // TODO: In the future this needs to be dynamic depending on the Azure environment the tests are running in String adlaSuffix = "azuredatalakeanalytics.net"; addTextReplacementRule("https://(.*)." + adlaSuffix, playbackUri); @@ -76,6 +73,8 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti RestClient restClientWithTimeout = buildRestClient(new RestClient.Builder() .withConnectionTimeout(5, TimeUnit.MINUTES) .withBaseUrl("https://{accountName}.{adlaJobDnsSuffix}") + .withSerializerAdapter(new AzureJacksonAdapter()) + .withResponseBuilderFactory(new AzureResponseBuilder.Factory()) .withCredentials(credentials) .withLogLevel(LogLevel.BODY_AND_HEADERS) .withNetworkInterceptor(interceptorManager.initInterceptor()), @@ -88,6 +87,8 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti RestClient catalogRestClient = buildRestClient(new RestClient.Builder() .withBaseUrl("https://{accountName}.{adlaCatalogDnsSuffix}") + .withSerializerAdapter(new AzureJacksonAdapter()) + .withResponseBuilderFactory(new AzureResponseBuilder.Factory()) .withCredentials(credentials) .withLogLevel(LogLevel.BODY_AND_HEADERS) .withNetworkInterceptor(interceptorManager.initInterceptor()), @@ -97,11 +98,16 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti .withAdlaCatalogDnsSuffix(adlaSuffix); } else { - // for mocked clients, we can just use the basic rest client, since the DNS is replaced. + // For mocked clients, we can just use the basic rest client, since the DNS is replaced dataLakeAnalyticsCatalogManagementClient = new DataLakeAnalyticsCatalogManagementClientImpl(restClient); dataLakeAnalyticsJobManagementClient = new DataLakeAnalyticsJobManagementClientImpl(restClient); } + // Variables are declared here because "interceptorManager.initInterceptor()" resets the recording-variables data structure + rgName = generateRandomResourceName("adlarg",15); + adlsName = generateRandomResourceName("adls",15); + jobAndCatalogAdlaName = generateRandomResourceName("secondadla",15); + resourceManagementClient = ResourceManager .authenticate(restClient) .withSubscription(defaultSubscription); @@ -112,7 +118,7 @@ protected void initializeClients(RestClient restClient, String defaultSubscripti storageManagementClient = StorageManager .authenticate(restClient, defaultSubscription); - // create the resource group, ADLS account and ADLA account for job and catalog use. + // Create the resource group, ADLS account and ADLA account for job and catalog use resourceManagementClient.resourceGroups() .define(rgName) .withRegion(environmentLocation) @@ -141,8 +147,8 @@ protected void cleanUpResources() { } protected void runJobToCompletion(String adlaAcct, UUID jobId, String scriptToRun) throws Exception { - JobInformation jobToSubmit = new JobInformation(); - USqlJobProperties jobProperties = new USqlJobProperties(); + CreateJobParameters jobToSubmit = new CreateJobParameters(); + CreateUSqlJobProperties jobProperties = new CreateUSqlJobProperties(); jobProperties.withScript(scriptToRun); jobToSubmit.withName("java azure sdk data lake analytics job"); jobToSubmit.withDegreeOfParallelism(2); @@ -155,11 +161,12 @@ protected void runJobToCompletion(String adlaAcct, UUID jobId, String scriptToRu JobInformation getJobResponse = dataLakeAnalyticsJobManagementClient.jobs().get(adlaAcct, jobCreateResponse.jobId()); Assert.assertNotNull(getJobResponse); - int maxWaitInSeconds = 5 * 60; // giving it 5 minutes for now. + // Giving it 5 minutes for now + int maxWaitInSeconds = 5 * 60; int curWaitInSeconds = 0; while (getJobResponse.state() != JobState.ENDED && curWaitInSeconds < maxWaitInSeconds) { - // wait 5 seconds before polling again + // Wait 5 seconds before polling again SdkContext.sleep(5 * 1000); curWaitInSeconds += 5; getJobResponse = dataLakeAnalyticsJobManagementClient.jobs().get(adlaAcct, jobCreateResponse.jobId()); diff --git a/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateGetUpdateDeleteAdlaAccount.json b/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateGetUpdateDeleteAdlaAccount.json index 955e301483ad5..7733f073e87c2 100644 --- a/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateGetUpdateDeleteAdlaAccount.json +++ b/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateGetUpdateDeleteAdlaAccount.json @@ -1,697 +1,529 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf0000194?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg15402818?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:17 GMT", + "date" : "Fri, 08 Sep 2017 21:54:31 GMT", "content-length" : "182", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "653a7e90-cd75-4f72-94f3-c1b5e35a51f9", + "x-ms-correlation-request-id" : "4ffa2d01-986e-4f60-9b6d-fecb15cb69bb", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023217Z:653a7e90-cd75-4f72-94f3-c1b5e35a51f9", + "x-ms-routing-request-id" : "WESTUS2:20170908T215432Z:4ffa2d01-986e-4f60-9b6d-fecb15cb69bb", "content-type" : "application/json; charset=utf-8", "cache-control" : "no-cache", - "x-ms-request-id" : "653a7e90-cd75-4f72-94f3-c1b5e35a51f9", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194\",\"name\":\"adlargf0000194\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + "x-ms-request-id" : "4ffa2d01-986e-4f60-9b6d-fecb15cb69bb", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818\",\"name\":\"adlarg15402818\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adlsdce852232?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls111723303?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:18 GMT", - "content-length" : "415", + "date" : "Fri, 08 Sep 2017 21:54:33 GMT", + "content-length" : "359", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "b35bf9a4-3b05-4258-9999-bd4691cc4c0c", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023219Z:b35bf9a4-3b05-4258-9999-bd4691cc4c0c", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adlsdce852232/operationresults/0?api-version=2016-11-01", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "1360e902-b35b-4c26-b3a6-c7ac259d0b24", - "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"ffd2ce9f-a691-43bd-9c78-727fec699586\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adlsdce852232\",\"name\":\"adlsdce852232\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/ffd2ce9f-a691-43bd-9c78-727fec6995860?api-version=2016-11-01&expanded=true" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/ffd2ce9f-a691-43bd-9c78-727fec6995860?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:19 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "df97267e-619b-49e6-9291-8ed8f1140dd8", + "x-ms-correlation-request-id" : "d4de3c4a-6f1c-45b6-ad80-40552560f276", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023220Z:df97267e-619b-49e6-9291-8ed8f1140dd8", + "x-ms-routing-request-id" : "WESTUS2:20170908T215434Z:d4de3c4a-6f1c-45b6-ad80-40552560f276", "x-powered-by" : "ASP.NET", "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls111723303/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "9383493e-324a-4e1a-9378-b670aacb093f", - "Body" : "{\"status\":\"InProgress\"}" + "x-ms-request-id" : "87506ca9-8b84-4fb5-9cbd-f3b05cf24a8d", + "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"7f318b8f-2e3a-4b61-86be-6c2b39d3b08e\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls111723303\",\"name\":\"adls111723303\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/7f318b8f-2e3a-4b61-86be-6c2b39d3b08e0?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/ffd2ce9f-a691-43bd-9c78-727fec6995860?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/7f318b8f-2e3a-4b61-86be-6c2b39d3b08e0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:30 GMT", + "date" : "Fri, 08 Sep 2017 21:54:34 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "02289841-fd68-44d6-beed-135e79b76ddb", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023230Z:02289841-fd68-44d6-beed-135e79b76ddb", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "3fa8a60e-8586-4b38-bdef-d19b19086d58", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/ffd2ce9f-a691-43bd-9c78-727fec6995860?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:40 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "fd67a1ff-ed6b-4265-a555-6f3011f02179", + "x-ms-correlation-request-id" : "9116ba72-5528-493a-9323-4031b4b596b6", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023241Z:fd67a1ff-ed6b-4265-a555-6f3011f02179", + "x-ms-routing-request-id" : "WESTUS2:20170908T215435Z:9116ba72-5528-493a-9323-4031b4b596b6", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "b4c2ddc1-b72d-4486-b3a6-0e7c3d4c9442", + "x-ms-request-id" : "593bce0e-f23b-43bf-ade3-a2dd5c8ddab4", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/ffd2ce9f-a691-43bd-9c78-727fec6995860?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/7f318b8f-2e3a-4b61-86be-6c2b39d3b08e0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:51 GMT", + "date" : "Fri, 08 Sep 2017 21:55:05 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14991", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "46dc7275-41c4-451b-934b-3c284785fcef", + "x-ms-correlation-request-id" : "f92eff21-2537-404b-9171-d8184a5288f9", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023251Z:46dc7275-41c4-451b-934b-3c284785fcef", + "x-ms-routing-request-id" : "WESTUS2:20170908T215506Z:f92eff21-2537-404b-9171-d8184a5288f9", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "903c7064-2378-42f3-8ec9-a093c0e3ed54", + "x-ms-request-id" : "79805951-4fe4-42ae-ba3b-2af7aa8bc820", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adlsdce852232?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls111723303?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:51 GMT", + "date" : "Fri, 08 Sep 2017 21:55:06 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "737", + "content-length" : "785", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "x-ms-ratelimit-remaining-subscription-reads" : "14986", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "19354988-92a2-4653-ae1d-13a1e58820aa", + "x-ms-correlation-request-id" : "b807621a-7bf3-4afc-aaf1-cabacdf269a0", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023252Z:19354988-92a2-4653-ae1d-13a1e58820aa", + "x-ms-routing-request-id" : "WESTUS2:20170908T215506Z:b807621a-7bf3-4afc-aaf1-cabacdf269a0", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "9a82bb90-cb67-4fb5-a418-6da7ea4fc77c", - "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adlsdce852232.azuredatalakestore.net\",\"accountId\":\"ffd2ce9f-a691-43bd-9c78-727fec699586\",\"creationTime\":\"2017-01-31T02:32:20.5299056Z\",\"lastModifiedTime\":\"2017-01-31T02:32:20.5299056Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adlsdce852232\",\"name\":\"adlsdce852232\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" + "x-ms-request-id" : "5ccb3596-ea5e-4f38-922a-48f9b1df559d", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"firewallRules\":[],\"virtualNetworkRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adls111723303.azuredatalakestore.net\",\"accountId\":\"7f318b8f-2e3a-4b61-86be-6c2b39d3b08e\",\"creationTime\":\"2017-09-08T21:54:35.0547296Z\",\"lastModifiedTime\":\"2017-09-08T21:54:35.0547296Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls111723303\",\"name\":\"adls111723303\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:54 GMT", - "content-length" : "573", + "date" : "Fri, 08 Sep 2017 21:55:08 GMT", + "content-length" : "517", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "50b75d53-88a8-4888-acb1-59ee6a599ad9", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023254Z:50b75d53-88a8-4888-acb1-59ee6a599ad9", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407/operationresults/0?api-version=2016-11-01", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "44a5caed-4b8a-424f-a1a8-49c36d6bb088", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsdce852232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsdce852232\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"d1838737-b0bb-4acd-ab0e-411c41eb1590\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407\",\"name\":\"secondadla67407\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/d1838737-b0bb-4acd-ab0e-411c41eb15900?api-version=2016-11-01&expanded=true" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/d1838737-b0bb-4acd-ab0e-411c41eb15900?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:32:54 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "8930fdc4-a0ce-4a9f-ad76-76fc54b3e205", + "x-ms-correlation-request-id" : "93f4655e-5a4e-4e21-9146-8deba1fa2330", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023254Z:8930fdc4-a0ce-4a9f-ad76-76fc54b3e205", + "x-ms-routing-request-id" : "WESTUS2:20170908T215509Z:93f4655e-5a4e-4e21-9146-8deba1fa2330", "x-powered-by" : "ASP.NET", "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "01a24d3c-49dc-483e-b3fa-6da83bdc0e8a", - "Body" : "{\"status\":\"InProgress\"}" + "x-ms-request-id" : "3f1e9b9d-bb36-426a-95bf-361d0b8208e0", + "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls111723303\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls111723303\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"5cd6b5dd-a59d-4756-8174-6bf8fb174f49\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658\",\"name\":\"secondadla62658\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/5cd6b5dd-a59d-4756-8174-6bf8fb174f490?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/d1838737-b0bb-4acd-ab0e-411c41eb15900?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/5cd6b5dd-a59d-4756-8174-6bf8fb174f490?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:05 GMT", + "date" : "Fri, 08 Sep 2017 21:55:09 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14999", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "8614da5d-ab95-4355-a7b1-248a101fcee4", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023305Z:8614da5d-ab95-4355-a7b1-248a101fcee4", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "629d1473-9aca-4975-aa83-59723f0d1bdc", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/d1838737-b0bb-4acd-ab0e-411c41eb15900?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:15 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "27738681-b10d-45dc-a684-7dc4ac4e99e5", + "x-ms-correlation-request-id" : "42c5aee9-fd31-48d6-bc6f-6dca9aee769f", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023316Z:27738681-b10d-45dc-a684-7dc4ac4e99e5", + "x-ms-routing-request-id" : "WESTUS2:20170908T215510Z:42c5aee9-fd31-48d6-bc6f-6dca9aee769f", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "a6ae8755-e0f2-468b-a105-d12ec0f98709", + "x-ms-request-id" : "6b982c27-ba1f-4b4d-92af-ec510df038db", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/d1838737-b0bb-4acd-ab0e-411c41eb15900?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/5cd6b5dd-a59d-4756-8174-6bf8fb174f490?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:26 GMT", + "date" : "Fri, 08 Sep 2017 21:55:40 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "d9c01666-70a4-49e5-9b8f-3fc8017b204d", + "x-ms-correlation-request-id" : "6ca7646c-42ed-424b-968e-620ba3d1e59b", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023326Z:d9c01666-70a4-49e5-9b8f-3fc8017b204d", + "x-ms-routing-request-id" : "WESTUS2:20170908T215541Z:6ca7646c-42ed-424b-968e-620ba3d1e59b", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "81cb56d4-9207-4ff4-bc87-0f8d9cd90ee8", + "x-ms-request-id" : "c6daf316-1fed-4543-9573-2eaa22703716", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:26 GMT", + "date" : "Fri, 08 Sep 2017 21:55:41 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "892", + "content-length" : "1068", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14988", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "50d8c3a0-dbe0-4a96-97b4-3426781140f7", + "x-ms-correlation-request-id" : "74360b87-9f87-4ff6-8567-2caa8b819ce1", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023327Z:50d8c3a0-dbe0-4a96-97b4-3426781140f7", + "x-ms-routing-request-id" : "WESTUS2:20170908T215541Z:74360b87-9f87-4ff6-8567-2caa8b819ce1", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "0cfd3f28-8588-460d-abe4-8afe4b3cc1a8", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsdce852232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsdce852232\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":250,\"maxJobCount\":10,\"systemMaxDegreeOfParallelism\":250,\"systemMaxJobCount\":20,\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla67407.azuredatalakeanalytics.net\",\"accountId\":\"d1838737-b0bb-4acd-ab0e-411c41eb1590\",\"creationTime\":\"2017-01-31T02:32:55.7085854Z\",\"lastModifiedTime\":\"2017-01-31T02:32:55.7085854Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407\",\"name\":\"secondadla67407\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" + "x-ms-request-id" : "94597106-c6d1-47e4-9ac7-9bb83197bae2", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"debugDataAccessLevel\":\"All\",\"firewallRules\":[],\"defaultDataLakeStoreAccount\":\"adls111723303\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls111723303\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":100,\"maxJobCount\":20,\"systemMaxDegreeOfParallelism\":100,\"systemMaxJobCount\":20,\"maxDegreeOfParallelismPerJob\":100,\"minPriorityPerJob\":1,\"computePolicies\":[],\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla62658.azuredatalakeanalytics.net\",\"accountId\":\"5cd6b5dd-a59d-4756-8174-6bf8fb174f49\",\"creationTime\":\"2017-09-08T21:55:12.5946718Z\",\"lastModifiedTime\":\"2017-09-08T21:55:12.5946718Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658\",\"name\":\"secondadla62658\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530?api-version=2016-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388?api-version=2016-01-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (StorageManagementClient, 2016-01-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (StorageManagementClient, 2016-01-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:28 GMT", + "date" : "Fri, 08 Sep 2017 21:55:42 GMT", "content-length" : "0", "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "retry-after" : "0", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "dd62288e-07c4-4ef1-bc6f-84b7448372d2", + "x-ms-correlation-request-id" : "4e5714c8-c755-4e5d-9e9d-c25eff751687", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023328Z:dd62288e-07c4-4ef1-bc6f-84b7448372d2", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/54f320dd-1bfd-4e9a-bf6c-6383844261a4?monitor=true&api-version=2016-01-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215543Z:4e5714c8-c755-4e5d-9e9d-c25eff751687", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/57501b95-f1ae-4d2e-b88c-92040776ea27?monitor=true&api-version=2016-01-01", "cache-control" : "no-cache", - "x-ms-request-id" : "dd62288e-07c4-4ef1-bc6f-84b7448372d2", + "x-ms-request-id" : "4e5714c8-c755-4e5d-9e9d-c25eff751687", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/54f320dd-1bfd-4e9a-bf6c-6383844261a4?monitor=true&api-version=2016-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/57501b95-f1ae-4d2e-b88c-92040776ea27?monitor=true&api-version=2016-01-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (StorageManagementClient, 2016-01-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (StorageManagementClient, 2016-01-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:28 GMT", + "date" : "Fri, 08 Sep 2017 21:55:42 GMT", "content-length" : "0", "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "x-ms-ratelimit-remaining-subscription-reads" : "14994", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "3267ed4b-5e9f-43c0-8914-3f4408403f0c", + "x-ms-correlation-request-id" : "9cd584cd-10ab-4690-82c3-61953ed00466", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023329Z:3267ed4b-5e9f-43c0-8914-3f4408403f0c", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/54f320dd-1bfd-4e9a-bf6c-6383844261a4?monitor=true&api-version=2016-01-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215543Z:9cd584cd-10ab-4690-82c3-61953ed00466", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/57501b95-f1ae-4d2e-b88c-92040776ea27?monitor=true&api-version=2016-01-01", "cache-control" : "no-cache", - "x-ms-request-id" : "3267ed4b-5e9f-43c0-8914-3f4408403f0c", + "x-ms-request-id" : "9cd584cd-10ab-4690-82c3-61953ed00466", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/54f320dd-1bfd-4e9a-bf6c-6383844261a4?monitor=true&api-version=2016-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/57501b95-f1ae-4d2e-b88c-92040776ea27?monitor=true&api-version=2016-01-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (StorageManagementClient, 2016-01-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (StorageManagementClient, 2016-01-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:45 GMT", + "date" : "Fri, 08 Sep 2017 21:55:59 GMT", "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0", "content-length" : "703", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14993", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "278e357d-91a6-44b3-826e-586e6c903863", + "x-ms-correlation-request-id" : "2dc4d793-ae60-4157-8cb2-4cce1ea84c45", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023346Z:278e357d-91a6-44b3-826e-586e6c903863", + "x-ms-routing-request-id" : "WESTUS2:20170908T215600Z:2dc4d793-ae60-4157-8cb2-4cce1ea84c45", "content-type" : "application/json", "cache-control" : "no-cache", - "x-ms-request-id" : "278e357d-91a6-44b3-826e-586e6c903863", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530\",\"kind\":\"Storage\",\"location\":\"eastus2\",\"name\":\"wasb53a250530\",\"properties\":{\"creationTime\":\"2017-01-31T02:33:28.4632698Z\",\"primaryEndpoints\":{\"blob\":\"https://wasb53a250530.blob.core.windows.net/\",\"file\":\"https://wasb53a250530.file.core.windows.net/\",\"queue\":\"https://wasb53a250530.queue.core.windows.net/\",\"table\":\"https://wasb53a250530.table.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"provisioningState\":\"Succeeded\",\"statusOfPrimary\":\"available\"},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n" + "x-ms-request-id" : "2dc4d793-ae60-4157-8cb2-4cce1ea84c45", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388\",\"kind\":\"Storage\",\"location\":\"eastus2\",\"name\":\"wasb3de769388\",\"properties\":{\"creationTime\":\"2017-09-08T21:55:43.4469357Z\",\"primaryEndpoints\":{\"blob\":\"https://wasb3de769388.blob.core.windows.net/\",\"file\":\"https://wasb3de769388.file.core.windows.net/\",\"queue\":\"https://wasb3de769388.queue.core.windows.net/\",\"table\":\"https://wasb3de769388.table.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"provisioningState\":\"Succeeded\",\"statusOfPrimary\":\"available\"},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530?api-version=2016-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388?api-version=2016-01-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (StorageManagementClient, 2016-01-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (StorageManagementClient, 2016-01-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:45 GMT", + "date" : "Fri, 08 Sep 2017 21:55:59 GMT", "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0", "content-length" : "703", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "x-ms-ratelimit-remaining-subscription-reads" : "14992", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "9a763a6f-b7bb-4aca-8e8c-f10a1a1074f1", + "x-ms-correlation-request-id" : "a1baed48-32f5-4738-a125-9886afcb3a72", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023346Z:9a763a6f-b7bb-4aca-8e8c-f10a1a1074f1", + "x-ms-routing-request-id" : "WESTUS2:20170908T215600Z:a1baed48-32f5-4738-a125-9886afcb3a72", "content-type" : "application/json", "cache-control" : "no-cache", - "x-ms-request-id" : "9a763a6f-b7bb-4aca-8e8c-f10a1a1074f1", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530\",\"kind\":\"Storage\",\"location\":\"eastus2\",\"name\":\"wasb53a250530\",\"properties\":{\"creationTime\":\"2017-01-31T02:33:28.4632698Z\",\"primaryEndpoints\":{\"blob\":\"https://wasb53a250530.blob.core.windows.net/\",\"file\":\"https://wasb53a250530.file.core.windows.net/\",\"queue\":\"https://wasb53a250530.queue.core.windows.net/\",\"table\":\"https://wasb53a250530.table.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"provisioningState\":\"Succeeded\",\"statusOfPrimary\":\"available\"},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n" + "x-ms-request-id" : "a1baed48-32f5-4738-a125-9886afcb3a72", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388\",\"kind\":\"Storage\",\"location\":\"eastus2\",\"name\":\"wasb3de769388\",\"properties\":{\"creationTime\":\"2017-09-08T21:55:43.4469357Z\",\"primaryEndpoints\":{\"blob\":\"https://wasb3de769388.blob.core.windows.net/\",\"file\":\"https://wasb3de769388.file.core.windows.net/\",\"queue\":\"https://wasb3de769388.queue.core.windows.net/\",\"table\":\"https://wasb3de769388.table.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"provisioningState\":\"Succeeded\",\"statusOfPrimary\":\"available\"},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530?api-version=2016-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388?api-version=2016-01-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (StorageManagementClient, 2016-01-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (StorageManagementClient, 2016-01-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:45 GMT", + "date" : "Fri, 08 Sep 2017 21:55:59 GMT", "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0", "content-length" : "703", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14994", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "2e0a3a80-2336-4991-8b01-ef01bc86a8ba", + "x-ms-correlation-request-id" : "9f1af413-63b5-4c73-9dc8-756cade22970", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023346Z:2e0a3a80-2336-4991-8b01-ef01bc86a8ba", + "x-ms-routing-request-id" : "WESTUS2:20170908T215600Z:9f1af413-63b5-4c73-9dc8-756cade22970", "content-type" : "application/json", "cache-control" : "no-cache", - "x-ms-request-id" : "2e0a3a80-2336-4991-8b01-ef01bc86a8ba", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530\",\"kind\":\"Storage\",\"location\":\"eastus2\",\"name\":\"wasb53a250530\",\"properties\":{\"creationTime\":\"2017-01-31T02:33:28.4632698Z\",\"primaryEndpoints\":{\"blob\":\"https://wasb53a250530.blob.core.windows.net/\",\"file\":\"https://wasb53a250530.file.core.windows.net/\",\"queue\":\"https://wasb53a250530.queue.core.windows.net/\",\"table\":\"https://wasb53a250530.table.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"provisioningState\":\"Succeeded\",\"statusOfPrimary\":\"available\"},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n" + "x-ms-request-id" : "9f1af413-63b5-4c73-9dc8-756cade22970", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388\",\"kind\":\"Storage\",\"location\":\"eastus2\",\"name\":\"wasb3de769388\",\"properties\":{\"creationTime\":\"2017-09-08T21:55:43.4469357Z\",\"primaryEndpoints\":{\"blob\":\"https://wasb3de769388.blob.core.windows.net/\",\"file\":\"https://wasb3de769388.file.core.windows.net/\",\"queue\":\"https://wasb3de769388.queue.core.windows.net/\",\"table\":\"https://wasb3de769388.table.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"provisioningState\":\"Succeeded\",\"statusOfPrimary\":\"available\"},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n" } }, { "Method" : "POST", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.Storage/storageAccounts/wasb53a250530/listKeys?api-version=2016-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.Storage/storageAccounts/wasb3de769388/listKeys?api-version=2016-01-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (StorageManagementClient, 2016-01-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (StorageManagementClient, 2016-01-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:45 GMT", + "date" : "Fri, 08 Sep 2017 21:56:00 GMT", "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0", "content-length" : "289", "expires" : "-1", "transfer-encoding" : "chunked", "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "940c7f07-6adb-4358-9403-5cc5a375dfb9", + "x-ms-correlation-request-id" : "abe9b383-0b81-4ce0-9c23-b21a7f661a95", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023346Z:940c7f07-6adb-4358-9403-5cc5a375dfb9", + "x-ms-routing-request-id" : "WESTUS2:20170908T215600Z:abe9b383-0b81-4ce0-9c23-b21a7f661a95", "content-type" : "application/json", "cache-control" : "no-cache", - "x-ms-request-id" : "940c7f07-6adb-4358-9403-5cc5a375dfb9", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"permissions\":\"Full\",\"value\":\"DxsuAwmQ9MHM7Iyozl8RHJMacnj1XtmZeTAEPy1OVeD7Lhrr582qum+F8IH2XXaBkEpH0MI3XVolBhpEmXDtlA==\"},{\"keyName\":\"key2\",\"permissions\":\"Full\",\"value\":\"IRRI/yk+ymZufAi5nCuukpcYN7D1X4al3XtXNAuUsnXMj5kXtP5jGOmO/3fd5EYPD3niv+dP4HwmRkPN2DHchA==\"}]}\n" + "x-ms-request-id" : "abe9b383-0b81-4ce0-9c23-b21a7f661a95", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"permissions\":\"Full\",\"value\":\"CEBIB95Ewvn835lMwE6mlhNhb9zXqaS/sHE6nnNs7Ql8lSXPK4sW7W6To7/V3IwKHDZh1Qb+JK3NkMe8mzLAQg==\"},{\"keyName\":\"key2\",\"permissions\":\"Full\",\"value\":\"MCt43sZwJVvIOsAqUOXUm7iXopKJ+kMBq55RTNCcpIDH002AjDQpo3YznMDOFLDxu563i/kAZXrQU9YzTXuc6g==\"}]}\n" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adls299460672d?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls2bbf83080b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:46 GMT", - "content-length" : "417", + "date" : "Fri, 08 Sep 2017 21:56:01 GMT", + "content-length" : "361", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1194", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "fb9637fc-f24a-4719-87c5-cdc76f83332f", + "x-ms-correlation-request-id" : "ef168ea5-9794-4b2c-9e3b-0110d6fc3e96", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023347Z:fb9637fc-f24a-4719-87c5-cdc76f83332f", + "x-ms-routing-request-id" : "WESTUS2:20170908T215602Z:ef168ea5-9794-4b2c-9e3b-0110d6fc3e96", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adls299460672d/operationresults/0?api-version=2016-11-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls2bbf83080b/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "92490b49-ea74-4c3e-af4e-cc4bf9313c2f", - "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adls299460672d\",\"name\":\"adls299460672d\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b0?api-version=2016-11-01&expanded=true" + "x-ms-request-id" : "f44ca7fc-8bd7-4503-85ba-2e9ec1ca02ba", + "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"e25ca788-768d-448a-a753-edc2ebe94176\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls2bbf83080b\",\"name\":\"adls2bbf83080b\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/e25ca788-768d-448a-a753-edc2ebe941760?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/e25ca788-768d-448a-a753-edc2ebe941760?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:47 GMT", + "date" : "Fri, 08 Sep 2017 21:56:01 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "a6177592-9135-423d-b6ac-d0a69eab2610", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023347Z:a6177592-9135-423d-b6ac-d0a69eab2610", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "2062c5ac-3969-4160-8e10-0bd2f9b303b7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b0?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:33:58 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "244f58d5-f948-4fda-b9e7-ba97a97b2053", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023358Z:244f58d5-f948-4fda-b9e7-ba97a97b2053", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "e22c73ce-21c4-489b-a852-5279a24c4c25", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b0?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:08 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14992", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "5d5d01d0-0fed-4d4d-b07e-fc4a4350c407", + "x-ms-correlation-request-id" : "6dadc8da-f5cc-46a7-a6ca-abab355eb780", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023409Z:5d5d01d0-0fed-4d4d-b07e-fc4a4350c407", + "x-ms-routing-request-id" : "WESTUS2:20170908T215602Z:6dadc8da-f5cc-46a7-a6ca-abab355eb780", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "d28054ab-6241-49dd-abd5-445179a0dab0", + "x-ms-request-id" : "b3da2380-9c9d-4120-883a-9b4c0980e38c", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/e25ca788-768d-448a-a753-edc2ebe941760?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:18 GMT", + "date" : "Fri, 08 Sep 2017 21:56:32 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14987", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "ce2368c8-2888-4458-8481-7caa65abbbd7", + "x-ms-correlation-request-id" : "ec5fceda-9687-4e0c-8be1-18374bdde886", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023419Z:ce2368c8-2888-4458-8481-7caa65abbbd7", + "x-ms-routing-request-id" : "WESTUS2:20170908T215633Z:ec5fceda-9687-4e0c-8be1-18374bdde886", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "f4e9015a-c467-4f64-96b9-a4e9253ff9e8", + "x-ms-request-id" : "47f08508-9dae-45b9-8f92-5b7ef6efee71", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adls299460672d?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls2bbf83080b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:19 GMT", + "date" : "Fri, 08 Sep 2017 21:56:33 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "740", + "content-length" : "788", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14990", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "d6d314f3-644d-4a49-9899-2e6e7aa17ceb", + "x-ms-correlation-request-id" : "770729c8-9d9b-4aed-b6a3-57f9b4c69d7e", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023420Z:d6d314f3-644d-4a49-9899-2e6e7aa17ceb", + "x-ms-routing-request-id" : "WESTUS2:20170908T215633Z:770729c8-9d9b-4aed-b6a3-57f9b4c69d7e", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "6d8ee8f2-2c3c-48af-9bcf-a710a8381a8c", - "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adls299460672d.azuredatalakestore.net\",\"accountId\":\"c7047d57-b2cf-4f84-a28e-8e3c4c89cd6b\",\"creationTime\":\"2017-01-31T02:33:48.5269276Z\",\"lastModifiedTime\":\"2017-01-31T02:33:48.5269276Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeStore/accounts/adls299460672d\",\"name\":\"adls299460672d\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" + "x-ms-request-id" : "97c33459-ece1-40c9-9dff-77ebd451e4a1", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"firewallRules\":[],\"virtualNetworkRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adls2bbf83080b.azuredatalakestore.net\",\"accountId\":\"e25ca788-768d-448a-a753-edc2ebe94176\",\"creationTime\":\"2017-09-08T21:56:01.9592451Z\",\"lastModifiedTime\":\"2017-09-08T21:56:01.9592451Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeStore/accounts/adls2bbf83080b\",\"name\":\"adls2bbf83080b\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:21 GMT", - "content-length" : "588", + "date" : "Fri, 08 Sep 2017 21:56:36 GMT", + "content-length" : "544", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", @@ -699,228 +531,172 @@ "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "4aed316b-736d-450a-b36e-33fbb4884ec2", + "x-ms-correlation-request-id" : "b18ed026-998a-4b77-9226-1b6255072746", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023421Z:4aed316b-736d-450a-b36e-33fbb4884ec2", + "x-ms-routing-request-id" : "WESTUS2:20170908T215636Z:b18ed026-998a-4b77-9226-1b6255072746", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/operationresults/0?api-version=2016-11-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "e7395618-e851-407b-b5d0-8616bfc46022", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsdce852232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsdce852232\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"391318d3-3caf-40d7-beeb-e5737ec57cff\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f\",\"name\":\"adladcb90748f\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/391318d3-3caf-40d7-beeb-e5737ec57cff0?api-version=2016-11-01&expanded=true" + "x-ms-request-id" : "d2cba898-dc4d-4ec1-871d-2b6fc62002ce", + "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls111723303\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls111723303\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"b6dad25d-f854-42ff-b40f-c29280e606fa\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971\",\"name\":\"adladd0243971\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/b6dad25d-f854-42ff-b40f-c29280e606fa0?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/391318d3-3caf-40d7-beeb-e5737ec57cff0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/b6dad25d-f854-42ff-b40f-c29280e606fa0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:21 GMT", + "date" : "Fri, 08 Sep 2017 21:56:37 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "0b9e572d-c735-4536-8f48-56ec2762bde0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023422Z:0b9e572d-c735-4536-8f48-56ec2762bde0", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "9a512470-4b22-4b4c-9ee8-5e824dd397ee", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/391318d3-3caf-40d7-beeb-e5737ec57cff0?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:32 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "8d003275-be04-4f58-aaaa-67ab4cfbe0c3", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023433Z:8d003275-be04-4f58-aaaa-67ab4cfbe0c3", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "13e64f08-54ce-4482-b66b-645f7ea862f6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/391318d3-3caf-40d7-beeb-e5737ec57cff0?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:43 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "x-ms-ratelimit-remaining-subscription-reads" : "14993", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "7d9287dc-d326-451d-90a9-5536fefbd956", + "x-ms-correlation-request-id" : "4ab6a31f-8e07-425d-bbcb-52156b8793f4", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023444Z:7d9287dc-d326-451d-90a9-5536fefbd956", + "x-ms-routing-request-id" : "WESTUS2:20170908T215637Z:4ab6a31f-8e07-425d-bbcb-52156b8793f4", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "8e40e108-5b2f-4303-8e75-8b4c595c4785", + "x-ms-request-id" : "44eff50f-b633-4b03-ae8a-36bc409e1584", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/391318d3-3caf-40d7-beeb-e5737ec57cff0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/b6dad25d-f854-42ff-b40f-c29280e606fa0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:54 GMT", + "date" : "Fri, 08 Sep 2017 21:57:07 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "x-ms-ratelimit-remaining-subscription-reads" : "14987", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "9db49798-6756-47b7-a755-49fc20818c7b", + "x-ms-correlation-request-id" : "fa53589b-6dfd-4a8e-912b-3025c6baeaf4", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023454Z:9db49798-6756-47b7-a755-49fc20818c7b", + "x-ms-routing-request-id" : "WESTUS2:20170908T215708Z:fa53589b-6dfd-4a8e-912b-3025c6baeaf4", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "f22556f9-62ea-49c5-b612-35aa04cf0a8c", + "x-ms-request-id" : "cae89eb5-49f4-4df6-901d-d1206a6baac6", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:55 GMT", + "date" : "Fri, 08 Sep 2017 21:57:08 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "905", + "content-length" : "1093", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "ff602dca-92e6-4856-873f-49db4903d588", + "x-ms-correlation-request-id" : "efc66255-b912-4c72-98e4-cac2b22de203", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023455Z:ff602dca-92e6-4856-873f-49db4903d588", + "x-ms-routing-request-id" : "WESTUS2:20170908T215708Z:efc66255-b912-4c72-98e4-cac2b22de203", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "5343f123-7432-471c-a875-de0e736746b2", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsdce852232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsdce852232\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":250,\"maxJobCount\":10,\"systemMaxDegreeOfParallelism\":250,\"systemMaxJobCount\":20,\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladcb90748f.azuredatalakeanalytics.net\",\"accountId\":\"391318d3-3caf-40d7-beeb-e5737ec57cff\",\"creationTime\":\"2017-01-31T02:34:23.7380265Z\",\"lastModifiedTime\":\"2017-01-31T02:34:23.7380265Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f\",\"name\":\"adladcb90748f\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" + "x-ms-request-id" : "1321c0a1-eb9e-4fd8-96e6-52b9821313b3", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"debugDataAccessLevel\":\"All\",\"firewallRules\":[],\"defaultDataLakeStoreAccount\":\"adls111723303\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls111723303\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":100,\"maxJobCount\":20,\"systemMaxDegreeOfParallelism\":100,\"systemMaxJobCount\":20,\"maxDegreeOfParallelismPerJob\":100,\"minPriorityPerJob\":1,\"computePolicies\":[],\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladd0243971.azuredatalakeanalytics.net\",\"accountId\":\"b6dad25d-f854-42ff-b40f-c29280e606fa\",\"creationTime\":\"2017-09-08T21:56:38.5113127Z\",\"lastModifiedTime\":\"2017-09-08T21:56:38.5113127Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971\",\"name\":\"adladd0243971\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" } }, { "Method" : "PATCH", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:56 GMT", + "date" : "Fri, 08 Sep 2017 21:57:10 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "846", + "content-length" : "1034", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "86b4eda8-8f2d-44cc-9c3b-74188481ce5e", + "x-ms-correlation-request-id" : "9b7be837-9284-4b6e-a5b8-918f9592b9be", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023457Z:86b4eda8-8f2d-44cc-9c3b-74188481ce5e", + "x-ms-routing-request-id" : "WESTUS2:20170908T215710Z:9b7be837-9284-4b6e-a5b8-918f9592b9be", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "b39a5771-98e0-4644-bea9-a7a1caa5b1f2", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsdce852232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsdce852232\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":250,\"maxJobCount\":10,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladcb90748f.azuredatalakeanalytics.net\",\"accountId\":\"391318d3-3caf-40d7-beeb-e5737ec57cff\",\"creationTime\":\"2017-01-31T02:34:23.7380265Z\",\"lastModifiedTime\":\"2017-01-31T02:34:56.8709197Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f\",\"name\":\"adladcb90748f\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" + "x-ms-request-id" : "0599913b-c564-4711-8979-f2d25cd300bb", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"debugDataAccessLevel\":\"All\",\"firewallRules\":[],\"defaultDataLakeStoreAccount\":\"adls111723303\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls111723303\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":100,\"maxJobCount\":20,\"maxDegreeOfParallelismPerJob\":100,\"minPriorityPerJob\":1,\"computePolicies\":[],\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladd0243971.azuredatalakeanalytics.net\",\"accountId\":\"b6dad25d-f854-42ff-b40f-c29280e606fa\",\"creationTime\":\"2017-09-08T21:56:38.5113127Z\",\"lastModifiedTime\":\"2017-09-08T21:57:10.3684917Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971\",\"name\":\"adladd0243971\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:57 GMT", + "date" : "Fri, 08 Sep 2017 21:57:11 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "929", + "content-length" : "1117", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "x-ms-ratelimit-remaining-subscription-reads" : "14994", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "25a0f2bb-00fb-422f-8170-ae8e1a08e574", + "x-ms-correlation-request-id" : "af3da7c2-4da7-4ba5-90cb-a13a1d5c08d1", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023458Z:25a0f2bb-00fb-422f-8170-ae8e1a08e574", + "x-ms-routing-request-id" : "WESTUS2:20170908T215711Z:af3da7c2-4da7-4ba5-90cb-a13a1d5c08d1", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "0e337b2e-1113-40cf-8506-9cf1c5e3efb6", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsdce852232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsdce852232\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":250,\"maxJobCount\":10,\"systemMaxDegreeOfParallelism\":250,\"systemMaxJobCount\":20,\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladcb90748f.azuredatalakeanalytics.net\",\"accountId\":\"391318d3-3caf-40d7-beeb-e5737ec57cff\",\"creationTime\":\"2017-01-31T02:34:23.7380265Z\",\"lastModifiedTime\":\"2017-01-31T02:34:56.8709197Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f\",\"name\":\"adladcb90748f\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" + "x-ms-request-id" : "dfed90b0-bdb2-4e91-bc73-a944fd4fbea9", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"debugDataAccessLevel\":\"All\",\"firewallRules\":[],\"defaultDataLakeStoreAccount\":\"adls111723303\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls111723303\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":100,\"maxJobCount\":20,\"systemMaxDegreeOfParallelism\":100,\"systemMaxJobCount\":20,\"maxDegreeOfParallelismPerJob\":100,\"minPriorityPerJob\":1,\"computePolicies\":[],\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladd0243971.azuredatalakeanalytics.net\",\"accountId\":\"b6dad25d-f854-42ff-b40f-c29280e606fa\",\"creationTime\":\"2017-09-08T21:56:38.5113127Z\",\"lastModifiedTime\":\"2017-09-08T21:57:10.3684917Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971\",\"name\":\"adladd0243971\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/accounts?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/accounts?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:58 GMT", + "date" : "Fri, 08 Sep 2017 21:57:11 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "2127", + "content-length" : "1603", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", @@ -928,55 +704,55 @@ "x-ms-ratelimit-remaining-subscription-reads" : "14997", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "a35573c7-e18a-4d63-a10d-d2f2b344612f", + "x-ms-correlation-request-id" : "cbc30b72-9a6c-4512-bbd8-0d088c5ac2c0", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023458Z:a35573c7-e18a-4d63-a10d-d2f2b344612f", + "x-ms-routing-request-id" : "WESTUS2:20170908T215712Z:cbc30b72-9a6c-4512-bbd8-0d088c5ac2c0", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "a3e63de4-9b3c-44cd-8b92-61a47c07a8c3", - "Body" : "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla64104.azuredatalakeanalytics.net\",\"accountId\":\"ecd0dd7d-589b-4f84-b34d-7a37eddea994\",\"creationTime\":\"2017-01-28T00:05:37.259854Z\",\"lastModifiedTime\":\"2017-01-28T00:05:37.259854Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarge7733123/providers/Microsoft.DataLakeAnalytics/accounts/secondadla64104\",\"name\":\"secondadla64104\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladcb90748f.azuredatalakeanalytics.net\",\"accountId\":\"391318d3-3caf-40d7-beeb-e5737ec57cff\",\"creationTime\":\"2017-01-31T02:34:23.7380265Z\",\"lastModifiedTime\":\"2017-01-31T02:34:56.8709197Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f\",\"name\":\"adladcb90748f\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla67407.azuredatalakeanalytics.net\",\"accountId\":\"d1838737-b0bb-4acd-ab0e-411c41eb1590\",\"creationTime\":\"2017-01-31T02:32:55.7085854Z\",\"lastModifiedTime\":\"2017-01-31T02:32:55.7085854Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407\",\"name\":\"secondadla67407\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"onesdk6406.azuredatalakeanalytics.net\",\"accountId\":\"0edf4635-9a8c-4ca4-8be9-e5c71ecb2eac\",\"creationTime\":\"2017-01-11T01:28:16.4769215Z\",\"lastModifiedTime\":\"2017-01-11T01:28:16.4769215Z\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/onesdk7046/providers/Microsoft.DataLakeAnalytics/accounts/onesdk6406\",\"name\":\"onesdk6406\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}]}" + "x-ms-request-id" : "cecf944c-546a-4d22-8b40-4bac4e7d7b1c", + "Body" : "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladd0243971.azuredatalakeanalytics.net\",\"accountId\":\"b6dad25d-f854-42ff-b40f-c29280e606fa\",\"creationTime\":\"2017-09-08T21:56:38.5113127Z\",\"lastModifiedTime\":\"2017-09-08T21:57:10.3684917Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971\",\"name\":\"adladd0243971\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla62658.azuredatalakeanalytics.net\",\"accountId\":\"5cd6b5dd-a59d-4756-8174-6bf8fb174f49\",\"creationTime\":\"2017-09-08T21:55:12.5946718Z\",\"lastModifiedTime\":\"2017-09-08T21:55:12.5946718Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658\",\"name\":\"secondadla62658\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"begoldsmdla01.azuredatalakeanalytics.net\",\"accountId\":\"26aa3b77-01a7-486a-af33-fedb4ced8b8b\",\"creationTime\":\"2017-04-13T18:27:51.865156Z\",\"lastModifiedTime\":\"2017-04-13T18:27:51.865156Z\"},\"location\":\"eastus2\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/begoldsmadlsrg01/providers/Microsoft.DataLakeAnalytics/accounts/begoldsmdla01\",\"name\":\"begoldsmdla01\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}]}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:34:59 GMT", + "date" : "Fri, 08 Sep 2017 21:57:12 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "1098", + "content-length" : "1086", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14989", + "x-ms-ratelimit-remaining-subscription-reads" : "14990", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "98aede53-a39c-40e9-b729-33378a175187", + "x-ms-correlation-request-id" : "20b0f532-25e2-4594-914b-ba660f9d572a", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023459Z:98aede53-a39c-40e9-b729-33378a175187", + "x-ms-routing-request-id" : "WESTUS2:20170908T215712Z:20b0f532-25e2-4594-914b-ba660f9d572a", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "a6e0c8b3-18b7-4c2f-a141-686b92bd661d", - "Body" : "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladcb90748f.azuredatalakeanalytics.net\",\"accountId\":\"391318d3-3caf-40d7-beeb-e5737ec57cff\",\"creationTime\":\"2017-01-31T02:34:23.7380265Z\",\"lastModifiedTime\":\"2017-01-31T02:34:56.8709197Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f\",\"name\":\"adladcb90748f\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla67407.azuredatalakeanalytics.net\",\"accountId\":\"d1838737-b0bb-4acd-ab0e-411c41eb1590\",\"creationTime\":\"2017-01-31T02:32:55.7085854Z\",\"lastModifiedTime\":\"2017-01-31T02:32:55.7085854Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/secondadla67407\",\"name\":\"secondadla67407\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}]}" + "x-ms-request-id" : "45befa93-cd64-4ab2-b02c-792223119679", + "Body" : "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adladd0243971.azuredatalakeanalytics.net\",\"accountId\":\"b6dad25d-f854-42ff-b40f-c29280e606fa\",\"creationTime\":\"2017-09-08T21:56:38.5113127Z\",\"lastModifiedTime\":\"2017-09-08T21:57:10.3684917Z\"},\"location\":\"eastus2\",\"tags\":{\"testkey\":\"testvalue\",\"testkey2\":\"testvalue2\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971\",\"name\":\"adladd0243971\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla62658.azuredatalakeanalytics.net\",\"accountId\":\"5cd6b5dd-a59d-4756-8174-6bf8fb174f49\",\"creationTime\":\"2017-09-08T21:55:12.5946718Z\",\"lastModifiedTime\":\"2017-09-08T21:55:12.5946718Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/secondadla62658\",\"name\":\"secondadla62658\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}]}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/DataLakeStoreAccounts/adls299460672d?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/DataLakeStoreAccounts/adls2bbf83080b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:00 GMT", + "date" : "Fri, 08 Sep 2017 21:57:13 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "329", "expires" : "-1", @@ -986,226 +762,226 @@ "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "027ca4bc-45e2-4b8d-b0e6-3476b476c6d0", + "x-ms-correlation-request-id" : "c6194a30-d43a-43d8-873f-125f8ca84ea2", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023500Z:027ca4bc-45e2-4b8d-b0e6-3476b476c6d0", + "x-ms-routing-request-id" : "WESTUS2:20170908T215713Z:c6194a30-d43a-43d8-873f-125f8ca84ea2", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "49ab0683-f667-497a-b2ab-0d657600f75f", - "Body" : "{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/dataLakeStoreAccounts/adls299460672d\",\"name\":\"adls299460672d\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}" + "x-ms-request-id" : "84768d57-9d3e-4c4c-8f1a-8db242f24e4d", + "Body" : "{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/dataLakeStoreAccounts/adls2bbf83080b\",\"name\":\"adls2bbf83080b\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/DataLakeStoreAccounts/?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/DataLakeStoreAccounts/?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:00 GMT", + "date" : "Fri, 08 Sep 2017 21:57:14 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "669", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14985", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "1700dc19-1cd4-4b06-9c83-1aafd0d695df", + "x-ms-correlation-request-id" : "328143ae-f2b0-4edc-962d-5254254b3b80", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023500Z:1700dc19-1cd4-4b06-9c83-1aafd0d695df", + "x-ms-routing-request-id" : "WESTUS2:20170908T215714Z:328143ae-f2b0-4edc-962d-5254254b3b80", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "ca79a3d6-e9b6-4f47-81c2-1476670cace1", - "Body" : "{\"value\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/dataLakeStoreAccounts/adls299460672d\",\"name\":\"adls299460672d\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"},{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/dataLakeStoreAccounts/adlsdce852232\",\"name\":\"adlsdce852232\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}]}" + "x-ms-request-id" : "62b70344-e9d9-4dc0-9ef9-a3c82aef2387", + "Body" : "{\"value\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/dataLakeStoreAccounts/adls111723303\",\"name\":\"adls111723303\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"},{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/dataLakeStoreAccounts/adls2bbf83080b\",\"name\":\"adls2bbf83080b\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}]}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/DataLakeStoreAccounts/adls299460672d?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/DataLakeStoreAccounts/adls2bbf83080b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:00 GMT", + "date" : "Fri, 08 Sep 2017 21:57:14 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "329", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "660b494f-d7ac-435d-8cc1-6bb2e1213b03", + "x-ms-correlation-request-id" : "7f22dbe1-a515-47c8-bdeb-1dc79009ab7a", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023501Z:660b494f-d7ac-435d-8cc1-6bb2e1213b03", + "x-ms-routing-request-id" : "WESTUS2:20170908T215715Z:7f22dbe1-a515-47c8-bdeb-1dc79009ab7a", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "3f144dba-e27a-4567-b134-516d076cb67b", - "Body" : "{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/dataLakeStoreAccounts/adls299460672d\",\"name\":\"adls299460672d\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}" + "x-ms-request-id" : "69f151ae-8bbe-45a9-a870-6f1fe5cbc461", + "Body" : "{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/dataLakeStoreAccounts/adls2bbf83080b\",\"name\":\"adls2bbf83080b\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}" } }, { "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/DataLakeStoreAccounts/adls299460672d?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/DataLakeStoreAccounts/adls2bbf83080b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:01 GMT", + "date" : "Fri, 08 Sep 2017 21:57:15 GMT", "content-length" : "0", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "009c03a9-f5a7-4829-8268-6d461791b65d", + "x-ms-correlation-request-id" : "ce2860f8-8b9e-46bc-872f-998fea4baf56", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023502Z:009c03a9-f5a7-4829-8268-6d461791b65d", + "x-ms-routing-request-id" : "WESTUS2:20170908T215716Z:ce2860f8-8b9e-46bc-872f-998fea4baf56", "x-powered-by" : "ASP.NET", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "869e175b-d8fc-446f-ae50-5b4b04f4b7b7", + "x-ms-request-id" : "0327d229-310c-4054-9db0-1e5da1221798", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/DataLakeStoreAccounts/?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/DataLakeStoreAccounts/?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:02 GMT", + "date" : "Fri, 08 Sep 2017 21:57:16 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "339", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14994", + "x-ms-ratelimit-remaining-subscription-reads" : "14990", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "6cc15f29-0eb0-406e-a21d-a0880c28ef8e", + "x-ms-correlation-request-id" : "94abc3ab-996f-4c6a-8f27-f40d37ad985e", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023502Z:6cc15f29-0eb0-406e-a21d-a0880c28ef8e", + "x-ms-routing-request-id" : "WESTUS2:20170908T215717Z:94abc3ab-996f-4c6a-8f27-f40d37ad985e", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "6e3d3db2-d261-4a38-abbf-b9410373adf4", - "Body" : "{\"value\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/dataLakeStoreAccounts/adlsdce852232\",\"name\":\"adlsdce852232\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}]}" + "x-ms-request-id" : "33207845-169a-4f9c-88bd-75932c437fc4", + "Body" : "{\"value\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/dataLakeStoreAccounts/adls111723303\",\"name\":\"adls111723303\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts\"}]}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/StorageAccounts/wasb53a250530?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/StorageAccounts/wasb3de769388?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:04 GMT", + "date" : "Fri, 08 Sep 2017 21:57:17 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "309", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "8f1655f5-ae59-4068-b448-1fe8eb73a42a", + "x-ms-correlation-request-id" : "dbba7ebc-4318-4194-8fb9-ed72f7fe5170", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023504Z:8f1655f5-ae59-4068-b448-1fe8eb73a42a", + "x-ms-routing-request-id" : "WESTUS2:20170908T215718Z:dbba7ebc-4318-4194-8fb9-ed72f7fe5170", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "993b1d39-4aa0-4a1f-8097-f29739dcd5bc", - "Body" : "{\"properties\":{\"suffix\":\"core.windows.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/storageAccounts/wasb53a250530\",\"name\":\"wasb53a250530\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/storageAccounts\"}" + "x-ms-request-id" : "e71745d4-f17e-4c10-af9b-6a33c9efba3f", + "Body" : "{\"properties\":{\"suffix\":\"core.windows.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/storageAccounts/wasb3de769388\",\"name\":\"wasb3de769388\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/storageAccounts\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/StorageAccounts/?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/StorageAccounts/?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:04 GMT", + "date" : "Fri, 08 Sep 2017 21:57:18 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "321", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "x-ms-ratelimit-remaining-subscription-reads" : "14993", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "0879c2e1-f5cf-416f-b524-ef2be74d2142", + "x-ms-correlation-request-id" : "c7533608-a6cb-4a3a-b030-be5041c98005", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023505Z:0879c2e1-f5cf-416f-b524-ef2be74d2142", + "x-ms-routing-request-id" : "WESTUS2:20170908T215719Z:c7533608-a6cb-4a3a-b030-be5041c98005", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "5dd33cc2-72bc-4d01-ad10-8dff0eea2f91", - "Body" : "{\"value\":[{\"properties\":{\"suffix\":\"core.windows.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/storageAccounts/wasb53a250530\",\"name\":\"wasb53a250530\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/storageAccounts\"}]}" + "x-ms-request-id" : "34b82770-198a-4ed7-9fe4-b05475eeea6d", + "Body" : "{\"value\":[{\"properties\":{\"suffix\":\"core.windows.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/storageAccounts/wasb3de769388\",\"name\":\"wasb3de769388\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/storageAccounts\"}]}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/StorageAccounts/wasb53a250530?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/StorageAccounts/wasb3de769388?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:05 GMT", + "date" : "Fri, 08 Sep 2017 21:57:19 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "309", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14993", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "fc3f8064-a8a4-4e27-98c9-34e3899e9ca0", + "x-ms-correlation-request-id" : "50bc68de-d0b6-463a-8422-b3fa8966d30d", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023505Z:fc3f8064-a8a4-4e27-98c9-34e3899e9ca0", + "x-ms-routing-request-id" : "WESTUS2:20170908T215720Z:50bc68de-d0b6-463a-8422-b3fa8966d30d", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "f7c6acd2-f894-4977-b255-4131ab5ed7ca", - "Body" : "{\"properties\":{\"suffix\":\"core.windows.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/storageAccounts/wasb53a250530\",\"name\":\"wasb53a250530\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/storageAccounts\"}" + "x-ms-request-id" : "cf2ba47f-d21f-4e25-a508-c480316db4a3", + "Body" : "{\"properties\":{\"suffix\":\"core.windows.net\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/storageAccounts/wasb3de769388\",\"name\":\"wasb3de769388\",\"type\":\"Microsoft.DataLakeAnalytics/accounts/storageAccounts\"}" } }, { "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/StorageAccounts/wasb53a250530?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/StorageAccounts/wasb3de769388?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:05 GMT", + "date" : "Fri, 08 Sep 2017 21:57:21 GMT", "content-length" : "0", "server" : "Microsoft-IIS/8.5", "expires" : "-1", @@ -1214,289 +990,289 @@ "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "c604e366-1b68-43df-a781-537071653bb9", + "x-ms-correlation-request-id" : "0a767685-9c10-4eeb-8875-ef9f48234d45", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023506Z:c604e366-1b68-43df-a781-537071653bb9", + "x-ms-routing-request-id" : "WESTUS2:20170908T215721Z:0a767685-9c10-4eeb-8875-ef9f48234d45", "x-powered-by" : "ASP.NET", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "b2ec2c5f-4364-4bad-bdd6-58d7d595fbe4", + "x-ms-request-id" : "b0777339-c7bc-43e2-a071-e6040634ea13", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f/StorageAccounts/?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971/StorageAccounts/?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:06 GMT", + "date" : "Fri, 08 Sep 2017 21:57:21 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "12", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14998", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "2d2bce41-a7d9-4488-b157-4de5445b0dcb", + "x-ms-correlation-request-id" : "4fc13a66-9895-45cc-b685-d093b7aa8bd4", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023507Z:2d2bce41-a7d9-4488-b157-4de5445b0dcb", + "x-ms-routing-request-id" : "WESTUS2:20170908T215721Z:4fc13a66-9895-45cc-b685-d093b7aa8bd4", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "e7309560-fcd0-4271-b95d-c968cecca040", + "x-ms-request-id" : "1982f777-ef12-4052-8499-378f61740df6", "Body" : "{\"value\":[]}" } }, { "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:09 GMT", + "date" : "Fri, 08 Sep 2017 21:57:25 GMT", "content-length" : "0", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "retry-after" : "0", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "38fc8357-825c-4b3b-92a3-9f96adcf3476", + "x-ms-correlation-request-id" : "a6a25e4a-ffe7-41f6-870c-3368d41e0c5d", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023510Z:38fc8357-825c-4b3b-92a3-9f96adcf3476", + "x-ms-routing-request-id" : "WESTUS2:20170908T215725Z:a6a25e4a-ffe7-41f6-870c-3368d41e0c5d", "x-powered-by" : "ASP.NET", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "55cfb387-f434-4055-a481-d8e1a043b181", + "x-ms-request-id" : "77a33a9c-3382-427e-bea7-085227218734", "Body" : "" } }, { "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf0000194/providers/Microsoft.DataLakeAnalytics/accounts/adladcb90748f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg15402818/providers/Microsoft.DataLakeAnalytics/accounts/adladd0243971?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:10 GMT", + "date" : "Fri, 08 Sep 2017 21:57:25 GMT", "expires" : "-1", - "x-ms-routing-request-id" : "WESTUS2:20170131T023510Z:172d26d7-109e-4820-bbbf-253e57699771", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-routing-request-id" : "WESTUS2:20170908T215726Z:3fbda691-cae9-43b1-bf00-0b05aedcebeb", + "x-ms-ratelimit-remaining-subscription-writes" : "1193", "retry-after" : "0", "cache-control" : "no-cache", "StatusCode" : "204", - "x-ms-request-id" : "172d26d7-109e-4820-bbbf-253e57699771", + "x-ms-request-id" : "3fbda691-cae9-43b1-bf00-0b05aedcebeb", "Body" : "", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "172d26d7-109e-4820-bbbf-253e57699771", + "x-ms-correlation-request-id" : "3fbda691-cae9-43b1-bf00-0b05aedcebeb", "strict-transport-security" : "max-age=31536000; includeSubDomains" } }, { "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf0000194?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg15402818?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:11 GMT", + "date" : "Fri, 08 Sep 2017 21:57:26 GMT", "content-length" : "0", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1192", "retry-after" : "0", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "8da167ee-070e-4fef-b359-e437d11fe7cf", + "x-ms-correlation-request-id" : "6d25abfe-d0aa-44e3-9f12-d0d050894f56", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023512Z:8da167ee-070e-4fef-b359-e437d11fe7cf", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215727Z:6d25abfe-d0aa-44e3-9f12-d0d050894f56", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "8da167ee-070e-4fef-b359-e437d11fe7cf", + "x-ms-request-id" : "6d25abfe-d0aa-44e3-9f12-d0d050894f56", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:11 GMT", + "date" : "Fri, 08 Sep 2017 21:57:26 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "0b464390-e9eb-48f3-a5a1-5d1b3e4c15cb", + "x-ms-correlation-request-id" : "7144b72c-350b-4200-9880-1fd820a93684", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023512Z:0b464390-e9eb-48f3-a5a1-5d1b3e4c15cb", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215727Z:7144b72c-350b-4200-9880-1fd820a93684", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "0b464390-e9eb-48f3-a5a1-5d1b3e4c15cb", + "x-ms-request-id" : "7144b72c-350b-4200-9880-1fd820a93684", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:26 GMT", + "date" : "Fri, 08 Sep 2017 21:57:42 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14994", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "1bd08ae8-c7dd-49a9-a15b-eccf92e472b4", + "x-ms-correlation-request-id" : "2bc35f6f-dda7-4f04-b825-260d500fcd7d", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023527Z:1bd08ae8-c7dd-49a9-a15b-eccf92e472b4", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215742Z:2bc35f6f-dda7-4f04-b825-260d500fcd7d", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "1bd08ae8-c7dd-49a9-a15b-eccf92e472b4", + "x-ms-request-id" : "2bc35f6f-dda7-4f04-b825-260d500fcd7d", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:41 GMT", + "date" : "Fri, 08 Sep 2017 21:57:57 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14993", + "x-ms-ratelimit-remaining-subscription-reads" : "14987", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "cd46e810-8720-4d1c-9f99-a04a56215f50", + "x-ms-correlation-request-id" : "34569a73-ba50-41ab-b343-3e761dac5335", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023542Z:cd46e810-8720-4d1c-9f99-a04a56215f50", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215758Z:34569a73-ba50-41ab-b343-3e761dac5335", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "cd46e810-8720-4d1c-9f99-a04a56215f50", + "x-ms-request-id" : "34569a73-ba50-41ab-b343-3e761dac5335", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:35:56 GMT", + "date" : "Fri, 08 Sep 2017 21:58:13 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14992", + "x-ms-ratelimit-remaining-subscription-reads" : "14986", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "85f1845f-0856-4db4-9ebb-3df29cffa84f", + "x-ms-correlation-request-id" : "c3197d6d-d2d4-46e8-a1f0-c635a790b8f1", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023557Z:85f1845f-0856-4db4-9ebb-3df29cffa84f", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215813Z:c3197d6d-d2d4-46e8-a1f0-c635a790b8f1", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "85f1845f-0856-4db4-9ebb-3df29cffa84f", + "x-ms-request-id" : "c3197d6d-d2d4-46e8-a1f0-c635a790b8f1", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:36:12 GMT", + "date" : "Fri, 08 Sep 2017 21:58:28 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14991", + "x-ms-ratelimit-remaining-subscription-reads" : "14985", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "1d1160e5-879d-4997-85cb-ba094c763b66", + "x-ms-correlation-request-id" : "3406d7b9-2a53-47d9-befc-7f124bc53b8e", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023613Z:1d1160e5-879d-4997-85cb-ba094c763b66", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215828Z:3406d7b9-2a53-47d9-befc-7f124bc53b8e", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "1d1160e5-879d-4997-85cb-ba094c763b66", + "x-ms-request-id" : "3406d7b9-2a53-47d9-befc-7f124bc53b8e", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:36:28 GMT", + "date" : "Fri, 08 Sep 2017 21:58:43 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14990", + "x-ms-ratelimit-remaining-subscription-reads" : "14984", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "5a68226b-ebcd-4d5e-a791-3272fbadc997", + "x-ms-correlation-request-id" : "f554c0f2-8633-459e-855f-c7be622a4acd", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023628Z:5a68226b-ebcd-4d5e-a791-3272fbadc997", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215843Z:f554c0f2-8633-459e-855f-c7be622a4acd", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "5a68226b-ebcd-4d5e-a791-3272fbadc997", + "x-ms-request-id" : "f554c0f2-8633-459e-855f-c7be622a4acd", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:36:43 GMT", + "date" : "Fri, 08 Sep 2017 21:58:58 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14989", + "x-ms-ratelimit-remaining-subscription-reads" : "14983", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "b2079f93-eadd-4293-83b9-112daf053659", + "x-ms-correlation-request-id" : "93ebf2f7-f6cd-41af-9c23-92f48f28691c", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023643Z:b2079f93-eadd-4293-83b9-112daf053659", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T215859Z:93ebf2f7-f6cd-41af-9c23-92f48f28691c", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "b2079f93-eadd-4293-83b9-112daf053659", + "x-ms-request-id" : "93ebf2f7-f6cd-41af-9c23-92f48f28691c", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMDAwMDE5NC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkcxNTQwMjgxOC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:36:58 GMT", + "date" : "Fri, 08 Sep 2017 21:59:13 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14988", + "x-ms-ratelimit-remaining-subscription-reads" : "14982", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "d953f886-3118-4d0e-9383-08acafb296a4", + "x-ms-correlation-request-id" : "446fe6d6-af63-478a-91c6-ecf082c9e98f", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023658Z:d953f886-3118-4d0e-9383-08acafb296a4", + "x-ms-routing-request-id" : "WESTUS2:20170908T215914Z:446fe6d6-af63-478a-91c6-ecf082c9e98f", "cache-control" : "no-cache", - "x-ms-request-id" : "d953f886-3118-4d0e-9383-08acafb296a4", + "x-ms-request-id" : "446fe6d6-af63-478a-91c6-ecf082c9e98f", "Body" : "" } } ], - "variables" : [ "adlargf0000194", "adlsdce852232", "secondadla67407", "adladcb90748f", "wasb53a250530", "adls299460672d" ] + "variables" : [ "adlarg15402818", "adls111723303", "secondadla62658", "adladd0243971", "wasb3de769388", "adls2bbf83080b" ] } \ No newline at end of file diff --git a/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateUpdateDeleteSecretsAndCredentials.json b/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateUpdateDeleteSecretsAndCredentials.json index e9da8869825fa..255fa905c2769 100644 --- a/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateUpdateDeleteSecretsAndCredentials.json +++ b/azure-mgmt-datalake-analytics/src/test/resources/session-records/canCreateUpdateDeleteSecretsAndCredentials.json @@ -1,149 +1,93 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargdc304298?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf1192239?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:36:59 GMT", + "date" : "Mon, 28 Aug 2017 03:51:54 GMT", "content-length" : "182", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "1de24688-dafd-43f1-a7dc-9876d1fc6eb3", + "x-ms-correlation-request-id" : "278b0029-e3ed-48a8-90ca-edabbc33ff2f", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023700Z:1de24688-dafd-43f1-a7dc-9876d1fc6eb3", + "x-ms-routing-request-id" : "WESTUS:20170828T035155Z:278b0029-e3ed-48a8-90ca-edabbc33ff2f", "content-type" : "application/json; charset=utf-8", "cache-control" : "no-cache", - "x-ms-request-id" : "1de24688-dafd-43f1-a7dc-9876d1fc6eb3", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298\",\"name\":\"adlargdc304298\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + "x-ms-request-id" : "278b0029-e3ed-48a8-90ca-edabbc33ff2f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239\",\"name\":\"adlargf1192239\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeStore/accounts/adls06b319451?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeStore/accounts/adls5b5301232?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:01 GMT", - "content-length" : "415", + "date" : "Mon, 28 Aug 2017 03:51:55 GMT", + "content-length" : "359", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "5b8fc97d-516e-4e8a-960d-109f74f326b9", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023701Z:5b8fc97d-516e-4e8a-960d-109f74f326b9", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargdc304298/providers/Microsoft.DataLakeStore/accounts/adls06b319451/operationresults/0?api-version=2016-11-01", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "9f9f8901-1b7e-4525-a153-4520f6dacbc3", - "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"5216bfab-af2d-4ccc-8dba-56d6108ee457\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeStore/accounts/adls06b319451\",\"name\":\"adls06b319451\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/5216bfab-af2d-4ccc-8dba-56d6108ee4570?api-version=2016-11-01&expanded=true" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/5216bfab-af2d-4ccc-8dba-56d6108ee4570?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:01 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14994", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "19ea3aaf-195c-418b-b6a8-3bd36fe0b239", + "x-ms-correlation-request-id" : "841a1384-a87c-443a-971f-7d9936210b35", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023702Z:19ea3aaf-195c-418b-b6a8-3bd36fe0b239", + "x-ms-routing-request-id" : "WESTUS:20170828T035156Z:841a1384-a87c-443a-971f-7d9936210b35", "x-powered-by" : "ASP.NET", "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf1192239/providers/Microsoft.DataLakeStore/accounts/adls5b5301232/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "5db436b6-199a-4c3c-b895-d5f7e1721170", - "Body" : "{\"status\":\"InProgress\"}" + "x-ms-request-id" : "82b0bdf9-f840-4cc2-b47d-42ef1264ca73", + "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"da474e93-d72e-4d1a-bc58-85183839390a\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeStore/accounts/adls5b5301232\",\"name\":\"adls5b5301232\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/da474e93-d72e-4d1a-bc58-85183839390a0?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/5216bfab-af2d-4ccc-8dba-56d6108ee4570?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/da474e93-d72e-4d1a-bc58-85183839390a0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:12 GMT", + "date" : "Mon, 28 Aug 2017 03:51:57 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "x-ms-ratelimit-remaining-subscription-reads" : "14978", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "21a1cf56-7018-4c0a-9d5c-45f1cb31e0be", + "x-ms-correlation-request-id" : "959cf178-6d0a-46b0-9d43-52b65c50a6b8", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023713Z:21a1cf56-7018-4c0a-9d5c-45f1cb31e0be", + "x-ms-routing-request-id" : "WESTUS:20170828T035157Z:959cf178-6d0a-46b0-9d43-52b65c50a6b8", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "6f1e4506-1548-4394-bd26-46bc1b07aafb", + "x-ms-request-id" : "222424d1-d668-4a0b-8fbb-faf1a3460038", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/5216bfab-af2d-4ccc-8dba-56d6108ee4570?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/da474e93-d72e-4d1a-bc58-85183839390a0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:23 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14993", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "a8b2c1f6-c995-400e-acf5-8faf90d263ca", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T023723Z:a8b2c1f6-c995-400e-acf5-8faf90d263ca", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "2a8eace0-131d-4e66-b658-4b43171b8d29", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/5216bfab-af2d-4ccc-8dba-56d6108ee4570?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:33 GMT", + "date" : "Mon, 28 Aug 2017 03:52:27 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", @@ -153,111 +97,83 @@ "x-ms-ratelimit-remaining-subscription-reads" : "14995", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "4f58c337-e965-4952-a17d-b948a8270f54", + "x-ms-correlation-request-id" : "0815a81a-8309-49f2-a5a9-636f23aaf368", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023734Z:4f58c337-e965-4952-a17d-b948a8270f54", + "x-ms-routing-request-id" : "WESTUS2:20170828T035228Z:0815a81a-8309-49f2-a5a9-636f23aaf368", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "8713db17-8c8d-4ded-a325-7575f2cb7c89", + "x-ms-request-id" : "fe714354-19a5-4002-9274-1dbb301c29fc", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeStore/accounts/adls06b319451?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeStore/accounts/adls5b5301232?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:34 GMT", + "date" : "Mon, 28 Aug 2017 03:52:27 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "733", + "content-length" : "783", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14995", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "871bbec4-70d5-4421-93b6-fc967f84d124", + "x-ms-correlation-request-id" : "2733050c-9d33-42f5-b4b7-e8c50355e198", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023735Z:871bbec4-70d5-4421-93b6-fc967f84d124", + "x-ms-routing-request-id" : "WESTUS2:20170828T035228Z:2733050c-9d33-42f5-b4b7-e8c50355e198", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "9dac0126-87c2-4671-8ba0-b493650f772b", - "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adls06b319451.azuredatalakestore.net\",\"accountId\":\"5216bfab-af2d-4ccc-8dba-56d6108ee457\",\"creationTime\":\"2017-01-31T02:37:02.38307Z\",\"lastModifiedTime\":\"2017-01-31T02:37:02.38307Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeStore/accounts/adls06b319451\",\"name\":\"adls06b319451\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" + "x-ms-request-id" : "5cd2a12b-8b9e-484b-a26b-987b3f5c7453", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"firewallRules\":[],\"virtualNetworkRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adls5b5301232.azuredatalakestore.net\",\"accountId\":\"da474e93-d72e-4d1a-bc58-85183839390a\",\"creationTime\":\"2017-08-28T03:51:57.180054Z\",\"lastModifiedTime\":\"2017-08-28T03:51:57.180054Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeStore/accounts/adls5b5301232\",\"name\":\"adls5b5301232\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeAnalytics/accounts/secondadla57363?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeAnalytics/accounts/secondadla22888?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:35 GMT", - "content-length" : "573", + "date" : "Mon, 28 Aug 2017 03:52:30 GMT", + "content-length" : "517", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "26f98426-1104-47b4-9072-ed8118f65bae", + "x-ms-correlation-request-id" : "b6ea6686-493a-4ef0-8fd3-3f03999d8fb4", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023736Z:26f98426-1104-47b4-9072-ed8118f65bae", + "x-ms-routing-request-id" : "WESTUS2:20170828T035231Z:b6ea6686-493a-4ef0-8fd3-3f03999d8fb4", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargdc304298/providers/Microsoft.DataLakeAnalytics/accounts/secondadla57363/operationresults/0?api-version=2016-11-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf1192239/providers/Microsoft.DataLakeAnalytics/accounts/secondadla22888/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "b22e2aa3-6251-4409-9009-401dbf1bb2bf", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls06b319451\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls06b319451\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"80c85af7-f455-4792-87ca-6fa523c835d5\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeAnalytics/accounts/secondadla57363\",\"name\":\"secondadla57363\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/80c85af7-f455-4792-87ca-6fa523c835d50?api-version=2016-11-01&expanded=true" + "x-ms-request-id" : "d5877443-39aa-4554-bcd5-5d64a446fa59", + "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls5b5301232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls5b5301232\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"5f19d96a-3ed7-4013-a932-9c49fc8d4b26\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeAnalytics/accounts/secondadla22888\",\"name\":\"secondadla22888\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/5f19d96a-3ed7-4013-a932-9c49fc8d4b260?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/80c85af7-f455-4792-87ca-6fa523c835d50?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/5f19d96a-3ed7-4013-a932-9c49fc8d4b260?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:37 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14993", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "433832c4-5a11-474a-a212-9f056f2de1b0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023737Z:433832c4-5a11-474a-a212-9f056f2de1b0", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "e93d647a-103d-4301-91a0-825682303637", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/80c85af7-f455-4792-87ca-6fa523c835d50?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:47 GMT", + "date" : "Mon, 28 Aug 2017 03:52:32 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", @@ -267,110 +183,82 @@ "x-ms-ratelimit-remaining-subscription-reads" : "14995", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "415f7f4d-5556-45fd-99df-069b92357119", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023748Z:415f7f4d-5556-45fd-99df-069b92357119", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "0bdfa56e-d2cb-46a5-aa5c-f4d4f2712712", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/80c85af7-f455-4792-87ca-6fa523c835d50?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:37:58 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14986", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "e70fbbbf-ad42-4464-9e33-8f9f3a8e3cc4", + "x-ms-correlation-request-id" : "3642285f-f859-4ee8-aa8a-014e940478a0", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023758Z:e70fbbbf-ad42-4464-9e33-8f9f3a8e3cc4", + "x-ms-routing-request-id" : "WESTUS2:20170828T035232Z:3642285f-f859-4ee8-aa8a-014e940478a0", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "47b4e91b-480d-4a13-9058-079d7071caaf", + "x-ms-request-id" : "76f780bf-f6f3-4144-8613-1f622cc79ecd", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/80c85af7-f455-4792-87ca-6fa523c835d50?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/5f19d96a-3ed7-4013-a932-9c49fc8d4b260?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:09 GMT", + "date" : "Mon, 28 Aug 2017 03:53:01 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "x-ms-ratelimit-remaining-subscription-reads" : "14978", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "355c977f-81b4-4648-9068-abd98d1041c7", + "x-ms-correlation-request-id" : "5ea54931-a3fc-4f33-9a6f-e389f2d7946c", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023809Z:355c977f-81b4-4648-9068-abd98d1041c7", + "x-ms-routing-request-id" : "WESTUS:20170828T035302Z:5ea54931-a3fc-4f33-9a6f-e389f2d7946c", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "a7677252-51c4-4afc-9249-5b6905658314", + "x-ms-request-id" : "45c7cadf-6727-42f5-824a-fbf075628ec5", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeAnalytics/accounts/secondadla57363?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeAnalytics/accounts/secondadla22888?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:09 GMT", + "date" : "Mon, 28 Aug 2017 03:53:03 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "892", + "content-length" : "1068", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14981", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "f97f5b0b-b2e2-4d46-94be-af79d40f1de8", + "x-ms-correlation-request-id" : "87365529-046e-44d9-bac0-46b6862d7a44", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T023809Z:f97f5b0b-b2e2-4d46-94be-af79d40f1de8", + "x-ms-routing-request-id" : "WESTUS:20170828T035303Z:87365529-046e-44d9-bac0-46b6862d7a44", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "a26ef3ee-4e77-4e1b-8c70-fb0a7605fddd", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls06b319451\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls06b319451\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":250,\"maxJobCount\":10,\"systemMaxDegreeOfParallelism\":250,\"systemMaxJobCount\":20,\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla57363.azuredatalakeanalytics.net\",\"accountId\":\"80c85af7-f455-4792-87ca-6fa523c835d5\",\"creationTime\":\"2017-01-31T02:37:38.5936521Z\",\"lastModifiedTime\":\"2017-01-31T02:37:38.5936521Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargdc304298/providers/Microsoft.DataLakeAnalytics/accounts/secondadla57363\",\"name\":\"secondadla57363\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" + "x-ms-request-id" : "6b2f05c1-8945-4ee9-8be5-62eed0410f1f", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"debugDataAccessLevel\":\"All\",\"firewallRules\":[],\"defaultDataLakeStoreAccount\":\"adls5b5301232\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls5b5301232\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":100,\"maxJobCount\":20,\"systemMaxDegreeOfParallelism\":100,\"systemMaxJobCount\":20,\"maxDegreeOfParallelismPerJob\":100,\"minPriorityPerJob\":1,\"computePolicies\":[],\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla22888.azuredatalakeanalytics.net\",\"accountId\":\"5f19d96a-3ed7-4013-a932-9c49fc8d4b26\",\"creationTime\":\"2017-08-28T03:52:33.1410207Z\",\"lastModifiedTime\":\"2017-08-28T03:52:33.1410207Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargf1192239/providers/Microsoft.DataLakeAnalytics/accounts/secondadla22888\",\"name\":\"secondadla22888\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:11 GMT", + "date" : "Mon, 28 Aug 2017 03:53:05 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -378,19 +266,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "bc4f3896-ee07-49e5-87fa-7c7be69292db", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", + "x-ms-request-id" : "cdde6f9d-1852-47ff-be0d-7a9487b9f64e", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:12 GMT", + "date" : "Mon, 28 Aug 2017 03:53:05 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -398,19 +286,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "883bbe0e-7126-44da-b9ec-e49382d25064", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.2189543S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "055cdc52-71ae-422c-9da7-a72709394efa", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.3221607S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:18 GMT", + "date" : "Mon, 28 Aug 2017 03:53:11 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -418,19 +306,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "618d3c2c-f904-40e1-995a-1be2b72ff4fe", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.6564806S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "15b2ed4a-9ef5-42fb-accf-12d2f44d9974", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.7597876S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:23 GMT", + "date" : "Mon, 28 Aug 2017 03:53:16 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -438,19 +326,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "e05385eb-84ac-4054-8822-51ce633ccb64", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT10.922138S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "6c48b2e7-70c0-4f91-a696-9676ddb5c72c", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.0255997S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:28 GMT", + "date" : "Mon, 28 Aug 2017 03:53:21 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -458,19 +346,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "7006c37d-dcc2-496f-ab12-ca0307c7dfb0", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:38:26.7235727+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:38:26.7392192+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:ec719092-c248-4d39-ae3d-cde99e6a7991\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:38:26.7547823+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"ec719092-c248-4d39-ae3d-cde99e6a7991\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":123411,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.0949293S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156465S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "1431115f-4401-4635-ac4a-fb491c13ab90", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-08-28T03:53:20.6450279+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-08-28T03:53:20.660653+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:7744c6b6-0039-4059-8d40-3f928ab1016a\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-08-28T03:53:20.6762846+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5404076\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__AST.json\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__AST.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5404076\",\"rootProcessNodeId\":\"7744c6b6-0039-4059-8d40-3f928ab1016a\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":882918,\"yarnApplicationTimeStamp\":1503015318199,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.9376817S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156251S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:33 GMT", + "date" : "Mon, 28 Aug 2017 03:53:26 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -478,19 +366,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "977b68d7-b3c4-42e8-86e5-4e5376f0c2c8", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:38:26.7235727+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:38:26.7392192+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:ec719092-c248-4d39-ae3d-cde99e6a7991\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:38:26.7547823+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"ec719092-c248-4d39-ae3d-cde99e6a7991\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":123411,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.0949293S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156465S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "89d0dc27-ea69-4f85-bfb1-427a51e7a854", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"startTime\":\"2017-08-28T03:53:25.6607078+00:00\",\"state\":\"Running\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-08-28T03:53:20.6450279+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-08-28T03:53:20.660653+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:7744c6b6-0039-4059-8d40-3f928ab1016a\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-08-28T03:53:20.6762846+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5404076\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-08-28T03:53:25.6607078+00:00\",\"details\":\"runAttempt:1\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__AST.json\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__AST.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5404076\",\"rootProcessNodeId\":\"7744c6b6-0039-4059-8d40-3f928ab1016a\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":882918,\"yarnApplicationTimeStamp\":1503015318199,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.9376817S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156251S\",\"totalRunningTime\":\"PT1.5880124S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:39 GMT", + "date" : "Mon, 28 Aug 2017 03:53:31 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -498,19 +386,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "c0b4af7d-6449-4b82-9c42-cb8ba39809c5", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"startTime\":\"2017-01-31T02:38:37.3544079+00:00\",\"state\":\"Running\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:38:26.7235727+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:38:26.7392192+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:ec719092-c248-4d39-ae3d-cde99e6a7991\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:38:26.7547823+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-01-31T02:38:37.3544079+00:00\",\"details\":\"runAttempt:1\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"ec719092-c248-4d39-ae3d-cde99e6a7991\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":123411,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.0949293S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156465S\",\"totalRunningTime\":\"PT2.2433262S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "748f1cb6-858b-4b42-b912-b33482d09a44", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"startTime\":\"2017-08-28T03:53:25.6607078+00:00\",\"state\":\"Running\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-08-28T03:53:20.6450279+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-08-28T03:53:20.660653+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:7744c6b6-0039-4059-8d40-3f928ab1016a\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-08-28T03:53:20.6762846+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5404076\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-08-28T03:53:25.6607078+00:00\",\"details\":\"runAttempt:1\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__AST.json\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__AST.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5404076\",\"rootProcessNodeId\":\"7744c6b6-0039-4059-8d40-3f928ab1016a\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":882918,\"yarnApplicationTimeStamp\":1503015318199,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.9376817S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156251S\",\"totalRunningTime\":\"PT6.8537591S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b9e2ef31-a25d-4a8f-be26-f558b823376f?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:44 GMT", + "date" : "Mon, 28 Aug 2017 03:53:37 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -518,38 +406,38 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "0c2732ee-8cb5-4fe7-9ab9-926508e0fd6a", - "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:12.2380348+00:00\",\"startTime\":\"2017-01-31T02:38:37.3544079+00:00\",\"endTime\":\"2017-01-31T02:38:42.8231808+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:12.2380348+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:12.6286434+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:38:26.7235727+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:38:26.7392192+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:ec719092-c248-4d39-ae3d-cde99e6a7991\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:38:26.7547823+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-01-31T02:38:37.3544079+00:00\",\"details\":\"runAttempt:1\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-01-31T02:38:42.8231808+00:00\",\"details\":\"result:Succeeded\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"ec719092-c248-4d39-ae3d-cde99e6a7991\",\"script\":\"DROP DATABASE IF EXISTS testdb160855d; CREATE DATABASE testdb160855d; \\n//Create Table\\nCREATE TABLE testdb160855d.dbo.testtable143673\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY BUCKETS (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb160855d.dbo.testtable143673 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb160855d.dbo.testtvf125652c;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb160855d.dbo.testtvf125652c()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb160855d.dbo.testview102423 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb160855d.dbo.testproc156624()\\nAS BEGIN\\n CREATE VIEW testdb160855d.dbo.testview102423 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":123411,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.0949293S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156465S\",\"totalRunningTime\":\"PT5.4687729S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "cfae66c0-5c4f-418a-8019-9a810fd5c333", + "Body" : "{\"jobId\":\"b9e2ef31-a25d-4a8f-be26-f558b823376f\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:05.2855095+00:00\",\"startTime\":\"2017-08-28T03:53:25.6607078+00:00\",\"endTime\":\"2017-08-28T03:53:32.5670145+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:05.2855095+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:05.7073462+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-08-28T03:53:20.6450279+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-08-28T03:53:20.660653+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:7744c6b6-0039-4059-8d40-3f928ab1016a\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-08-28T03:53:20.6762846+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5404076\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-08-28T03:53:25.6607078+00:00\",\"details\":\"runAttempt:1\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-08-28T03:53:32.5670145+00:00\",\"details\":\"result:Succeeded\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__AST.json\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__AST.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5404076\",\"rootProcessNodeId\":\"7744c6b6-0039-4059-8d40-3f928ab1016a\",\"script\":\"DROP DATABASE IF EXISTS testdb117763a; CREATE DATABASE testdb117763a; \\n//Create Table\\nCREATE TABLE testdb117763a.dbo.testtable192838\\n(\\n //Define schema of table\\n UserId int, \\n Start DateTime, \\n Region string, \\n Query string, \\n Duration int, \\n Urls string, \\n ClickedUrls string,\\n INDEX idx1 //Name of index\\n CLUSTERED (Region ASC) //Column to cluster by\\n PARTITIONED BY (UserId) HASH (Region) //Column to partition by\\n);\\n\\nALTER TABLE testdb117763a.dbo.testtable192838 ADD IF NOT EXISTS PARTITION (1);\\n\\nDROP FUNCTION IF EXISTS testdb117763a.dbo.testtvf153422d;\\n\\n//create table weblogs on space-delimited website log data\\nCREATE FUNCTION testdb117763a.dbo.testtvf153422d()\\nRETURNS @result TABLE\\n(\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string, \\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string, \\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string, \\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int, \\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n)\\nAS\\nBEGIN\\n\\n @result = EXTRACT\\n s_date DateTime,\\n s_time string,\\n s_sitename string,\\n cs_method string,\\n cs_uristem string,\\n cs_uriquery string,\\n s_port int,\\n cs_username string,\\n c_ip string,\\n cs_useragent string,\\n cs_cookie string,\\n cs_referer string,\\n cs_host string,\\n sc_status int,\\n sc_substatus int,\\n sc_win32status int,\\n sc_bytes int,\\n cs_bytes int,\\n s_timetaken int\\n FROM @\\\"/Samples/Data/WebLog.log\\\"\\n USING Extractors.Text(delimiter:' ');\\n\\nRETURN;\\nEND;\\nCREATE VIEW testdb117763a.dbo.testview157591 \\nAS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\nAS \\nT(a, b);\\nCREATE PROCEDURE testdb117763a.dbo.testproc120125()\\nAS BEGIN\\n CREATE VIEW testdb117763a.dbo.testview157591 \\n AS \\n SELECT * FROM \\n (\\n VALUES(1,2),(2,4)\\n ) \\n AS \\n T(a, b);\\nEND;\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/b9e2ef31-a25d-4a8f-be26-f558b823376f/algebra.xml\",\"yarnApplicationId\":882918,\"yarnApplicationTimeStamp\":1503015318199,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT14.9376817S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156251S\",\"totalRunningTime\":\"PT6.9063067S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/secrets/b2a448d50360463?api-version=2016-11-01", + "Uri" : "http://localhost:1234/catalog/usql/databases/testdb117763a/secrets/a7f0a37750c5425?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:46 GMT", + "date" : "Mon, 28 Aug 2017 03:53:38 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "a4530022-0389-44be-b186-683f78408900", + "x-ms-request-id" : "6b3435e9-8abc-4116-8733-472288835bf3", "Body" : "", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/secrets/b2a448d50360463?api-version=2016-11-01", + "Uri" : "http://localhost:1234/catalog/usql/databases/testdb117763a/secrets/a7f0a37750c5425?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:46 GMT", + "date" : "Mon, 28 Aug 2017 03:53:39 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -557,159 +445,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "409", - "x-ms-request-id" : "78fe34d2-e378-44e9-b4c8-b61164ea66ac", - "Body" : "{\"error\":{\"code\":\"ResourceAlreadyExists\",\"message\":\"The resource 'mafs://accounts/adls06b319451/fs/catalog/database/b22dbda7-2518-4d72-8f72-45496383c65f/credential/b2a448d50360463' already exists. Trace: 78fe34d2-e378-44e9-b4c8-b61164ea66ac Time: 2017-01-30T18:38:46.7433897-08:00\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/secrets/b2a448d50360463?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:46 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "835f4172-0f3e-4ab0-8166-119cbd69f0d0", - "Body" : "{\"creationTime\":\"2017-01-31T02:38:45.6380593Z\"}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:47 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "e1a8dae1-faa1-4416-b146-ea7035b80e62", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:47 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "463f4277-d4a5-4d91-ba83-86d693f3a09a", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:47.4326143+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb160855d; CREATE CREDENTIAL testcred155099 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"b2a448d50360463\\\";\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.1197997S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:52 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "da892b28-607e-40d2-931e-b3e539688d2a", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:47.4326143+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb160855d; CREATE CREDENTIAL testcred155099 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"b2a448d50360463\\\";\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.369831S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:38:57 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "af728d16-6f9d-45fe-80fb-258f732d5b2d", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:47.4326143+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb160855d; CREATE CREDENTIAL testcred155099 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"b2a448d50360463\\\";\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT10.5729795S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:02 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "117aaa57-3929-42eb-8e2a-f785e0201a89", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:47.4326143+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:01.0577291+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:01.0733371+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:4511f910-2fbf-4490-a37b-ae423ea7bf42\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:01.0733371+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"4511f910-2fbf-4490-a37b-ae423ea7bf42\",\"script\":\"USE testdb160855d; CREATE CREDENTIAL testcred155099 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"b2a448d50360463\\\";\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"yarnApplicationId\":123415,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT13.6251148S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:08 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "0add3f88-8d05-477e-9c7e-feb20df7ef3f", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:47.4326143+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:01.0577291+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:01.0733371+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:4511f910-2fbf-4490-a37b-ae423ea7bf42\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:01.0733371+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"4511f910-2fbf-4490-a37b-ae423ea7bf42\",\"script\":\"USE testdb160855d; CREATE CREDENTIAL testcred155099 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"b2a448d50360463\\\";\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"yarnApplicationId\":123415,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT13.6251148S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "c637dea0-dfde-4eea-91b1-7031c6cbfaed", + "Body" : "{\"error\":{\"code\":\"ResourceAlreadyExists\",\"message\":\"The resource 'adl://adls5b5301232.azuredatalakestore.net/catalog/database/acabdf3e-5cbf-425b-80e8-00b96103dd92/credential/a7f0a37750c5425' already exists. Trace: c637dea0-dfde-4eea-91b1-7031c6cbfaed Time: 2017-08-27T20:53:39.8395698-07:00\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", + "Uri" : "http://localhost:1234/catalog/usql/databases/testdb117763a/secrets/a7f0a37750c5425?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:13 GMT", + "date" : "Mon, 28 Aug 2017 03:53:39 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -717,119 +465,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "9e8ca9bf-500c-4cea-866d-ed51447a98db", - "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:38:47.1513417+00:00\",\"startTime\":\"2017-01-31T02:39:12.870309+00:00\",\"endTime\":\"2017-01-31T02:39:12.8859337+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:38:47.1513417+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:38:47.4326143+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:01.0577291+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:01.0733371+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:4511f910-2fbf-4490-a37b-ae423ea7bf42\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:01.0733371+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-01-31T02:39:12.870309+00:00\",\"details\":\"runAttempt:1\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-01-31T02:39:12.8859337+00:00\",\"details\":\"result:Succeeded\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"4511f910-2fbf-4490-a37b-ae423ea7bf42\",\"script\":\"USE testdb160855d; CREATE CREDENTIAL testcred155099 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"b2a448d50360463\\\";\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/38/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"yarnApplicationId\":123415,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT13.6251148S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT0.0156247S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/credentials?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:13 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "1620d910-a922-44ab-b5fe-74ca7313da37", - "Body" : "{\"value\":[{\"credentialName\":\"testcred155099\"}]}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/credentials/testcred155099?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:14 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "8be2d54c-8eaa-4c15-8593-a64e5fa2480e", - "Body" : "{\"credentialName\":\"testcred155099\"}", + "x-ms-request-id" : "986139f6-815e-4811-ae8d-2586fe361981", + "Body" : "{\"creationTime\":\"2017-08-28T03:53:38.7432793Z\"}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:14 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "4a4f868c-d040-48d6-a486-44df416f1738", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:14 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "c8c1080b-b249-4ee4-8185-9fe37099ae28", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.1510025S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:20 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "446e60d0-e5ee-4259-a17f-6845046a67b6", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.4010304S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:25 GMT", + "date" : "Mon, 28 Aug 2017 03:53:40 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -837,19 +485,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "f08cd8e3-4eb6-4f36-a38e-ba4c047f6756", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT10.7673171S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "d36987ab-c846-47cc-931e-f238cb815d22", + "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:40.3952431+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:40.3952431+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:31 GMT", + "date" : "Mon, 28 Aug 2017 03:53:40 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -857,19 +505,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "ad71d71c-af9f-4660-9b5a-7dc52fc9963b", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:26.4955312+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:26.5110764+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:993fbfec-630f-455f-9429-4b2f89c485f2\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:26.5266951+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"993fbfec-630f-455f-9429-4b2f89c485f2\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"yarnApplicationId\":123421,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.4377033S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0155452S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "8067d361-bbd9-4c3a-aa6b-6114cf84a7c5", + "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:40.3952431+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:40.3952431+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:40.5827579+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb117763a; CREATE CREDENTIAL testcred178426 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"a7f0a37750c5425\\\";\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.1662658S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:36 GMT", + "date" : "Mon, 28 Aug 2017 03:53:45 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -877,19 +525,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "e1adf516-32b4-4352-afc6-c1072ed92c4f", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:26.4955312+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:26.5110764+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:993fbfec-630f-455f-9429-4b2f89c485f2\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:26.5266951+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"993fbfec-630f-455f-9429-4b2f89c485f2\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"yarnApplicationId\":123421,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.4377033S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0155452S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "d30d2ae4-a3d8-40c4-a807-fb9a1872a7a4", + "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:40.3952431+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:40.3952431+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:40.5827579+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb117763a; CREATE CREDENTIAL testcred178426 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"a7f0a37750c5425\\\";\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.4788665S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/fa9fa5bf-ff12-48af-8a0b-2800049ef23e?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:42 GMT", + "date" : "Mon, 28 Aug 2017 03:53:50 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -897,267 +545,208 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "1ebaba1f-5aa4-4504-a930-ef5cb5c327a5", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:26.4955312+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:26.5110764+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:993fbfec-630f-455f-9429-4b2f89c485f2\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:26.5266951+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"993fbfec-630f-455f-9429-4b2f89c485f2\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"yarnApplicationId\":123421,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.4377033S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0155452S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/54a54b5b-6209-455e-8bd1-832a6fcff3d8?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:46 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "36c82272-1277-4843-9917-dea53d21d049", - "Body" : "{\"jobId\":\"54a54b5b-6209-455e-8bd1-832a6fcff3d8\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:39:14.9015771+00:00\",\"startTime\":\"2017-01-31T02:39:43.8393402+00:00\",\"endTime\":\"2017-01-31T02:39:43.8393402+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:39:14.9015771+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:39:15.0578279+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:39:26.4955312+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:39:26.5110764+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:993fbfec-630f-455f-9429-4b2f89c485f2\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:39:26.5266951+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-01-31T02:39:43.8393402+00:00\",\"details\":\"runAttempt:1\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-01-31T02:39:43.8393402+00:00\",\"details\":\"result:Succeeded\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"diagnosticsjson\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/diagnosticsjson\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"993fbfec-630f-455f-9429-4b2f89c485f2\",\"script\":\"USE testdb160855d; DROP CREDENTIAL testcred155099;\",\"algebraFilePath\":\"adl://adls06b319451.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/39/54a54b5b-6209-455e-8bd1-832a6fcff3d8/algebra.xml\",\"yarnApplicationId\":123421,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.4377033S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0155452S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "5cd55c29-4d41-4c20-b881-1239566145a8", + "Body" : "{\"jobId\":\"fa9fa5bf-ff12-48af-8a0b-2800049ef23e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-08-28T03:53:40.3952431+00:00\",\"endTime\":\"2017-08-28T03:53:46.0359336+00:00\",\"state\":\"Ended\",\"result\":\"Failed\",\"errorMessage\":[{\"errorId\":\"E_CSC_USER_CREDENTIALDDLISREMOVED\",\"severity\":\"Error\",\"component\":\"CSC\",\"source\":\"USER\",\"message\":\"CREATE/ALTER/DROP CREDENTIAL statements used in the script are removed from U-SQL language.\",\"details\":\"at token 'CREATE', line 1\\r\\nnear the ###:\\r\\n**************\\r\\nUSE testdb117763a; ### CREATE CREDENTIAL testcred178426 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"a7f0a37750c5425\\\";\",\"description\":\"CREATE/ALTER/DROP CREDENTIAL statements have been deprecated and removed from the language.\",\"resolution\":\"Use credential management commandlets in the latest Azure Powershell.\",\"helpLink\":\"\",\"filePath\":\"\",\"lineNumber\":1,\"startOffset\":19,\"endOffset\":25}],\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-08-28T03:53:40.3952431+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-08-28T03:53:40.5827579+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-08-28T03:53:46.0359336+00:00\",\"details\":\"result:CompilationFailed\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"USE testdb117763a; CREATE CREDENTIAL testcred178426 WITH USER_NAME = \\\"scope@rkm4grspxa\\\", IDENTITY = \\\"a7f0a37750c5425\\\";\",\"algebraFilePath\":\"adl://adls5b5301232.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/08/28/03/53/fa9fa5bf-ff12-48af-8a0b-2800049ef23e/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"UserError\",\"totalCompilationTime\":\"PT5.4531757S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "DELETE", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/secrets/b2a448d50360463?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargf1192239?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:47 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "200", - "x-ms-request-id" : "9860a49e-4324-4209-868b-2a2387c18a0c", - "Body" : "", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/catalog/usql/databases/testdb160855d/secrets/b2a448d50360463?api-version=2016-11-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsCatalogManagementClient, 2016-11-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:47 GMT", - "expires" : "-1", - "transfer-encoding" : "chunked", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "private, no-cache, no-store, max-age=0", - "StatusCode" : "404", - "x-ms-request-id" : "be761c74-2170-42cf-8e7b-4cc0ea05c111", - "Body" : "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The resource 'b2a448d50360463' does not exist. Trace: be761c74-2170-42cf-8e7b-4cc0ea05c111 Time: 2017-01-30T18:39:47.9547562-08:00\"}}", - "strict-transport-security" : "max-age=15724800; includeSubDomains" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargdc304298?api-version=2016-09-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:48 GMT", + "date" : "Mon, 28 Aug 2017 03:53:52 GMT", "content-length" : "0", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "retry-after" : "0", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "31a8b5db-3683-4ad8-9ed2-ac26b6862e4c", + "x-ms-correlation-request-id" : "4f349140-7c54-4789-985f-2c768fd458e7", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023949Z:31a8b5db-3683-4ad8-9ed2-ac26b6862e4c", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035353Z:4f349140-7c54-4789-985f-2c768fd458e7", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "31a8b5db-3683-4ad8-9ed2-ac26b6862e4c", + "x-ms-request-id" : "4f349140-7c54-4789-985f-2c768fd458e7", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:39:48 GMT", + "date" : "Mon, 28 Aug 2017 03:53:53 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14992", + "x-ms-ratelimit-remaining-subscription-reads" : "14969", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "c7286fba-ae53-4fe1-a8be-1d9fda631b93", + "x-ms-correlation-request-id" : "0534b1dc-512c-40be-ba56-92ca1666b6dc", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T023949Z:c7286fba-ae53-4fe1-a8be-1d9fda631b93", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035353Z:0534b1dc-512c-40be-ba56-92ca1666b6dc", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "c7286fba-ae53-4fe1-a8be-1d9fda631b93", + "x-ms-request-id" : "0534b1dc-512c-40be-ba56-92ca1666b6dc", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:40:04 GMT", + "date" : "Mon, 28 Aug 2017 03:54:08 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14991", + "x-ms-ratelimit-remaining-subscription-reads" : "14968", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "b6c55ad7-d27c-4d60-8753-d88c3ed5980c", + "x-ms-correlation-request-id" : "35cbdf3f-5432-4dd1-a390-0b9463a4098c", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024005Z:b6c55ad7-d27c-4d60-8753-d88c3ed5980c", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035408Z:35cbdf3f-5432-4dd1-a390-0b9463a4098c", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "b6c55ad7-d27c-4d60-8753-d88c3ed5980c", + "x-ms-request-id" : "35cbdf3f-5432-4dd1-a390-0b9463a4098c", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:40:20 GMT", + "date" : "Mon, 28 Aug 2017 03:54:23 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14990", + "x-ms-ratelimit-remaining-subscription-reads" : "14967", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "d2f39013-1c1f-4f24-bd04-a4e22e241dc3", + "x-ms-correlation-request-id" : "c62a009d-c441-4ed0-b9ef-53811bbb9668", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024020Z:d2f39013-1c1f-4f24-bd04-a4e22e241dc3", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035423Z:c62a009d-c441-4ed0-b9ef-53811bbb9668", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "d2f39013-1c1f-4f24-bd04-a4e22e241dc3", + "x-ms-request-id" : "c62a009d-c441-4ed0-b9ef-53811bbb9668", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:40:35 GMT", + "date" : "Mon, 28 Aug 2017 03:54:38 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14989", + "x-ms-ratelimit-remaining-subscription-reads" : "14966", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "1cf74a68-ecc4-467b-87d1-1690106febec", + "x-ms-correlation-request-id" : "7111e092-668b-4f8f-a9a3-a15bd477b4a8", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024035Z:1cf74a68-ecc4-467b-87d1-1690106febec", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035438Z:7111e092-668b-4f8f-a9a3-a15bd477b4a8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "1cf74a68-ecc4-467b-87d1-1690106febec", + "x-ms-request-id" : "7111e092-668b-4f8f-a9a3-a15bd477b4a8", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:40:50 GMT", + "date" : "Mon, 28 Aug 2017 03:54:53 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14988", + "x-ms-ratelimit-remaining-subscription-reads" : "14965", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "fb9651eb-cd6e-48f7-b14a-4385ee2af6b1", + "x-ms-correlation-request-id" : "b99d7a39-38b7-40dc-81da-fddf35c10255", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024050Z:fb9651eb-cd6e-48f7-b14a-4385ee2af6b1", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035453Z:b99d7a39-38b7-40dc-81da-fddf35c10255", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "fb9651eb-cd6e-48f7-b14a-4385ee2af6b1", + "x-ms-request-id" : "b99d7a39-38b7-40dc-81da-fddf35c10255", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:05 GMT", + "date" : "Mon, 28 Aug 2017 03:55:08 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14987", + "x-ms-ratelimit-remaining-subscription-reads" : "14966", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "148d7956-aba6-47f1-8fef-f83d74ec60fb", + "x-ms-correlation-request-id" : "21b833f6-f496-46a6-87e3-2da3b8e02696", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024105Z:148d7956-aba6-47f1-8fef-f83d74ec60fb", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035509Z:21b833f6-f496-46a6-87e3-2da3b8e02696", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "148d7956-aba6-47f1-8fef-f83d74ec60fb", + "x-ms-request-id" : "21b833f6-f496-46a6-87e3-2da3b8e02696", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:20 GMT", + "date" : "Mon, 28 Aug 2017 03:55:23 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14986", + "x-ms-ratelimit-remaining-subscription-reads" : "14965", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "7a187d68-2c58-478a-851a-c525656743c7", + "x-ms-correlation-request-id" : "db6f335a-204b-4cfb-96e0-1be44355df2a", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024121Z:7a187d68-2c58-478a-851a-c525656743c7", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS:20170828T035524Z:db6f335a-204b-4cfb-96e0-1be44355df2a", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "7a187d68-2c58-478a-851a-c525656743c7", + "x-ms-request-id" : "db6f335a-204b-4cfb-96e0-1be44355df2a", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEQzMwNDI5OC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdGMTE5MjIzOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:36 GMT", + "date" : "Mon, 28 Aug 2017 03:55:38 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14985", + "x-ms-ratelimit-remaining-subscription-reads" : "14964", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "7b72b8f7-8b59-4506-9c07-383544ffffd7", + "x-ms-correlation-request-id" : "ca645da1-97bf-4e58-8d42-764f409810de", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "WESTUS2:20170131T024136Z:7b72b8f7-8b59-4506-9c07-383544ffffd7", + "x-ms-routing-request-id" : "WESTUS:20170828T035539Z:ca645da1-97bf-4e58-8d42-764f409810de", "cache-control" : "no-cache", - "x-ms-request-id" : "7b72b8f7-8b59-4506-9c07-383544ffffd7", + "x-ms-request-id" : "ca645da1-97bf-4e58-8d42-764f409810de", "Body" : "" } } ], - "variables" : [ "adlargdc304298", "adls06b319451", "secondadla57363", "testdb160855d", "testtable143673", "testtvf125652c", "testproc156624", "testview102423", "testcred155099", "b2a448d50360463", "bfbedb65d77f4cb" ] + "variables" : [ "testdb117763a", "testtable192838", "testtvf153422d", "testproc120125", "testview157591", "testcred178426", "a7f0a37750c5425", "6091217c9a0d40b" ] } \ No newline at end of file diff --git a/azure-mgmt-datalake-analytics/src/test/resources/session-records/canSubmitGetListAndCancelJobs.json b/azure-mgmt-datalake-analytics/src/test/resources/session-records/canSubmitGetListAndCancelJobs.json index 870ed936cd2da..5aae57a201f73 100644 --- a/azure-mgmt-datalake-analytics/src/test/resources/session-records/canSubmitGetListAndCancelJobs.json +++ b/azure-mgmt-datalake-analytics/src/test/resources/session-records/canSubmitGetListAndCancelJobs.json @@ -1,93 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargd8975740?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg4b931297?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:36 GMT", + "date" : "Fri, 08 Sep 2017 21:28:48 GMT", "content-length" : "182", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "2790604b-a9d8-4141-a39f-fb397ce23215", + "x-ms-correlation-request-id" : "1a684e9a-ba42-484f-80d6-99276cded6f5", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024137Z:2790604b-a9d8-4141-a39f-fb397ce23215", + "x-ms-routing-request-id" : "WESTUS2:20170908T212848Z:1a684e9a-ba42-484f-80d6-99276cded6f5", "content-type" : "application/json; charset=utf-8", "cache-control" : "no-cache", - "x-ms-request-id" : "2790604b-a9d8-4141-a39f-fb397ce23215", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740\",\"name\":\"adlargd8975740\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + "x-ms-request-id" : "1a684e9a-ba42-484f-80d6-99276cded6f5", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297\",\"name\":\"adlarg4b931297\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeStore/accounts/adls140042951?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeStore/accounts/adlsf5e72868b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:37 GMT", - "content-length" : "415", + "date" : "Fri, 08 Sep 2017 21:28:50 GMT", + "content-length" : "359", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "7fa41ffe-fe9f-4f87-9d58-c3b8e65ba56a", + "x-ms-correlation-request-id" : "ce474fc4-9072-4a54-aee6-3c115414bc95", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024138Z:7fa41ffe-fe9f-4f87-9d58-c3b8e65ba56a", + "x-ms-routing-request-id" : "WESTUS2:20170908T212850Z:ce474fc4-9072-4a54-aee6-3c115414bc95", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargd8975740/providers/Microsoft.DataLakeStore/accounts/adls140042951/operationresults/0?api-version=2016-11-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg4b931297/providers/Microsoft.DataLakeStore/accounts/adlsf5e72868b/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "6d494809-ba2e-4967-9313-8b3e62add621", - "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"30bb9b5e-a4b2-4e9f-ba64-348049d74167\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeStore/accounts/adls140042951\",\"name\":\"adls140042951\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/30bb9b5e-a4b2-4e9f-ba64-348049d741670?api-version=2016-11-01&expanded=true" + "x-ms-request-id" : "3e04a2a6-4448-42d4-be69-677d79ecf51f", + "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"6a47b3fd-aa21-431c-a7dc-05fb3c9a9271\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeStore/accounts/adlsf5e72868b\",\"name\":\"adlsf5e72868b\",\"type\":\"Microsoft.DataLakeStore/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/6a47b3fd-aa21-431c-a7dc-05fb3c9a92710?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/30bb9b5e-a4b2-4e9f-ba64-348049d741670?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/6a47b3fd-aa21-431c-a7dc-05fb3c9a92710?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:38 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "79a8ed7d-983d-40fa-8a98-aeff19898400", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024139Z:79a8ed7d-983d-40fa-8a98-aeff19898400", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "33373b2b-a71c-4c1d-a4d2-cd03886bdd19", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/30bb9b5e-a4b2-4e9f-ba64-348049d741670?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:41:48 GMT", + "date" : "Fri, 08 Sep 2017 21:28:50 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", @@ -97,53 +69,25 @@ "x-ms-ratelimit-remaining-subscription-reads" : "14990", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "7ab4b2ae-b2d4-4a24-b66e-861efbe478e3", + "x-ms-correlation-request-id" : "c33b0ca7-f878-480e-b5e1-b4d5e23505b1", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024149Z:7ab4b2ae-b2d4-4a24-b66e-861efbe478e3", + "x-ms-routing-request-id" : "WESTUS2:20170908T212851Z:c33b0ca7-f878-480e-b5e1-b4d5e23505b1", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "739e9642-d61c-4d08-8028-ca22b9fdce52", + "x-ms-request-id" : "3b0c9344-3915-4477-89e3-ad55d8a52138", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/30bb9b5e-a4b2-4e9f-ba64-348049d741670?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/6a47b3fd-aa21-431c-a7dc-05fb3c9a92710?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:00 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "23", - "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14985", - "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "56408bc6-73dd-4e57-99a3-c944594dfb30", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024200Z:56408bc6-73dd-4e57-99a3-c944594dfb30", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "d43247c4-afb7-48c8-9c25-b52203ae994d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeStore/locations/eastus2/operationResults/30bb9b5e-a4b2-4e9f-ba64-348049d741670?api-version=2016-11-01&expanded=true", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" - }, - "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:10 GMT", + "date" : "Fri, 08 Sep 2017 21:29:22 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "22", "expires" : "-1", @@ -153,224 +97,207 @@ "x-ms-ratelimit-remaining-subscription-reads" : "14993", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "b8654216-b2da-4334-8a62-95f5f4e6f86a", + "x-ms-correlation-request-id" : "4eeb01b2-09b9-43e0-8bc2-f36ea4b03f16", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024210Z:b8654216-b2da-4334-8a62-95f5f4e6f86a", + "x-ms-routing-request-id" : "WESTUS:20170908T212922Z:4eeb01b2-09b9-43e0-8bc2-f36ea4b03f16", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "16735fe6-a41f-4b16-86ac-c03c2fd22ba6", + "x-ms-request-id" : "fad028c6-f400-4706-bcaf-b4085b5db5b0", "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeStore/accounts/adls140042951?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeStore/accounts/adlsf5e72868b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeStoreAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeStoreAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:11 GMT", + "date" : "Fri, 08 Sep 2017 21:29:22 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "737", + "content-length" : "783", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14987", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "6f64b8c2-92f3-4352-a79e-ea2d252736ed", + "x-ms-correlation-request-id" : "4a6bd1a6-476b-4885-b332-30fe6131c1ec", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024211Z:6f64b8c2-92f3-4352-a79e-ea2d252736ed", + "x-ms-routing-request-id" : "WESTUS:20170908T212923Z:4a6bd1a6-476b-4885-b332-30fe6131c1ec", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "49093912-911b-40d5-8111-7c2b07933c3c", - "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adls140042951.azuredatalakestore.net\",\"accountId\":\"30bb9b5e-a4b2-4e9f-ba64-348049d74167\",\"creationTime\":\"2017-01-31T02:41:39.6792758Z\",\"lastModifiedTime\":\"2017-01-31T02:41:39.6792758Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeStore/accounts/adls140042951\",\"name\":\"adls140042951\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" + "x-ms-request-id" : "24e93e24-3e3f-4076-8d08-b136f350f989", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"firewallRules\":[],\"virtualNetworkRules\":[],\"trustedIdProviderState\":\"Disabled\",\"trustedIdProviders\":[],\"encryptionState\":\"Enabled\",\"encryptionConfig\":{\"type\":\"ServiceManaged\"},\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"adlsf5e72868b.azuredatalakestore.net\",\"accountId\":\"6a47b3fd-aa21-431c-a7dc-05fb3c9a9271\",\"creationTime\":\"2017-09-08T21:28:51.101082Z\",\"lastModifiedTime\":\"2017-09-08T21:28:51.101082Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeStore/accounts/adlsf5e72868b\",\"name\":\"adlsf5e72868b\",\"type\":\"Microsoft.DataLakeStore/accounts\"}" } }, { "Method" : "PUT", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeAnalytics/accounts/secondadla94054?api-version=2016-11-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeAnalytics/accounts/secondadla83064?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:15 GMT", - "content-length" : "573", + "date" : "Fri, 08 Sep 2017 21:29:24 GMT", + "content-length" : "517", "server" : "Microsoft-IIS/8.5", "expires" : "-1", "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "retry-after" : "0", "StatusCode" : "201", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "6c5e3683-edcb-49c7-83e6-932a3a149a5f", + "x-ms-correlation-request-id" : "1908f201-d96a-4d8a-869a-193b0605b9b5", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024215Z:6c5e3683-edcb-49c7-83e6-932a3a149a5f", + "x-ms-routing-request-id" : "WESTUS:20170908T212925Z:1908f201-d96a-4d8a-869a-193b0605b9b5", "x-powered-by" : "ASP.NET", "content-type" : "application/json", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargd8975740/providers/Microsoft.DataLakeAnalytics/accounts/secondadla94054/operationresults/0?api-version=2016-11-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg4b931297/providers/Microsoft.DataLakeAnalytics/accounts/secondadla83064/operationresults/0?api-version=2016-11-01", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "850b11ea-9f4e-4f5a-b2c4-6b1a173ef3b1", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls140042951\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls140042951\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"51286053-15c6-48bd-85fe-2cdbe95d141c\",\"creationTime\":null,\"lastModifiedTime\":null},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeAnalytics/accounts/secondadla94054\",\"name\":\"secondadla94054\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", - "azure-asyncoperation" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/51286053-15c6-48bd-85fe-2cdbe95d141c0?api-version=2016-11-01&expanded=true" + "x-ms-request-id" : "95b75082-256a-473b-9dbf-32f798e8f32e", + "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adlsf5e72868b\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsf5e72868b\"}],\"provisioningState\":\"Creating\",\"state\":null,\"endpoint\":null,\"accountId\":\"bb69f9f7-9ed0-40f8-9b1d-c1e6d909982c\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeAnalytics/accounts/secondadla83064\",\"name\":\"secondadla83064\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/bb69f9f7-9ed0-40f8-9b1d-c1e6d909982c0?api-version=2016-11-01&expanded=true" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/51286053-15c6-48bd-85fe-2cdbe95d141c0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/bb69f9f7-9ed0-40f8-9b1d-c1e6d909982c0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:16 GMT", + "date" : "Fri, 08 Sep 2017 21:29:26 GMT", "server" : "Microsoft-IIS/8.5", "content-length" : "23", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "c259cceb-4ca6-4a4c-945c-85f190b2eba3", + "x-ms-correlation-request-id" : "f81c9a80-5d0b-4dc3-9fe3-3c4c1d8b34be", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024216Z:c259cceb-4ca6-4a4c-945c-85f190b2eba3", + "x-ms-routing-request-id" : "WESTUS:20170908T212926Z:f81c9a80-5d0b-4dc3-9fe3-3c4c1d8b34be", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "49b463f5-f504-4762-848a-945636acd544", + "x-ms-request-id" : "076936c0-952a-454f-82b4-98903368ec42", "Body" : "{\"status\":\"InProgress\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/51286053-15c6-48bd-85fe-2cdbe95d141c0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/bb69f9f7-9ed0-40f8-9b1d-c1e6d909982c0?api-version=2016-11-01&expanded=true", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:26 GMT", + "date" : "Fri, 08 Sep 2017 21:29:55 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "23", + "content-length" : "22", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14992", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "53822a74-3f6b-44bd-9150-76c6c387576e", + "x-ms-correlation-request-id" : "91463f08-a166-45da-924b-cabfc465047a", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024227Z:53822a74-3f6b-44bd-9150-76c6c387576e", + "x-ms-routing-request-id" : "WESTUS2:20170908T212956Z:91463f08-a166-45da-924b-cabfc465047a", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "b9a6aa23-0ed8-436f-ad19-ef1ebff7fe55", - "Body" : "{\"status\":\"InProgress\"}" + "x-ms-request-id" : "7cb6c545-5ef5-4c29-9fee-957c6a6daccb", + "Body" : "{\"status\":\"Succeeded\"}" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/51286053-15c6-48bd-85fe-2cdbe95d141c0?api-version=2016-11-01&expanded=true", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeAnalytics/accounts/secondadla83064?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:37 GMT", + "date" : "Fri, 08 Sep 2017 21:29:56 GMT", "server" : "Microsoft-IIS/8.5", - "content-length" : "23", + "content-length" : "1068", "expires" : "-1", "vary" : "Accept-Encoding", "x-aspnet-version" : "4.0.30319", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14984", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "7983384d-394b-4394-963b-0dd6568f6349", + "x-ms-correlation-request-id" : "ab29a54f-85b8-4486-a982-ba76384faa05", "strict-transport-security" : "max-age=31536000; includeSubDomains", "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024238Z:7983384d-394b-4394-963b-0dd6568f6349", + "x-ms-routing-request-id" : "WESTUS2:20170908T212957Z:ab29a54f-85b8-4486-a982-ba76384faa05", "x-powered-by" : "ASP.NET", "content-type" : "application/json", "connection" : "close", "cache-control" : "no-cache", - "x-ms-request-id" : "8df3321e-2e34-4c2f-90ca-c52b254c0784", - "Body" : "{\"status\":\"InProgress\"}" + "x-ms-request-id" : "6e1de0d5-78fe-43ae-b864-665ae77eb36f", + "Body" : "{\"properties\":{\"firewallState\":\"Disabled\",\"firewallAllowAzureIps\":\"Disabled\",\"debugDataAccessLevel\":\"All\",\"firewallRules\":[],\"defaultDataLakeStoreAccount\":\"adlsf5e72868b\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adlsf5e72868b\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":100,\"maxJobCount\":20,\"systemMaxDegreeOfParallelism\":100,\"systemMaxJobCount\":20,\"maxDegreeOfParallelismPerJob\":100,\"minPriorityPerJob\":1,\"computePolicies\":[],\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla83064.azuredatalakeanalytics.net\",\"accountId\":\"bb69f9f7-9ed0-40f8-9b1d-c1e6d909982c\",\"creationTime\":\"2017-09-08T21:29:26.9836251Z\",\"lastModifiedTime\":\"2017-09-08T21:29:26.9836251Z\"},\"location\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlarg4b931297/providers/Microsoft.DataLakeAnalytics/accounts/secondadla83064\",\"name\":\"secondadla83064\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" } }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataLakeAnalytics/locations/eastus2/operationResults/51286053-15c6-48bd-85fe-2cdbe95d141c0?api-version=2016-11-01&expanded=true", + "Method" : "PUT", + "Uri" : "http://localhost:1234/Jobs/123a9b88-d8cf-4a5a-9546-882cde67476b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:47 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "22", + "date" : "Fri, 08 Sep 2017 21:30:18 GMT", "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", + "transfer-encoding" : "chunked", + "x-content-type-options" : "nosniff", + "content-type" : "application/json; charset=utf-8", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14986", + "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "c91d627a-488b-461f-98ed-ab8ebeebbb5d", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024248Z:c91d627a-488b-461f-98ed-ab8ebeebbb5d", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "a4560455-d581-4378-b49c-57020f216c78", - "Body" : "{\"status\":\"Succeeded\"}" + "x-ms-request-id" : "7b6e48b4-d4ec-4f5d-9401-03d9fe15cfa3", + "Body" : "{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:18.2385387+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:18.2385387+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/123a9b88-d8cf-4a5a-9546-882cde67476b/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"4f30649a-95f9-4595-94fe-0a35d7dd0eec\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", + "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeAnalytics/accounts/secondadla94054?api-version=2016-11-01", + "Method" : "POST", + "Uri" : "http://localhost:1234/Jobs/123a9b88-d8cf-4a5a-9546-882cde67476b/CancelJob?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsAccountManagementClient, 2016-11-01)" + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:48 GMT", - "server" : "Microsoft-IIS/8.5", - "content-length" : "890", + "date" : "Fri, 08 Sep 2017 21:30:19 GMT", "expires" : "-1", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", + "transfer-encoding" : "chunked", + "x-content-type-options" : "nosniff", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "d4a8ec2c-62ee-4391-8bcf-2bcc03cb3628", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20170131T024249Z:d4a8ec2c-62ee-4391-8bcf-2bcc03cb3628", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json", - "connection" : "close", - "cache-control" : "no-cache", - "x-ms-request-id" : "54f4cc37-d205-4ee3-ac87-6434de158edd", - "Body" : "{\"properties\":{\"defaultDataLakeStoreAccount\":\"adls140042951\",\"dataLakeStoreAccounts\":[{\"properties\":{\"suffix\":\"azuredatalakestore.net\"},\"name\":\"adls140042951\"}],\"storageAccounts\":[],\"maxDegreeOfParallelism\":250,\"maxJobCount\":10,\"systemMaxDegreeOfParallelism\":250,\"systemMaxJobCount\":20,\"queryStoreRetention\":30,\"hiveMetastores\":[],\"currentTier\":\"Consumption\",\"newTier\":\"Consumption\",\"provisioningState\":\"Succeeded\",\"state\":\"Active\",\"endpoint\":\"secondadla94054.azuredatalakeanalytics.net\",\"accountId\":\"51286053-15c6-48bd-85fe-2cdbe95d141c\",\"creationTime\":\"2017-01-31T02:42:17.431195Z\",\"lastModifiedTime\":\"2017-01-31T02:42:17.431195Z\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adlargd8975740/providers/Microsoft.DataLakeAnalytics/accounts/secondadla94054\",\"name\":\"secondadla94054\",\"type\":\"Microsoft.DataLakeAnalytics/accounts\"}" + "x-ms-request-id" : "2fe596bd-4b19-4a3c-9589-46a5899c5130", + "Body" : "", + "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "PUT", - "Uri" : "http://localhost:2412/Jobs/123a9b88-d8cf-4a5a-9546-882cde67476b?api-version=2016-11-01", + "Method" : "GET", + "Uri" : "http://localhost:1234/Jobs/123a9b88-d8cf-4a5a-9546-882cde67476b?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:50 GMT", + "date" : "Fri, 08 Sep 2017 21:30:19 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -378,38 +305,39 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "02734c42-aa82-4fff-95cc-d28165113c6f", - "Body" : "{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:50.7826079+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:50.7826079+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/123a9b88-d8cf-4a5a-9546-882cde67476b/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", + "x-ms-request-id" : "3f3401d7-5680-4f9f-84d2-106d331492a6", + "Body" : "{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:18.2385387+00:00\",\"endTime\":\"2017-09-08T21:30:19.207318+00:00\",\"state\":\"Ended\",\"result\":\"Cancelled\",\"errorMessage\":[{\"errorId\":\"I_USER_CJS_CANCELEDBYUSER\",\"name\":\"CANCELED_BY_USER\",\"severity\":\"Info\",\"source\":\"User\",\"component\":\"CJS\",\"message\":\"Job was cancelled.\",\"details\":\"\",\"description\":\"Job was cancelled by AdlSdkTestApp01@SPI.\",\"resolution\":\"\",\"helpLink\":\"\",\"innerError\":null}],\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:18.2385387+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:18.8479221+00:00\",\"details\":\"Compilation:0e37c883-0e54-474e-bf80-cb5e464c5a84;Status:Dispatched\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-09-08T21:30:19.207318+00:00\",\"details\":\"result:CanceledByUser\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/123a9b88-d8cf-4a5a-9546-882cde67476b/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/123a9b88-d8cf-4a5a-9546-882cde67476b/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/123a9b88-d8cf-4a5a-9546-882cde67476b/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"UserError\",\"totalCompilationTime\":\"PT0.3593959S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"4f30649a-95f9-4595-94fe-0a35d7dd0eec\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "POST", - "Uri" : "http://localhost:2412/Jobs/123a9b88-d8cf-4a5a-9546-882cde67476b/CancelJob?api-version=2016-11-01", + "Method" : "PUT", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:50 GMT", + "date" : "Fri, 08 Sep 2017 21:30:19 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", + "content-type" : "application/json; charset=utf-8", "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "88003a46-31e6-4501-a922-aa04af708952", - "Body" : "", + "x-ms-request-id" : "30707f6a-ff7d-40f1-a0ea-29dea49a1b6a", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/123a9b88-d8cf-4a5a-9546-882cde67476b?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:51 GMT", + "date" : "Fri, 08 Sep 2017 21:30:20 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -417,19 +345,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "b6073738-94e4-4882-9c47-f4cfca947bf4", - "Body" : "{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:50.7826079+00:00\",\"endTime\":\"2017-01-31T02:42:51.1888621+00:00\",\"state\":\"Ended\",\"result\":\"Cancelled\",\"errorMessage\":[{\"errorId\":\"I_USER_CJS_CANCELEDBYUSER\",\"name\":\"CANCELED_BY_USER\",\"severity\":\"Info\",\"source\":\"User\",\"component\":\"CJS\",\"message\":\"Job was cancelled.\",\"details\":\"\",\"description\":\"Job was cancelled by adlsvc01app@SPI.\",\"resolution\":\"\",\"helpLink\":\"\",\"innerError\":null}],\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:50.7826079+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:51.0169855+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-01-31T02:42:51.1888621+00:00\",\"details\":\"result:CanceledByUser\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/123a9b88-d8cf-4a5a-9546-882cde67476b/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/123a9b88-d8cf-4a5a-9546-882cde67476b/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/123a9b88-d8cf-4a5a-9546-882cde67476b/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"UserError\",\"totalCompilationTime\":\"PT0.1718766S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "fb53138c-c3e6-46c8-8ac4-20c65b57fae4", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:20.3166875+00:00\",\"details\":\"Compilation:b4c14177-ff23-46ed-b3c0-8a0d875e11cc;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.1471349S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "PUT", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Method" : "GET", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:51 GMT", + "date" : "Fri, 08 Sep 2017 21:30:24 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -437,19 +365,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "c7ac63d3-a686-4720-92b5-4141defc8f83", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00Z\",\"type\":\"USql\"}}", + "x-ms-request-id" : "cb663039-a5ea-4817-b11a-7274cb5b02af", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:20.3166875+00:00\",\"details\":\"Compilation:b4c14177-ff23-46ed-b3c0-8a0d875e11cc;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.3972566S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:51 GMT", + "date" : "Fri, 08 Sep 2017 21:30:31 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -457,19 +385,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "b783fa58-6f5a-4eaa-98a5-5846caf40442", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0.1145979S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "bb96caf7-39ef-4690-9f85-c8f0e1bf6228", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:20.3166875+00:00\",\"details\":\"Compilation:b4c14177-ff23-46ed-b3c0-8a0d875e11cc;Status:Dispatched\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT10.7208393S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:42:56 GMT", + "date" : "Fri, 08 Sep 2017 21:30:36 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -477,19 +405,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "0da96f8b-cde5-4463-bb58-6d4953a83d6f", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT5.3490841S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "c4e1b978-bb91-4f73-820d-ec4b376674b6", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"startTime\":\"2017-09-08T21:30:36.3324983+00:00\",\"state\":\"Running\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:20.3166875+00:00\",\"details\":\"Compilation:b4c14177-ff23-46ed-b3c0-8a0d875e11cc;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-09-08T21:30:32.5981074+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-09-08T21:30:32.6137355+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:a947ea61-81ce-45a5-9a71-b0f7d1623b5c\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-09-08T21:30:32.6137355+00:00\",\"details\":\"runtimeVersion:adl_vnext_c11cf298\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-09-08T21:30:36.3324983+00:00\",\"details\":\"runAttempt:1\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"adl_vnext_c11cf298\",\"rootProcessNodeId\":\"a947ea61-81ce-45a5-9a71-b0f7d1623b5c\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":248371,\"yarnApplicationTimeStamp\":1504794365996,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT12.2814199S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156281S\",\"totalRunningTime\":\"PT0.1269392S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:02 GMT", + "date" : "Fri, 08 Sep 2017 21:30:41 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -497,19 +425,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "c33aa8e6-1250-4e77-9940-5f63d397b507", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"state\":\"Compiling\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"default\",\"rootProcessNodeId\":\"00000000-0000-0000-0000-000000000000\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT10.8161267S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "be10bd63-c75c-41ad-baaf-e078632aa67b", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"startTime\":\"2017-09-08T21:30:36.3324983+00:00\",\"state\":\"Running\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:20.3166875+00:00\",\"details\":\"Compilation:b4c14177-ff23-46ed-b3c0-8a0d875e11cc;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-09-08T21:30:32.5981074+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-09-08T21:30:32.6137355+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:a947ea61-81ce-45a5-9a71-b0f7d1623b5c\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-09-08T21:30:32.6137355+00:00\",\"details\":\"runtimeVersion:adl_vnext_c11cf298\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-09-08T21:30:36.3324983+00:00\",\"details\":\"runAttempt:1\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"adl_vnext_c11cf298\",\"rootProcessNodeId\":\"a947ea61-81ce-45a5-9a71-b0f7d1623b5c\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":248371,\"yarnApplicationTimeStamp\":1504794365996,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT12.2814199S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156281S\",\"totalRunningTime\":\"PT5.3457142S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:07 GMT", + "date" : "Fri, 08 Sep 2017 21:30:46 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -517,19 +445,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "c8957746-bc6a-4296-901e-d178f73d7f66", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:43:03.8452332+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:829b6ab3-4715-41e9-9f14-df53279a12f4\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"829b6ab3-4715-41e9-9f14-df53279a12f4\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":123456,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.7032207S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "e0dce734-b341-47cd-9cbb-30196ea42045", + "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"startTime\":\"2017-09-08T21:30:36.3324983+00:00\",\"endTime\":\"2017-09-08T21:30:43.2231942+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-09-08T21:30:20.0979344+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-09-08T21:30:20.3166875+00:00\",\"details\":\"Compilation:b4c14177-ff23-46ed-b3c0-8a0d875e11cc;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-09-08T21:30:32.5981074+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-09-08T21:30:32.6137355+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:a947ea61-81ce-45a5-9a71-b0f7d1623b5c\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-09-08T21:30:32.6137355+00:00\",\"details\":\"runtimeVersion:adl_vnext_c11cf298\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-09-08T21:30:36.3324983+00:00\",\"details\":\"runAttempt:1\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-09-08T21:30:43.2231942+00:00\",\"details\":\"result:Succeeded\"}],\"properties\":{\"owner\":\"AdlSdkTestApp01@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"PartitionLastRows.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/PartitionLastRows.xml\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeDiagnosisInfo__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeDiagnosisInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"adl_vnext_c11cf298\",\"rootProcessNodeId\":\"a947ea61-81ce-45a5-9a71-b0f7d1623b5c\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/09/08/21/30/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":248371,\"yarnApplicationTimeStamp\":1504794365996,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT12.2814199S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.0156281S\",\"totalRunningTime\":\"PT6.8906959S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"},\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/Jobs?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:12 GMT", + "date" : "Fri, 08 Sep 2017 21:30:47 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -537,19 +465,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "f782b55a-30b7-4e5e-b4b5-f2aafc0a69f7", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"state\":\"Starting\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:43:03.8452332+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:829b6ab3-4715-41e9-9f14-df53279a12f4\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"829b6ab3-4715-41e9-9f14-df53279a12f4\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":123456,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.7032207S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT0S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "a93297b1-a848-4142-9aae-bc94b0036ca9", + "Body" : "{\"value\":[{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"startTime\":\"2017-09-08T21:30:36.3324983+00:00\",\"endTime\":\"2017-09-08T21:30:43.2231942+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}},{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-09-08T21:30:18.2385387+00:00\",\"endTime\":\"2017-09-08T21:30:19.207318+00:00\",\"state\":\"Ended\",\"result\":\"Cancelled\",\"related\":{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"runId\":\"4f30649a-95f9-4595-94fe-0a35d7dd0eec\",\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\"}}]}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/pipelines/94521484-9d14-452d-9330-d18d306d78c5?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:18 GMT", + "date" : "Fri, 08 Sep 2017 21:30:47 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -557,19 +485,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "8e8ead47-f9b6-43c2-b316-951f96a75879", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"startTime\":\"2017-01-31T02:43:16.8140972+00:00\",\"state\":\"Running\",\"result\":\"None\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:43:03.8452332+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:829b6ab3-4715-41e9-9f14-df53279a12f4\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-01-31T02:43:16.8140972+00:00\",\"details\":\"runAttempt:1\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"829b6ab3-4715-41e9-9f14-df53279a12f4\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":123456,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.7032207S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT1.7693547S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "e923f113-0cf5-459b-a3fa-c3794526ee7d", + "Body" : "{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"numJobsFailed\":0,\"numJobsCanceled\":1,\"numJobsSucceeded\":1,\"auHoursFailed\":0.0,\"auHoursCanceled\":0.0,\"auHoursSucceeded\":0.0038281643888888888,\"lastSubmitTime\":\"2017-09-08T21:30:20.0979344+00:00\",\"runs\":[{\"item1\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"item2\":\"2017-09-08T21:30:20.0979344+00:00\"},{\"item1\":\"4f30649a-95f9-4595-94fe-0a35d7dd0eec\",\"item2\":\"2017-09-08T21:30:18.2385387+00:00\"},{\"item1\":\"204d9164-4e43-48ec-8651-3e13110dfbb4\",\"item2\":\"2017-09-08T21:30:20.0979344+00:00\"},{\"item1\":\"4f30649a-95f9-4595-94fe-0a35d7dd0eec\",\"item2\":\"2017-09-08T21:30:18.2385387+00:00\"}],\"recurrences\":[\"5247eb29-9060-4f58-9f61-b63fab547c58\"]}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs/b422b92a-ff47-4324-bea1-1d98cb09cce4?api-version=2016-11-01", + "Uri" : "http://localhost:1234/pipelines?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:23 GMT", + "date" : "Fri, 08 Sep 2017 21:30:47 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -577,19 +505,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "0610aee0-0212-4182-a06b-240811cc5d13", - "Body" : "{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"startTime\":\"2017-01-31T02:43:16.8140972+00:00\",\"endTime\":\"2017-01-31T02:43:23.0172545+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"stateAuditRecords\":[{\"newState\":\"New\",\"timeStamp\":\"2017-01-31T02:42:52.0014006+00:00\",\"details\":\"userName:;submitMachine:N/A\"},{\"newState\":\"Compiling\",\"timeStamp\":\"2017-01-31T02:42:52.1420125+00:00\",\"details\":\"CcsAttempts:1;Status:Dispatched\"},{\"newState\":\"Queued\",\"timeStamp\":\"2017-01-31T02:43:03.8452332+00:00\"},{\"newState\":\"Scheduling\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"Detail:Dispatching job to cluster.;rootProcessId:829b6ab3-4715-41e9-9f14-df53279a12f4\"},{\"newState\":\"Starting\",\"timeStamp\":\"2017-01-31T02:43:03.8608412+00:00\",\"details\":\"runtimeVersion:kobo_vnext_signed_5250581\"},{\"newState\":\"Running\",\"timeStamp\":\"2017-01-31T02:43:16.8140972+00:00\",\"details\":\"runAttempt:1\"},{\"newState\":\"Ended\",\"timeStamp\":\"2017-01-31T02:43:23.0172545+00:00\",\"details\":\"result:Succeeded\"}],\"properties\":{\"owner\":\"adlsvc01app@SPI\",\"resources\":[{\"name\":\"__ScopeCodeGen__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGenEngine__.pdb\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.pdb\",\"type\":\"VertexResource\"},{\"name\":\"ScopeVertexDef.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/ScopeVertexDef.xml\",\"type\":\"VertexResource\"},{\"name\":\"__ScopeCodeGen__.dll.cs\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGen__.dll.cs\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.dll.cpp\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.dll.cpp\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOutput__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOutput__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenCompileOptions__.txt\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenCompileOptions__.txt\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeCodeGenEngine__.cppresources\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeCodeGenEngine__.cppresources\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerTrace.log\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerTrace.log\",\"type\":\"StatisticsResource\"},{\"name\":\"__SystemInternalInfo__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__SystemInternalInfo__.xml\",\"type\":\"StatisticsResource\"},{\"name\":\"__CompilerPlan.json\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__CompilerPlan.json\",\"type\":\"StatisticsResource\"},{\"name\":\"query.abr\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/query.abr\",\"type\":\"StatisticsResource\"},{\"name\":\"Profile\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/profile\",\"type\":\"StatisticsResource\"},{\"name\":\"__ScopeRuntimeStatistics__.xml\",\"resourcePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/__ScopeRuntimeStatistics__.xml\",\"type\":\"StatisticsResource\"}],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"rootProcessNodeId\":\"829b6ab3-4715-41e9-9f14-df53279a12f4\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adls140042951.azuredatalakestore.net/system/jobservice/jobs/Usql/2017/01/31/02/42/b422b92a-ff47-4324-bea1-1d98cb09cce4/algebra.xml\",\"yarnApplicationId\":123456,\"yarnApplicationTimeStamp\":1485195156037,\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT11.7032207S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0.015608S\",\"totalRunningTime\":\"PT6.2031573S\",\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "e716d7f9-0215-4d1b-9d03-40328ad70698", + "Body" : "{\"value\":[{\"pipelineId\":\"94521484-9d14-452d-9330-d18d306d78c5\",\"pipelineName\":\"pipeline\",\"pipelineUri\":\"https://pipelineuri.contoso.com/myJob\",\"numJobsFailed\":0,\"numJobsCanceled\":1,\"numJobsSucceeded\":1,\"auHoursFailed\":0.0,\"auHoursCanceled\":0.0,\"auHoursSucceeded\":0.0038281643888888888,\"lastSubmitTime\":\"2017-09-08T21:30:20.0979344+00:00\"}],\"count\":1}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs?api-version=2016-11-01", + "Uri" : "http://localhost:1234/recurrences/5247eb29-9060-4f58-9f61-b63fab547c58?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:23 GMT", + "date" : "Fri, 08 Sep 2017 21:30:47 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -597,19 +525,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "5544e760-dc4f-4b27-9c32-81c078aa8e8f", - "Body" : "{\"value\":[{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:50.7826079+00:00\",\"endTime\":\"2017-01-31T02:42:51.1888621+00:00\",\"state\":\"Ended\",\"result\":\"Cancelled\"},{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"startTime\":\"2017-01-31T02:43:16.8140972+00:00\",\"endTime\":\"2017-01-31T02:43:23.0172545+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\"}]}", + "x-ms-request-id" : "8f6ff40f-f4d5-4f14-a82e-3bc81e3e46f2", + "Body" : "{\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\",\"numJobsFailed\":0,\"numJobsCanceled\":1,\"numJobsSucceeded\":1,\"auHoursFailed\":0.0,\"auHoursCanceled\":0.0,\"auHoursSucceeded\":0.0038281643888888888,\"lastSubmitTime\":\"2017-09-08T21:30:20.0979344+00:00\"}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "POST", - "Uri" : "http://localhost:2412/BuildJob?api-version=2016-11-01", + "Method" : "GET", + "Uri" : "http://localhost:1234/recurrences?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:32 GMT", + "date" : "Fri, 08 Sep 2017 21:30:47 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -617,19 +545,19 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "c6460f5a-8ff3-43fd-b84f-280f6f695f58", - "Body" : "{\"jobId\":\"e37b603e-c62e-465a-aa11-630b1ac0956e\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":0,\"priority\":0,\"submitTime\":\"0001-01-01T00:00:00+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"properties\":{\"resources\":[],\"runtimeVersion\":\"kobo_vnext_signed_5250581\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"mafs://accounts/adls140042951/fs/system/compilationService/jobs/USql/e37b603e-c62e-465a-aa11-630b1ac0956e/2017/01/31/02/43/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"totalCompilationTime\":\"PT0S\",\"totalPausedTime\":\"PT0S\",\"totalQueuedTime\":\"PT0S\",\"totalRunningTime\":\"PT0S\",\"diagnostics\":[],\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "x-ms-request-id" : "615bb122-e9cb-497e-89d4-5037ddf7e8b9", + "Body" : "{\"value\":[{\"recurrenceId\":\"5247eb29-9060-4f58-9f61-b63fab547c58\",\"recurrenceName\":\"recurrence\",\"numJobsFailed\":0,\"numJobsCanceled\":1,\"numJobsSucceeded\":1,\"auHoursFailed\":0.0,\"auHoursCanceled\":0.0,\"auHoursSucceeded\":0.0038281643888888888,\"lastSubmitTime\":\"2017-09-08T21:30:20.0979344+00:00\"}],\"count\":1}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/Jobs?$orderby=jobId&api-version=2016-11-01", + "Method" : "POST", + "Uri" : "http://localhost:1234/BuildJob?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (DataLakeAnalyticsJobManagementClient, 2016-11-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:32 GMT", + "date" : "Fri, 08 Sep 2017 21:30:53 GMT", "expires" : "-1", "transfer-encoding" : "chunked", "x-content-type-options" : "nosniff", @@ -637,208 +565,206 @@ "retry-after" : "0", "cache-control" : "private, no-cache, no-store, max-age=0", "StatusCode" : "200", - "x-ms-request-id" : "82ff05d4-e8c2-4c5f-b9c3-3852fad4755a", - "Body" : "{\"value\":[{\"jobId\":\"123a9b88-d8cf-4a5a-9546-882cde67476b\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:50.7826079+00:00\",\"endTime\":\"2017-01-31T02:42:51.1888621+00:00\",\"state\":\"Ended\",\"result\":\"Cancelled\"},{\"jobId\":\"b422b92a-ff47-4324-bea1-1d98cb09cce4\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"adlsvc01app@SPI\",\"degreeOfParallelism\":2,\"priority\":1000,\"submitTime\":\"2017-01-31T02:42:52.0014006+00:00\",\"startTime\":\"2017-01-31T02:43:16.8140972+00:00\",\"endTime\":\"2017-01-31T02:43:23.0172545+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\"}]}", + "x-ms-request-id" : "29befb7f-4197-495f-9421-acc69fad0987", + "Body" : "{\"jobId\":\"f7cc9ba4-851d-4ccb-a849-057fd827aaab\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":0,\"priority\":0,\"submitTime\":\"0001-01-01T00:00:00+00:00\",\"state\":\"Ended\",\"result\":\"Succeeded\",\"properties\":{\"runtimeVersion\":\"default\",\"script\":\"DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;\",\"algebraFilePath\":\"adl://adlsf5e72868b.azuredatalakestore.net/system/compilationService/jobs/USql/f7cc9ba4-851d-4ccb-a849-057fd827aaab/2017/09/08/21/30/algebra.xml\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"diagnostics\":[],\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "DELETE", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlargd8975740?api-version=2016-09-01", + "Method" : "POST", + "Uri" : "http://localhost:1234/BuildJob?api-version=2016-11-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)", + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (DataLakeAnalyticsJobManagementClient, 2016-11-01)", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:33 GMT", - "content-length" : "0", + "date" : "Fri, 08 Sep 2017 21:30:59 GMT", "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "transfer-encoding" : "chunked", + "x-content-type-options" : "nosniff", + "content-type" : "application/json; charset=utf-8", "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "x-ms-correlation-request-id" : "ef63015b-d722-44f5-aba0-b57c6cd7e2aa", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024333Z:ef63015b-d722-44f5-aba0-b57c6cd7e2aa", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "ef63015b-d722-44f5-aba0-b57c6cd7e2aa", - "Body" : "" + "cache-control" : "private, no-cache, no-store, max-age=0", + "StatusCode" : "200", + "x-ms-request-id" : "d54be4b8-34d7-46d6-a82b-42d1687566e8", + "Body" : "{\"jobId\":\"673ec437-1712-4b37-b396-e2bb52bad820\",\"name\":\"java azure sdk data lake analytics job\",\"type\":\"USql\",\"submitter\":\"AdlSdkTestApp01@SPI\",\"degreeOfParallelism\":0,\"priority\":0,\"submitTime\":\"0001-01-01T00:00:00+00:00\",\"state\":\"Ended\",\"result\":\"Failed\",\"properties\":{\"runtimeVersion\":\"default\",\"script\":\"DROP DATABASE IF EXIST FOO; CREATE DATABASE FOO;\",\"compileMode\":\"Semantic\",\"errorSource\":\"Unknown\",\"diagnostics\":[{\"severity\":\"Error\",\"lineNumber\":1,\"columnNumber\":18,\"start\":17,\"end\":22,\"message\":\"E_CSC_USER_SYNTAXERROR: syntax error. Expected one of: EXISTS\"}],\"expirationTimeUtc\":\"0001-01-01T00:00:00\",\"type\":\"USql\"}}", + "strict-transport-security" : "max-age=15724800; includeSubDomains" } }, { - "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/adlarg4b931297?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)", + "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:33 GMT", + "date" : "Fri, 08 Sep 2017 21:31:00 GMT", "content-length" : "0", "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14984", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "06545757-2b39-493e-bf01-4b180fe02f47", + "x-ms-correlation-request-id" : "90798001-0129-4d9c-9182-0c5679d7e3a8", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024334Z:06545757-2b39-493e-bf01-4b180fe02f47", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213101Z:90798001-0129-4d9c-9182-0c5679d7e3a8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "06545757-2b39-493e-bf01-4b180fe02f47", + "x-ms-request-id" : "90798001-0129-4d9c-9182-0c5679d7e3a8", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:43:48 GMT", + "date" : "Fri, 08 Sep 2017 21:31:00 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14983", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "e358769d-f562-4690-8e65-ce270f9baca6", + "x-ms-correlation-request-id" : "3671eccd-b5ba-4085-8c72-1f30b60f1180", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024349Z:e358769d-f562-4690-8e65-ce270f9baca6", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213101Z:3671eccd-b5ba-4085-8c72-1f30b60f1180", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "e358769d-f562-4690-8e65-ce270f9baca6", + "x-ms-request-id" : "3671eccd-b5ba-4085-8c72-1f30b60f1180", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:44:03 GMT", + "date" : "Fri, 08 Sep 2017 21:31:15 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14982", + "x-ms-ratelimit-remaining-subscription-reads" : "14990", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "52d60ef5-fd7f-47da-b09a-d363b59571f5", + "x-ms-correlation-request-id" : "f575eb20-0ef1-46a4-9018-2504f259e8c1", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024404Z:52d60ef5-fd7f-47da-b09a-d363b59571f5", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213116Z:f575eb20-0ef1-46a4-9018-2504f259e8c1", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "52d60ef5-fd7f-47da-b09a-d363b59571f5", + "x-ms-request-id" : "f575eb20-0ef1-46a4-9018-2504f259e8c1", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:44:18 GMT", + "date" : "Fri, 08 Sep 2017 21:31:31 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14981", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "b3d6ad00-c1cb-44e5-ac12-072fe21dbaf5", + "x-ms-correlation-request-id" : "5f1b683f-02f4-4feb-88a1-e99265e083cd", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024419Z:b3d6ad00-c1cb-44e5-ac12-072fe21dbaf5", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213131Z:5f1b683f-02f4-4feb-88a1-e99265e083cd", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "b3d6ad00-c1cb-44e5-ac12-072fe21dbaf5", + "x-ms-request-id" : "5f1b683f-02f4-4feb-88a1-e99265e083cd", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:44:34 GMT", + "date" : "Fri, 08 Sep 2017 21:31:46 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14980", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "caff3784-6655-4506-8a5e-c8c9d8c9cc85", + "x-ms-correlation-request-id" : "f7e5b3c4-18f8-40d6-87fa-ee7070b56764", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024434Z:caff3784-6655-4506-8a5e-c8c9d8c9cc85", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213147Z:f7e5b3c4-18f8-40d6-87fa-ee7070b56764", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "caff3784-6655-4506-8a5e-c8c9d8c9cc85", + "x-ms-request-id" : "f7e5b3c4-18f8-40d6-87fa-ee7070b56764", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:44:49 GMT", + "date" : "Fri, 08 Sep 2017 21:32:02 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14979", + "x-ms-ratelimit-remaining-subscription-reads" : "14987", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "66adcc26-7af6-4db5-9544-04c787419d93", + "x-ms-correlation-request-id" : "d89eedc5-3c5f-446d-8fa2-afe6f32ea1c4", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024449Z:66adcc26-7af6-4db5-9544-04c787419d93", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213202Z:d89eedc5-3c5f-446d-8fa2-afe6f32ea1c4", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "66adcc26-7af6-4db5-9544-04c787419d93", + "x-ms-request-id" : "d89eedc5-3c5f-446d-8fa2-afe6f32ea1c4", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:45:04 GMT", + "date" : "Fri, 08 Sep 2017 21:32:17 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14978", + "x-ms-ratelimit-remaining-subscription-reads" : "14986", "StatusCode" : "202", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "b78ecd76-b0cc-4bce-97f3-b09a68091c84", + "x-ms-correlation-request-id" : "c47ae0ee-2918-46ad-9d92-08dc13757013", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024504Z:b78ecd76-b0cc-4bce-97f3-b09a68091c84", - "location" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "x-ms-routing-request-id" : "WESTUS2:20170908T213217Z:c47ae0ee-2918-46ad-9d92-08dc13757013", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "cache-control" : "no-cache", - "x-ms-request-id" : "b78ecd76-b0cc-4bce-97f3-b09a68091c84", + "x-ms-request-id" : "c47ae0ee-2918-46ad-9d92-08dc13757013", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:2412/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkdEODk3NTc0MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BRExBUkc0QjkzMTI5Ny1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-09-01", "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null (ResourceManagementClient, 2016-09-01)" + "User-Agent" : "Azure-SDK-For-Java/1.1.3-SNAPSHOT OS:Windows 10/10.0 MacAddressHash:5f3500f0b37804caa718b746d26328687ad210e563a1af2fef252b5b54b6edd3 Java:1.8.0_144 (ResourceManagementClient, 2016-09-01)" }, "Response" : { - "date" : "Tue, 31 Jan 2017 02:45:19 GMT", + "date" : "Fri, 08 Sep 2017 21:32:32 GMT", "content-length" : "0", "expires" : "-1", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14977", + "x-ms-ratelimit-remaining-subscription-reads" : "14985", "StatusCode" : "200", "pragma" : "no-cache", - "x-ms-correlation-request-id" : "253db581-3d02-4348-9b7d-7a049f15d2e6", + "x-ms-correlation-request-id" : "90cf5cdd-f393-4dec-8590-bce332103c45", "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-routing-request-id" : "CENTRALUS:20170131T024520Z:253db581-3d02-4348-9b7d-7a049f15d2e6", + "x-ms-routing-request-id" : "WESTUS2:20170908T213232Z:90cf5cdd-f393-4dec-8590-bce332103c45", "cache-control" : "no-cache", - "x-ms-request-id" : "253db581-3d02-4348-9b7d-7a049f15d2e6", + "x-ms-request-id" : "90cf5cdd-f393-4dec-8590-bce332103c45", "Body" : "" } } ], - "variables" : [ "adlargd8975740", "adls140042951", "secondadla94054" ] + "variables" : [ "adlarg4b931297", "adlsf5e72868b", "secondadla83064", "939e23fe-26dd-4319-9e77-c69b91abfb17", "9c2bf9fc-e536-4c8c-8513-0a6ac815bef3", "6bd98282-0497-4f25-ae16-911375b68136", "34b058ab-1c37-4619-a2c2-1ac746e5eb70", "260cdcad-0136-484f-9f36-25a5dde7d85f", "03d424ac-1bad-41d7-b610-32b428ce98d0" ] } \ No newline at end of file diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java index a639e1c0885e6..4b602631872fd 100644 --- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java +++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/Accounts.java @@ -11,6 +11,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount; +import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountBasic; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountUpdateParameters; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; @@ -389,9 +390,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - PagedList listByResourceGroup(final String resourceGroupName); + PagedList listByResourceGroup(final String resourceGroupName); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. @@ -401,25 +402,25 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback); + ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account(s). * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable> listByResourceGroupAsync(final String resourceGroupName); + Observable> listByResourceGroupAsync(final String resourceGroupName); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account(s). * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName); + Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * @@ -433,9 +434,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. @@ -451,7 +452,7 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. @@ -464,9 +465,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. @@ -479,9 +480,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -489,9 +490,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - PagedList list(); + PagedList list(); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -500,23 +501,23 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listAsync(final ListOperationCallback serviceCallback); + ServiceFuture> listAsync(final ListOperationCallback serviceCallback); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable> listAsync(); + Observable> listAsync(); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable>> listWithServiceResponseAsync(); + Observable>> listWithServiceResponseAsync(); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * @@ -529,9 +530,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -546,7 +547,7 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); + ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -558,9 +559,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -572,9 +573,9 @@ public interface Accounts { * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); + Observable>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. @@ -583,9 +584,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - PagedList listByResourceGroupNext(final String nextPageLink); + PagedList listByResourceGroupNext(final String nextPageLink); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. @@ -596,25 +597,25 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable> listByResourceGroupNextAsync(final String nextPageLink); + Observable> listByResourceGroupNextAsync(final String nextPageLink); /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink); + Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -623,9 +624,9 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - PagedList listNext(final String nextPageLink); + PagedList listNext(final String nextPageLink); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. @@ -636,24 +637,24 @@ public interface Accounts { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable> listNextAsync(final String nextPageLink); + Observable> listNextAsync(final String nextPageLink); /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - Observable>> listNextWithServiceResponseAsync(final String nextPageLink); + Observable>> listNextWithServiceResponseAsync(final String nextPageLink); } diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java index 9580bed17a0b1..d7be3164394dd 100644 --- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java +++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/implementation/AccountsImpl.java @@ -15,6 +15,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount; +import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountBasic; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountUpdateParameters; import com.microsoft.azure.management.datalake.store.models.PageImpl; import com.microsoft.azure.Page; @@ -283,8 +284,8 @@ public Observable> call(Response beginCreateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -794,13 +795,13 @@ private ServiceResponse enableKeyVaultDelegate(Response resp * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - public PagedList listByResourceGroup(final String resourceGroupName) { - ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listByResourceGroup(final String resourceGroupName) { + ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -814,12 +815,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) { + public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listByResourceGroupSinglePageAsync(resourceGroupName), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink); } }, @@ -831,13 +832,13 @@ public Observable>> call(String nextP * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account(s). * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - public Observable> listByResourceGroupAsync(final String resourceGroupName) { + public Observable> listByResourceGroupAsync(final String resourceGroupName) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -848,13 +849,13 @@ public Page call(ServiceResponse>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName) { + public Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName) { return listByResourceGroupSinglePageAsync(resourceGroupName) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -869,9 +870,9 @@ public Observable>> call(ServiceRespo * * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account(s). * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeStoreAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName) { + public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -888,12 +889,12 @@ public Observable>> listByResourceGro final String orderby = null; final Boolean count = null; return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listByResourceGroupDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listByResourceGroupDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -914,13 +915,13 @@ public Observable>> call(Response listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listByResourceGroup(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -940,12 +941,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink); } }, @@ -963,13 +964,13 @@ public Observable>> call(String nextP * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - public Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable> listByResourceGroupAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName, filter, top, skip, select, orderby, count) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -986,13 +987,13 @@ public Page call(ServiceResponse>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listByResourceGroupSinglePageAsync(resourceGroupName, filter, top, skip, select, orderby, count) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1005,17 +1006,17 @@ public Observable>> call(ServiceRespo /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * - ServiceResponse> * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account(s). - ServiceResponse> * @param filter OData filter. Optional. - ServiceResponse> * @param top The number of items to return. Optional. - ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. - ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. - ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. - ServiceResponse> * @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Store account(s). + ServiceResponse> * @param filter OData filter. Optional. + ServiceResponse> * @param top The number of items to return. Optional. + ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. + ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. + ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. + ServiceResponse> * @param count A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeStoreAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName, final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1026,12 +1027,12 @@ public Observable>> listByResourceGro throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listByResourceGroupDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listByResourceGroupDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1039,9 +1040,9 @@ public Observable>> call(Response> listByResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listByResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1052,13 +1053,13 @@ private ServiceResponse> listByResourceGroupDeleg * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - public PagedList list() { - ServiceResponse> response = listSinglePageAsync().toBlocking().single(); - return new PagedList(response.body()) { + public PagedList list() { + ServiceResponse> response = listSinglePageAsync().toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -1071,12 +1072,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAsync(final ListOperationCallback serviceCallback) { + public ServiceFuture> listAsync(final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSinglePageAsync(), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -1087,13 +1088,13 @@ public Observable>> call(String nextP * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - public Observable> listAsync() { + public Observable> listAsync() { return listWithServiceResponseAsync() - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -1103,13 +1104,13 @@ public Page call(ServiceResponse>> listWithServiceResponseAsync() { + public Observable>> listWithServiceResponseAsync() { return listSinglePageAsync() - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1123,9 +1124,9 @@ public Observable>> call(ServiceRespo * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeStoreAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSinglePageAsync() { + public Observable>> listSinglePageAsync() { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } @@ -1139,12 +1140,12 @@ public Observable>> listSinglePageAsy final String orderby = null; final Boolean count = null; return service.list(this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1164,13 +1165,13 @@ public Observable>> call(Response list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { - ServiceResponse> response = listSinglePageAsync(filter, top, skip, select, orderby, count).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList list(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + ServiceResponse> response = listSinglePageAsync(filter, top, skip, select, orderby, count).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -1189,12 +1190,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { + public ServiceFuture> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSinglePageAsync(filter, top, skip, select, orderby, count), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -1211,13 +1212,13 @@ public Observable>> call(String nextP * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - public Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable> listAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listWithServiceResponseAsync(filter, top, skip, select, orderby, count) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -1233,13 +1234,13 @@ public Page call(ServiceResponse>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listWithServiceResponseAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { return listSinglePageAsync(filter, top, skip, select, orderby, count) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1252,16 +1253,16 @@ public Observable>> call(ServiceRespo /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * - ServiceResponse> * @param filter OData filter. Optional. - ServiceResponse> * @param top The number of items to return. Optional. - ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. - ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. - ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. - ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. + ServiceResponse> * @param filter OData filter. Optional. + ServiceResponse> * @param top The number of items to return. Optional. + ServiceResponse> * @param skip The number of items to skip over before returning elements. Optional. + ServiceResponse> * @param select OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. + ServiceResponse> * @param orderby OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. + ServiceResponse> * @param count The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeStoreAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSinglePageAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { + public Observable>> listSinglePageAsync(final String filter, final Integer top, final Integer skip, final String select, final String orderby, final Boolean count) { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } @@ -1269,12 +1270,12 @@ public Observable>> listSinglePageAsy throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.list(this.client.subscriptionId(), filter, top, skip, select, orderby, count, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1282,9 +1283,9 @@ public Observable>> call(Response> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1296,13 +1297,13 @@ private ServiceResponse> listDelegate(Response listByResourceGroupNext(final String nextPageLink) { - ServiceResponse> response = listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listByResourceGroupNext(final String nextPageLink) { + ServiceResponse> response = listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -1317,12 +1318,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + public ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listByResourceGroupNextSinglePageAsync(nextPageLink), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink); } }, @@ -1334,13 +1335,13 @@ public Observable>> call(String nextP * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - public Observable> listByResourceGroupNextAsync(final String nextPageLink) { + public Observable> listByResourceGroupNextAsync(final String nextPageLink) { return listByResourceGroupNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -1351,13 +1352,13 @@ public Page call(ServiceResponse>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink) { + public Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink) { return listByResourceGroupNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1370,22 +1371,22 @@ public Observable>> call(ServiceRespo /** * Lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeStoreAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listByResourceGroupNextSinglePageAsync(final String nextPageLink) { + public Observable>> listByResourceGroupNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } String nextUrl = String.format("%s", nextPageLink); return service.listByResourceGroupNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listByResourceGroupNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listByResourceGroupNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1393,9 +1394,9 @@ public Observable>> call(Response> listByResourceGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listByResourceGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } @@ -1407,13 +1408,13 @@ private ServiceResponse> listByResourceGroupNextD * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DataLakeStoreAccount> object if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object if successful. */ - public PagedList listNext(final String nextPageLink) { - ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listNext(final String nextPageLink) { + ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { + public Page nextPage(String nextPageLink) { return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; @@ -1428,12 +1429,12 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listNextSinglePageAsync(nextPageLink), - new Func1>>>() { + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { + public Observable>> call(String nextPageLink) { return listNextSinglePageAsync(nextPageLink); } }, @@ -1445,13 +1446,13 @@ public Observable>> call(String nextP * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DataLakeStoreAccount> object + * @return the observable to the PagedList<DataLakeStoreAccountBasic> object */ - public Observable> listNextAsync(final String nextPageLink) { + public Observable> listNextAsync(final String nextPageLink) { return listNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); @@ -1462,13 +1463,13 @@ public Page call(ServiceResponse>> listNextWithServiceResponseAsync(final String nextPageLink) { + public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { return listNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); @@ -1481,22 +1482,22 @@ public Observable>> call(ServiceRespo /** * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DataLakeStoreAccount> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DataLakeStoreAccountBasic> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listNextSinglePageAsync(final String nextPageLink) { + public Observable>> listNextSinglePageAsync(final String nextPageLink) { if (nextPageLink == null) { throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); } String nextUrl = String.format("%s", nextPageLink); return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1504,9 +1505,9 @@ public Observable>> call(Response> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) .registerError(CloudException.class) .build(response); } diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java index d56ec74d55262..5c247532c9f62 100644 --- a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java +++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccount.java @@ -9,6 +9,7 @@ package com.microsoft.azure.management.datalake.store.models; import org.joda.time.DateTime; +import java.util.UUID; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; @@ -26,16 +27,16 @@ public class DataLakeStoreAccount extends Resource { private EncryptionIdentity identity; /** - * the status of the Data Lake Store account while being provisioned. - * Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', - * 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted'. + * the provisioning status of the Data Lake Store account. Possible values + * include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', + * 'Suspending', 'Resuming', 'Deleting', 'Deleted'. */ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private DataLakeStoreAccountStatus provisioningState; /** - * the status of the Data Lake Store account after provisioning has - * completed. Possible values include: 'Active', 'Suspended'. + * the state of the Data Lake Store account. Possible values include: + * 'Active', 'Suspended'. */ @JsonProperty(value = "properties.state", access = JsonProperty.Access.WRITE_ONLY) private DataLakeStoreAccountState state; @@ -46,6 +47,24 @@ public class DataLakeStoreAccount extends Resource { @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY) private DateTime creationTime; + /** + * the account last modified time. + */ + @JsonProperty(value = "properties.lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastModifiedTime; + + /** + * the full CName endpoint for this account. + */ + @JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY) + private String endpoint; + + /** + * The unique identifier associated with this Data Lake Store account. + */ + @JsonProperty(value = "properties.accountId", access = JsonProperty.Access.WRITE_ONLY) + private UUID accountId; + /** * The current state of encryption for this Data Lake store account. * Possible values include: 'Enabled', 'Disabled'. @@ -93,18 +112,6 @@ public class DataLakeStoreAccount extends Resource { @JsonProperty(value = "properties.trustedIdProviders") private List trustedIdProviders; - /** - * the account last modified time. - */ - @JsonProperty(value = "properties.lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) - private DateTime lastModifiedTime; - - /** - * the gateway host. - */ - @JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY) - private String endpoint; - /** * the default owner group for all new folders and files created in the * Data Lake Store account. @@ -184,6 +191,33 @@ public DateTime creationTime() { return this.creationTime; } + /** + * Get the lastModifiedTime value. + * + * @return the lastModifiedTime value + */ + public DateTime lastModifiedTime() { + return this.lastModifiedTime; + } + + /** + * Get the endpoint value. + * + * @return the endpoint value + */ + public String endpoint() { + return this.endpoint; + } + + /** + * Get the accountId value. + * + * @return the accountId value + */ + public UUID accountId() { + return this.accountId; + } + /** * Get the encryptionState value. * @@ -313,24 +347,6 @@ public DataLakeStoreAccount withTrustedIdProviders(List trust return this; } - /** - * Get the lastModifiedTime value. - * - * @return the lastModifiedTime value - */ - public DateTime lastModifiedTime() { - return this.lastModifiedTime; - } - - /** - * Get the endpoint value. - * - * @return the endpoint value - */ - public String endpoint() { - return this.endpoint; - } - /** * Get the defaultGroup value. * diff --git a/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountBasic.java b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountBasic.java new file mode 100644 index 0000000000000..d6cd7c7c89f94 --- /dev/null +++ b/azure-mgmt-datalake-store/src/main/java/com/microsoft/azure/management/datalake/store/models/DataLakeStoreAccountBasic.java @@ -0,0 +1,115 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalake.store.models; + +import org.joda.time.DateTime; +import java.util.UUID; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; + +/** + * Basic Data Lake Store account information, returned on list calls. + */ +@JsonFlatten +public class DataLakeStoreAccountBasic extends Resource { + /** + * the provisioning status of the Data Lake Store account. Possible values + * include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', + * 'Suspending', 'Resuming', 'Deleting', 'Deleted'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private DataLakeStoreAccountStatus provisioningState; + + /** + * the state of the Data Lake Store account. Possible values include: + * 'Active', 'Suspended'. + */ + @JsonProperty(value = "properties.state", access = JsonProperty.Access.WRITE_ONLY) + private DataLakeStoreAccountState state; + + /** + * the account creation time. + */ + @JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime creationTime; + + /** + * the account last modified time. + */ + @JsonProperty(value = "properties.lastModifiedTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastModifiedTime; + + /** + * the full CName endpoint for this account. + */ + @JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY) + private String endpoint; + + /** + * The unique identifier associated with this Data Lake Store account. + */ + @JsonProperty(value = "properties.accountId", access = JsonProperty.Access.WRITE_ONLY) + private UUID accountId; + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public DataLakeStoreAccountStatus provisioningState() { + return this.provisioningState; + } + + /** + * Get the state value. + * + * @return the state value + */ + public DataLakeStoreAccountState state() { + return this.state; + } + + /** + * Get the creationTime value. + * + * @return the creationTime value + */ + public DateTime creationTime() { + return this.creationTime; + } + + /** + * Get the lastModifiedTime value. + * + * @return the lastModifiedTime value + */ + public DateTime lastModifiedTime() { + return this.lastModifiedTime; + } + + /** + * Get the endpoint value. + * + * @return the endpoint value + */ + public String endpoint() { + return this.endpoint; + } + + /** + * Get the accountId value. + * + * @return the accountId value + */ + public UUID accountId() { + return this.accountId; + } + +} diff --git a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java index 4ffb027630378..a482d4bad64ed 100644 --- a/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java +++ b/azure-mgmt-datalake-store/src/test/java/com/microsoft/azure/management/datalake/store/DataLakeStoreAccountOperationsTests.java @@ -6,7 +6,9 @@ package com.microsoft.azure.management.datalake.store; +import com.microsoft.azure.PagedList; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccount; +import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountBasic; import com.microsoft.azure.management.datalake.store.models.DataLakeStoreAccountUpdateParameters; import org.junit.Assert; import org.junit.Test; @@ -52,9 +54,9 @@ public void canCreateGetUpdateDeleteAdlsAccount() throws Exception { Assert.assertEquals(2, getResponse.getTags().size()); // list all accounts and make sure there is one. - List listResult = dataLakeStoreAccountManagementClient.accounts().list(); - DataLakeStoreAccount discoveredAcct = null; - for (DataLakeStoreAccount acct : listResult) { + PagedList listResult = dataLakeStoreAccountManagementClient.accounts().list(); + DataLakeStoreAccountBasic discoveredAcct = null; + for (DataLakeStoreAccountBasic acct : listResult) { if (acct.name().equals(adlsAcct)) { discoveredAcct = acct; break; @@ -68,13 +70,10 @@ public void canCreateGetUpdateDeleteAdlsAccount() throws Exception { Assert.assertTrue(discoveredAcct.id().contains(adlsAcct)); Assert.assertEquals(2, discoveredAcct.getTags().size()); - // the properties should be empty when we do list calls - Assert.assertNull(discoveredAcct.defaultGroup()); - // list within a resource group listResult = dataLakeStoreAccountManagementClient.accounts().listByResourceGroup(resourceGroupName); discoveredAcct = null; - for (DataLakeStoreAccount acct : listResult) { + for (DataLakeStoreAccountBasic acct : listResult) { if (acct.name().equals(adlsAcct)) { discoveredAcct = acct; break; @@ -88,9 +87,6 @@ public void canCreateGetUpdateDeleteAdlsAccount() throws Exception { Assert.assertTrue(discoveredAcct.id().contains(adlsAcct)); Assert.assertEquals(2, discoveredAcct.getTags().size()); - // the properties should be empty when we do list calls - Assert.assertNull(discoveredAcct.defaultGroup()); - // Delete the ADLS account dataLakeStoreAccountManagementClient.accounts().delete(resourceGroupName, adlsAcct); diff --git a/gulpfile.js b/gulpfile.js index a73ea8dbfb911..b95e90f3230eb 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -245,25 +245,25 @@ var mappings = { }, 'datalake.store.account': { 'dir': 'azure-mgmt-datalake-store', - 'source': 'arm-datalake-store/account/2016-11-01/swagger/account.json', + 'source': 'specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/account.json', 'package': 'com.microsoft.azure.management.datalake.store', 'fluent': false }, 'datalake.analytics.account': { 'dir': 'azure-mgmt-datalake-analytics', - 'source': 'arm-datalake-analytics/account/2016-11-01/swagger/account.json', + 'source': 'specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/account.json', 'package': 'com.microsoft.azure.management.datalake.analytics', 'fluent': false }, 'datalake.analytics.job': { 'dir': 'azure-mgmt-datalake-analytics', - 'source': 'arm-datalake-analytics/job/2016-11-01/swagger/job.json', + 'source': 'specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/2016-11-01/job.json', 'package': 'com.microsoft.azure.management.datalake.analytics', 'fluent': false }, 'datalake.analytics.catalog': { 'dir': 'azure-mgmt-datalake-analytics', - 'source': 'arm-datalake-analytics/catalog/2016-11-01/swagger/catalog.json', + 'source': 'specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/2016-11-01/catalog.json', 'package': 'com.microsoft.azure.management.datalake.analytics', 'fluent': false },