diff --git a/sdk/datafactory/mgmt-v2018_06_01/pom.xml b/sdk/datafactory/mgmt-v2018_06_01/pom.xml
index fd7cea89e0a4..6a01bee79fc6 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/pom.xml
+++ b/sdk/datafactory/mgmt-v2018_06_01/pom.xml
@@ -11,11 +11,11 @@
com.microsoft.azure
azure-arm-parent
- 1.3.2
- ../../parents/azure-arm-parent/pom.xml
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-datafactory
- 1.0.0-beta-3
+ 1.0.0-beta
jar
Microsoft Azure SDK for DataFactory Management
This package contains Microsoft DataFactory Management SDK.
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSLinkedService.java
index 0897fcc06624..d2de10661973 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSLinkedService.java
@@ -57,6 +57,15 @@ public class AzureBlobFSLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
@@ -165,6 +174,26 @@ public AzureBlobFSLinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the AzureBlobFSLinkedService object itself.
+ */
+ public AzureBlobFSLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageLinkedService.java
index 9f31fd001094..546a4254dc4f 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageLinkedService.java
@@ -77,6 +77,15 @@ public class AzureBlobStorageLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
@@ -245,6 +254,26 @@ public AzureBlobStorageLinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the AzureBlobStorageLinkedService object itself.
+ */
+ public AzureBlobStorageLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreLinkedService.java
index b65c4f3463c2..41a77ca1a57b 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreLinkedService.java
@@ -49,6 +49,15 @@ public class AzureDataLakeStoreLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* Data Lake Store account name. Type: string (or Expression with
* resultType string).
@@ -158,6 +167,26 @@ public AzureDataLakeStoreLinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the AzureDataLakeStoreLinkedService object itself.
+ */
+ public AzureDataLakeStoreLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get data Lake Store account name. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java
index 71c11abe047f..f7e6a2d6649e 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java
@@ -76,6 +76,13 @@ public class AzureFileStorageLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.fileShare")
private Object fileShare;
+ /**
+ * The azure file share snapshot version. Type: string (or Expression with
+ * resultType string).
+ */
+ @JsonProperty(value = "typeProperties.snapshot")
+ private Object snapshot;
+
/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
@@ -244,6 +251,26 @@ public AzureFileStorageLinkedService withFileShare(Object fileShare) {
return this;
}
+ /**
+ * Get the azure file share snapshot version. Type: string (or Expression with resultType string).
+ *
+ * @return the snapshot value
+ */
+ public Object snapshot() {
+ return this.snapshot;
+ }
+
+ /**
+ * Set the azure file share snapshot version. Type: string (or Expression with resultType string).
+ *
+ * @param snapshot the snapshot value to set
+ * @return the AzureFileStorageLinkedService object itself.
+ */
+ public AzureFileStorageLinkedService withSnapshot(Object snapshot) {
+ this.snapshot = snapshot;
+ return this;
+ }
+
/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageWriteSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageWriteSettings.java
new file mode 100644
index 000000000000..8988cca5acfa
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageWriteSettings.java
@@ -0,0 +1,20 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+
+/**
+ * Azure File Storage write settings.
+ */
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = AzureFileStorageWriteSettings.class)
+@JsonTypeName("AzureFileStorageWriteSettings")
+public class AzureFileStorageWriteSettings extends StoreWriteSettings {
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDWLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDWLinkedService.java
index 0e16aaa0fa02..52838a9e2e9e 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDWLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDWLinkedService.java
@@ -56,6 +56,15 @@ public class AzureSqlDWLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
@@ -164,6 +173,26 @@ public AzureSqlDWLinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the AzureSqlDWLinkedService object itself.
+ */
+ public AzureSqlDWLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDatabaseLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDatabaseLinkedService.java
index 3419c3e48400..b358a1918e55 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDatabaseLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlDatabaseLinkedService.java
@@ -55,6 +55,15 @@ public class AzureSqlDatabaseLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
@@ -163,6 +172,26 @@ public AzureSqlDatabaseLinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the AzureSqlDatabaseLinkedService object itself.
+ */
+ public AzureSqlDatabaseLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlMILinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlMILinkedService.java
index 417ad6f30fad..80d5cbe68b54 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlMILinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlMILinkedService.java
@@ -55,6 +55,15 @@ public class AzureSqlMILinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
@@ -163,6 +172,26 @@ public AzureSqlMILinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the AzureSqlMILinkedService object itself.
+ */
+ public AzureSqlMILinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConnectionStateProperties.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConnectionStateProperties.java
new file mode 100644
index 000000000000..d6954df3c600
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConnectionStateProperties.java
@@ -0,0 +1,62 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The connection state of a managed private endpoint.
+ */
+public class ConnectionStateProperties {
+ /**
+ * The actions required on the managed private endpoint.
+ */
+ @JsonProperty(value = "actionsRequired", access = JsonProperty.Access.WRITE_ONLY)
+ private String actionsRequired;
+
+ /**
+ * The managed private endpoint description.
+ */
+ @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
+ private String description;
+
+ /**
+ * The approval status.
+ */
+ @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
+ private String status;
+
+ /**
+ * Get the actions required on the managed private endpoint.
+ *
+ * @return the actionsRequired value
+ */
+ public String actionsRequired() {
+ return this.actionsRequired;
+ }
+
+ /**
+ * Get the managed private endpoint description.
+ *
+ * @return the description value
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Get the approval status.
+ *
+ * @return the status value
+ */
+ public String status() {
+ return this.status;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CosmosDbSqlApiSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CosmosDbSqlApiSource.java
index 2ea67907a622..6de03dfa8642 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CosmosDbSqlApiSource.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CosmosDbSqlApiSource.java
@@ -39,6 +39,13 @@ public class CosmosDbSqlApiSource extends CopySource {
@JsonProperty(value = "preferredRegions")
private Object preferredRegions;
+ /**
+ * Whether detect primitive values as datetime values. Type: boolean (or
+ * Expression with resultType boolean).
+ */
+ @JsonProperty(value = "detectDatetime")
+ private Object detectDatetime;
+
/**
* Specifies the additional columns to be added to source data. Type: array
* of objects (or Expression with resultType array of objects).
@@ -106,6 +113,26 @@ public CosmosDbSqlApiSource withPreferredRegions(Object preferredRegions) {
return this;
}
+ /**
+ * Get whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean).
+ *
+ * @return the detectDatetime value
+ */
+ public Object detectDatetime() {
+ return this.detectDatetime;
+ }
+
+ /**
+ * Set whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean).
+ *
+ * @param detectDatetime the detectDatetime value to set
+ * @return the CosmosDbSqlApiSource object itself.
+ */
+ public CosmosDbSqlApiSource withDetectDatetime(Object detectDatetime) {
+ this.detectDatetime = detectDatetime;
+ return this;
+ }
+
/**
* Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java
index 27d82aa33f7a..9ee02863f89a 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java
@@ -32,6 +32,12 @@ public class DataFlowSink extends Transformation {
@JsonProperty(value = "schemaLinkedService")
private LinkedServiceReference schemaLinkedService;
+ /**
+ * Staging info for execute data flow activity.
+ */
+ @JsonProperty(value = "staging")
+ private DataFlowStagingInfo staging;
+
/**
* Get dataset reference.
*
@@ -92,4 +98,24 @@ public DataFlowSink withSchemaLinkedService(LinkedServiceReference schemaLinkedS
return this;
}
+ /**
+ * Get staging info for execute data flow activity.
+ *
+ * @return the staging value
+ */
+ public DataFlowStagingInfo staging() {
+ return this.staging;
+ }
+
+ /**
+ * Set staging info for execute data flow activity.
+ *
+ * @param staging the staging value to set
+ * @return the DataFlowSink object itself.
+ */
+ public DataFlowSink withStaging(DataFlowStagingInfo staging) {
+ this.staging = staging;
+ return this;
+ }
+
}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java
index 72f5cd40bbd1..baf8653d7ded 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java
@@ -32,6 +32,12 @@ public class DataFlowSource extends Transformation {
@JsonProperty(value = "schemaLinkedService")
private LinkedServiceReference schemaLinkedService;
+ /**
+ * Staging info for execute data flow activity.
+ */
+ @JsonProperty(value = "staging")
+ private DataFlowStagingInfo staging;
+
/**
* Get dataset reference.
*
@@ -92,4 +98,24 @@ public DataFlowSource withSchemaLinkedService(LinkedServiceReference schemaLinke
return this;
}
+ /**
+ * Get staging info for execute data flow activity.
+ *
+ * @return the staging value
+ */
+ public DataFlowStagingInfo staging() {
+ return this.staging;
+ }
+
+ /**
+ * Set staging info for execute data flow activity.
+ *
+ * @param staging the staging value to set
+ * @return the DataFlowSource object itself.
+ */
+ public DataFlowSource withStaging(DataFlowStagingInfo staging) {
+ this.staging = staging;
+ return this;
+ }
+
}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControlBatchRequest.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControlBatchRequest.java
new file mode 100644
index 000000000000..02922a105dd7
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControlBatchRequest.java
@@ -0,0 +1,44 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * A list of exposure control features.
+ */
+public class ExposureControlBatchRequest {
+ /**
+ * List of exposure control features.
+ */
+ @JsonProperty(value = "exposureControlRequests", required = true)
+ private List exposureControlRequests;
+
+ /**
+ * Get list of exposure control features.
+ *
+ * @return the exposureControlRequests value
+ */
+ public List exposureControlRequests() {
+ return this.exposureControlRequests;
+ }
+
+ /**
+ * Set list of exposure control features.
+ *
+ * @param exposureControlRequests the exposureControlRequests value to set
+ * @return the ExposureControlBatchRequest object itself.
+ */
+ public ExposureControlBatchRequest withExposureControlRequests(List exposureControlRequests) {
+ this.exposureControlRequests = exposureControlRequests;
+ return this;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControlBatchResponse.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControlBatchResponse.java
new file mode 100644
index 000000000000..05922894f210
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControlBatchResponse.java
@@ -0,0 +1,27 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.DataFactoryManager;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ExposureControlBatchResponseInner;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ExposureControlResponseInner;
+import java.util.List;
+
+/**
+ * Type representing ExposureControlBatchResponse.
+ */
+public interface ExposureControlBatchResponse extends HasInner, HasManager {
+ /**
+ * @return the exposureControlResponses value.
+ */
+ List exposureControlResponses();
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControls.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControls.java
index 49a99cf4c44a..df88d6ad0266 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControls.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExposureControls.java
@@ -9,6 +9,7 @@
package com.microsoft.azure.management.datafactory.v2018_06_01;
import rx.Observable;
+import java.util.List;
/**
* Type representing ExposureControls.
@@ -35,4 +36,15 @@ public interface ExposureControls {
*/
Observable getFeatureValueByFactoryAsync(String resourceGroupName, String factoryName, ExposureControlRequest exposureControlRequest);
+ /**
+ * Get list of exposure control features for specific factory.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param exposureControlRequests List of exposure control features.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable queryFeatureValuesByFactoryAsync(String resourceGroupName, String factoryName, List exposureControlRequests);
+
}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedPrivateEndpointResource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedPrivateEndpointResource.java
new file mode 100644
index 000000000000..627a873b097a
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedPrivateEndpointResource.java
@@ -0,0 +1,150 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ManagedPrivateEndpointResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.DataFactoryManager;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ManagedPrivateEndpointInner;
+import java.util.Map;
+import java.util.List;
+
+/**
+ * Type representing ManagedPrivateEndpointResource.
+ */
+public interface ManagedPrivateEndpointResource extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the etag value.
+ */
+ String etag();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ ManagedPrivateEndpointInner properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the ManagedPrivateEndpointResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithManagedVirtualNetwork, DefinitionStages.WithIfMatch, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of ManagedPrivateEndpointResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a ManagedPrivateEndpointResource definition.
+ */
+ interface Blank extends WithManagedVirtualNetwork {
+ }
+
+ /**
+ * The stage of the managedprivateendpointresource definition allowing to specify ManagedVirtualNetwork.
+ */
+ interface WithManagedVirtualNetwork {
+ /**
+ * Specifies resourceGroupName, factoryName, managedVirtualNetworkName.
+ * @param resourceGroupName The resource group name
+ * @param factoryName The factory name
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @return the next definition stage
+ */
+ WithIfMatch withExistingManagedVirtualNetwork(String resourceGroupName, String factoryName, String managedVirtualNetworkName);
+ }
+
+ /**
+ * The stage of the managedprivateendpointresource definition allowing to specify IfMatch.
+ */
+ interface WithIfMatch {
+ /**
+ * Specifies ifMatch.
+ * @param ifMatch ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update
+ * @return the next definition stage
+ */
+ WithProperties withIfMatch(String ifMatch);
+ }
+
+ /**
+ * The stage of the managedprivateendpointresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Managed private endpoint properties
+ * @return the next definition stage
+ */
+ WithCreate withProperties(ManagedPrivateEndpointInner properties);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable {
+ }
+ }
+ /**
+ * The template for a ManagedPrivateEndpointResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithIfMatch, UpdateStages.WithProperties {
+ }
+
+ /**
+ * Grouping of ManagedPrivateEndpointResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the managedprivateendpointresource update allowing to specify IfMatch.
+ */
+ interface WithIfMatch {
+ /**
+ * Specifies ifMatch.
+ * @param ifMatch ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update
+ * @return the next update stage
+ */
+ Update withIfMatch(String ifMatch);
+ }
+
+ /**
+ * The stage of the managedprivateendpointresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Managed private endpoint properties
+ * @return the next update stage
+ */
+ Update withProperties(ManagedPrivateEndpointInner properties);
+ }
+
+ }
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedPrivateEndpoints.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedPrivateEndpoints.java
new file mode 100644
index 000000000000..43ed715224e5
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedPrivateEndpoints.java
@@ -0,0 +1,56 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ManagedPrivateEndpointsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing ManagedPrivateEndpoints.
+ */
+public interface ManagedPrivateEndpoints extends SupportsCreating, HasInner {
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName);
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByFactoryAsync(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName);
+
+ /**
+ * Deletes a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName);
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedVirtualNetworkResource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedVirtualNetworkResource.java
new file mode 100644
index 000000000000..5096453b5c5d
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedVirtualNetworkResource.java
@@ -0,0 +1,148 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ManagedVirtualNetworkResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.DataFactoryManager;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ManagedVirtualNetworkInner;
+import java.util.Map;
+
+/**
+ * Type representing ManagedVirtualNetworkResource.
+ */
+public interface ManagedVirtualNetworkResource extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the etag value.
+ */
+ String etag();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ ManagedVirtualNetworkInner properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the ManagedVirtualNetworkResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithFactory, DefinitionStages.WithIfMatch, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of ManagedVirtualNetworkResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a ManagedVirtualNetworkResource definition.
+ */
+ interface Blank extends WithFactory {
+ }
+
+ /**
+ * The stage of the managedvirtualnetworkresource definition allowing to specify Factory.
+ */
+ interface WithFactory {
+ /**
+ * Specifies resourceGroupName, factoryName.
+ * @param resourceGroupName The resource group name
+ * @param factoryName The factory name
+ * @return the next definition stage
+ */
+ WithIfMatch withExistingFactory(String resourceGroupName, String factoryName);
+ }
+
+ /**
+ * The stage of the managedvirtualnetworkresource definition allowing to specify IfMatch.
+ */
+ interface WithIfMatch {
+ /**
+ * Specifies ifMatch.
+ * @param ifMatch ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update
+ * @return the next definition stage
+ */
+ WithProperties withIfMatch(String ifMatch);
+ }
+
+ /**
+ * The stage of the managedvirtualnetworkresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Managed Virtual Network properties
+ * @return the next definition stage
+ */
+ WithCreate withProperties(ManagedVirtualNetworkInner properties);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable {
+ }
+ }
+ /**
+ * The template for a ManagedVirtualNetworkResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithIfMatch, UpdateStages.WithProperties {
+ }
+
+ /**
+ * Grouping of ManagedVirtualNetworkResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the managedvirtualnetworkresource update allowing to specify IfMatch.
+ */
+ interface WithIfMatch {
+ /**
+ * Specifies ifMatch.
+ * @param ifMatch ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update
+ * @return the next update stage
+ */
+ Update withIfMatch(String ifMatch);
+ }
+
+ /**
+ * The stage of the managedvirtualnetworkresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Managed Virtual Network properties
+ * @return the next update stage
+ */
+ Update withProperties(ManagedVirtualNetworkInner properties);
+ }
+
+ }
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedVirtualNetworks.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedVirtualNetworks.java
new file mode 100644
index 000000000000..019eb28a197b
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ManagedVirtualNetworks.java
@@ -0,0 +1,41 @@
+/**
+ * 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.datafactory.v2018_06_01;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Observable;
+import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.ManagedVirtualNetworksInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing ManagedVirtualNetworks.
+ */
+public interface ManagedVirtualNetworks extends SupportsCreating, HasInner {
+ /**
+ * Gets a managed Virtual Network.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName);
+
+ /**
+ * Lists managed Virtual Networks.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByFactoryAsync(final String resourceGroupName, final String factoryName);
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataLinkedService.java
index cfcb325f8834..088291ba8a3f 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataLinkedService.java
@@ -64,6 +64,15 @@ public class ODataLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.servicePrincipalId")
private Object servicePrincipalId;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* Specify the resource you are requesting authorization to use Directory.
* Type: string (or Expression with resultType string).
@@ -229,6 +238,26 @@ public ODataLinkedService withServicePrincipalId(Object servicePrincipalId) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the ODataLinkedService object itself.
+ */
+ public ODataLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestServiceLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestServiceLinkedService.java
index 957d0c8b7e01..1bc381f8f0fd 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestServiceLinkedService.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestServiceLinkedService.java
@@ -76,6 +76,15 @@ public class RestServiceLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /**
+ * Indicates the azure cloud type of the service principle auth. Allowed
+ * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
+ * Default value is the data factory regions’ cloud type. Type: string (or
+ * Expression with resultType string).
+ */
+ @JsonProperty(value = "typeProperties.azureCloudType")
+ private Object azureCloudType;
+
/**
* The resource you are requesting authorization to use.
*/
@@ -250,6 +259,26 @@ public RestServiceLinkedService withTenant(Object tenant) {
return this;
}
+ /**
+ * Get indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @return the azureCloudType value
+ */
+ public Object azureCloudType() {
+ return this.azureCloudType;
+ }
+
+ /**
+ * Set indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
+ *
+ * @param azureCloudType the azureCloudType value to set
+ * @return the RestServiceLinkedService object itself.
+ */
+ public RestServiceLinkedService withAzureCloudType(Object azureCloudType) {
+ this.azureCloudType = azureCloudType;
+ return this;
+ }
+
/**
* Get the resource you are requesting authorization to use.
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java
index de0f7e3d371d..b5a079cdd019 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java
@@ -35,6 +35,21 @@ public class SapOpenHubSource extends TabularSource {
@JsonProperty(value = "baseRequestId")
private Object baseRequestId;
+ /**
+ * Specifies the custom RFC function module that will be used to read data
+ * from SAP Table. Type: string (or Expression with resultType string).
+ */
+ @JsonProperty(value = "customRfcReadTableFunctionModule")
+ private Object customRfcReadTableFunctionModule;
+
+ /**
+ * The single character that will be used as delimiter passed to SAP RFC as
+ * well as splitting the output data retrieved. Type: string (or Expression
+ * with resultType string).
+ */
+ @JsonProperty(value = "sapDataColumnDelimiter")
+ private Object sapDataColumnDelimiter;
+
/**
* Get whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean).
*
@@ -75,4 +90,44 @@ public SapOpenHubSource withBaseRequestId(Object baseRequestId) {
return this;
}
+ /**
+ * Get specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string).
+ *
+ * @return the customRfcReadTableFunctionModule value
+ */
+ public Object customRfcReadTableFunctionModule() {
+ return this.customRfcReadTableFunctionModule;
+ }
+
+ /**
+ * Set specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string).
+ *
+ * @param customRfcReadTableFunctionModule the customRfcReadTableFunctionModule value to set
+ * @return the SapOpenHubSource object itself.
+ */
+ public SapOpenHubSource withCustomRfcReadTableFunctionModule(Object customRfcReadTableFunctionModule) {
+ this.customRfcReadTableFunctionModule = customRfcReadTableFunctionModule;
+ return this;
+ }
+
+ /**
+ * Get the single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string).
+ *
+ * @return the sapDataColumnDelimiter value
+ */
+ public Object sapDataColumnDelimiter() {
+ return this.sapDataColumnDelimiter;
+ }
+
+ /**
+ * Set the single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string).
+ *
+ * @param sapDataColumnDelimiter the sapDataColumnDelimiter value to set
+ * @return the SapOpenHubSource object itself.
+ */
+ public SapOpenHubSource withSapDataColumnDelimiter(Object sapDataColumnDelimiter) {
+ this.sapDataColumnDelimiter = sapDataColumnDelimiter;
+ return this;
+ }
+
}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java
index a617a80852bb..ecf0f409877c 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java
@@ -61,6 +61,14 @@ public class SapTableSource extends TabularSource {
@JsonProperty(value = "customRfcReadTableFunctionModule")
private Object customRfcReadTableFunctionModule;
+ /**
+ * The single character that will be used as delimiter passed to SAP RFC as
+ * well as splitting the output data retrieved. Type: string (or Expression
+ * with resultType string).
+ */
+ @JsonProperty(value = "sapDataColumnDelimiter")
+ private Object sapDataColumnDelimiter;
+
/**
* The partition mechanism that will be used for SAP table read in
* parallel. Possible values include: 'None', 'PartitionOnInt',
@@ -196,6 +204,26 @@ public SapTableSource withCustomRfcReadTableFunctionModule(Object customRfcReadT
return this;
}
+ /**
+ * Get the single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string).
+ *
+ * @return the sapDataColumnDelimiter value
+ */
+ public Object sapDataColumnDelimiter() {
+ return this.sapDataColumnDelimiter;
+ }
+
+ /**
+ * Set the single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string).
+ *
+ * @param sapDataColumnDelimiter the sapDataColumnDelimiter value to set
+ * @return the SapTableSource object itself.
+ */
+ public SapTableSource withSapDataColumnDelimiter(Object sapDataColumnDelimiter) {
+ this.sapDataColumnDelimiter = sapDataColumnDelimiter;
+ return this;
+ }
+
/**
* Get the partition mechanism that will be used for SAP table read in parallel. Possible values include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', 'PartitionOnCalendarDate', 'PartitionOnTime'.
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/StoreWriteSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/StoreWriteSettings.java
index d95851ed203e..66beedd68349 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/StoreWriteSettings.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/StoreWriteSettings.java
@@ -20,6 +20,7 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = StoreWriteSettings.class)
@JsonTypeName("StoreWriteSettings")
@JsonSubTypes({
+ @JsonSubTypes.Type(name = "AzureFileStorageWriteSettings", value = AzureFileStorageWriteSettings.class),
@JsonSubTypes.Type(name = "FileServerWriteSettings", value = FileServerWriteSettings.class),
@JsonSubTypes.Type(name = "AzureDataLakeStoreWriteSettings", value = AzureDataLakeStoreWriteSettings.class),
@JsonSubTypes.Type(name = "AzureBlobFSWriteSettings", value = AzureBlobFSWriteSettings.class),
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TriggerRuns.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TriggerRuns.java
index bdce89dc5fef..90e02ff9a0dc 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TriggerRuns.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TriggerRuns.java
@@ -27,6 +27,18 @@ public interface TriggerRuns {
*/
Completable rerunAsync(String resourceGroupName, String factoryName, String triggerName, String runId);
+ /**
+ * Cancel a single trigger instance by runId.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param triggerName The trigger name.
+ * @param runId The pipeline run identifier.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable cancelAsync(String resourceGroupName, String factoryName, String triggerName, String runId);
+
/**
* Query trigger runs.
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/WebHookActivity.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/WebHookActivity.java
index d5fc0dc0ce56..32fc477301e7 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/WebHookActivity.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/WebHookActivity.java
@@ -65,9 +65,9 @@ public class WebHookActivity extends ControlActivity {
private WebActivityAuthentication authentication;
/**
- * When set to true, statusCode, output and error in callback request body
- * will be consumed by activity. The activity can be marked as failed by
- * setting statusCode >= 400 in callback request. Default is false.
+ * When set to true, statusCode, output and error in callback request body
+ * will be consumed by activity. The activity can be marked as failed by
+ * setting statusCode >= 400 in callback request. Default is false.
* Type: boolean (or Expression with resultType boolean).
*/
@JsonProperty(value = "typeProperties.reportStatusOnCallBack")
@@ -202,7 +202,7 @@ public WebHookActivity withAuthentication(WebActivityAuthentication authenticati
}
/**
- * Get when set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean).
+ * Get when set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean).
*
* @return the reportStatusOnCallBack value
*/
@@ -211,7 +211,7 @@ public Object reportStatusOnCallBack() {
}
/**
- * Set when set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean).
+ * Set when set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean).
*
* @param reportStatusOnCallBack the reportStatusOnCallBack value to set
* @return the WebHookActivity object itself.
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlReadSettings.java
index 78c4010640ad..8797bbe0aa8a 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlReadSettings.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlReadSettings.java
@@ -32,6 +32,20 @@ public class XmlReadSettings extends FormatReadSettings {
@JsonProperty(value = "validationMode")
private Object validationMode;
+ /**
+ * Indicates whether type detection is enabled when reading the xml files.
+ * Type: boolean (or Expression with resultType boolean).
+ */
+ @JsonProperty(value = "detectDataType")
+ private Object detectDataType;
+
+ /**
+ * Indicates whether namespace is enabled when reading the xml files. Type:
+ * boolean (or Expression with resultType boolean).
+ */
+ @JsonProperty(value = "namespaces")
+ private Object namespaces;
+
/**
* Namespace uri to prefix mappings to override the prefixes in column
* names when namespace is enabled, if no prefix is defined for a namespace
@@ -82,6 +96,46 @@ public XmlReadSettings withValidationMode(Object validationMode) {
return this;
}
+ /**
+ * Get indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).
+ *
+ * @return the detectDataType value
+ */
+ public Object detectDataType() {
+ return this.detectDataType;
+ }
+
+ /**
+ * Set indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).
+ *
+ * @param detectDataType the detectDataType value to set
+ * @return the XmlReadSettings object itself.
+ */
+ public XmlReadSettings withDetectDataType(Object detectDataType) {
+ this.detectDataType = detectDataType;
+ return this;
+ }
+
+ /**
+ * Get indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).
+ *
+ * @return the namespaces value
+ */
+ public Object namespaces() {
+ return this.namespaces;
+ }
+
+ /**
+ * Set indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).
+ *
+ * @param namespaces the namespaces value to set
+ * @return the XmlReadSettings object itself.
+ */
+ public XmlReadSettings withNamespaces(Object namespaces) {
+ this.namespaces = namespaces;
+ return this;
+ }
+
/**
* Get namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object).
*
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManagementClientImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManagementClientImpl.java
index 317e3c3b2029..2a66d63035a4 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManagementClientImpl.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManagementClientImpl.java
@@ -327,6 +327,32 @@ public DataFlowDebugSessionsInner dataFlowDebugSessions() {
return this.dataFlowDebugSessions;
}
+ /**
+ * The ManagedVirtualNetworksInner object to access its operations.
+ */
+ private ManagedVirtualNetworksInner managedVirtualNetworks;
+
+ /**
+ * Gets the ManagedVirtualNetworksInner object to access its operations.
+ * @return the ManagedVirtualNetworksInner object.
+ */
+ public ManagedVirtualNetworksInner managedVirtualNetworks() {
+ return this.managedVirtualNetworks;
+ }
+
+ /**
+ * The ManagedPrivateEndpointsInner object to access its operations.
+ */
+ private ManagedPrivateEndpointsInner managedPrivateEndpoints;
+
+ /**
+ * Gets the ManagedPrivateEndpointsInner object to access its operations.
+ * @return the ManagedPrivateEndpointsInner object.
+ */
+ public ManagedPrivateEndpointsInner managedPrivateEndpoints() {
+ return this.managedPrivateEndpoints;
+ }
+
/**
* Initializes an instance of DataFactoryManagementClient client.
*
@@ -377,6 +403,8 @@ protected void initialize() {
this.triggerRuns = new TriggerRunsInner(restClient().retrofit(), this);
this.dataFlows = new DataFlowsInner(restClient().retrofit(), this);
this.dataFlowDebugSessions = new DataFlowDebugSessionsInner(restClient().retrofit(), this);
+ this.managedVirtualNetworks = new ManagedVirtualNetworksInner(restClient().retrofit(), this);
+ this.managedPrivateEndpoints = new ManagedPrivateEndpointsInner(restClient().retrofit(), this);
this.azureClient = new AzureClient(this);
}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManager.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManager.java
index f70d088613fa..fc686006bb0b 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManager.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFactoryManager.java
@@ -31,6 +31,8 @@
import com.microsoft.azure.management.datafactory.v2018_06_01.TriggerRuns;
import com.microsoft.azure.management.datafactory.v2018_06_01.DataFlows;
import com.microsoft.azure.management.datafactory.v2018_06_01.DataFlowDebugSessions;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedVirtualNetworks;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedPrivateEndpoints;
import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl;
import com.microsoft.azure.arm.resources.implementation.ManagerCore;
@@ -53,6 +55,8 @@ public final class DataFactoryManager extends ManagerCore implements ExposureControlBatchResponse {
+ private final DataFactoryManager manager;
+ ExposureControlBatchResponseImpl(ExposureControlBatchResponseInner inner, DataFactoryManager manager) {
+ super(inner);
+ this.manager = manager;
+ }
+
+ @Override
+ public DataFactoryManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public List exposureControlResponses() {
+ return this.inner().exposureControlResponses();
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlBatchResponseInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlBatchResponseInner.java
new file mode 100644
index 000000000000..666333336023
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlBatchResponseInner.java
@@ -0,0 +1,44 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * A list of exposure control feature values.
+ */
+public class ExposureControlBatchResponseInner {
+ /**
+ * List of exposure control feature values.
+ */
+ @JsonProperty(value = "exposureControlResponses", required = true)
+ private List exposureControlResponses;
+
+ /**
+ * Get list of exposure control feature values.
+ *
+ * @return the exposureControlResponses value
+ */
+ public List exposureControlResponses() {
+ return this.exposureControlResponses;
+ }
+
+ /**
+ * Set list of exposure control feature values.
+ *
+ * @param exposureControlResponses the exposureControlResponses value to set
+ * @return the ExposureControlBatchResponseInner object itself.
+ */
+ public ExposureControlBatchResponseInner withExposureControlResponses(List exposureControlResponses) {
+ this.exposureControlResponses = exposureControlResponses;
+ return this;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsImpl.java
index f961241a30fd..fa7d5b41b82c 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsImpl.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsImpl.java
@@ -15,6 +15,8 @@
import rx.Observable;
import com.microsoft.azure.management.datafactory.v2018_06_01.ExposureControlResponse;
import com.microsoft.azure.management.datafactory.v2018_06_01.ExposureControlRequest;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ExposureControlBatchResponse;
+import java.util.List;
class ExposureControlsImpl extends WrapperImpl implements ExposureControls {
private final DataFactoryManager manager;
@@ -52,4 +54,16 @@ public ExposureControlResponse call(ExposureControlResponseInner inner) {
});
}
+ @Override
+ public Observable queryFeatureValuesByFactoryAsync(String resourceGroupName, String factoryName, List exposureControlRequests) {
+ ExposureControlsInner client = this.inner();
+ return client.queryFeatureValuesByFactoryAsync(resourceGroupName, factoryName, exposureControlRequests)
+ .map(new Func1() {
+ @Override
+ public ExposureControlBatchResponse call(ExposureControlBatchResponseInner inner) {
+ return new ExposureControlBatchResponseImpl(inner, manager());
+ }
+ });
+ }
+
}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsInner.java
index 1480ebb6a006..477ae02b6b50 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsInner.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ExposureControlsInner.java
@@ -11,12 +11,14 @@
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.CloudException;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ExposureControlBatchRequest;
import com.microsoft.azure.management.datafactory.v2018_06_01.ExposureControlRequest;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
import com.microsoft.rest.Validator;
import java.io.IOException;
+import java.util.List;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.Header;
@@ -62,6 +64,10 @@ interface ExposureControlsService {
@POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue")
Observable> getFeatureValueByFactory(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Query("api-version") String apiVersion, @Body ExposureControlRequest exposureControlRequest, @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.datafactory.v2018_06_01.ExposureControls queryFeatureValuesByFactory" })
+ @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue")
+ Observable> queryFeatureValuesByFactory(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body ExposureControlBatchRequest exposureControlBatchRequest, @Header("User-Agent") String userAgent);
+
}
/**
@@ -245,4 +251,100 @@ private ServiceResponse getFeatureValueByFactoryDe
.build(response);
}
+ /**
+ * Get list of exposure control features for specific factory.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param exposureControlRequests List of exposure control features.
+ * @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 ExposureControlBatchResponseInner object if successful.
+ */
+ public ExposureControlBatchResponseInner queryFeatureValuesByFactory(String resourceGroupName, String factoryName, List exposureControlRequests) {
+ return queryFeatureValuesByFactoryWithServiceResponseAsync(resourceGroupName, factoryName, exposureControlRequests).toBlocking().single().body();
+ }
+
+ /**
+ * Get list of exposure control features for specific factory.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param exposureControlRequests List of exposure control features.
+ * @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 queryFeatureValuesByFactoryAsync(String resourceGroupName, String factoryName, List exposureControlRequests, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(queryFeatureValuesByFactoryWithServiceResponseAsync(resourceGroupName, factoryName, exposureControlRequests), serviceCallback);
+ }
+
+ /**
+ * Get list of exposure control features for specific factory.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param exposureControlRequests List of exposure control features.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ExposureControlBatchResponseInner object
+ */
+ public Observable queryFeatureValuesByFactoryAsync(String resourceGroupName, String factoryName, List exposureControlRequests) {
+ return queryFeatureValuesByFactoryWithServiceResponseAsync(resourceGroupName, factoryName, exposureControlRequests).map(new Func1, ExposureControlBatchResponseInner>() {
+ @Override
+ public ExposureControlBatchResponseInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Get list of exposure control features for specific factory.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param exposureControlRequests List of exposure control features.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ExposureControlBatchResponseInner object
+ */
+ public Observable> queryFeatureValuesByFactoryWithServiceResponseAsync(String resourceGroupName, String factoryName, List exposureControlRequests) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (this.client.apiVersion() == null) {
+ throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
+ }
+ if (exposureControlRequests == null) {
+ throw new IllegalArgumentException("Parameter exposureControlRequests is required and cannot be null.");
+ }
+ Validator.validate(exposureControlRequests);
+ ExposureControlBatchRequest exposureControlBatchRequest = new ExposureControlBatchRequest();
+ exposureControlBatchRequest.withExposureControlRequests(exposureControlRequests);
+ return service.queryFeatureValuesByFactory(this.client.subscriptionId(), resourceGroupName, factoryName, this.client.apiVersion(), this.client.acceptLanguage(), exposureControlBatchRequest, this.client.userAgent())
+ .flatMap(new Func1, Observable>>() {
+ @Override
+ public Observable> call(Response response) {
+ try {
+ ServiceResponse clientResponse = queryFeatureValuesByFactoryDelegate(response);
+ return Observable.just(clientResponse);
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ private ServiceResponse queryFeatureValuesByFactoryDelegate(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/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java
index 714c12e9db2e..58b27acef3ca 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java
@@ -13,8 +13,6 @@
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedIntegrationRuntime;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SelfHostedIntegrationRuntime;
/**
* Azure Data Factory nested object which serves as a compute resource for
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java
index 17b712154166..a11d27d96022 100644
--- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java
@@ -9,110 +9,13 @@
package com.microsoft.azure.management.datafactory.v2018_06_01.implementation;
import java.util.Map;
-
-import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonMWSLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonRedshiftLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonS3LinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBatchLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBlobFSLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBlobStorageLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataExplorerLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataLakeAnalyticsLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataLakeStoreLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDatabricksLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureFileStorageLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureFunctionLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureKeyVaultLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMLLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMLServiceLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMariaDBLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMySqlLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzurePostgreSqlLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSearchLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlDWLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlDatabaseLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlMILinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureStorageLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.AzureTableStorageLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.CassandraLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.CommonDataServiceForAppsLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ConcurLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.CosmosDbLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.CosmosDbMongoDbApiLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.CouchbaseLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.CustomDataSourceLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.Db2LinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.DrillLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsAXLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsCrmLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.EloquaLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.FileServerLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.FtpServerLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleAdWordsLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleBigQueryLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleCloudStorageLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.GreenplumLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HBaseLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HDInsightLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HDInsightOnDemandLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HdfsLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HiveLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HttpLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.HubspotLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ImpalaLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.InformixLinkedService;
import com.microsoft.azure.management.datafactory.v2018_06_01.IntegrationRuntimeReference;
-import com.microsoft.azure.management.datafactory.v2018_06_01.JiraLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MagentoLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MariaDBLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MarketoLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MicrosoftAccessLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MongoDbLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MongoDbV2LinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.MySqlLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.NetezzaLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ODataLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.OdbcLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.Office365LinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.OracleLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.OracleServiceCloudLinkedService;
import com.microsoft.azure.management.datafactory.v2018_06_01.ParameterSpecification;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
-import com.microsoft.azure.management.datafactory.v2018_06_01.PaypalLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.PhoenixLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.PostgreSqlLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.PrestoLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.QuickBooksLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ResponsysLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.RestServiceLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceMarketingCloudLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceServiceCloudLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SapBWLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SapCloudForCustomerLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SapEccLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SapHanaLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SapOpenHubLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SapTableLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ServiceNowLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SftpServerLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SharePointOnlineListLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ShopifyLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SnowflakeLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SparkLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SqlServerLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SquareLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.SybaseLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.TeradataLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.VerticaLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.WebLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.XeroLinkedService;
-import com.microsoft.azure.management.datafactory.v2018_06_01.ZohoLinkedService;
/**
* The Azure Data Factory nested object which contains the information and
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointInner.java
new file mode 100644
index 000000000000..21c4acbeac47
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointInner.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.datafactory.v2018_06_01.implementation;
+
+import java.util.Map;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ConnectionStateProperties;
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Properties of a managed private endpoint.
+ */
+public class ManagedPrivateEndpointInner {
+ /**
+ * Unmatched properties from the message are deserialized this collection.
+ */
+ @JsonProperty(value = "")
+ private Map additionalProperties;
+
+ /**
+ * The managed private endpoint connection state.
+ */
+ @JsonProperty(value = "connectionState")
+ private ConnectionStateProperties connectionState;
+
+ /**
+ * Fully qualified domain names.
+ */
+ @JsonProperty(value = "fqdns")
+ private List fqdns;
+
+ /**
+ * The groupId to which the managed private endpoint is created.
+ */
+ @JsonProperty(value = "groupId")
+ private String groupId;
+
+ /**
+ * Denotes whether the managed private endpoint is reserved.
+ */
+ @JsonProperty(value = "isReserved", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean isReserved;
+
+ /**
+ * The ARM resource ID of the resource to which the managed private
+ * endpoint is created.
+ */
+ @JsonProperty(value = "privateLinkResourceId")
+ private String privateLinkResourceId;
+
+ /**
+ * The managed private endpoint provisioning state.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /**
+ * Get unmatched properties from the message are deserialized this collection.
+ *
+ * @return the additionalProperties value
+ */
+ public Map additionalProperties() {
+ return this.additionalProperties;
+ }
+
+ /**
+ * Set unmatched properties from the message are deserialized this collection.
+ *
+ * @param additionalProperties the additionalProperties value to set
+ * @return the ManagedPrivateEndpointInner object itself.
+ */
+ public ManagedPrivateEndpointInner withAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ return this;
+ }
+
+ /**
+ * Get the managed private endpoint connection state.
+ *
+ * @return the connectionState value
+ */
+ public ConnectionStateProperties connectionState() {
+ return this.connectionState;
+ }
+
+ /**
+ * Set the managed private endpoint connection state.
+ *
+ * @param connectionState the connectionState value to set
+ * @return the ManagedPrivateEndpointInner object itself.
+ */
+ public ManagedPrivateEndpointInner withConnectionState(ConnectionStateProperties connectionState) {
+ this.connectionState = connectionState;
+ return this;
+ }
+
+ /**
+ * Get fully qualified domain names.
+ *
+ * @return the fqdns value
+ */
+ public List fqdns() {
+ return this.fqdns;
+ }
+
+ /**
+ * Set fully qualified domain names.
+ *
+ * @param fqdns the fqdns value to set
+ * @return the ManagedPrivateEndpointInner object itself.
+ */
+ public ManagedPrivateEndpointInner withFqdns(List fqdns) {
+ this.fqdns = fqdns;
+ return this;
+ }
+
+ /**
+ * Get the groupId to which the managed private endpoint is created.
+ *
+ * @return the groupId value
+ */
+ public String groupId() {
+ return this.groupId;
+ }
+
+ /**
+ * Set the groupId to which the managed private endpoint is created.
+ *
+ * @param groupId the groupId value to set
+ * @return the ManagedPrivateEndpointInner object itself.
+ */
+ public ManagedPrivateEndpointInner withGroupId(String groupId) {
+ this.groupId = groupId;
+ return this;
+ }
+
+ /**
+ * Get denotes whether the managed private endpoint is reserved.
+ *
+ * @return the isReserved value
+ */
+ public Boolean isReserved() {
+ return this.isReserved;
+ }
+
+ /**
+ * Get the ARM resource ID of the resource to which the managed private endpoint is created.
+ *
+ * @return the privateLinkResourceId value
+ */
+ public String privateLinkResourceId() {
+ return this.privateLinkResourceId;
+ }
+
+ /**
+ * Set the ARM resource ID of the resource to which the managed private endpoint is created.
+ *
+ * @param privateLinkResourceId the privateLinkResourceId value to set
+ * @return the ManagedPrivateEndpointInner object itself.
+ */
+ public ManagedPrivateEndpointInner withPrivateLinkResourceId(String privateLinkResourceId) {
+ this.privateLinkResourceId = privateLinkResourceId;
+ return this;
+ }
+
+ /**
+ * Get the managed private endpoint provisioning state.
+ *
+ * @return the provisioningState value
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointResourceImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointResourceImpl.java
new file mode 100644
index 000000000000..dc9c1ae8dcb7
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointResourceImpl.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.datafactory.v2018_06_01.implementation;
+
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedPrivateEndpointResource;
+import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl;
+import rx.Observable;
+import java.util.Map;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ConnectionStateProperties;
+import java.util.List;
+import rx.functions.Func1;
+
+class ManagedPrivateEndpointResourceImpl extends CreatableUpdatableImpl implements ManagedPrivateEndpointResource, ManagedPrivateEndpointResource.Definition, ManagedPrivateEndpointResource.Update {
+ private final DataFactoryManager manager;
+ private String resourceGroupName;
+ private String factoryName;
+ private String managedVirtualNetworkName;
+ private String managedPrivateEndpointName;
+ private String cifMatch;
+ private ManagedPrivateEndpointInner cproperties;
+ private String uifMatch;
+ private ManagedPrivateEndpointInner uproperties;
+
+ ManagedPrivateEndpointResourceImpl(String name, DataFactoryManager manager) {
+ super(name, new ManagedPrivateEndpointResourceInner());
+ this.manager = manager;
+ // Set resource name
+ this.managedPrivateEndpointName = name;
+ //
+ this.cproperties = new ManagedPrivateEndpointInner();
+ this.uproperties = new ManagedPrivateEndpointInner();
+ }
+
+ ManagedPrivateEndpointResourceImpl(ManagedPrivateEndpointResourceInner inner, DataFactoryManager manager) {
+ super(inner.name(), inner);
+ this.manager = manager;
+ // Set resource name
+ this.managedPrivateEndpointName = inner.name();
+ // set resource ancestor and positional variables
+ this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
+ this.factoryName = IdParsingUtils.getValueFromIdByName(inner.id(), "factories");
+ this.managedVirtualNetworkName = IdParsingUtils.getValueFromIdByName(inner.id(), "managedVirtualNetworks");
+ this.managedPrivateEndpointName = IdParsingUtils.getValueFromIdByName(inner.id(), "managedPrivateEndpoints");
+ //
+ this.cproperties = new ManagedPrivateEndpointInner();
+ this.uproperties = new ManagedPrivateEndpointInner();
+ }
+
+ @Override
+ public DataFactoryManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public Observable createResourceAsync() {
+ ManagedPrivateEndpointsInner client = this.manager().inner().managedPrivateEndpoints();
+ return client.createOrUpdateAsync(this.resourceGroupName, this.factoryName, this.managedVirtualNetworkName, this.managedPrivateEndpointName, this.cproperties, this.cifMatch)
+ .map(new Func1() {
+ @Override
+ public ManagedPrivateEndpointResourceInner call(ManagedPrivateEndpointResourceInner resource) {
+ resetCreateUpdateParameters();
+ return resource;
+ }
+ })
+ .map(innerToFluentMap(this));
+ }
+
+ @Override
+ public Observable updateResourceAsync() {
+ ManagedPrivateEndpointsInner client = this.manager().inner().managedPrivateEndpoints();
+ return client.createOrUpdateAsync(this.resourceGroupName, this.factoryName, this.managedVirtualNetworkName, this.managedPrivateEndpointName, this.uproperties, this.uifMatch)
+ .map(new Func1() {
+ @Override
+ public ManagedPrivateEndpointResourceInner call(ManagedPrivateEndpointResourceInner resource) {
+ resetCreateUpdateParameters();
+ return resource;
+ }
+ })
+ .map(innerToFluentMap(this));
+ }
+
+ @Override
+ protected Observable getInnerAsync() {
+ ManagedPrivateEndpointsInner client = this.manager().inner().managedPrivateEndpoints();
+ return client.getAsync(this.resourceGroupName, this.factoryName, this.managedVirtualNetworkName, this.managedPrivateEndpointName);
+ }
+
+ @Override
+ public boolean isInCreateMode() {
+ return this.inner().id() == null;
+ }
+
+ private void resetCreateUpdateParameters() {
+ this.cproperties = new ManagedPrivateEndpointInner();
+ this.uproperties = new ManagedPrivateEndpointInner();
+ }
+
+ @Override
+ public String etag() {
+ return this.inner().etag();
+ }
+
+ @Override
+ public String id() {
+ return this.inner().id();
+ }
+
+ @Override
+ public String name() {
+ return this.inner().name();
+ }
+
+ @Override
+ public ManagedPrivateEndpointInner properties() {
+ return this.inner().properties();
+ }
+
+ @Override
+ public String type() {
+ return this.inner().type();
+ }
+
+ @Override
+ public ManagedPrivateEndpointResourceImpl withExistingManagedVirtualNetwork(String resourceGroupName, String factoryName, String managedVirtualNetworkName) {
+ this.resourceGroupName = resourceGroupName;
+ this.factoryName = factoryName;
+ this.managedVirtualNetworkName = managedVirtualNetworkName;
+ return this;
+ }
+
+ @Override
+ public ManagedPrivateEndpointResourceImpl withIfMatch(String ifMatch) {
+ if (isInCreateMode()) {
+ this.cifMatch = ifMatch;
+ } else {
+ this.uifMatch = ifMatch;
+ }
+ return this;
+ }
+
+ @Override
+ public ManagedPrivateEndpointResourceImpl withProperties(ManagedPrivateEndpointInner properties) {
+ if (isInCreateMode()) {
+ this.cproperties = properties;
+ } else {
+ this.uproperties = properties;
+ }
+ return this;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointResourceInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointResourceInner.java
new file mode 100644
index 000000000000..1367912ea7b0
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointResourceInner.java
@@ -0,0 +1,89 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.azure.SubResource;
+
+/**
+ * Managed private endpoint resource type.
+ */
+public class ManagedPrivateEndpointResourceInner extends SubResource {
+ /**
+ * Managed private endpoint properties.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private ManagedPrivateEndpointInner properties;
+
+ /**
+ * The resource name.
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /**
+ * The resource type.
+ */
+ @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
+ private String type;
+
+ /**
+ * Etag identifies change in the resource.
+ */
+ @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
+ private String etag;
+
+ /**
+ * Get managed private endpoint properties.
+ *
+ * @return the properties value
+ */
+ public ManagedPrivateEndpointInner properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set managed private endpoint properties.
+ *
+ * @param properties the properties value to set
+ * @return the ManagedPrivateEndpointResourceInner object itself.
+ */
+ public ManagedPrivateEndpointResourceInner withProperties(ManagedPrivateEndpointInner properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the resource name.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the resource type.
+ *
+ * @return the type value
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get etag identifies change in the resource.
+ *
+ * @return the etag value
+ */
+ public String etag() {
+ return this.etag;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointsImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointsImpl.java
new file mode 100644
index 000000000000..4c03e327293c
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointsImpl.java
@@ -0,0 +1,85 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import com.microsoft.azure.arm.model.implementation.WrapperImpl;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedPrivateEndpoints;
+import rx.Completable;
+import rx.Observable;
+import rx.functions.Func1;
+import com.microsoft.azure.Page;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedPrivateEndpointResource;
+
+class ManagedPrivateEndpointsImpl extends WrapperImpl implements ManagedPrivateEndpoints {
+ private final DataFactoryManager manager;
+
+ ManagedPrivateEndpointsImpl(DataFactoryManager manager) {
+ super(manager.inner().managedPrivateEndpoints());
+ this.manager = manager;
+ }
+
+ public DataFactoryManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public ManagedPrivateEndpointResourceImpl define(String name) {
+ return wrapModel(name);
+ }
+
+ private ManagedPrivateEndpointResourceImpl wrapModel(ManagedPrivateEndpointResourceInner inner) {
+ return new ManagedPrivateEndpointResourceImpl(inner, manager());
+ }
+
+ private ManagedPrivateEndpointResourceImpl wrapModel(String name) {
+ return new ManagedPrivateEndpointResourceImpl(name, this.manager());
+ }
+
+ @Override
+ public Observable listByFactoryAsync(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName) {
+ ManagedPrivateEndpointsInner client = this.inner();
+ return client.listByFactoryAsync(resourceGroupName, factoryName, managedVirtualNetworkName)
+ .flatMapIterable(new Func1, Iterable>() {
+ @Override
+ public Iterable call(Page page) {
+ return page.items();
+ }
+ })
+ .map(new Func1() {
+ @Override
+ public ManagedPrivateEndpointResource call(ManagedPrivateEndpointResourceInner inner) {
+ return wrapModel(inner);
+ }
+ });
+ }
+
+ @Override
+ public Observable getAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ ManagedPrivateEndpointsInner client = this.inner();
+ return client.getAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName)
+ .flatMap(new Func1>() {
+ @Override
+ public Observable call(ManagedPrivateEndpointResourceInner inner) {
+ if (inner == null) {
+ return Observable.empty();
+ } else {
+ return Observable.just((ManagedPrivateEndpointResource)wrapModel(inner));
+ }
+ }
+ });
+ }
+
+ @Override
+ public Completable deleteAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ ManagedPrivateEndpointsInner client = this.inner();
+ return client.deleteAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName).toCompletable();
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointsInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointsInner.java
new file mode 100644
index 000000000000..189223d3d27b
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedPrivateEndpointsInner.java
@@ -0,0 +1,844 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import retrofit2.Retrofit;
+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.Page;
+import com.microsoft.azure.PagedList;
+import com.microsoft.rest.ServiceCallback;
+import com.microsoft.rest.ServiceFuture;
+import com.microsoft.rest.ServiceResponse;
+import com.microsoft.rest.Validator;
+import java.io.IOException;
+import java.util.List;
+import okhttp3.ResponseBody;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.Header;
+import retrofit2.http.Headers;
+import retrofit2.http.HTTP;
+import retrofit2.http.Path;
+import retrofit2.http.PUT;
+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 ManagedPrivateEndpoints.
+ */
+public class ManagedPrivateEndpointsInner {
+ /** The Retrofit service to perform REST calls. */
+ private ManagedPrivateEndpointsService service;
+ /** The service client containing this operation class. */
+ private DataFactoryManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ManagedPrivateEndpointsInner.
+ *
+ * @param retrofit the Retrofit instance built from a Retrofit Builder.
+ * @param client the instance of the service client containing this operation class.
+ */
+ public ManagedPrivateEndpointsInner(Retrofit retrofit, DataFactoryManagementClientImpl client) {
+ this.service = retrofit.create(ManagedPrivateEndpointsService.class);
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ManagedPrivateEndpoints to be
+ * used by Retrofit to perform actually REST calls.
+ */
+ interface ManagedPrivateEndpointsService {
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datafactory.v2018_06_01.ManagedPrivateEndpoints listByFactory" })
+ @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints")
+ Observable> listByFactory(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("managedVirtualNetworkName") String managedVirtualNetworkName, @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.datafactory.v2018_06_01.ManagedPrivateEndpoints createOrUpdate" })
+ @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}")
+ Observable> createOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("managedVirtualNetworkName") String managedVirtualNetworkName, @Path("managedPrivateEndpointName") String managedPrivateEndpointName, @Query("api-version") String apiVersion, @Header("If-Match") String ifMatch, @Header("accept-language") String acceptLanguage, @Body ManagedPrivateEndpointResourceInner managedPrivateEndpoint, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datafactory.v2018_06_01.ManagedPrivateEndpoints get" })
+ @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}")
+ Observable> get(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("managedVirtualNetworkName") String managedVirtualNetworkName, @Path("managedPrivateEndpointName") String managedPrivateEndpointName, @Query("api-version") String apiVersion, @Header("If-None-Match") String ifNoneMatch, @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.datafactory.v2018_06_01.ManagedPrivateEndpoints delete" })
+ @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", method = "DELETE", hasBody = true)
+ Observable> delete(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("managedVirtualNetworkName") String managedVirtualNetworkName, @Path("managedPrivateEndpointName") String managedPrivateEndpointName, @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.datafactory.v2018_06_01.ManagedPrivateEndpoints listByFactoryNext" })
+ @GET
+ Observable> listByFactoryNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @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<ManagedPrivateEndpointResourceInner> object if successful.
+ */
+ public PagedList listByFactory(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName) {
+ ServiceResponse> response = listByFactorySinglePageAsync(resourceGroupName, factoryName, managedVirtualNetworkName).toBlocking().single();
+ return new PagedList(response.body()) {
+ @Override
+ public Page nextPage(String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(nextPageLink).toBlocking().single().body();
+ }
+ };
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @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> listByFactoryAsync(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName, final ListOperationCallback serviceCallback) {
+ return AzureServiceFuture.fromPageResponse(
+ listByFactorySinglePageAsync(resourceGroupName, factoryName, managedVirtualNetworkName),
+ new Func1>>>() {
+ @Override
+ public Observable>> call(String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(nextPageLink);
+ }
+ },
+ serviceCallback);
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the PagedList<ManagedPrivateEndpointResourceInner> object
+ */
+ public Observable> listByFactoryAsync(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName) {
+ return listByFactoryWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName)
+ .map(new Func1>, Page>() {
+ @Override
+ public Page call(ServiceResponse> response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the PagedList<ManagedPrivateEndpointResourceInner> object
+ */
+ public Observable>> listByFactoryWithServiceResponseAsync(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName) {
+ return listByFactorySinglePageAsync(resourceGroupName, factoryName, managedVirtualNetworkName)
+ .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(listByFactoryNextWithServiceResponseAsync(nextPageLink));
+ }
+ });
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ ServiceResponse> * @param resourceGroupName The resource group name.
+ ServiceResponse> * @param factoryName The factory name.
+ ServiceResponse> * @param managedVirtualNetworkName Managed virtual network name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the PagedList<ManagedPrivateEndpointResourceInner> object wrapped in {@link ServiceResponse} if successful.
+ */
+ public Observable>> listByFactorySinglePageAsync(final String resourceGroupName, final String factoryName, final String managedVirtualNetworkName) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (managedVirtualNetworkName == null) {
+ throw new IllegalArgumentException("Parameter managedVirtualNetworkName 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.listByFactory(this.client.subscriptionId(), resourceGroupName, factoryName, managedVirtualNetworkName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
+ .flatMap(new Func1, Observable>>>() {
+ @Override
+ public Observable>> call(Response response) {
+ try {
+ ServiceResponse> result = listByFactoryDelegate(response);
+ return Observable.just(new ServiceResponse>(result.body(), result.response()));
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ private ServiceResponse> listByFactoryDelegate(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);
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @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 ManagedPrivateEndpointResourceInner object if successful.
+ */
+ public ManagedPrivateEndpointResourceInner createOrUpdate(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties) {
+ return createOrUpdateWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, properties).toBlocking().single().body();
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @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 createOrUpdateAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, properties), serviceCallback);
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable createOrUpdateAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties) {
+ return createOrUpdateWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, properties).map(new Func1, ManagedPrivateEndpointResourceInner>() {
+ @Override
+ public ManagedPrivateEndpointResourceInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (managedVirtualNetworkName == null) {
+ throw new IllegalArgumentException("Parameter managedVirtualNetworkName is required and cannot be null.");
+ }
+ if (managedPrivateEndpointName == null) {
+ throw new IllegalArgumentException("Parameter managedPrivateEndpointName is required and cannot be null.");
+ }
+ if (this.client.apiVersion() == null) {
+ throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
+ }
+ if (properties == null) {
+ throw new IllegalArgumentException("Parameter properties is required and cannot be null.");
+ }
+ Validator.validate(properties);
+ final String ifMatch = null;
+ ManagedPrivateEndpointResourceInner managedPrivateEndpoint = new ManagedPrivateEndpointResourceInner();
+ managedPrivateEndpoint.withProperties(properties);
+ return service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, this.client.apiVersion(), ifMatch, this.client.acceptLanguage(), managedPrivateEndpoint, this.client.userAgent())
+ .flatMap(new Func1, Observable>>() {
+ @Override
+ public Observable> call(Response response) {
+ try {
+ ServiceResponse clientResponse = createOrUpdateDelegate(response);
+ return Observable.just(clientResponse);
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @param ifMatch ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
+ * @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 ManagedPrivateEndpointResourceInner object if successful.
+ */
+ public ManagedPrivateEndpointResourceInner createOrUpdate(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties, String ifMatch) {
+ return createOrUpdateWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, properties, ifMatch).toBlocking().single().body();
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @param ifMatch ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
+ * @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 createOrUpdateAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties, String ifMatch, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, properties, ifMatch), serviceCallback);
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @param ifMatch ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable createOrUpdateAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties, String ifMatch) {
+ return createOrUpdateWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, properties, ifMatch).map(new Func1, ManagedPrivateEndpointResourceInner>() {
+ @Override
+ public ManagedPrivateEndpointResourceInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Creates or updates a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param properties Managed private endpoint properties.
+ * @param ifMatch ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, ManagedPrivateEndpointInner properties, String ifMatch) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (managedVirtualNetworkName == null) {
+ throw new IllegalArgumentException("Parameter managedVirtualNetworkName is required and cannot be null.");
+ }
+ if (managedPrivateEndpointName == null) {
+ throw new IllegalArgumentException("Parameter managedPrivateEndpointName is required and cannot be null.");
+ }
+ if (this.client.apiVersion() == null) {
+ throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
+ }
+ if (properties == null) {
+ throw new IllegalArgumentException("Parameter properties is required and cannot be null.");
+ }
+ Validator.validate(properties);
+ ManagedPrivateEndpointResourceInner managedPrivateEndpoint = new ManagedPrivateEndpointResourceInner();
+ managedPrivateEndpoint.withProperties(properties);
+ return service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, this.client.apiVersion(), ifMatch, this.client.acceptLanguage(), managedPrivateEndpoint, this.client.userAgent())
+ .flatMap(new Func1, Observable>>() {
+ @Override
+ public Observable> call(Response response) {
+ try {
+ ServiceResponse clientResponse = createOrUpdateDelegate(response);
+ return Observable.just(clientResponse);
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ private ServiceResponse createOrUpdateDelegate(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 a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @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 ManagedPrivateEndpointResourceInner object if successful.
+ */
+ public ManagedPrivateEndpointResourceInner get(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ return getWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName).toBlocking().single().body();
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @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 factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName), serviceCallback);
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable getAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ return getWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName).map(new Func1, ManagedPrivateEndpointResourceInner>() {
+ @Override
+ public ManagedPrivateEndpointResourceInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable> getWithServiceResponseAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (managedVirtualNetworkName == null) {
+ throw new IllegalArgumentException("Parameter managedVirtualNetworkName is required and cannot be null.");
+ }
+ if (managedPrivateEndpointName == null) {
+ throw new IllegalArgumentException("Parameter managedPrivateEndpointName 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 String ifNoneMatch = null;
+ return service.get(this.client.subscriptionId(), resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, this.client.apiVersion(), ifNoneMatch, 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);
+ }
+ }
+ });
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param ifNoneMatch ETag of the managed private endpoint entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
+ * @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 ManagedPrivateEndpointResourceInner object if successful.
+ */
+ public ManagedPrivateEndpointResourceInner get(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, String ifNoneMatch) {
+ return getWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, ifNoneMatch).toBlocking().single().body();
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param ifNoneMatch ETag of the managed private endpoint entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
+ * @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 factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, String ifNoneMatch, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, ifNoneMatch), serviceCallback);
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param ifNoneMatch ETag of the managed private endpoint entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable getAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, String ifNoneMatch) {
+ return getWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, ifNoneMatch).map(new Func1, ManagedPrivateEndpointResourceInner>() {
+ @Override
+ public ManagedPrivateEndpointResourceInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Gets a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @param ifNoneMatch ETag of the managed private endpoint entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the ManagedPrivateEndpointResourceInner object
+ */
+ public Observable> getWithServiceResponseAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, String ifNoneMatch) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (managedVirtualNetworkName == null) {
+ throw new IllegalArgumentException("Parameter managedVirtualNetworkName is required and cannot be null.");
+ }
+ if (managedPrivateEndpointName == null) {
+ throw new IllegalArgumentException("Parameter managedPrivateEndpointName 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(this.client.subscriptionId(), resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, this.client.apiVersion(), ifNoneMatch, 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);
+ }
+
+ /**
+ * Deletes a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @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 factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ deleteWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName).toBlocking().single().body();
+ }
+
+ /**
+ * Deletes a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @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 factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName), serviceCallback);
+ }
+
+ /**
+ * Deletes a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceResponse} object if successful.
+ */
+ public Observable deleteAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ return deleteWithServiceResponseAsync(resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName).map(new Func1, Void>() {
+ @Override
+ public Void call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Deletes a managed private endpoint.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @param managedVirtualNetworkName Managed virtual network name
+ * @param managedPrivateEndpointName Managed private endpoint name
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceResponse} object if successful.
+ */
+ public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (factoryName == null) {
+ throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
+ }
+ if (managedVirtualNetworkName == null) {
+ throw new IllegalArgumentException("Parameter managedVirtualNetworkName is required and cannot be null.");
+ }
+ if (managedPrivateEndpointName == null) {
+ throw new IllegalArgumentException("Parameter managedPrivateEndpointName 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.delete(this.client.subscriptionId(), resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
+ .flatMap(new Func1, Observable>>() {
+ @Override
+ public Observable> call(Response response) {
+ try {
+ ServiceResponse clientResponse = deleteDelegate(response);
+ return Observable.just(clientResponse);
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ .register(200, new TypeToken() { }.getType())
+ .register(204, new TypeToken() { }.getType())
+ .registerError(CloudException.class)
+ .build(response);
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @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<ManagedPrivateEndpointResourceInner> object if successful.
+ */
+ public PagedList listByFactoryNext(final String nextPageLink) {
+ ServiceResponse> response = listByFactoryNextSinglePageAsync(nextPageLink).toBlocking().single();
+ return new PagedList(response.body()) {
+ @Override
+ public Page nextPage(String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(nextPageLink).toBlocking().single().body();
+ }
+ };
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @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> listByFactoryNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) {
+ return AzureServiceFuture.fromPageResponse(
+ listByFactoryNextSinglePageAsync(nextPageLink),
+ new Func1>>>() {
+ @Override
+ public Observable>> call(String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(nextPageLink);
+ }
+ },
+ serviceCallback);
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @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<ManagedPrivateEndpointResourceInner> object
+ */
+ public Observable> listByFactoryNextAsync(final String nextPageLink) {
+ return listByFactoryNextWithServiceResponseAsync(nextPageLink)
+ .map(new Func1>, Page>() {
+ @Override
+ public Page call(ServiceResponse> response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ * @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<ManagedPrivateEndpointResourceInner> object
+ */
+ public Observable>> listByFactoryNextWithServiceResponseAsync(final String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(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(listByFactoryNextWithServiceResponseAsync(nextPageLink));
+ }
+ });
+ }
+
+ /**
+ * Lists managed private endpoints.
+ *
+ ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the PagedList<ManagedPrivateEndpointResourceInner> object wrapped in {@link ServiceResponse} if successful.
+ */
+ public Observable>> listByFactoryNextSinglePageAsync(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.listByFactoryNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent())
+ .flatMap(new Func1, Observable>>>() {
+ @Override
+ public Observable>> call(Response response) {
+ try {
+ ServiceResponse> result = listByFactoryNextDelegate(response);
+ return Observable.just(new ServiceResponse>(result.body(), result.response()));
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ private ServiceResponse> listByFactoryNextDelegate(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/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkInner.java
new file mode 100644
index 000000000000..6ae8d45b83dd
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkInner.java
@@ -0,0 +1,74 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * A managed Virtual Network associated with the Azure Data Factory.
+ */
+public class ManagedVirtualNetworkInner {
+ /**
+ * Unmatched properties from the message are deserialized this collection.
+ */
+ @JsonProperty(value = "")
+ private Map additionalProperties;
+
+ /**
+ * Managed Virtual Network ID.
+ */
+ @JsonProperty(value = "vNetId", access = JsonProperty.Access.WRITE_ONLY)
+ private String vNetId;
+
+ /**
+ * Managed Virtual Network alias.
+ */
+ @JsonProperty(value = "alias", access = JsonProperty.Access.WRITE_ONLY)
+ private String alias;
+
+ /**
+ * Get unmatched properties from the message are deserialized this collection.
+ *
+ * @return the additionalProperties value
+ */
+ public Map additionalProperties() {
+ return this.additionalProperties;
+ }
+
+ /**
+ * Set unmatched properties from the message are deserialized this collection.
+ *
+ * @param additionalProperties the additionalProperties value to set
+ * @return the ManagedVirtualNetworkInner object itself.
+ */
+ public ManagedVirtualNetworkInner withAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ return this;
+ }
+
+ /**
+ * Get managed Virtual Network ID.
+ *
+ * @return the vNetId value
+ */
+ public String vNetId() {
+ return this.vNetId;
+ }
+
+ /**
+ * Get managed Virtual Network alias.
+ *
+ * @return the alias value
+ */
+ public String alias() {
+ return this.alias;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkResourceImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkResourceImpl.java
new file mode 100644
index 000000000000..d92b8ab65449
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkResourceImpl.java
@@ -0,0 +1,152 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedVirtualNetworkResource;
+import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl;
+import rx.Observable;
+import java.util.Map;
+import rx.functions.Func1;
+
+class ManagedVirtualNetworkResourceImpl extends CreatableUpdatableImpl implements ManagedVirtualNetworkResource, ManagedVirtualNetworkResource.Definition, ManagedVirtualNetworkResource.Update {
+ private final DataFactoryManager manager;
+ private String resourceGroupName;
+ private String factoryName;
+ private String managedVirtualNetworkName;
+ private String cifMatch;
+ private ManagedVirtualNetworkInner cproperties;
+ private String uifMatch;
+ private ManagedVirtualNetworkInner uproperties;
+
+ ManagedVirtualNetworkResourceImpl(String name, DataFactoryManager manager) {
+ super(name, new ManagedVirtualNetworkResourceInner());
+ this.manager = manager;
+ // Set resource name
+ this.managedVirtualNetworkName = name;
+ //
+ this.cproperties = new ManagedVirtualNetworkInner();
+ this.uproperties = new ManagedVirtualNetworkInner();
+ }
+
+ ManagedVirtualNetworkResourceImpl(ManagedVirtualNetworkResourceInner inner, DataFactoryManager manager) {
+ super(inner.name(), inner);
+ this.manager = manager;
+ // Set resource name
+ this.managedVirtualNetworkName = inner.name();
+ // set resource ancestor and positional variables
+ this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
+ this.factoryName = IdParsingUtils.getValueFromIdByName(inner.id(), "factories");
+ this.managedVirtualNetworkName = IdParsingUtils.getValueFromIdByName(inner.id(), "managedVirtualNetworks");
+ //
+ this.cproperties = new ManagedVirtualNetworkInner();
+ this.uproperties = new ManagedVirtualNetworkInner();
+ }
+
+ @Override
+ public DataFactoryManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public Observable createResourceAsync() {
+ ManagedVirtualNetworksInner client = this.manager().inner().managedVirtualNetworks();
+ return client.createOrUpdateAsync(this.resourceGroupName, this.factoryName, this.managedVirtualNetworkName, this.cproperties, this.cifMatch)
+ .map(new Func1() {
+ @Override
+ public ManagedVirtualNetworkResourceInner call(ManagedVirtualNetworkResourceInner resource) {
+ resetCreateUpdateParameters();
+ return resource;
+ }
+ })
+ .map(innerToFluentMap(this));
+ }
+
+ @Override
+ public Observable updateResourceAsync() {
+ ManagedVirtualNetworksInner client = this.manager().inner().managedVirtualNetworks();
+ return client.createOrUpdateAsync(this.resourceGroupName, this.factoryName, this.managedVirtualNetworkName, this.uproperties, this.uifMatch)
+ .map(new Func1() {
+ @Override
+ public ManagedVirtualNetworkResourceInner call(ManagedVirtualNetworkResourceInner resource) {
+ resetCreateUpdateParameters();
+ return resource;
+ }
+ })
+ .map(innerToFluentMap(this));
+ }
+
+ @Override
+ protected Observable getInnerAsync() {
+ ManagedVirtualNetworksInner client = this.manager().inner().managedVirtualNetworks();
+ return client.getAsync(this.resourceGroupName, this.factoryName, this.managedVirtualNetworkName);
+ }
+
+ @Override
+ public boolean isInCreateMode() {
+ return this.inner().id() == null;
+ }
+
+ private void resetCreateUpdateParameters() {
+ this.cproperties = new ManagedVirtualNetworkInner();
+ this.uproperties = new ManagedVirtualNetworkInner();
+ }
+
+ @Override
+ public String etag() {
+ return this.inner().etag();
+ }
+
+ @Override
+ public String id() {
+ return this.inner().id();
+ }
+
+ @Override
+ public String name() {
+ return this.inner().name();
+ }
+
+ @Override
+ public ManagedVirtualNetworkInner properties() {
+ return this.inner().properties();
+ }
+
+ @Override
+ public String type() {
+ return this.inner().type();
+ }
+
+ @Override
+ public ManagedVirtualNetworkResourceImpl withExistingFactory(String resourceGroupName, String factoryName) {
+ this.resourceGroupName = resourceGroupName;
+ this.factoryName = factoryName;
+ return this;
+ }
+
+ @Override
+ public ManagedVirtualNetworkResourceImpl withIfMatch(String ifMatch) {
+ if (isInCreateMode()) {
+ this.cifMatch = ifMatch;
+ } else {
+ this.uifMatch = ifMatch;
+ }
+ return this;
+ }
+
+ @Override
+ public ManagedVirtualNetworkResourceImpl withProperties(ManagedVirtualNetworkInner properties) {
+ if (isInCreateMode()) {
+ this.cproperties = properties;
+ } else {
+ this.uproperties = properties;
+ }
+ return this;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkResourceInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkResourceInner.java
new file mode 100644
index 000000000000..8954527e56f1
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworkResourceInner.java
@@ -0,0 +1,89 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.azure.SubResource;
+
+/**
+ * Managed Virtual Network resource type.
+ */
+public class ManagedVirtualNetworkResourceInner extends SubResource {
+ /**
+ * Managed Virtual Network properties.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private ManagedVirtualNetworkInner properties;
+
+ /**
+ * The resource name.
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /**
+ * The resource type.
+ */
+ @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
+ private String type;
+
+ /**
+ * Etag identifies change in the resource.
+ */
+ @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
+ private String etag;
+
+ /**
+ * Get managed Virtual Network properties.
+ *
+ * @return the properties value
+ */
+ public ManagedVirtualNetworkInner properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set managed Virtual Network properties.
+ *
+ * @param properties the properties value to set
+ * @return the ManagedVirtualNetworkResourceInner object itself.
+ */
+ public ManagedVirtualNetworkResourceInner withProperties(ManagedVirtualNetworkInner properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the resource name.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the resource type.
+ *
+ * @return the type value
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get etag identifies change in the resource.
+ *
+ * @return the etag value
+ */
+ public String etag() {
+ return this.etag;
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworksImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworksImpl.java
new file mode 100644
index 000000000000..a8f201919e64
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworksImpl.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.datafactory.v2018_06_01.implementation;
+
+import com.microsoft.azure.arm.model.implementation.WrapperImpl;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedVirtualNetworks;
+import rx.Observable;
+import rx.functions.Func1;
+import com.microsoft.azure.Page;
+import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedVirtualNetworkResource;
+
+class ManagedVirtualNetworksImpl extends WrapperImpl implements ManagedVirtualNetworks {
+ private final DataFactoryManager manager;
+
+ ManagedVirtualNetworksImpl(DataFactoryManager manager) {
+ super(manager.inner().managedVirtualNetworks());
+ this.manager = manager;
+ }
+
+ public DataFactoryManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public ManagedVirtualNetworkResourceImpl define(String name) {
+ return wrapModel(name);
+ }
+
+ private ManagedVirtualNetworkResourceImpl wrapModel(ManagedVirtualNetworkResourceInner inner) {
+ return new ManagedVirtualNetworkResourceImpl(inner, manager());
+ }
+
+ private ManagedVirtualNetworkResourceImpl wrapModel(String name) {
+ return new ManagedVirtualNetworkResourceImpl(name, this.manager());
+ }
+
+ @Override
+ public Observable listByFactoryAsync(final String resourceGroupName, final String factoryName) {
+ ManagedVirtualNetworksInner client = this.inner();
+ return client.listByFactoryAsync(resourceGroupName, factoryName)
+ .flatMapIterable(new Func1, Iterable>() {
+ @Override
+ public Iterable call(Page page) {
+ return page.items();
+ }
+ })
+ .map(new Func1() {
+ @Override
+ public ManagedVirtualNetworkResource call(ManagedVirtualNetworkResourceInner inner) {
+ return wrapModel(inner);
+ }
+ });
+ }
+
+ @Override
+ public Observable getAsync(String resourceGroupName, String factoryName, String managedVirtualNetworkName) {
+ ManagedVirtualNetworksInner client = this.inner();
+ return client.getAsync(resourceGroupName, factoryName, managedVirtualNetworkName)
+ .flatMap(new Func1>() {
+ @Override
+ public Observable call(ManagedVirtualNetworkResourceInner inner) {
+ if (inner == null) {
+ return Observable.empty();
+ } else {
+ return Observable.just((ManagedVirtualNetworkResource)wrapModel(inner));
+ }
+ }
+ });
+ }
+
+}
diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworksInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworksInner.java
new file mode 100644
index 000000000000..0540e244dc1b
--- /dev/null
+++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/ManagedVirtualNetworksInner.java
@@ -0,0 +1,703 @@
+/**
+ * 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.datafactory.v2018_06_01.implementation;
+
+import retrofit2.Retrofit;
+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.Page;
+import com.microsoft.azure.PagedList;
+import com.microsoft.rest.ServiceCallback;
+import com.microsoft.rest.ServiceFuture;
+import com.microsoft.rest.ServiceResponse;
+import com.microsoft.rest.Validator;
+import java.io.IOException;
+import java.util.List;
+import okhttp3.ResponseBody;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.Header;
+import retrofit2.http.Headers;
+import retrofit2.http.Path;
+import retrofit2.http.PUT;
+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 ManagedVirtualNetworks.
+ */
+public class ManagedVirtualNetworksInner {
+ /** The Retrofit service to perform REST calls. */
+ private ManagedVirtualNetworksService service;
+ /** The service client containing this operation class. */
+ private DataFactoryManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ManagedVirtualNetworksInner.
+ *
+ * @param retrofit the Retrofit instance built from a Retrofit Builder.
+ * @param client the instance of the service client containing this operation class.
+ */
+ public ManagedVirtualNetworksInner(Retrofit retrofit, DataFactoryManagementClientImpl client) {
+ this.service = retrofit.create(ManagedVirtualNetworksService.class);
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ManagedVirtualNetworks to be
+ * used by Retrofit to perform actually REST calls.
+ */
+ interface ManagedVirtualNetworksService {
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datafactory.v2018_06_01.ManagedVirtualNetworks listByFactory" })
+ @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks")
+ Observable> listByFactory(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @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.datafactory.v2018_06_01.ManagedVirtualNetworks createOrUpdate" })
+ @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}")
+ Observable> createOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("managedVirtualNetworkName") String managedVirtualNetworkName, @Query("api-version") String apiVersion, @Header("If-Match") String ifMatch, @Header("accept-language") String acceptLanguage, @Body ManagedVirtualNetworkResourceInner managedVirtualNetwork, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datafactory.v2018_06_01.ManagedVirtualNetworks get" })
+ @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}")
+ Observable> get(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("managedVirtualNetworkName") String managedVirtualNetworkName, @Query("api-version") String apiVersion, @Header("If-None-Match") String ifNoneMatch, @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.datafactory.v2018_06_01.ManagedVirtualNetworks listByFactoryNext" })
+ @GET
+ Observable> listByFactoryNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ }
+
+ /**
+ * Lists managed Virtual Networks.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @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<ManagedVirtualNetworkResourceInner> object if successful.
+ */
+ public PagedList listByFactory(final String resourceGroupName, final String factoryName) {
+ ServiceResponse> response = listByFactorySinglePageAsync(resourceGroupName, factoryName).toBlocking().single();
+ return new PagedList(response.body()) {
+ @Override
+ public Page nextPage(String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(nextPageLink).toBlocking().single().body();
+ }
+ };
+ }
+
+ /**
+ * Lists managed Virtual Networks.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @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> listByFactoryAsync(final String resourceGroupName, final String factoryName, final ListOperationCallback serviceCallback) {
+ return AzureServiceFuture.fromPageResponse(
+ listByFactorySinglePageAsync(resourceGroupName, factoryName),
+ new Func1>>>() {
+ @Override
+ public Observable>> call(String nextPageLink) {
+ return listByFactoryNextSinglePageAsync(nextPageLink);
+ }
+ },
+ serviceCallback);
+ }
+
+ /**
+ * Lists managed Virtual Networks.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the PagedList<ManagedVirtualNetworkResourceInner> object
+ */
+ public Observable> listByFactoryAsync(final String resourceGroupName, final String factoryName) {
+ return listByFactoryWithServiceResponseAsync(resourceGroupName, factoryName)
+ .map(new Func1>, Page>() {
+ @Override
+ public Page call(ServiceResponse> response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * Lists managed Virtual Networks.
+ *
+ * @param resourceGroupName The resource group name.
+ * @param factoryName The factory name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the PagedList<ManagedVirtualNetworkResourceInner> object
+ */
+ public Observable