diff --git a/iothub/resource-manager/v2018_04_01/pom.xml b/iothub/resource-manager/v2018_04_01/pom.xml
index cffb1cc0c4af..ca261a3aa23f 100644
--- a/iothub/resource-manager/v2018_04_01/pom.xml
+++ b/iothub/resource-manager/v2018_04_01/pom.xml
@@ -1,133 +1,133 @@
-
-
- 4.0.0
- com.microsoft.azure.azure-mgmt-iothub-2018-04-01
-
- com.microsoft.azure
- azure-arm-parent
- 0.0.3-beta
- ../../../pom.xml
-
- azure-mgmt-iothub
- 1.0.0-beta-SNAPSHOT
- jar
- Microsoft Azure SDK for Devices Management
- This package contains Microsoft Devices Management SDK.
- https://github.com/Azure/azure-libraries-for-java
-
-
- The MIT License (MIT)
- http://opensource.org/licenses/MIT
- repo
-
-
-
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
- HEAD
-
-
- UTF-8
-
-
-
-
- microsoft
- Microsoft
-
-
-
-
- com.microsoft.azure
- azure-client-runtime
-
-
- com.microsoft.azure
- azure-arm-client-runtime
-
-
- junit
- junit
- test
-
-
- com.microsoft.azure
- azure-client-authentication
- test
-
-
- com.microsoft.azure
- azure-mgmt-resources
- test
-
-
- com.microsoft.azure
- azure-arm-client-runtime
- test-jar
- test
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- true
- true
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.1
-
- 1.7
- 1.7
-
-
- com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
-
-
- true
- true
-
- true
- true
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 2.8
-
- *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
-
-
- /**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
- ]]>
-
-
-
-
-
-
+
+
+ 4.0.0
+ com.microsoft.azure.iothub.v2018_04_01
+
+ com.microsoft.azure
+ azure-arm-parent
+ 0.0.2-beta
+ ../../../pom.xml
+
+ azure-mgmt-devices
+ 1.0.0-beta
+ jar
+ Microsoft Azure SDK for Devices Management
+ This package contains Microsoft Devices Management SDK.
+ https://github.com/Azure/azure-libraries-for-java
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+ scm:git:https://github.com/Azure/azure-libraries-for-java
+ scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ HEAD
+
+
+ UTF-8
+
+
+
+
+ microsoft
+ Microsoft
+
+
+
+
+ com.microsoft.azure
+ azure-client-runtime
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+
+
+ junit
+ junit
+ test
+
+
+ com.microsoft.azure
+ azure-client-authentication
+ test
+
+
+ com.microsoft.azure
+ azure-mgmt-resources
+ test
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+ test-jar
+ test
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+
+ true
+ true
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.1
+
+ 1.7
+ 1.7
+
+
+ com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
+
+
+ true
+ true
+
+ true
+ true
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8
+
+ *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
+
+
+ /**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+ ]]>
+
+
+
+
+
+
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateBodyDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateBodyDescription.java
index 65881665d23c..1d1c39b73f17 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateBodyDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateBodyDescription.java
@@ -22,7 +22,7 @@ public class CertificateBodyDescription {
private String certificate;
/**
- * Get the certificate value.
+ * Get base-64 representation of the X509 leaf certificate .cer file or just .pem file content.
*
* @return the certificate value
*/
@@ -31,7 +31,7 @@ public String certificate() {
}
/**
- * Set the certificate value.
+ * Set base-64 representation of the X509 leaf certificate .cer file or just .pem file content.
*
* @param certificate the certificate value to set
* @return the CertificateBodyDescription object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateDescription.java
index 60fe674ab9e2..798e26c99e03 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateDescription.java
@@ -16,12 +16,12 @@
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.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
/**
* Type representing CertificateDescription.
*/
-public interface CertificateDescription extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface CertificateDescription extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the etag value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateListDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateListDescription.java
index 7e51c4dbfc45..87ba1d23fcb5 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateListDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateListDescription.java
@@ -10,7 +10,7 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.CertificateListDescriptionInner;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.CertificateDescriptionInner;
import java.util.List;
@@ -18,7 +18,7 @@
/**
* Type representing CertificateListDescription.
*/
-public interface CertificateListDescription extends HasInner, HasManager {
+public interface CertificateListDescription extends HasInner, HasManager {
/**
* @return the value value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateProperties.java
index 68b8566724a5..e26a69b51803 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateProperties.java
@@ -59,7 +59,7 @@ public class CertificateProperties {
private String certificate;
/**
- * Get the subject value.
+ * Get the certificate's subject name.
*
* @return the subject value
*/
@@ -68,7 +68,7 @@ public String subject() {
}
/**
- * Get the expiry value.
+ * Get the certificate's expiration date and time.
*
* @return the expiry value
*/
@@ -80,7 +80,7 @@ public DateTime expiry() {
}
/**
- * Get the thumbprint value.
+ * Get the certificate's thumbprint.
*
* @return the thumbprint value
*/
@@ -89,7 +89,7 @@ public String thumbprint() {
}
/**
- * Get the isVerified value.
+ * Get determines whether certificate has been verified.
*
* @return the isVerified value
*/
@@ -98,7 +98,7 @@ public Boolean isVerified() {
}
/**
- * Get the created value.
+ * Get the certificate's create date and time.
*
* @return the created value
*/
@@ -110,7 +110,7 @@ public DateTime created() {
}
/**
- * Get the updated value.
+ * Get the certificate's last update date and time.
*
* @return the updated value
*/
@@ -122,7 +122,7 @@ public DateTime updated() {
}
/**
- * Get the certificate value.
+ * Get the certificate content.
*
* @return the certificate value
*/
@@ -131,7 +131,7 @@ public String certificate() {
}
/**
- * Set the certificate value.
+ * Set the certificate content.
*
* @param certificate the certificate value to set
* @return the CertificateProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificatePropertiesWithNonce.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificatePropertiesWithNonce.java
index 3aa6c80473b2..8d991eaf9595 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificatePropertiesWithNonce.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificatePropertiesWithNonce.java
@@ -67,7 +67,7 @@ public class CertificatePropertiesWithNonce {
private String certificate;
/**
- * Get the subject value.
+ * Get the certificate's subject name.
*
* @return the subject value
*/
@@ -76,7 +76,7 @@ public String subject() {
}
/**
- * Get the expiry value.
+ * Get the certificate's expiration date and time.
*
* @return the expiry value
*/
@@ -88,7 +88,7 @@ public DateTime expiry() {
}
/**
- * Get the thumbprint value.
+ * Get the certificate's thumbprint.
*
* @return the thumbprint value
*/
@@ -97,7 +97,7 @@ public String thumbprint() {
}
/**
- * Get the isVerified value.
+ * Get determines whether certificate has been verified.
*
* @return the isVerified value
*/
@@ -106,7 +106,7 @@ public Boolean isVerified() {
}
/**
- * Get the created value.
+ * Get the certificate's create date and time.
*
* @return the created value
*/
@@ -118,7 +118,7 @@ public DateTime created() {
}
/**
- * Get the updated value.
+ * Get the certificate's last update date and time.
*
* @return the updated value
*/
@@ -130,7 +130,7 @@ public DateTime updated() {
}
/**
- * Get the verificationCode value.
+ * Get the certificate's verification code that will be used for proof of possession.
*
* @return the verificationCode value
*/
@@ -139,7 +139,7 @@ public String verificationCode() {
}
/**
- * Get the certificate value.
+ * Get the certificate content.
*
* @return the certificate value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateVerificationDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateVerificationDescription.java
index ba0d7e948481..c85dbbf7b4b3 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateVerificationDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateVerificationDescription.java
@@ -22,7 +22,7 @@ public class CertificateVerificationDescription {
private String certificate;
/**
- * Get the certificate value.
+ * Get base-64 representation of X509 certificate .cer file or just .pem file content.
*
* @return the certificate value
*/
@@ -31,7 +31,7 @@ public String certificate() {
}
/**
- * Set the certificate value.
+ * Set base-64 representation of X509 certificate .cer file or just .pem file content.
*
* @param certificate the certificate value to set
* @return the CertificateVerificationDescription object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateWithNonceDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateWithNonceDescription.java
index 24aea4e9735c..28930c31eb56 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateWithNonceDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CertificateWithNonceDescription.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.CertificateWithNonceDescriptionInner;
/**
* Type representing CertificateWithNonceDescription.
*/
-public interface CertificateWithNonceDescription extends HasInner, HasManager {
+public interface CertificateWithNonceDescription extends HasInner, HasManager {
/**
* @return the etag value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CloudToDeviceProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CloudToDeviceProperties.java
index f8f1868e2b60..052ba485823d 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CloudToDeviceProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/CloudToDeviceProperties.java
@@ -38,7 +38,7 @@ public class CloudToDeviceProperties {
private FeedbackProperties feedback;
/**
- * Get the maxDeliveryCount value.
+ * Get the max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @return the maxDeliveryCount value
*/
@@ -47,7 +47,7 @@ public Integer maxDeliveryCount() {
}
/**
- * Set the maxDeliveryCount value.
+ * Set the max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @param maxDeliveryCount the maxDeliveryCount value to set
* @return the CloudToDeviceProperties object itself.
@@ -58,7 +58,7 @@ public CloudToDeviceProperties withMaxDeliveryCount(Integer maxDeliveryCount) {
}
/**
- * Get the defaultTtlAsIso8601 value.
+ * Get the default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @return the defaultTtlAsIso8601 value
*/
@@ -67,7 +67,7 @@ public Period defaultTtlAsIso8601() {
}
/**
- * Set the defaultTtlAsIso8601 value.
+ * Set the default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @param defaultTtlAsIso8601 the defaultTtlAsIso8601 value to set
* @return the CloudToDeviceProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EndpointHealthData.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EndpointHealthData.java
index a5f79076c623..a603db571f80 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EndpointHealthData.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EndpointHealthData.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.EndpointHealthDataInner;
/**
* Type representing EndpointHealthData.
*/
-public interface EndpointHealthData extends HasInner, HasManager {
+public interface EndpointHealthData extends HasInner, HasManager {
/**
* @return the endpointId value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubConsumerGroupInfo.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubConsumerGroupInfo.java
index d5b2ad5ade64..a06322579662 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubConsumerGroupInfo.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubConsumerGroupInfo.java
@@ -16,13 +16,13 @@
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.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import java.util.Map;
/**
* Type representing EventHubConsumerGroupInfo.
*/
-public interface EventHubConsumerGroupInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+public interface EventHubConsumerGroupInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager {
/**
* @return the etag value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubProperties.java
index 92a88f17144a..13e150eb1264 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/EventHubProperties.java
@@ -50,7 +50,7 @@ public class EventHubProperties {
private String endpoint;
/**
- * Get the retentionTimeInDays value.
+ * Get the retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
*
* @return the retentionTimeInDays value
*/
@@ -59,7 +59,7 @@ public Long retentionTimeInDays() {
}
/**
- * Set the retentionTimeInDays value.
+ * Set the retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
*
* @param retentionTimeInDays the retentionTimeInDays value to set
* @return the EventHubProperties object itself.
@@ -70,7 +70,7 @@ public EventHubProperties withRetentionTimeInDays(Long retentionTimeInDays) {
}
/**
- * Get the partitionCount value.
+ * Get the number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
*
* @return the partitionCount value
*/
@@ -79,7 +79,7 @@ public Integer partitionCount() {
}
/**
- * Set the partitionCount value.
+ * Set the number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
*
* @param partitionCount the partitionCount value to set
* @return the EventHubProperties object itself.
@@ -90,7 +90,7 @@ public EventHubProperties withPartitionCount(Integer partitionCount) {
}
/**
- * Get the partitionIds value.
+ * Get the partition ids in the Event Hub-compatible endpoint.
*
* @return the partitionIds value
*/
@@ -99,7 +99,7 @@ public List partitionIds() {
}
/**
- * Get the path value.
+ * Get the Event Hub-compatible name.
*
* @return the path value
*/
@@ -108,7 +108,7 @@ public String path() {
}
/**
- * Get the endpoint value.
+ * Get the Event Hub-compatible endpoint.
*
* @return the endpoint value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ExportDevicesRequest.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ExportDevicesRequest.java
index 341caaf5a2fa..9c2111c9b5b2 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ExportDevicesRequest.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ExportDevicesRequest.java
@@ -28,7 +28,7 @@ public class ExportDevicesRequest {
private boolean excludeKeys;
/**
- * Get the exportBlobContainerUri value.
+ * Get the export blob container URI.
*
* @return the exportBlobContainerUri value
*/
@@ -37,7 +37,7 @@ public String exportBlobContainerUri() {
}
/**
- * Set the exportBlobContainerUri value.
+ * Set the export blob container URI.
*
* @param exportBlobContainerUri the exportBlobContainerUri value to set
* @return the ExportDevicesRequest object itself.
@@ -48,7 +48,7 @@ public ExportDevicesRequest withExportBlobContainerUri(String exportBlobContaine
}
/**
- * Get the excludeKeys value.
+ * Get the value indicating whether keys should be excluded during export.
*
* @return the excludeKeys value
*/
@@ -57,7 +57,7 @@ public boolean excludeKeys() {
}
/**
- * Set the excludeKeys value.
+ * Set the value indicating whether keys should be excluded during export.
*
* @param excludeKeys the excludeKeys value to set
* @return the ExportDevicesRequest object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FallbackRouteProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FallbackRouteProperties.java
index 5f53ebe08ee2..36d4a73810ec 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FallbackRouteProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FallbackRouteProperties.java
@@ -55,13 +55,15 @@ public class FallbackRouteProperties {
/**
* Creates an instance of FallbackRouteProperties class.
+ * @param endpointNames the list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.
+ * @param isEnabled used to specify whether the fallback route is enabled.
*/
public FallbackRouteProperties() {
source = "DeviceMessages";
}
/**
- * Get the name value.
+ * Get the name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.
*
* @return the name value
*/
@@ -70,7 +72,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.
*
* @param name the name value to set
* @return the FallbackRouteProperties object itself.
@@ -81,7 +83,7 @@ public FallbackRouteProperties withName(String name) {
}
/**
- * Get the source value.
+ * Get the source to which the routing rule is to be applied to. For example, DeviceMessages.
*
* @return the source value
*/
@@ -90,7 +92,7 @@ public String source() {
}
/**
- * Set the source value.
+ * Set the source to which the routing rule is to be applied to. For example, DeviceMessages.
*
* @param source the source value to set
* @return the FallbackRouteProperties object itself.
@@ -101,7 +103,7 @@ public FallbackRouteProperties withSource(String source) {
}
/**
- * Get the condition value.
+ * Get the condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
*
* @return the condition value
*/
@@ -110,7 +112,7 @@ public String condition() {
}
/**
- * Set the condition value.
+ * Set the condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
*
* @param condition the condition value to set
* @return the FallbackRouteProperties object itself.
@@ -121,7 +123,7 @@ public FallbackRouteProperties withCondition(String condition) {
}
/**
- * Get the endpointNames value.
+ * Get the list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.
*
* @return the endpointNames value
*/
@@ -130,7 +132,7 @@ public List endpointNames() {
}
/**
- * Set the endpointNames value.
+ * Set the list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.
*
* @param endpointNames the endpointNames value to set
* @return the FallbackRouteProperties object itself.
@@ -141,7 +143,7 @@ public FallbackRouteProperties withEndpointNames(List endpointNames) {
}
/**
- * Get the isEnabled value.
+ * Get used to specify whether the fallback route is enabled.
*
* @return the isEnabled value
*/
@@ -150,7 +152,7 @@ public boolean isEnabled() {
}
/**
- * Set the isEnabled value.
+ * Set used to specify whether the fallback route is enabled.
*
* @param isEnabled the isEnabled value to set
* @return the FallbackRouteProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FeedbackProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FeedbackProperties.java
index 50e6e1e94261..8b3d7068e3eb 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FeedbackProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/FeedbackProperties.java
@@ -39,7 +39,7 @@ public class FeedbackProperties {
private Integer maxDeliveryCount;
/**
- * Get the lockDurationAsIso8601 value.
+ * Get the lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @return the lockDurationAsIso8601 value
*/
@@ -48,7 +48,7 @@ public Period lockDurationAsIso8601() {
}
/**
- * Set the lockDurationAsIso8601 value.
+ * Set the lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @param lockDurationAsIso8601 the lockDurationAsIso8601 value to set
* @return the FeedbackProperties object itself.
@@ -59,7 +59,7 @@ public FeedbackProperties withLockDurationAsIso8601(Period lockDurationAsIso8601
}
/**
- * Get the ttlAsIso8601 value.
+ * Get the period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @return the ttlAsIso8601 value
*/
@@ -68,7 +68,7 @@ public Period ttlAsIso8601() {
}
/**
- * Set the ttlAsIso8601 value.
+ * Set the period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @param ttlAsIso8601 the ttlAsIso8601 value to set
* @return the FeedbackProperties object itself.
@@ -79,7 +79,7 @@ public FeedbackProperties withTtlAsIso8601(Period ttlAsIso8601) {
}
/**
- * Get the maxDeliveryCount value.
+ * Get the number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @return the maxDeliveryCount value
*/
@@ -88,7 +88,7 @@ public Integer maxDeliveryCount() {
}
/**
- * Set the maxDeliveryCount value.
+ * Set the number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
*
* @param maxDeliveryCount the maxDeliveryCount value to set
* @return the FeedbackProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ImportDevicesRequest.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ImportDevicesRequest.java
index 8507881af4c5..1aa8f7035ed1 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ImportDevicesRequest.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/ImportDevicesRequest.java
@@ -28,7 +28,7 @@ public class ImportDevicesRequest {
private String outputBlobContainerUri;
/**
- * Get the inputBlobContainerUri value.
+ * Get the input blob container URI.
*
* @return the inputBlobContainerUri value
*/
@@ -37,7 +37,7 @@ public String inputBlobContainerUri() {
}
/**
- * Set the inputBlobContainerUri value.
+ * Set the input blob container URI.
*
* @param inputBlobContainerUri the inputBlobContainerUri value to set
* @return the ImportDevicesRequest object itself.
@@ -48,7 +48,7 @@ public ImportDevicesRequest withInputBlobContainerUri(String inputBlobContainerU
}
/**
- * Get the outputBlobContainerUri value.
+ * Get the output blob container URI.
*
* @return the outputBlobContainerUri value
*/
@@ -57,7 +57,7 @@ public String outputBlobContainerUri() {
}
/**
- * Set the outputBlobContainerUri value.
+ * Set the output blob container URI.
*
* @param outputBlobContainerUri the outputBlobContainerUri value to set
* @return the ImportDevicesRequest object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubCapacity.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubCapacity.java
index 4d3ee6b48e0a..b560d520a194 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubCapacity.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubCapacity.java
@@ -40,7 +40,7 @@ public class IotHubCapacity {
private IotHubScaleType scaleType;
/**
- * Get the minimum value.
+ * Get the minimum number of units.
*
* @return the minimum value
*/
@@ -49,7 +49,7 @@ public Long minimum() {
}
/**
- * Get the maximum value.
+ * Get the maximum number of units.
*
* @return the maximum value
*/
@@ -58,7 +58,7 @@ public Long maximum() {
}
/**
- * Get the defaultProperty value.
+ * Get the default number of units.
*
* @return the defaultProperty value
*/
@@ -67,7 +67,7 @@ public Long defaultProperty() {
}
/**
- * Get the scaleType value.
+ * Get the type of the scaling enabled. Possible values include: 'Automatic', 'Manual', 'None'.
*
* @return the scaleType value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubDescription.java
index c0ea3a2b170c..effbb808d094 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubDescription.java
@@ -10,20 +10,20 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.Resource;
+import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
import com.microsoft.azure.arm.resources.models.HasResourceGroup;
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.GroupableResourceCore;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IotHubDescriptionInner;
/**
* Type representing IotHubDescription.
*/
-public interface IotHubDescription extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager {
+public interface IotHubDescription extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager {
/**
* @return the etag value.
*/
@@ -102,12 +102,32 @@ interface WithCreate extends Creatable, Resource.DefinitionWi
/**
* The template for a IotHubDescription update operation, containing all the settings that can be modified.
*/
- interface Update extends Appliable, Resource.UpdateWithTags {
+ interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithEtag, UpdateStages.WithProperties {
}
/**
* Grouping of IotHubDescription update stages.
*/
interface UpdateStages {
+ /**
+ * The stage of the iothubdescription {0} allowing to specify Etag.
+ */
+ interface WithEtag {
+ /**
+ * Specifies etag.
+ */
+ Update withEtag(String etag);
+ }
+
+ /**
+ * The stage of the iothubdescription {0} allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ */
+ Update withProperties(IotHubProperties properties);
+ }
+
}
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubNameAvailabilityInfo.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubNameAvailabilityInfo.java
index 68040575d82d..7227c6ed28c6 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubNameAvailabilityInfo.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubNameAvailabilityInfo.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IotHubNameAvailabilityInfoInner;
/**
* Type representing IotHubNameAvailabilityInfo.
*/
-public interface IotHubNameAvailabilityInfo extends HasInner, HasManager {
+public interface IotHubNameAvailabilityInfo extends HasInner, HasManager {
/**
* @return the message value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubProperties.java
index fc6f022d826e..d76a9db77ad4 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubProperties.java
@@ -37,7 +37,7 @@ public class IotHubProperties {
private String provisioningState;
/**
- * Thehub state state.
+ * The hub state.
*/
@JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
private String state;
@@ -113,7 +113,7 @@ public class IotHubProperties {
private Capabilities features;
/**
- * Get the authorizationPolicies value.
+ * Get the shared access policies you can use to secure a connection to the IoT hub.
*
* @return the authorizationPolicies value
*/
@@ -122,7 +122,7 @@ public List authorizationPolicies()
}
/**
- * Set the authorizationPolicies value.
+ * Set the shared access policies you can use to secure a connection to the IoT hub.
*
* @param authorizationPolicies the authorizationPolicies value to set
* @return the IotHubProperties object itself.
@@ -133,7 +133,7 @@ public IotHubProperties withAuthorizationPolicies(List ipFilterRules() {
}
/**
- * Set the ipFilterRules value.
+ * Set the IP filter rules.
*
* @param ipFilterRules the ipFilterRules value to set
* @return the IotHubProperties object itself.
@@ -153,7 +153,7 @@ public IotHubProperties withIpFilterRules(List ipFilterRules) {
}
/**
- * Get the provisioningState value.
+ * Get the provisioning state.
*
* @return the provisioningState value
*/
@@ -162,7 +162,7 @@ public String provisioningState() {
}
/**
- * Get the state value.
+ * Get the hub state.
*
* @return the state value
*/
@@ -171,7 +171,7 @@ public String state() {
}
/**
- * Get the hostName value.
+ * Get the name of the host.
*
* @return the hostName value
*/
@@ -180,7 +180,7 @@ public String hostName() {
}
/**
- * Get the eventHubEndpoints value.
+ * Get the Event Hub-compatible endpoint properties. The possible keys to this dictionary are events and operationsMonitoringEvents. Both of these keys have to be present in the dictionary while making create or update calls for the IoT hub.
*
* @return the eventHubEndpoints value
*/
@@ -189,7 +189,7 @@ public Map eventHubEndpoints() {
}
/**
- * Set the eventHubEndpoints value.
+ * Set the Event Hub-compatible endpoint properties. The possible keys to this dictionary are events and operationsMonitoringEvents. Both of these keys have to be present in the dictionary while making create or update calls for the IoT hub.
*
* @param eventHubEndpoints the eventHubEndpoints value to set
* @return the IotHubProperties object itself.
@@ -220,7 +220,7 @@ public IotHubProperties withRouting(RoutingProperties routing) {
}
/**
- * Get the storageEndpoints value.
+ * Get the list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown.
*
* @return the storageEndpoints value
*/
@@ -229,7 +229,7 @@ public Map storageEndpoints() {
}
/**
- * Set the storageEndpoints value.
+ * Set the list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown.
*
* @param storageEndpoints the storageEndpoints value to set
* @return the IotHubProperties object itself.
@@ -240,7 +240,7 @@ public IotHubProperties withStorageEndpoints(Map messagingEndpoints() {
}
/**
- * Set the messagingEndpoints value.
+ * Set the messaging endpoint properties for the file upload notification queue.
*
* @param messagingEndpoints the messagingEndpoints value to set
* @return the IotHubProperties object itself.
@@ -260,7 +260,7 @@ public IotHubProperties withMessagingEndpoints(Map, HasManager {
+public interface IotHubQuotaMetricInfo extends HasInner, HasManager {
/**
* @return the currentValue value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubResources.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubResources.java
index 2cd7f134265a..1b885f4067fa 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubResources.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubResources.java
@@ -20,8 +20,18 @@
* Type representing IotHubResources.
*/
public interface IotHubResources {
+ /**
+ * Begins definition for a new IotHub resource.
+ * @param name resource name.
+ * @return the first stage of the new IotHub definition.
+ */
IotHubDescription.DefinitionStages.Blank defineIotHub(String name);
+ /**
+ * Begins definition for a new ConsumerGroup resource.
+ * @param name resource name.
+ * @return the first stage of the new ConsumerGroup definition.
+ */
EventHubConsumerGroupInfo.DefinitionStages.Blank defineConsumerGroup(String name);
/**
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuDescription.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuDescription.java
index a478f012d770..81d5b52ff30c 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuDescription.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuDescription.java
@@ -11,12 +11,12 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IotHubSkuDescriptionInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
/**
* Type representing IotHubSkuDescription.
*/
-public interface IotHubSkuDescription extends HasInner, HasManager {
+public interface IotHubSkuDescription extends HasInner, HasManager {
/**
* @return the capacity value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuInfo.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuInfo.java
index 11feb975cb9b..35a578f7ca5b 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuInfo.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IotHubSkuInfo.java
@@ -36,7 +36,7 @@ public class IotHubSkuInfo {
private Long capacity;
/**
- * Get the name value.
+ * Get the name of the SKU. Possible values include: 'F1', 'S1', 'S2', 'S3', 'B1', 'B2', 'B3'.
*
* @return the name value
*/
@@ -45,7 +45,7 @@ public IotHubSku name() {
}
/**
- * Set the name value.
+ * Set the name of the SKU. Possible values include: 'F1', 'S1', 'S2', 'S3', 'B1', 'B2', 'B3'.
*
* @param name the name value to set
* @return the IotHubSkuInfo object itself.
@@ -56,7 +56,7 @@ public IotHubSkuInfo withName(IotHubSku name) {
}
/**
- * Get the tier value.
+ * Get the billing tier for the IoT hub. Possible values include: 'Free', 'Standard', 'Basic'.
*
* @return the tier value
*/
@@ -65,7 +65,7 @@ public IotHubSkuTier tier() {
}
/**
- * Get the capacity value.
+ * Get the number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.
*
* @return the capacity value
*/
@@ -74,7 +74,7 @@ public Long capacity() {
}
/**
- * Set the capacity value.
+ * Set the number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.
*
* @param capacity the capacity value to set
* @return the IotHubSkuInfo object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IpFilterRule.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IpFilterRule.java
index 9d498a74a3d5..225852955a6b 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IpFilterRule.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/IpFilterRule.java
@@ -35,7 +35,7 @@ public class IpFilterRule {
private String ipMask;
/**
- * Get the filterName value.
+ * Get the name of the IP filter rule.
*
* @return the filterName value
*/
@@ -44,7 +44,7 @@ public String filterName() {
}
/**
- * Set the filterName value.
+ * Set the name of the IP filter rule.
*
* @param filterName the filterName value to set
* @return the IpFilterRule object itself.
@@ -55,7 +55,7 @@ public IpFilterRule withFilterName(String filterName) {
}
/**
- * Get the action value.
+ * Get the desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'.
*
* @return the action value
*/
@@ -64,7 +64,7 @@ public IpFilterActionType action() {
}
/**
- * Set the action value.
+ * Set the desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'.
*
* @param action the action value to set
* @return the IpFilterRule object itself.
@@ -75,7 +75,7 @@ public IpFilterRule withAction(IpFilterActionType action) {
}
/**
- * Get the ipMask value.
+ * Get a string that contains the IP address range in CIDR notation for the rule.
*
* @return the ipMask value
*/
@@ -84,7 +84,7 @@ public String ipMask() {
}
/**
- * Set the ipMask value.
+ * Set a string that contains the IP address range in CIDR notation for the rule.
*
* @param ipMask the ipMask value to set
* @return the IpFilterRule object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/JobResponse.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/JobResponse.java
index b7e3460d0f76..157de04e4a58 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/JobResponse.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/JobResponse.java
@@ -11,14 +11,14 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.JobResponseInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.rest.DateTimeRfc1123;
import org.joda.time.DateTime;
/**
* Type representing JobResponse.
*/
-public interface JobResponse extends HasInner, HasManager {
+public interface JobResponse extends HasInner, HasManager {
/**
* @return the endTimeUtc value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MatchedRoute.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MatchedRoute.java
index 55e8f0b22f06..bfa9c75f2471 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MatchedRoute.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MatchedRoute.java
@@ -21,7 +21,7 @@ public class MatchedRoute {
private RouteProperties properties;
/**
- * Get the properties value.
+ * Get properties of routes that matched.
*
* @return the properties value
*/
@@ -30,7 +30,7 @@ public RouteProperties properties() {
}
/**
- * Set the properties value.
+ * Set properties of routes that matched.
*
* @param properties the properties value to set
* @return the MatchedRoute object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MessagingEndpointProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MessagingEndpointProperties.java
index 0d741b978dd3..8e7b3a6e7ee3 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MessagingEndpointProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/MessagingEndpointProperties.java
@@ -38,7 +38,7 @@ public class MessagingEndpointProperties {
private Integer maxDeliveryCount;
/**
- * Get the lockDurationAsIso8601 value.
+ * Get the lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
*
* @return the lockDurationAsIso8601 value
*/
@@ -47,7 +47,7 @@ public Period lockDurationAsIso8601() {
}
/**
- * Set the lockDurationAsIso8601 value.
+ * Set the lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
*
* @param lockDurationAsIso8601 the lockDurationAsIso8601 value to set
* @return the MessagingEndpointProperties object itself.
@@ -58,7 +58,7 @@ public MessagingEndpointProperties withLockDurationAsIso8601(Period lockDuration
}
/**
- * Get the ttlAsIso8601 value.
+ * Get the period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
*
* @return the ttlAsIso8601 value
*/
@@ -67,7 +67,7 @@ public Period ttlAsIso8601() {
}
/**
- * Set the ttlAsIso8601 value.
+ * Set the period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
*
* @param ttlAsIso8601 the ttlAsIso8601 value to set
* @return the MessagingEndpointProperties object itself.
@@ -78,7 +78,7 @@ public MessagingEndpointProperties withTtlAsIso8601(Period ttlAsIso8601) {
}
/**
- * Get the maxDeliveryCount value.
+ * Get the number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
*
* @return the maxDeliveryCount value
*/
@@ -87,7 +87,7 @@ public Integer maxDeliveryCount() {
}
/**
- * Set the maxDeliveryCount value.
+ * Set the number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
*
* @param maxDeliveryCount the maxDeliveryCount value to set
* @return the MessagingEndpointProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Name.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Name.java
index 0181bbb939a5..e8264c8f9f6e 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Name.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Name.java
@@ -27,7 +27,7 @@ public class Name {
private String localizedValue;
/**
- * Get the value value.
+ * Get iotHub type.
*
* @return the value value
*/
@@ -36,7 +36,7 @@ public String value() {
}
/**
- * Set the value value.
+ * Set iotHub type.
*
* @param value the value value to set
* @return the Name object itself.
@@ -47,7 +47,7 @@ public Name withValue(String value) {
}
/**
- * Get the localizedValue value.
+ * Get localized value of name.
*
* @return the localizedValue value
*/
@@ -56,7 +56,7 @@ public String localizedValue() {
}
/**
- * Set the localizedValue value.
+ * Set localized value of name.
*
* @param localizedValue the localizedValue value to set
* @return the Name object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Operation.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Operation.java
index 659fbbe04759..5931dda80cca 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Operation.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/Operation.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.OperationInner;
/**
* Type representing Operation.
*/
-public interface Operation extends HasInner, HasManager {
+public interface Operation extends HasInner, HasManager {
/**
* @return the display value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationDisplay.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationDisplay.java
index 5b205f3d958c..d546c1289403 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationDisplay.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationDisplay.java
@@ -33,7 +33,7 @@ public class OperationDisplay {
private String operation;
/**
- * Get the provider value.
+ * Get service provider: Microsoft Devices.
*
* @return the provider value
*/
@@ -42,7 +42,7 @@ public String provider() {
}
/**
- * Get the resource value.
+ * Get resource Type: IotHubs.
*
* @return the resource value
*/
@@ -51,7 +51,7 @@ public String resource() {
}
/**
- * Get the operation value.
+ * Get name of the operation.
*
* @return the operation value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationInputs.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationInputs.java
index 19f79b98dd76..d7b860916e04 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationInputs.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/OperationInputs.java
@@ -21,7 +21,7 @@ public class OperationInputs {
private String name;
/**
- * Get the name value.
+ * Get the name of the IoT hub to check.
*
* @return the name value
*/
@@ -30,7 +30,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name of the IoT hub to check.
*
* @param name the name value to set
* @return the OperationInputs object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RegistryStatistics.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RegistryStatistics.java
index 0a4cf17f5dfd..55d29989c060 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RegistryStatistics.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RegistryStatistics.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.RegistryStatisticsInner;
/**
* Type representing RegistryStatistics.
*/
-public interface RegistryStatistics extends HasInner, HasManager {
+public interface RegistryStatistics extends HasInner, HasManager {
/**
* @return the disabledDeviceCount value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteCompilationError.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteCompilationError.java
index be253754151b..1d45ec8619da 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteCompilationError.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteCompilationError.java
@@ -34,7 +34,7 @@ public class RouteCompilationError {
private RouteErrorRange location;
/**
- * Get the message value.
+ * Get route error message.
*
* @return the message value
*/
@@ -43,7 +43,7 @@ public String message() {
}
/**
- * Set the message value.
+ * Set route error message.
*
* @param message the message value to set
* @return the RouteCompilationError object itself.
@@ -54,7 +54,7 @@ public RouteCompilationError withMessage(String message) {
}
/**
- * Get the severity value.
+ * Get severity of the route error. Possible values include: 'error', 'warning'.
*
* @return the severity value
*/
@@ -63,7 +63,7 @@ public RouteErrorSeverity severity() {
}
/**
- * Set the severity value.
+ * Set severity of the route error. Possible values include: 'error', 'warning'.
*
* @param severity the severity value to set
* @return the RouteCompilationError object itself.
@@ -74,7 +74,7 @@ public RouteCompilationError withSeverity(RouteErrorSeverity severity) {
}
/**
- * Get the location value.
+ * Get location where the route error happened.
*
* @return the location value
*/
@@ -83,7 +83,7 @@ public RouteErrorRange location() {
}
/**
- * Set the location value.
+ * Set location where the route error happened.
*
* @param location the location value to set
* @return the RouteCompilationError object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorPosition.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorPosition.java
index 2e4664de3f23..5400e226ffbf 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorPosition.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorPosition.java
@@ -27,7 +27,7 @@ public class RouteErrorPosition {
private Integer column;
/**
- * Get the line value.
+ * Get line where the route error happened.
*
* @return the line value
*/
@@ -36,7 +36,7 @@ public Integer line() {
}
/**
- * Set the line value.
+ * Set line where the route error happened.
*
* @param line the line value to set
* @return the RouteErrorPosition object itself.
@@ -47,7 +47,7 @@ public RouteErrorPosition withLine(Integer line) {
}
/**
- * Get the column value.
+ * Get column where the route error happened.
*
* @return the column value
*/
@@ -56,7 +56,7 @@ public Integer column() {
}
/**
- * Set the column value.
+ * Set column where the route error happened.
*
* @param column the column value to set
* @return the RouteErrorPosition object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorRange.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorRange.java
index 5fd27f7c51f2..a55f128432e8 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorRange.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteErrorRange.java
@@ -27,7 +27,7 @@ public class RouteErrorRange {
private RouteErrorPosition end;
/**
- * Get the start value.
+ * Get start where the route error happened.
*
* @return the start value
*/
@@ -36,7 +36,7 @@ public RouteErrorPosition start() {
}
/**
- * Set the start value.
+ * Set start where the route error happened.
*
* @param start the start value to set
* @return the RouteErrorRange object itself.
@@ -47,7 +47,7 @@ public RouteErrorRange withStart(RouteErrorPosition start) {
}
/**
- * Get the end value.
+ * Get end where the route error happened.
*
* @return the end value
*/
@@ -56,7 +56,7 @@ public RouteErrorPosition end() {
}
/**
- * Set the end value.
+ * Set end where the route error happened.
*
* @param end the end value to set
* @return the RouteErrorRange object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteProperties.java
index 01b7d7063ae8..8e047ecd575c 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RouteProperties.java
@@ -55,7 +55,7 @@ public class RouteProperties {
private boolean isEnabled;
/**
- * Get the name value.
+ * Get the name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.
*
* @return the name value
*/
@@ -64,7 +64,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.
*
* @param name the name value to set
* @return the RouteProperties object itself.
@@ -75,7 +75,7 @@ public RouteProperties withName(String name) {
}
/**
- * Get the source value.
+ * Get the source that the routing rule is to be applied to, such as DeviceMessages. Possible values include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'.
*
* @return the source value
*/
@@ -84,7 +84,7 @@ public RoutingSource source() {
}
/**
- * Set the source value.
+ * Set the source that the routing rule is to be applied to, such as DeviceMessages. Possible values include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'.
*
* @param source the source value to set
* @return the RouteProperties object itself.
@@ -95,7 +95,7 @@ public RouteProperties withSource(RoutingSource source) {
}
/**
- * Get the condition value.
+ * Get the condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
*
* @return the condition value
*/
@@ -104,7 +104,7 @@ public String condition() {
}
/**
- * Set the condition value.
+ * Set the condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
*
* @param condition the condition value to set
* @return the RouteProperties object itself.
@@ -115,7 +115,7 @@ public RouteProperties withCondition(String condition) {
}
/**
- * Get the endpointNames value.
+ * Get the list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
*
* @return the endpointNames value
*/
@@ -124,7 +124,7 @@ public List endpointNames() {
}
/**
- * Set the endpointNames value.
+ * Set the list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
*
* @param endpointNames the endpointNames value to set
* @return the RouteProperties object itself.
@@ -135,7 +135,7 @@ public RouteProperties withEndpointNames(List endpointNames) {
}
/**
- * Get the isEnabled value.
+ * Get used to specify whether a route is enabled.
*
* @return the isEnabled value
*/
@@ -144,7 +144,7 @@ public boolean isEnabled() {
}
/**
- * Set the isEnabled value.
+ * Set used to specify whether a route is enabled.
*
* @param isEnabled the isEnabled value to set
* @return the RouteProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEndpoints.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEndpoints.java
index d844f4c7d010..38aed58a5402 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEndpoints.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEndpoints.java
@@ -48,7 +48,7 @@ public class RoutingEndpoints {
private List storageContainers;
/**
- * Get the serviceBusQueues value.
+ * Get the list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.
*
* @return the serviceBusQueues value
*/
@@ -57,7 +57,7 @@ public List serviceBusQueues() {
}
/**
- * Set the serviceBusQueues value.
+ * Set the list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.
*
* @param serviceBusQueues the serviceBusQueues value to set
* @return the RoutingEndpoints object itself.
@@ -68,7 +68,7 @@ public RoutingEndpoints withServiceBusQueues(List serviceBusTopics() {
}
/**
- * Set the serviceBusTopics value.
+ * Set the list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.
*
* @param serviceBusTopics the serviceBusTopics value to set
* @return the RoutingEndpoints object itself.
@@ -88,7 +88,7 @@ public RoutingEndpoints withServiceBusTopics(List eventHubs() {
}
/**
- * Set the eventHubs value.
+ * Set the list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.
*
* @param eventHubs the eventHubs value to set
* @return the RoutingEndpoints object itself.
@@ -108,7 +108,7 @@ public RoutingEndpoints withEventHubs(List eventHubs)
}
/**
- * Get the storageContainers value.
+ * Get the list of storage container endpoints that IoT hub routes messages to, based on the routing rules.
*
* @return the storageContainers value
*/
@@ -117,7 +117,7 @@ public List storageContainers() {
}
/**
- * Set the storageContainers value.
+ * Set the list of storage container endpoints that IoT hub routes messages to, based on the routing rules.
*
* @param storageContainers the storageContainers value to set
* @return the RoutingEndpoints object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEventHubProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEventHubProperties.java
index 11d085b58a05..16c51f19df57 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEventHubProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingEventHubProperties.java
@@ -43,7 +43,7 @@ public class RoutingEventHubProperties {
private String resourceGroup;
/**
- * Get the connectionString value.
+ * Get the connection string of the event hub endpoint.
*
* @return the connectionString value
*/
@@ -52,7 +52,7 @@ public String connectionString() {
}
/**
- * Set the connectionString value.
+ * Set the connection string of the event hub endpoint.
*
* @param connectionString the connectionString value to set
* @return the RoutingEventHubProperties object itself.
@@ -63,7 +63,7 @@ public RoutingEventHubProperties withConnectionString(String connectionString) {
}
/**
- * Get the name value.
+ * Get the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types.
*
* @return the name value
*/
@@ -72,7 +72,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types.
*
* @param name the name value to set
* @return the RoutingEventHubProperties object itself.
@@ -83,7 +83,7 @@ public RoutingEventHubProperties withName(String name) {
}
/**
- * Get the subscriptionId value.
+ * Get the subscription identifier of the event hub endpoint.
*
* @return the subscriptionId value
*/
@@ -92,7 +92,7 @@ public String subscriptionId() {
}
/**
- * Set the subscriptionId value.
+ * Set the subscription identifier of the event hub endpoint.
*
* @param subscriptionId the subscriptionId value to set
* @return the RoutingEventHubProperties object itself.
@@ -103,7 +103,7 @@ public RoutingEventHubProperties withSubscriptionId(String subscriptionId) {
}
/**
- * Get the resourceGroup value.
+ * Get the name of the resource group of the event hub endpoint.
*
* @return the resourceGroup value
*/
@@ -112,7 +112,7 @@ public String resourceGroup() {
}
/**
- * Set the resourceGroup value.
+ * Set the name of the resource group of the event hub endpoint.
*
* @param resourceGroup the resourceGroup value to set
* @return the RoutingEventHubProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingMessage.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingMessage.java
index c326b2583d1a..3068080648a4 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingMessage.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingMessage.java
@@ -34,7 +34,7 @@ public class RoutingMessage {
private Map systemProperties;
/**
- * Get the body value.
+ * Get body of routing message.
*
* @return the body value
*/
@@ -43,7 +43,7 @@ public String body() {
}
/**
- * Set the body value.
+ * Set body of routing message.
*
* @param body the body value to set
* @return the RoutingMessage object itself.
@@ -54,7 +54,7 @@ public RoutingMessage withBody(String body) {
}
/**
- * Get the appProperties value.
+ * Get app properties.
*
* @return the appProperties value
*/
@@ -63,7 +63,7 @@ public Map appProperties() {
}
/**
- * Set the appProperties value.
+ * Set app properties.
*
* @param appProperties the appProperties value to set
* @return the RoutingMessage object itself.
@@ -74,7 +74,7 @@ public RoutingMessage withAppProperties(Map appProperties) {
}
/**
- * Get the systemProperties value.
+ * Get system properties.
*
* @return the systemProperties value
*/
@@ -83,7 +83,7 @@ public Map systemProperties() {
}
/**
- * Set the systemProperties value.
+ * Set system properties.
*
* @param systemProperties the systemProperties value to set
* @return the RoutingMessage object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingProperties.java
index f71f7b720fe7..1b93ef3832b8 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingProperties.java
@@ -62,7 +62,7 @@ public RoutingProperties withEndpoints(RoutingEndpoints endpoints) {
}
/**
- * Get the routes value.
+ * Get the list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs.
*
* @return the routes value
*/
@@ -71,7 +71,7 @@ public List routes() {
}
/**
- * Set the routes value.
+ * Set the list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs.
*
* @param routes the routes value to set
* @return the RoutingProperties object itself.
@@ -82,7 +82,7 @@ public RoutingProperties withRoutes(List routes) {
}
/**
- * Get the fallbackRoute value.
+ * Get the properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint.
*
* @return the fallbackRoute value
*/
@@ -91,7 +91,7 @@ public FallbackRouteProperties fallbackRoute() {
}
/**
- * Set the fallbackRoute value.
+ * Set the properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint.
*
* @param fallbackRoute the fallbackRoute value to set
* @return the RoutingProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusQueueEndpointProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusQueueEndpointProperties.java
index 4838f6f4fbfc..923fa5323485 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusQueueEndpointProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusQueueEndpointProperties.java
@@ -44,7 +44,7 @@ public class RoutingServiceBusQueueEndpointProperties {
private String resourceGroup;
/**
- * Get the connectionString value.
+ * Get the connection string of the service bus queue endpoint.
*
* @return the connectionString value
*/
@@ -53,7 +53,7 @@ public String connectionString() {
}
/**
- * Set the connectionString value.
+ * Set the connection string of the service bus queue endpoint.
*
* @param connectionString the connectionString value to set
* @return the RoutingServiceBusQueueEndpointProperties object itself.
@@ -64,7 +64,7 @@ public RoutingServiceBusQueueEndpointProperties withConnectionString(String conn
}
/**
- * Get the name value.
+ * Get the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name.
*
* @return the name value
*/
@@ -73,7 +73,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name.
*
* @param name the name value to set
* @return the RoutingServiceBusQueueEndpointProperties object itself.
@@ -84,7 +84,7 @@ public RoutingServiceBusQueueEndpointProperties withName(String name) {
}
/**
- * Get the subscriptionId value.
+ * Get the subscription identifier of the service bus queue endpoint.
*
* @return the subscriptionId value
*/
@@ -93,7 +93,7 @@ public String subscriptionId() {
}
/**
- * Set the subscriptionId value.
+ * Set the subscription identifier of the service bus queue endpoint.
*
* @param subscriptionId the subscriptionId value to set
* @return the RoutingServiceBusQueueEndpointProperties object itself.
@@ -104,7 +104,7 @@ public RoutingServiceBusQueueEndpointProperties withSubscriptionId(String subscr
}
/**
- * Get the resourceGroup value.
+ * Get the name of the resource group of the service bus queue endpoint.
*
* @return the resourceGroup value
*/
@@ -113,7 +113,7 @@ public String resourceGroup() {
}
/**
- * Set the resourceGroup value.
+ * Set the name of the resource group of the service bus queue endpoint.
*
* @param resourceGroup the resourceGroup value to set
* @return the RoutingServiceBusQueueEndpointProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusTopicEndpointProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusTopicEndpointProperties.java
index ab73f5cfc968..a2935d115194 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusTopicEndpointProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingServiceBusTopicEndpointProperties.java
@@ -44,7 +44,7 @@ public class RoutingServiceBusTopicEndpointProperties {
private String resourceGroup;
/**
- * Get the connectionString value.
+ * Get the connection string of the service bus topic endpoint.
*
* @return the connectionString value
*/
@@ -53,7 +53,7 @@ public String connectionString() {
}
/**
- * Set the connectionString value.
+ * Set the connection string of the service bus topic endpoint.
*
* @param connectionString the connectionString value to set
* @return the RoutingServiceBusTopicEndpointProperties object itself.
@@ -64,7 +64,7 @@ public RoutingServiceBusTopicEndpointProperties withConnectionString(String conn
}
/**
- * Get the name value.
+ * Get the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name.
*
* @return the name value
*/
@@ -73,7 +73,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name.
*
* @param name the name value to set
* @return the RoutingServiceBusTopicEndpointProperties object itself.
@@ -84,7 +84,7 @@ public RoutingServiceBusTopicEndpointProperties withName(String name) {
}
/**
- * Get the subscriptionId value.
+ * Get the subscription identifier of the service bus topic endpoint.
*
* @return the subscriptionId value
*/
@@ -93,7 +93,7 @@ public String subscriptionId() {
}
/**
- * Set the subscriptionId value.
+ * Set the subscription identifier of the service bus topic endpoint.
*
* @param subscriptionId the subscriptionId value to set
* @return the RoutingServiceBusTopicEndpointProperties object itself.
@@ -104,7 +104,7 @@ public RoutingServiceBusTopicEndpointProperties withSubscriptionId(String subscr
}
/**
- * Get the resourceGroup value.
+ * Get the name of the resource group of the service bus topic endpoint.
*
* @return the resourceGroup value
*/
@@ -113,7 +113,7 @@ public String resourceGroup() {
}
/**
- * Set the resourceGroup value.
+ * Set the name of the resource group of the service bus topic endpoint.
*
* @param resourceGroup the resourceGroup value to set
* @return the RoutingServiceBusTopicEndpointProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingStorageContainerProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingStorageContainerProperties.java
index 906408b79c80..82d7ed308ea6 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingStorageContainerProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingStorageContainerProperties.java
@@ -73,13 +73,13 @@ public class RoutingStorageContainerProperties {
/**
* Encoding that is used to serialize messages to blobs. Supported values
- * are 'avro' and 'avrodeflate'. Default value is 'avro'.
+ * are 'avro' and 'avroDeflate'. Default value is 'avro'.
*/
@JsonProperty(value = "encoding")
private String encoding;
/**
- * Get the connectionString value.
+ * Get the connection string of the storage account.
*
* @return the connectionString value
*/
@@ -88,7 +88,7 @@ public String connectionString() {
}
/**
- * Set the connectionString value.
+ * Set the connection string of the storage account.
*
* @param connectionString the connectionString value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -99,7 +99,7 @@ public RoutingStorageContainerProperties withConnectionString(String connectionS
}
/**
- * Get the name value.
+ * Get the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types.
*
* @return the name value
*/
@@ -108,7 +108,7 @@ public String name() {
}
/**
- * Set the name value.
+ * Set the name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types.
*
* @param name the name value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -119,7 +119,7 @@ public RoutingStorageContainerProperties withName(String name) {
}
/**
- * Get the subscriptionId value.
+ * Get the subscription identifier of the storage account.
*
* @return the subscriptionId value
*/
@@ -128,7 +128,7 @@ public String subscriptionId() {
}
/**
- * Set the subscriptionId value.
+ * Set the subscription identifier of the storage account.
*
* @param subscriptionId the subscriptionId value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -139,7 +139,7 @@ public RoutingStorageContainerProperties withSubscriptionId(String subscriptionI
}
/**
- * Get the resourceGroup value.
+ * Get the name of the resource group of the storage account.
*
* @return the resourceGroup value
*/
@@ -148,7 +148,7 @@ public String resourceGroup() {
}
/**
- * Set the resourceGroup value.
+ * Set the name of the resource group of the storage account.
*
* @param resourceGroup the resourceGroup value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -159,7 +159,7 @@ public RoutingStorageContainerProperties withResourceGroup(String resourceGroup)
}
/**
- * Get the containerName value.
+ * Get the name of storage container in the storage account.
*
* @return the containerName value
*/
@@ -168,7 +168,7 @@ public String containerName() {
}
/**
- * Set the containerName value.
+ * Set the name of storage container in the storage account.
*
* @param containerName the containerName value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -179,7 +179,7 @@ public RoutingStorageContainerProperties withContainerName(String containerName)
}
/**
- * Get the fileNameFormat value.
+ * Get file name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered.
*
* @return the fileNameFormat value
*/
@@ -188,7 +188,7 @@ public String fileNameFormat() {
}
/**
- * Set the fileNameFormat value.
+ * Set file name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered.
*
* @param fileNameFormat the fileNameFormat value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -199,7 +199,7 @@ public RoutingStorageContainerProperties withFileNameFormat(String fileNameForma
}
/**
- * Get the batchFrequencyInSeconds value.
+ * Get time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds.
*
* @return the batchFrequencyInSeconds value
*/
@@ -208,7 +208,7 @@ public Integer batchFrequencyInSeconds() {
}
/**
- * Set the batchFrequencyInSeconds value.
+ * Set time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds.
*
* @param batchFrequencyInSeconds the batchFrequencyInSeconds value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -219,7 +219,7 @@ public RoutingStorageContainerProperties withBatchFrequencyInSeconds(Integer bat
}
/**
- * Get the maxChunkSizeInBytes value.
+ * Get maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).
*
* @return the maxChunkSizeInBytes value
*/
@@ -228,7 +228,7 @@ public Integer maxChunkSizeInBytes() {
}
/**
- * Set the maxChunkSizeInBytes value.
+ * Set maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).
*
* @param maxChunkSizeInBytes the maxChunkSizeInBytes value to set
* @return the RoutingStorageContainerProperties object itself.
@@ -239,7 +239,7 @@ public RoutingStorageContainerProperties withMaxChunkSizeInBytes(Integer maxChun
}
/**
- * Get the encoding value.
+ * Get encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avroDeflate'. Default value is 'avro'.
*
* @return the encoding value
*/
@@ -248,7 +248,7 @@ public String encoding() {
}
/**
- * Set the encoding value.
+ * Set encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avroDeflate'. Default value is 'avro'.
*
* @param encoding the encoding value to set
* @return the RoutingStorageContainerProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingTwin.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingTwin.java
new file mode 100644
index 000000000000..7840cb7a128a
--- /dev/null
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingTwin.java
@@ -0,0 +1,69 @@
+/**
+ * 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.iothub.v2018_04_01;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Twin reference input parameter. This is an optional parameter.
+ */
+public class RoutingTwin {
+ /**
+ * Twin Tags.
+ */
+ @JsonProperty(value = "tags")
+ private Object tags;
+
+ /**
+ * The properties property.
+ */
+ @JsonProperty(value = "properties")
+ private RoutingTwinProperties properties;
+
+ /**
+ * Get twin Tags.
+ *
+ * @return the tags value
+ */
+ public Object tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set twin Tags.
+ *
+ * @param tags the tags value to set
+ * @return the RoutingTwin object itself.
+ */
+ public RoutingTwin withTags(Object tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the properties value.
+ *
+ * @return the properties value
+ */
+ public RoutingTwinProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties value.
+ *
+ * @param properties the properties value to set
+ * @return the RoutingTwin object itself.
+ */
+ public RoutingTwin withProperties(RoutingTwinProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingTwinProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingTwinProperties.java
new file mode 100644
index 000000000000..de98fd94b514
--- /dev/null
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/RoutingTwinProperties.java
@@ -0,0 +1,69 @@
+/**
+ * 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.iothub.v2018_04_01;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The RoutingTwinProperties model.
+ */
+public class RoutingTwinProperties {
+ /**
+ * Twin desired properties.
+ */
+ @JsonProperty(value = "desiredProperties")
+ private Object desiredProperties;
+
+ /**
+ * Twin desired properties.
+ */
+ @JsonProperty(value = "reportedProperties")
+ private Object reportedProperties;
+
+ /**
+ * Get twin desired properties.
+ *
+ * @return the desiredProperties value
+ */
+ public Object desiredProperties() {
+ return this.desiredProperties;
+ }
+
+ /**
+ * Set twin desired properties.
+ *
+ * @param desiredProperties the desiredProperties value to set
+ * @return the RoutingTwinProperties object itself.
+ */
+ public RoutingTwinProperties withDesiredProperties(Object desiredProperties) {
+ this.desiredProperties = desiredProperties;
+ return this;
+ }
+
+ /**
+ * Get twin desired properties.
+ *
+ * @return the reportedProperties value
+ */
+ public Object reportedProperties() {
+ return this.reportedProperties;
+ }
+
+ /**
+ * Set twin desired properties.
+ *
+ * @param reportedProperties the reportedProperties value to set
+ * @return the RoutingTwinProperties object itself.
+ */
+ public RoutingTwinProperties withReportedProperties(Object reportedProperties) {
+ this.reportedProperties = reportedProperties;
+ return this;
+ }
+
+}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/SharedAccessSignatureAuthorizationRule.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/SharedAccessSignatureAuthorizationRule.java
index f143f874d893..a03a233d57c3 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/SharedAccessSignatureAuthorizationRule.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/SharedAccessSignatureAuthorizationRule.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.SharedAccessSignatureAuthorizationRuleInner;
/**
* Type representing SharedAccessSignatureAuthorizationRule.
*/
-public interface SharedAccessSignatureAuthorizationRule extends HasInner, HasManager {
+public interface SharedAccessSignatureAuthorizationRule extends HasInner, HasManager {
/**
* @return the keyName value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/StorageEndpointProperties.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/StorageEndpointProperties.java
index 695eb40b104b..54b050c8c3aa 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/StorageEndpointProperties.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/StorageEndpointProperties.java
@@ -16,8 +16,8 @@
*/
public class StorageEndpointProperties {
/**
- * The period of time for which the the SAS URI generated by IoT Hub for
- * file upload is valid. See:
+ * The period of time for which the SAS URI generated by IoT Hub for file
+ * upload is valid. See:
* https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
*/
@JsonProperty(value = "sasTtlAsIso8601")
@@ -39,7 +39,7 @@ public class StorageEndpointProperties {
private String containerName;
/**
- * Get the sasTtlAsIso8601 value.
+ * Get the period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
*
* @return the sasTtlAsIso8601 value
*/
@@ -48,7 +48,7 @@ public Period sasTtlAsIso8601() {
}
/**
- * Set the sasTtlAsIso8601 value.
+ * Set the period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
*
* @param sasTtlAsIso8601 the sasTtlAsIso8601 value to set
* @return the StorageEndpointProperties object itself.
@@ -59,7 +59,7 @@ public StorageEndpointProperties withSasTtlAsIso8601(Period sasTtlAsIso8601) {
}
/**
- * Get the connectionString value.
+ * Get the connection string for the Azure Storage account to which files are uploaded.
*
* @return the connectionString value
*/
@@ -68,7 +68,7 @@ public String connectionString() {
}
/**
- * Set the connectionString value.
+ * Set the connection string for the Azure Storage account to which files are uploaded.
*
* @param connectionString the connectionString value to set
* @return the StorageEndpointProperties object itself.
@@ -79,7 +79,7 @@ public StorageEndpointProperties withConnectionString(String connectionString) {
}
/**
- * Get the containerName value.
+ * Get the name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.
*
* @return the containerName value
*/
@@ -88,7 +88,7 @@ public String containerName() {
}
/**
- * Set the containerName value.
+ * Set the name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.
*
* @param containerName the containerName value to set
* @return the StorageEndpointProperties object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TagsResource.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TagsResource.java
index e26f3382f751..d2b617e77991 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TagsResource.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TagsResource.java
@@ -23,7 +23,7 @@ public class TagsResource {
private Map tags;
/**
- * Get the tags value.
+ * Get resource tags.
*
* @return the tags value
*/
@@ -32,7 +32,7 @@ public Map tags() {
}
/**
- * Set the tags value.
+ * Set resource tags.
*
* @param tags the tags value to set
* @return the TagsResource object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesInput.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesInput.java
index 0f3167a41df8..cd828a1749d1 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesInput.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesInput.java
@@ -28,7 +28,13 @@ public class TestAllRoutesInput {
private RoutingMessage message;
/**
- * Get the routingSource value.
+ * Routing Twin Reference.
+ */
+ @JsonProperty(value = "twin")
+ private RoutingTwin twin;
+
+ /**
+ * Get routing source. Possible values include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'.
*
* @return the routingSource value
*/
@@ -37,7 +43,7 @@ public RoutingSource routingSource() {
}
/**
- * Set the routingSource value.
+ * Set routing source. Possible values include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'.
*
* @param routingSource the routingSource value to set
* @return the TestAllRoutesInput object itself.
@@ -48,7 +54,7 @@ public TestAllRoutesInput withRoutingSource(RoutingSource routingSource) {
}
/**
- * Get the message value.
+ * Get routing message.
*
* @return the message value
*/
@@ -57,7 +63,7 @@ public RoutingMessage message() {
}
/**
- * Set the message value.
+ * Set routing message.
*
* @param message the message value to set
* @return the TestAllRoutesInput object itself.
@@ -67,4 +73,24 @@ public TestAllRoutesInput withMessage(RoutingMessage message) {
return this;
}
+ /**
+ * Get routing Twin Reference.
+ *
+ * @return the twin value
+ */
+ public RoutingTwin twin() {
+ return this.twin;
+ }
+
+ /**
+ * Set routing Twin Reference.
+ *
+ * @param twin the twin value to set
+ * @return the TestAllRoutesInput object itself.
+ */
+ public TestAllRoutesInput withTwin(RoutingTwin twin) {
+ this.twin = twin;
+ return this;
+ }
+
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesResult.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesResult.java
index f4cec3d0cac0..30a17703a947 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesResult.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestAllRoutesResult.java
@@ -10,14 +10,14 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.TestAllRoutesResultInner;
import java.util.List;
/**
* Type representing TestAllRoutesResult.
*/
-public interface TestAllRoutesResult extends HasInner, HasManager {
+public interface TestAllRoutesResult extends HasInner, HasManager {
/**
* @return the routes value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteInput.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteInput.java
index 15fcbbca970e..6859fc5a8ff8 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteInput.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteInput.java
@@ -27,7 +27,13 @@ public class TestRouteInput {
private RouteProperties route;
/**
- * Get the message value.
+ * Routing Twin Reference.
+ */
+ @JsonProperty(value = "twin")
+ private RoutingTwin twin;
+
+ /**
+ * Get routing message.
*
* @return the message value
*/
@@ -36,7 +42,7 @@ public RoutingMessage message() {
}
/**
- * Set the message value.
+ * Set routing message.
*
* @param message the message value to set
* @return the TestRouteInput object itself.
@@ -47,7 +53,7 @@ public TestRouteInput withMessage(RoutingMessage message) {
}
/**
- * Get the route value.
+ * Get route properties.
*
* @return the route value
*/
@@ -56,7 +62,7 @@ public RouteProperties route() {
}
/**
- * Set the route value.
+ * Set route properties.
*
* @param route the route value to set
* @return the TestRouteInput object itself.
@@ -66,4 +72,24 @@ public TestRouteInput withRoute(RouteProperties route) {
return this;
}
+ /**
+ * Get routing Twin Reference.
+ *
+ * @return the twin value
+ */
+ public RoutingTwin twin() {
+ return this.twin;
+ }
+
+ /**
+ * Set routing Twin Reference.
+ *
+ * @param twin the twin value to set
+ * @return the TestRouteInput object itself.
+ */
+ public TestRouteInput withTwin(RoutingTwin twin) {
+ this.twin = twin;
+ return this;
+ }
+
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResult.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResult.java
index 9d160cb8d1bf..95f2b6a9f999 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResult.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResult.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.TestRouteResultInner;
/**
* Type representing TestRouteResult.
*/
-public interface TestRouteResult extends HasInner, HasManager {
+public interface TestRouteResult extends HasInner, HasManager {
/**
* @return the details value.
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResultDetails.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResultDetails.java
index 308c292dc6e9..b7ff3345aef7 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResultDetails.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/TestRouteResultDetails.java
@@ -22,7 +22,7 @@ public class TestRouteResultDetails {
private List compilationErrors;
/**
- * Get the compilationErrors value.
+ * Get jSON-serialized list of route compilation errors.
*
* @return the compilationErrors value
*/
@@ -31,7 +31,7 @@ public List compilationErrors() {
}
/**
- * Set the compilationErrors value.
+ * Set jSON-serialized list of route compilation errors.
*
* @param compilationErrors the compilationErrors value to set
* @return the TestRouteResultDetails object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/UserSubscriptionQuota.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/UserSubscriptionQuota.java
index 4a77f4276174..0d1dcee3c538 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/UserSubscriptionQuota.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/UserSubscriptionQuota.java
@@ -10,13 +10,13 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.iothub.v2018_04_01.implementation.IoTHubManager;
+import com.microsoft.azure.management.iothub.v2018_04_01.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2018_04_01.implementation.UserSubscriptionQuotaInner;
/**
* Type representing UserSubscriptionQuota.
*/
-public interface UserSubscriptionQuota extends HasInner, HasManager {
+public interface UserSubscriptionQuota extends HasInner, HasManager {
/**
* @return the currentValue value.
*/
@@ -35,7 +35,7 @@ public interface UserSubscriptionQuota extends HasInner implements CertificateDescription, CertificateDescription.Definition, CertificateDescription.Update {
- private final IoTHubManager manager;
+ private final DevicesManager manager;
private String resourceGroupName;
private String resourceName;
private String certificateName;
- CertificateDescriptionImpl(String name, IoTHubManager manager) {
+ CertificateDescriptionImpl(String name, DevicesManager manager) {
super(name, new CertificateDescriptionInner());
this.manager = manager;
// Set resource name
@@ -27,7 +27,7 @@ class CertificateDescriptionImpl extends CreatableUpdatableImpl implements CertificateListDescription {
- private final IoTHubManager manager;
- CertificateListDescriptionImpl(CertificateListDescriptionInner inner, IoTHubManager manager) {
+ private final DevicesManager manager;
+ CertificateListDescriptionImpl(CertificateListDescriptionInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateListDescriptionInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateListDescriptionInner.java
index 6803cfb560c8..14461cf354f3 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateListDescriptionInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateListDescriptionInner.java
@@ -22,7 +22,7 @@ public class CertificateListDescriptionInner {
private List value;
/**
- * Get the value value.
+ * Get the array of Certificate objects.
*
* @return the value value
*/
@@ -31,7 +31,7 @@ public List value() {
}
/**
- * Set the value value.
+ * Set the array of Certificate objects.
*
* @param value the value value to set
* @return the CertificateListDescriptionInner object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionImpl.java
index 156ee706805c..793472fe6482 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionImpl.java
@@ -13,14 +13,14 @@
import com.microsoft.azure.management.iothub.v2018_04_01.CertificatePropertiesWithNonce;
class CertificateWithNonceDescriptionImpl extends WrapperImpl implements CertificateWithNonceDescription {
- private final IoTHubManager manager;
- CertificateWithNonceDescriptionImpl(CertificateWithNonceDescriptionInner inner, IoTHubManager manager) {
+ private final DevicesManager manager;
+ CertificateWithNonceDescriptionImpl(CertificateWithNonceDescriptionInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionInner.java
index a08c6991cc48..132c740f0094 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificateWithNonceDescriptionInner.java
@@ -49,7 +49,7 @@ public CertificateWithNonceDescriptionInner withProperties(CertificateProperties
}
/**
- * Get the etag value.
+ * Get the entity tag.
*
* @return the etag value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesImpl.java
index ab588db506e0..b286ad181168 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesImpl.java
@@ -19,14 +19,14 @@
import com.microsoft.azure.management.iothub.v2018_04_01.CertificateDescription;
class CertificatesImpl extends WrapperImpl implements Certificates {
- private final IoTHubManager manager;
+ private final DevicesManager manager;
- CertificatesImpl(IoTHubManager manager) {
+ CertificatesImpl(DevicesManager manager) {
super(manager.inner().certificates());
this.manager = manager;
}
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesInner.java
index fd9246b502cf..2ca44554544d 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/CertificatesInner.java
@@ -12,7 +12,7 @@
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.management.iothub.v2018_04_01.CertificateBodyDescription;
import com.microsoft.azure.management.iothub.v2018_04_01.CertificateVerificationDescription;
-import com.microsoft.azure.management.iothub.v2018_04_01.ErrorDetailsException;
+import com.microsoft.azure.management.iothub.v2018_04_01.ErrorDetailsInnerException;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
@@ -90,7 +90,7 @@ interface CertificatesService {
* @param resourceGroupName The name of the resource group that contains the IoT hub.
* @param resourceName The name of the IoT hub.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorDetailsException thrown if the request is rejected by server
+ * @throws ErrorDetailsInnerException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CertificateListDescriptionInner object if successful.
*/
@@ -166,10 +166,10 @@ public Observable> call(Respons
});
}
- private ServiceResponse listByIotHubDelegate(Response response) throws ErrorDetailsException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ private ServiceResponse listByIotHubDelegate(Response response) throws ErrorDetailsInnerException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
- .registerError(ErrorDetailsException.class)
+ .registerError(ErrorDetailsInnerException.class)
.build(response);
}
@@ -181,7 +181,7 @@ private ServiceResponse listByIotHubDelegate(Re
* @param resourceName The name of the IoT hub.
* @param certificateName The name of the certificate
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorDetailsException thrown if the request is rejected by server
+ * @throws ErrorDetailsInnerException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CertificateDescriptionInner object if successful.
*/
@@ -263,10 +263,10 @@ public Observable> call(Response getDelegate(Response response) throws ErrorDetailsException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ private ServiceResponse getDelegate(Response response) throws ErrorDetailsInnerException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
- .registerError(ErrorDetailsException.class)
+ .registerError(ErrorDetailsInnerException.class)
.build(response);
}
@@ -278,7 +278,7 @@ private ServiceResponse getDelegate(Response> call(Response> call(Response createOrUpdateDelegate(Response response) throws ErrorDetailsException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ private ServiceResponse createOrUpdateDelegate(Response response) throws ErrorDetailsInnerException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
.register(201, new TypeToken() { }.getType())
- .registerError(ErrorDetailsException.class)
+ .registerError(ErrorDetailsInnerException.class)
.build(response);
}
@@ -481,7 +481,7 @@ private ServiceResponse createOrUpdateDelegate(Resp
* @param certificateName The name of the certificate
* @param ifMatch ETag of the Certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorDetailsException thrown if the request is rejected by server
+ * @throws ErrorDetailsInnerException 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 resourceName, String certificateName, String ifMatch) {
@@ -568,11 +568,11 @@ public Observable> call(Response response) {
});
}
- private ServiceResponse deleteDelegate(Response response) throws ErrorDetailsException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ private ServiceResponse deleteDelegate(Response response) throws ErrorDetailsInnerException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
.register(204, new TypeToken() { }.getType())
- .registerError(ErrorDetailsException.class)
+ .registerError(ErrorDetailsInnerException.class)
.build(response);
}
@@ -585,7 +585,7 @@ private ServiceResponse deleteDelegate(Response response) th
* @param certificateName The name of the certificate
* @param ifMatch ETag of the Certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorDetailsException thrown if the request is rejected by server
+ * @throws ErrorDetailsInnerException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CertificateWithNonceDescriptionInner object if successful.
*/
@@ -673,10 +673,10 @@ public Observable> call(Re
});
}
- private ServiceResponse generateVerificationCodeDelegate(Response response) throws ErrorDetailsException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ private ServiceResponse generateVerificationCodeDelegate(Response response) throws ErrorDetailsInnerException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
- .registerError(ErrorDetailsException.class)
+ .registerError(ErrorDetailsInnerException.class)
.build(response);
}
@@ -689,7 +689,7 @@ private ServiceResponse generateVerificati
* @param certificateName The name of the certificate
* @param ifMatch ETag of the Certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorDetailsException thrown if the request is rejected by server
+ * @throws ErrorDetailsInnerException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CertificateDescriptionInner object if successful.
*/
@@ -790,7 +790,7 @@ public Observable> call(Response> call(Response verifyDelegate(Response response) throws ErrorDetailsException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
+ private ServiceResponse verifyDelegate(Response response) throws ErrorDetailsInnerException, IOException, IllegalArgumentException {
+ return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
- .registerError(ErrorDetailsException.class)
+ .registerError(ErrorDetailsInnerException.class)
.build(response);
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/DevicesManager.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/DevicesManager.java
new file mode 100644
index 000000000000..e46fb6291ab2
--- /dev/null
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/DevicesManager.java
@@ -0,0 +1,135 @@
+/**
+ * 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.iothub.v2018_04_01.implementation;
+
+import com.microsoft.azure.AzureEnvironment;
+import com.microsoft.azure.AzureResponseBuilder;
+import com.microsoft.azure.credentials.AzureTokenCredentials;
+import com.microsoft.azure.management.apigeneration.Beta;
+import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
+import com.microsoft.azure.arm.resources.AzureConfigurable;
+import com.microsoft.azure.serializer.AzureJacksonAdapter;
+import com.microsoft.rest.RestClient;
+import com.microsoft.azure.management.iothub.v2018_04_01.Operations;
+import com.microsoft.azure.management.iothub.v2018_04_01.IotHubResources;
+import com.microsoft.azure.management.iothub.v2018_04_01.ResourceProviderCommons;
+import com.microsoft.azure.management.iothub.v2018_04_01.Certificates;
+import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl;
+import com.microsoft.azure.arm.resources.implementation.ManagerCore;
+
+/**
+ * Entry point to Azure Devices resource management.
+ */
+public final class DevicesManager extends ManagerCore {
+ private Operations operations;
+ private IotHubResources iotHubResources;
+ private ResourceProviderCommons resourceProviderCommons;
+ private Certificates certificates;
+ /**
+ * Get a Configurable instance that can be used to create DevicesManager with optional configuration.
+ *
+ * @return the instance allowing configurations
+ */
+ public static Configurable configure() {
+ return new DevicesManager.ConfigurableImpl();
+ }
+ /**
+ * Creates an instance of DevicesManager that exposes Devices resource management API entry points.
+ *
+ * @param credentials the credentials to use
+ * @param subscriptionId the subscription UUID
+ * @return the DevicesManager
+ */
+ public static DevicesManager authenticate(AzureTokenCredentials credentials, String subscriptionId) {
+ return new DevicesManager(new RestClient.Builder()
+ .withBaseUrl(credentials.environment(), AzureEnvironment.Endpoint.RESOURCE_MANAGER)
+ .withCredentials(credentials)
+ .withSerializerAdapter(new AzureJacksonAdapter())
+ .withResponseBuilderFactory(new AzureResponseBuilder.Factory())
+ .build(), subscriptionId);
+ }
+ /**
+ * Creates an instance of DevicesManager that exposes Devices resource management API entry points.
+ *
+ * @param restClient the RestClient to be used for API calls.
+ * @param subscriptionId the subscription UUID
+ * @return the DevicesManager
+ */
+ public static DevicesManager authenticate(RestClient restClient, String subscriptionId) {
+ return new DevicesManager(restClient, subscriptionId);
+ }
+ /**
+ * The interface allowing configurations to be set.
+ */
+ public interface Configurable extends AzureConfigurable {
+ /**
+ * Creates an instance of DevicesManager that exposes Devices management API entry points.
+ *
+ * @param credentials the credentials to use
+ * @param subscriptionId the subscription UUID
+ * @return the interface exposing Devices management API entry points that work across subscriptions
+ */
+ DevicesManager authenticate(AzureTokenCredentials credentials, String subscriptionId);
+ }
+
+ /**
+ * @return Entry point to manage Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(this);
+ }
+ return this.operations;
+ }
+
+ /**
+ * @return Entry point to manage IotHubResources.
+ */
+ public IotHubResources iotHubResources() {
+ if (this.iotHubResources == null) {
+ this.iotHubResources = new IotHubResourcesImpl(this);
+ }
+ return this.iotHubResources;
+ }
+
+ /**
+ * @return Entry point to manage ResourceProviderCommons.
+ */
+ public ResourceProviderCommons resourceProviderCommons() {
+ if (this.resourceProviderCommons == null) {
+ this.resourceProviderCommons = new ResourceProviderCommonsImpl(this);
+ }
+ return this.resourceProviderCommons;
+ }
+
+ /**
+ * @return Entry point to manage Certificates.
+ */
+ public Certificates certificates() {
+ if (this.certificates == null) {
+ this.certificates = new CertificatesImpl(this);
+ }
+ return this.certificates;
+ }
+
+ /**
+ * The implementation for Configurable interface.
+ */
+ private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable {
+ public DevicesManager authenticate(AzureTokenCredentials credentials, String subscriptionId) {
+ return DevicesManager.authenticate(buildRestClient(credentials), subscriptionId);
+ }
+ }
+ private DevicesManager(RestClient restClient, String subscriptionId) {
+ super(
+ restClient,
+ subscriptionId,
+ new IotHubClientImpl(restClient).withSubscriptionId(subscriptionId));
+ }
+}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataImpl.java
index 3589b2bccf64..9dbb2510b52c 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataImpl.java
@@ -13,14 +13,14 @@
import com.microsoft.azure.management.iothub.v2018_04_01.EndpointHealthStatus;
class EndpointHealthDataImpl extends WrapperImpl implements EndpointHealthData {
- private final IoTHubManager manager;
- EndpointHealthDataImpl(EndpointHealthDataInner inner, IoTHubManager manager) {
+ private final DevicesManager manager;
+ EndpointHealthDataImpl(EndpointHealthDataInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataInner.java
index 67025b765799..68df54648515 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EndpointHealthDataInner.java
@@ -22,14 +22,14 @@ public class EndpointHealthDataInner {
private String endpointId;
/**
- * Health status. Possible values include: 'unknown', 'healthy',
- * 'unhealthy', 'dead'.
+ * The health status code of the endpoint. Possible values include:
+ * 'unknown', 'healthy', 'unhealthy', 'dead'.
*/
@JsonProperty(value = "healthStatus")
private EndpointHealthStatus healthStatus;
/**
- * Get the endpointId value.
+ * Get id of the endpoint.
*
* @return the endpointId value
*/
@@ -38,7 +38,7 @@ public String endpointId() {
}
/**
- * Set the endpointId value.
+ * Set id of the endpoint.
*
* @param endpointId the endpointId value to set
* @return the EndpointHealthDataInner object itself.
@@ -49,7 +49,7 @@ public EndpointHealthDataInner withEndpointId(String endpointId) {
}
/**
- * Get the healthStatus value.
+ * Get the health status code of the endpoint. Possible values include: 'unknown', 'healthy', 'unhealthy', 'dead'.
*
* @return the healthStatus value
*/
@@ -58,7 +58,7 @@ public EndpointHealthStatus healthStatus() {
}
/**
- * Set the healthStatus value.
+ * Set the health status code of the endpoint. Possible values include: 'unknown', 'healthy', 'unhealthy', 'dead'.
*
* @param healthStatus the healthStatus value to set
* @return the EndpointHealthDataInner object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/ErrorDetailsInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/ErrorDetailsInner.java
new file mode 100644
index 000000000000..8bd5f28f45ee
--- /dev/null
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/ErrorDetailsInner.java
@@ -0,0 +1,77 @@
+/**
+ * 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.iothub.v2018_04_01.implementation;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Error details.
+ */
+public class ErrorDetailsInner {
+ /**
+ * The error code.
+ */
+ @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY)
+ private String code;
+
+ /**
+ * The HTTP status code.
+ */
+ @JsonProperty(value = "httpStatusCode", access = JsonProperty.Access.WRITE_ONLY)
+ private String httpStatusCode;
+
+ /**
+ * The error message.
+ */
+ @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
+ private String message;
+
+ /**
+ * The error details.
+ */
+ @JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY)
+ private String details;
+
+ /**
+ * Get the error code.
+ *
+ * @return the code value
+ */
+ public String code() {
+ return this.code;
+ }
+
+ /**
+ * Get the HTTP status code.
+ *
+ * @return the httpStatusCode value
+ */
+ public String httpStatusCode() {
+ return this.httpStatusCode;
+ }
+
+ /**
+ * Get the error message.
+ *
+ * @return the message value
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Get the error details.
+ *
+ * @return the details value
+ */
+ public String details() {
+ return this.details;
+ }
+
+}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/ErrorDetailsInnerException.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/ErrorDetailsInnerException.java
new file mode 100644
index 000000000000..9148cf6ab4b8
--- /dev/null
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/ErrorDetailsInnerException.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.iothub.v2018_04_01.implementation;
+
+import com.microsoft.rest.RestException;
+import okhttp3.ResponseBody;
+import retrofit2.Response;
+
+/**
+ * Exception thrown for an invalid response with ErrorDetailsInner information.
+ */
+public class ErrorDetailsInnerException extends RestException {
+ /**
+ * Initializes a new instance of the ErrorDetailsInnerException class.
+ *
+ * @param message the exception message or the response content if a message is not available
+ * @param response the HTTP response
+ */
+ public ErrorDetailsInnerException(final String message, final Response response) {
+ super(message, response);
+ }
+
+ /**
+ * Initializes a new instance of the ErrorDetailsInnerException class.
+ *
+ * @param message the exception message or the response content if a message is not available
+ * @param response the HTTP response
+ * @param body the deserialized response body
+ */
+ public ErrorDetailsInnerException(final String message, final Response response, final ErrorDetailsInner body) {
+ super(message, response, body);
+ }
+
+ @Override
+ public ErrorDetailsInner body() {
+ return (ErrorDetailsInner) super.body();
+ }
+}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EventHubConsumerGroupInfoImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EventHubConsumerGroupInfoImpl.java
index 1e558c1ca905..ba035c00eaa0 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EventHubConsumerGroupInfoImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/EventHubConsumerGroupInfoImpl.java
@@ -14,13 +14,13 @@
import java.util.Map;
class EventHubConsumerGroupInfoImpl extends CreatableUpdatableImpl implements EventHubConsumerGroupInfo, EventHubConsumerGroupInfo.Definition, EventHubConsumerGroupInfo.Update {
- private final IoTHubManager manager;
+ private final DevicesManager manager;
private String resourceGroupName;
private String resourceName;
private String eventHubEndpointName;
private String name;
- EventHubConsumerGroupInfoImpl(String name, IoTHubManager manager) {
+ EventHubConsumerGroupInfoImpl(String name, DevicesManager manager) {
super(name, new EventHubConsumerGroupInfoInner());
this.manager = manager;
// Set resource name
@@ -28,7 +28,7 @@ class EventHubConsumerGroupInfoImpl extends CreatableUpdatableImpl properties() {
}
/**
- * Set the properties value.
+ * Set the tags.
*
* @param properties the properties value to set
* @return the EventHubConsumerGroupInfoInner object itself.
@@ -49,7 +49,7 @@ public EventHubConsumerGroupInfoInner withProperties(Map propert
}
/**
- * Get the etag value.
+ * Get the etag.
*
* @return the etag value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionImpl.java
index 0cb4420264f1..ebb3aa85d4ff 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionImpl.java
@@ -14,8 +14,8 @@
import com.microsoft.azure.management.iothub.v2018_04_01.IotHubProperties;
import com.microsoft.azure.management.iothub.v2018_04_01.IotHubSkuInfo;
-class IotHubDescriptionImpl extends GroupableResourceCoreImpl implements IotHubDescription, IotHubDescription.Definition, IotHubDescription.Update {
- IotHubDescriptionImpl(String name, IotHubDescriptionInner inner, IoTHubManager manager) {
+class IotHubDescriptionImpl extends GroupableResourceCoreImpl implements IotHubDescription, IotHubDescription.Definition, IotHubDescription.Update {
+ IotHubDescriptionImpl(String name, IotHubDescriptionInner inner, DevicesManager manager) {
super(name, inner, manager);
}
@@ -29,7 +29,7 @@ public Observable createResourceAsync() {
@Override
public Observable updateResourceAsync() {
IotHubResourcesInner client = this.manager().inner().iotHubResources();
- return client.updateAsync(this.resourceGroupName(), this.name())
+ return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner())
.map(innerToFluentMap(this));
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionInner.java
index d28eed61e146..6a50a5232c41 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubDescriptionInner.java
@@ -38,7 +38,7 @@ public class IotHubDescriptionInner extends Resource {
private IotHubSkuInfo sku;
/**
- * Get the etag value.
+ * Get the Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
*
* @return the etag value
*/
@@ -47,7 +47,7 @@ public String etag() {
}
/**
- * Set the etag value.
+ * Set the Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
*
* @param etag the etag value to set
* @return the IotHubDescriptionInner object itself.
@@ -58,7 +58,7 @@ public IotHubDescriptionInner withEtag(String etag) {
}
/**
- * Get the properties value.
+ * Get iotHub properties.
*
* @return the properties value
*/
@@ -67,7 +67,7 @@ public IotHubProperties properties() {
}
/**
- * Set the properties value.
+ * Set iotHub properties.
*
* @param properties the properties value to set
* @return the IotHubDescriptionInner object itself.
@@ -78,7 +78,7 @@ public IotHubDescriptionInner withProperties(IotHubProperties properties) {
}
/**
- * Get the sku value.
+ * Get iotHub SKU info.
*
* @return the sku value
*/
@@ -87,7 +87,7 @@ public IotHubSkuInfo sku() {
}
/**
- * Set the sku value.
+ * Set iotHub SKU info.
*
* @param sku the sku value to set
* @return the IotHubDescriptionInner object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoImpl.java
index 9e828a536da5..1aef9eedfe8e 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoImpl.java
@@ -13,14 +13,14 @@
import com.microsoft.azure.management.iothub.v2018_04_01.IotHubNameUnavailabilityReason;
class IotHubNameAvailabilityInfoImpl extends WrapperImpl implements IotHubNameAvailabilityInfo {
- private final IoTHubManager manager;
- IotHubNameAvailabilityInfoImpl(IotHubNameAvailabilityInfoInner inner, IoTHubManager manager) {
+ private final DevicesManager manager;
+ IotHubNameAvailabilityInfoImpl(IotHubNameAvailabilityInfoInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoInner.java
index 1552cd89916c..9d83bdcbcbef 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubNameAvailabilityInfoInner.java
@@ -35,7 +35,7 @@ public class IotHubNameAvailabilityInfoInner {
private String message;
/**
- * Get the nameAvailable value.
+ * Get the value which indicates whether the provided name is available.
*
* @return the nameAvailable value
*/
@@ -44,7 +44,7 @@ public Boolean nameAvailable() {
}
/**
- * Get the reason value.
+ * Get the reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists'.
*
* @return the reason value
*/
@@ -53,7 +53,7 @@ public IotHubNameUnavailabilityReason reason() {
}
/**
- * Get the message value.
+ * Get the detailed reason message.
*
* @return the message value
*/
@@ -62,7 +62,7 @@ public String message() {
}
/**
- * Set the message value.
+ * Set the detailed reason message.
*
* @param message the message value to set
* @return the IotHubNameAvailabilityInfoInner object itself.
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoImpl.java
index 1d5f6442ce23..7f359aeed96e 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoImpl.java
@@ -13,15 +13,15 @@
import rx.Observable;
class IotHubQuotaMetricInfoImpl extends WrapperImpl implements IotHubQuotaMetricInfo {
- private final IoTHubManager manager;
+ private final DevicesManager manager;
- IotHubQuotaMetricInfoImpl(IotHubQuotaMetricInfoInner inner, IoTHubManager manager) {
+ IotHubQuotaMetricInfoImpl(IotHubQuotaMetricInfoInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}
@Override
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoInner.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoInner.java
index be1cb5eb082c..e0301250f4a0 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoInner.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubQuotaMetricInfoInner.java
@@ -33,7 +33,7 @@ public class IotHubQuotaMetricInfoInner {
private Long maxValue;
/**
- * Get the name value.
+ * Get the name of the quota metric.
*
* @return the name value
*/
@@ -42,7 +42,7 @@ public String name() {
}
/**
- * Get the currentValue value.
+ * Get the current value for the quota metric.
*
* @return the currentValue value
*/
@@ -51,7 +51,7 @@ public Long currentValue() {
}
/**
- * Get the maxValue value.
+ * Get the maximum value of the quota metric.
*
* @return the maxValue value
*/
diff --git a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubResourcesImpl.java b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubResourcesImpl.java
index c66d2360a4f8..0b9993e45c62 100644
--- a/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubResourcesImpl.java
+++ b/iothub/resource-manager/v2018_04_01/src/main/java/com/microsoft/azure/management/iothub/v2018_04_01/implementation/IotHubResourcesImpl.java
@@ -32,14 +32,14 @@
import com.microsoft.azure.management.iothub.v2018_04_01.TestRouteInput;
class IotHubResourcesImpl extends WrapperImpl implements IotHubResources {
- private final IoTHubManager manager;
+ private final DevicesManager manager;
- IotHubResourcesImpl(IoTHubManager manager) {
+ IotHubResourcesImpl(DevicesManager manager) {
super(manager.inner().iotHubResources());
this.manager = manager;
}
- public IoTHubManager manager() {
+ public DevicesManager manager() {
return this.manager;
}
@@ -61,23 +61,23 @@ private EventHubConsumerGroupInfoImpl wrapConsumerGroupModel(String name) {
return new EventHubConsumerGroupInfoImpl(name, this.manager());
}
- private IotHubDescriptionImpl wrapModel(IotHubDescriptionInner inner) {
+ private IotHubDescriptionImpl wrapIotHubDescriptionModel(IotHubDescriptionInner inner) {
return new IotHubDescriptionImpl(inner.name(), inner, manager());
}
- private IotHubSkuDescriptionImpl wrapModel(IotHubSkuDescriptionInner inner) {
+ private IotHubSkuDescriptionImpl wrapIotHubSkuDescriptionModel(IotHubSkuDescriptionInner inner) {
return new IotHubSkuDescriptionImpl(inner, manager());
}
- private EventHubConsumerGroupInfoImpl wrapModel(EventHubConsumerGroupInfoInner inner) {
+ private EventHubConsumerGroupInfoImpl wrapEventHubConsumerGroupInfoModel(EventHubConsumerGroupInfoInner inner) {
return new EventHubConsumerGroupInfoImpl(inner, manager());
}
- private JobResponseImpl wrapModel(JobResponseInner inner) {
+ private JobResponseImpl wrapJobResponseModel(JobResponseInner inner) {
return new JobResponseImpl(inner, manager());
}
- private IotHubQuotaMetricInfoImpl wrapModel(IotHubQuotaMetricInfoInner inner) {
+ private IotHubQuotaMetricInfoImpl wrapIotHubQuotaMetricInfoModel(IotHubQuotaMetricInfoInner inner) {
return new IotHubQuotaMetricInfoImpl(inner, manager());
}
@@ -86,88 +86,67 @@ private Observable getIotHubDescriptionInnerUsingIotHubR
return client.getByResourceGroupAsync(resourceGroupName, name);
}
+ private Observable getEventHubConsumerGroupInfoInnerUsingIotHubResourcesInnerAsync(String id) {
+ String resourceGroupName = IdParsingUtils.getValueFromIdByName(id, "resourceGroups");
+ String resourceName = IdParsingUtils.getValueFromIdByName(id, "IotHubs");
+ String eventHubEndpointName = IdParsingUtils.getValueFromIdByName(id, "eventHubEndpoints");
+ String name = IdParsingUtils.getValueFromIdByName(id, "ConsumerGroups");
+ IotHubResourcesInner client = this.inner();
+ return client.getEventHubConsumerGroupAsync(resourceGroupName, resourceName, eventHubEndpointName, name);
+ }
+
+ private Observable getJobResponseInnerUsingIotHubResourcesInnerAsync(String id) {
+ String resourceGroupName = IdParsingUtils.getValueFromIdByName(id, "resourceGroups");
+ String resourceName = IdParsingUtils.getValueFromIdByName(id, "IotHubs");
+ String jobId = IdParsingUtils.getValueFromIdByName(id, "jobs");
+ IotHubResourcesInner client = this.inner();
+ return client.getJobAsync(resourceGroupName, resourceName, jobId);
+ }
+
@Override
public Observable getByResourceGroupAsync(String resourceGroupName, String name) {
return this.getIotHubDescriptionInnerUsingIotHubResourcesInnerAsync(resourceGroupName, name).map(new Func1 () {
@Override
public IotHubDescription call(IotHubDescriptionInner inner) {
- return wrapModel(inner);
+ return wrapIotHubDescriptionModel(inner);
}
});
}
- private Observable> listByResourceGroupNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- IotHubResourcesInner client = this.inner();
- return client.listByResourceGroupNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(listByResourceGroupNextInnerPageAsync(page.nextPageLink()));
- }
- });
- }
@Override
public Observable listByResourceGroupAsync(String resourceGroupName) {
IotHubResourcesInner client = this.inner();
return client.listByResourceGroupAsync(resourceGroupName)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return listByResourceGroupNextInnerPageAsync(page.nextPageLink());
- }
- })
.flatMapIterable(new Func1, Iterable>() {
@Override
public Iterable call(Page page) {
return page.items();
}
- })
+ })
.map(new Func1() {
@Override
public IotHubDescription call(IotHubDescriptionInner inner) {
- return wrapModel(inner);
- }
- });
- }
-
- private Observable> listNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- IotHubResourcesInner client = this.inner();
- return client.listNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(listNextInnerPageAsync(page.nextPageLink()));
+ return wrapIotHubDescriptionModel(inner);
}
});
}
+
@Override
public Observable listAsync() {
IotHubResourcesInner client = this.inner();
return client.listAsync()
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return listNextInnerPageAsync(page.nextPageLink());
- }
- })
.flatMapIterable(new Func1, Iterable>() {
@Override
public Iterable call(Page page) {
return page.items();
}
- })
+ })
.map(new Func1() {
@Override
public IotHubDescription call(IotHubDescriptionInner inner) {
- return wrapModel(inner);
+ return wrapIotHubDescriptionModel(inner);
}
- });
+ });
}
@Override
@@ -175,78 +154,40 @@ public Completable deleteAsync(String resourceGroupName, String name) {
return this.inner().deleteAsync(resourceGroupName, name).toCompletable();
}
- private Observable> getEndpointHealthNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- IotHubResourcesInner client = this.inner();
- return client.getEndpointHealthNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(getEndpointHealthNextInnerPageAsync(page.nextPageLink()));
- }
- });
- }
@Override
public Observable getEndpointHealthAsync(final String resourceGroupName, final String iotHubName) {
IotHubResourcesInner client = this.inner();
return client.getEndpointHealthAsync(resourceGroupName, iotHubName)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return getEndpointHealthNextInnerPageAsync(page.nextPageLink());
- }
- })
.flatMapIterable(new Func1, Iterable>() {
@Override
public Iterable call(Page page) {
return page.items();
}
- })
+ })
.map(new Func1() {
@Override
public EndpointHealthData call(EndpointHealthDataInner inner) {
return new EndpointHealthDataImpl(inner, manager());
}
- });
- }
-
- private Observable> listKeysNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- IotHubResourcesInner client = this.inner();
- return client.listKeysNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(listKeysNextInnerPageAsync(page.nextPageLink()));
- }
});
}
+
@Override
public Observable listKeysAsync(final String resourceGroupName, final String resourceName) {
IotHubResourcesInner client = this.inner();
return client.listKeysAsync(resourceGroupName, resourceName)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return listKeysNextInnerPageAsync(page.nextPageLink());
- }
- })
.flatMapIterable(new Func1, Iterable>() {
@Override
public Iterable call(Page