diff --git a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md
index 85a3bc310719..b11b14ae9907 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md
+++ b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md
@@ -1,14 +1,39 @@
# Release History
-## 1.4.0-beta.3 (Unreleased)
+## 1.4.0-beta.3 (2026-07-21)
-### Features Added
+- Azure Resource Manager IotHub client library for Java. This package contains Microsoft Azure SDK for IotHub Management SDK. Use this API to manage the IoT hubs in your Azure subscription. Package api-version 2026-05-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.IotHubSkuTier` was modified
+
+* `GENERATION2` was removed
+
+#### `models.IotHubSku` was modified
+
+* `GEN2` was removed
+
+### Features Added
+
+* `models.EventStreamAuthenticationType` was added
+
+* `models.GatewayVersion` was added
+
+* `models.RoutingEventStreamProperties` was added
+
+* `models.IotHubDetails` was added
+
+#### `models.IotHubProperties` was modified
+
+* `iotHubDetails()` was added
+* `serviceHostName()` was added
+* `deviceHostName()` was added
+
+#### `models.RoutingEndpoints` was modified
-### Other Changes
+* `withEventStreams(java.util.List)` was added
+* `eventStreams()` was added
## 1.4.0-beta.2 (2026-05-08)
diff --git a/sdk/iothub/azure-resourcemanager-iothub/README.md b/sdk/iothub/azure-resourcemanager-iothub/README.md
index d90b090ccf6f..2ea650022dfe 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/README.md
+++ b/sdk/iothub/azure-resourcemanager-iothub/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager IotHub client library for Java.
-This package contains Microsoft Azure SDK for IotHub Management SDK. Use this API to manage the IoT hubs in your Azure subscription. Package api-version 2025-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for IotHub Management SDK. Use this API to manage the IoT hubs in your Azure subscription. Package api-version 2026-05-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-iothub
- 1.4.0-beta.2
+ 1.4.0-beta.3
```
[//]: # ({x-version-update-end})
diff --git a/sdk/iothub/azure-resourcemanager-iothub/SAMPLE.md b/sdk/iothub/azure-resourcemanager-iothub/SAMPLE.md
index 29601fdddadc..63724d1dafd7 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/SAMPLE.md
+++ b/sdk/iothub/azure-resourcemanager-iothub/SAMPLE.md
@@ -69,7 +69,7 @@ import com.azure.resourcemanager.iothub.models.CertificateProperties;
*/
public final class CertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_certificatescreateorupdate.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_certificatescreateorupdate.json
*/
/**
* Sample code: Certificates_CreateOrUpdate.
@@ -85,7 +85,7 @@ public final class CertificatesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2025-08-01-preview/CreateOrReplace_Certificates_With_DeviceRegistryPolicy.json
+ * x-ms-original-file: 2026-05-01-preview/CreateOrReplace_Certificates_With_DeviceRegistryPolicy.json
*/
/**
* Sample code: CreateOrReplace_Certificates_With_DeviceRegistryPolicy.
@@ -111,7 +111,7 @@ public final class CertificatesCreateOrUpdateSamples {
*/
public final class CertificatesDeleteSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_certificatesdelete.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_certificatesdelete.json
*/
/**
* Sample code: Certificates_Delete.
@@ -133,7 +133,7 @@ public final class CertificatesDeleteSamples {
*/
public final class CertificatesGenerateVerificationCodeSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_generateverificationcode.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_generateverificationcode.json
*/
/**
* Sample code: Certificates_GenerateVerificationCode.
@@ -156,7 +156,7 @@ public final class CertificatesGenerateVerificationCodeSamples {
*/
public final class CertificatesGetSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getcertificate.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getcertificate.json
*/
/**
* Sample code: Certificates_Get.
@@ -177,7 +177,7 @@ public final class CertificatesGetSamples {
*/
public final class CertificatesListByIotHubSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listcertificates.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listcertificates.json
*/
/**
* Sample code: Certificates_ListByIotHub.
@@ -200,7 +200,7 @@ import com.azure.resourcemanager.iothub.models.CertificateVerificationDescriptio
*/
public final class CertificatesVerifySamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_certverify.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_certverify.json
*/
/**
* Sample code: Certificates_Verify.
@@ -226,7 +226,7 @@ import com.azure.resourcemanager.iothub.models.FailoverInput;
*/
public final class IotHubManualFailoverSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/IotHub_ManualFailover.json
+ * x-ms-original-file: 2026-05-01-preview/IotHub_ManualFailover.json
*/
/**
* Sample code: IotHub_ManualFailover.
@@ -251,7 +251,7 @@ import com.azure.resourcemanager.iothub.models.OperationInputs;
*/
public final class IotHubResourceCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: 2025-08-01-preview/checkNameAvailability.json
+ * x-ms-original-file: 2026-05-01-preview/checkNameAvailability.json
*/
/**
* Sample code: IotHubResource_CheckNameAvailability.
@@ -276,7 +276,7 @@ import com.azure.resourcemanager.iothub.models.EventHubConsumerGroupName;
*/
public final class IotHubResourceCreateEventHubConsumerGroupSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_createconsumergroup.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_createconsumergroup.json
*/
/**
* Sample code: IotHubResource_CreateEventHubConsumerGroup.
@@ -297,11 +297,13 @@ public final class IotHubResourceCreateEventHubConsumerGroupSamples {
### IotHubResource_CreateOrUpdate
```java
+import com.azure.resourcemanager.iothub.models.ArmIdentity;
import com.azure.resourcemanager.iothub.models.Capabilities;
import com.azure.resourcemanager.iothub.models.CloudToDeviceProperties;
import com.azure.resourcemanager.iothub.models.DefaultAction;
import com.azure.resourcemanager.iothub.models.DeviceRegistry;
import com.azure.resourcemanager.iothub.models.EventHubProperties;
+import com.azure.resourcemanager.iothub.models.EventStreamAuthenticationType;
import com.azure.resourcemanager.iothub.models.FallbackRouteProperties;
import com.azure.resourcemanager.iothub.models.FeedbackProperties;
import com.azure.resourcemanager.iothub.models.IotHubProperties;
@@ -312,8 +314,10 @@ import com.azure.resourcemanager.iothub.models.MessagingEndpointProperties;
import com.azure.resourcemanager.iothub.models.NetworkRuleIpAction;
import com.azure.resourcemanager.iothub.models.NetworkRuleSetIpRule;
import com.azure.resourcemanager.iothub.models.NetworkRuleSetProperties;
+import com.azure.resourcemanager.iothub.models.ResourceIdentityType;
import com.azure.resourcemanager.iothub.models.RootCertificateProperties;
import com.azure.resourcemanager.iothub.models.RoutingEndpoints;
+import com.azure.resourcemanager.iothub.models.RoutingEventStreamProperties;
import com.azure.resourcemanager.iothub.models.RoutingProperties;
import com.azure.resourcemanager.iothub.models.RoutingSource;
import com.azure.resourcemanager.iothub.models.StorageEndpointProperties;
@@ -327,7 +331,7 @@ import java.util.Map;
*/
public final class IotHubResourceCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/CreateOrReplace_IoTHub_With_DeviceRegistry.json
+ * x-ms-original-file: 2026-05-01-preview/CreateOrReplace_IoTHub_With_DeviceRegistry.json
*/
/**
* Sample code: CreateOrReplace_IoTHub_With_DeviceRegistry.
@@ -339,7 +343,7 @@ public final class IotHubResourceCreateOrUpdateSamples {
.define("testHub")
.withRegion("centraluseuap")
.withExistingResourceGroup("myResourceGroup")
- .withSku(new IotHubSkuInfo().withName(IotHubSku.GEN2).withCapacity(1L))
+ .withSku(new IotHubSkuInfo().withName(IotHubSku.S1).withCapacity(1L))
.withTags(mapOf())
.withProperties(new IotHubProperties().withIpFilterRules(Arrays.asList())
.withNetworkRuleSets(new NetworkRuleSetProperties().withDefaultAction(DefaultAction.DENY)
@@ -358,7 +362,8 @@ public final class IotHubResourceCreateOrUpdateSamples {
.withEndpoints(new RoutingEndpoints().withServiceBusQueues(Arrays.asList())
.withServiceBusTopics(Arrays.asList())
.withEventHubs(Arrays.asList())
- .withStorageContainers(Arrays.asList()))
+ .withStorageContainers(Arrays.asList())
+ .withEventStreams(Arrays.asList()))
.withRoutes(Arrays.asList())
.withFallbackRoute(new FallbackRouteProperties().withName("$fallback")
.withSource(RoutingSource.DEVICE_MESSAGES)
@@ -392,7 +397,7 @@ public final class IotHubResourceCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_createOrUpdate.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_createOrUpdate.json
*/
/**
* Sample code: IotHubResource_CreateOrUpdate.
@@ -419,11 +424,18 @@ public final class IotHubResourceCreateOrUpdateSamples {
.withMinTlsVersion("1.2")
.withEventHubEndpoints(
mapOf("events", new EventHubProperties().withRetentionTimeInDays(1L).withPartitionCount(2)))
- .withRouting(new RoutingProperties()
- .withEndpoints(new RoutingEndpoints().withServiceBusQueues(Arrays.asList())
- .withServiceBusTopics(Arrays.asList())
- .withEventHubs(Arrays.asList())
- .withStorageContainers(Arrays.asList()))
+ .withRouting(new RoutingProperties().withEndpoints(new RoutingEndpoints()
+ .withServiceBusQueues(Arrays.asList())
+ .withServiceBusTopics(Arrays.asList())
+ .withEventHubs(Arrays.asList())
+ .withStorageContainers(Arrays.asList())
+ .withEventStreams(Arrays.asList(new RoutingEventStreamProperties().withName("eventstreamendpoint1")
+ .withEndpointUri("sb://eventstreamcustomsourceehns.azure.servicebus.net")
+ .withEntityPath("eventstreamcustomsourceeh")
+ .withAuthenticationType(EventStreamAuthenticationType.IDENTITY_BASED)
+ .withWorkspaceId("11111111-1111-1111-1111-111111111111")
+ .withEventStreamId("22222222-2222-2222-2222-222222222222")
+ .withSourceId("33333333-3333-3333-3333-333333333333"))))
.withRoutes(Arrays.asList())
.withFallbackRoute(new FallbackRouteProperties().withName("$fallback")
.withSource(RoutingSource.DEVICE_MESSAGES)
@@ -449,6 +461,7 @@ public final class IotHubResourceCreateOrUpdateSamples {
.withRootCertificate(new RootCertificateProperties().withEnableRootCertificateV2(true))
.withIpVersion(IpVersion.IPV4IPV6))
.withEtag("AAAAAAFD6M4=")
+ .withIdentity(new ArmIdentity().withType(ResourceIdentityType.SYSTEM_ASSIGNED))
.create();
}
@@ -474,7 +487,7 @@ public final class IotHubResourceCreateOrUpdateSamples {
*/
public final class IotHubResourceDeleteSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_delete.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_delete.json
*/
/**
* Sample code: IotHubResource_Delete.
@@ -495,7 +508,7 @@ public final class IotHubResourceDeleteSamples {
*/
public final class IotHubResourceDeleteEventHubConsumerGroupSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_deleteconsumergroup.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_deleteconsumergroup.json
*/
/**
* Sample code: IotHubResource_DeleteEventHubConsumerGroup.
@@ -523,7 +536,7 @@ import com.azure.resourcemanager.iothub.models.ManagedIdentity;
*/
public final class IotHubResourceExportDevicesSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_exportdevices.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_exportdevices.json
*/
/**
* Sample code: IotHubResource_ExportDevices.
@@ -551,7 +564,7 @@ public final class IotHubResourceExportDevicesSamples {
*/
public final class IotHubResourceGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_get.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_get.json
*/
/**
* Sample code: IotHubResource_Get.
@@ -573,7 +586,7 @@ public final class IotHubResourceGetByResourceGroupSamples {
*/
public final class IotHubResourceGetEndpointHealthSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_routingendpointhealth.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_routingendpointhealth.json
*/
/**
* Sample code: IotHubResource_GetEndpointHealth.
@@ -594,7 +607,7 @@ public final class IotHubResourceGetEndpointHealthSamples {
*/
public final class IotHubResourceGetEventHubConsumerGroupSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getconsumergroup.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getconsumergroup.json
*/
/**
* Sample code: IotHubResource_ListEventHubConsumerGroups.
@@ -618,7 +631,7 @@ public final class IotHubResourceGetEventHubConsumerGroupSamples {
*/
public final class IotHubResourceGetJobSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getjob.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getjob.json
*/
/**
* Sample code: IotHubResource_GetJob.
@@ -640,7 +653,7 @@ public final class IotHubResourceGetJobSamples {
*/
public final class IotHubResourceGetKeysForKeyNameSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getkey.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getkey.json
*/
/**
* Sample code: IotHubResource_GetKeysForKeyName.
@@ -663,7 +676,7 @@ public final class IotHubResourceGetKeysForKeyNameSamples {
*/
public final class IotHubResourceGetQuotaMetricsSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_quotametrics.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_quotametrics.json
*/
/**
* Sample code: IotHubResource_GetQuotaMetrics.
@@ -684,7 +697,7 @@ public final class IotHubResourceGetQuotaMetricsSamples {
*/
public final class IotHubResourceGetStatsSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_stats.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_stats.json
*/
/**
* Sample code: IotHubResource_GetStats.
@@ -705,7 +718,7 @@ public final class IotHubResourceGetStatsSamples {
*/
public final class IotHubResourceGetValidSkusSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getskus.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getskus.json
*/
/**
* Sample code: IotHubResource_GetValidSkus.
@@ -728,7 +741,7 @@ import com.azure.resourcemanager.iothub.models.ImportDevicesRequest;
*/
public final class IotHubResourceImportDevicesSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_importdevices.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_importdevices.json
*/
/**
* Sample code: IotHubResource_ImportDevices.
@@ -752,7 +765,7 @@ public final class IotHubResourceImportDevicesSamples {
*/
public final class IotHubResourceListSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listbysubscription.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listbysubscription.json
*/
/**
* Sample code: IotHubResource_ListBySubscription.
@@ -773,7 +786,7 @@ public final class IotHubResourceListSamples {
*/
public final class IotHubResourceListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listbyrg.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listbyrg.json
*/
/**
* Sample code: IotHubResource_ListByResourceGroup.
@@ -794,7 +807,7 @@ public final class IotHubResourceListByResourceGroupSamples {
*/
public final class IotHubResourceListEventHubConsumerGroupsSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listehgroups.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listehgroups.json
*/
/**
* Sample code: IotHubResource_ListEventHubConsumerGroups.
@@ -817,7 +830,7 @@ public final class IotHubResourceListEventHubConsumerGroupsSamples {
*/
public final class IotHubResourceListJobsSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listjobs.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listjobs.json
*/
/**
* Sample code: IotHubResource_ListJobs.
@@ -838,7 +851,7 @@ public final class IotHubResourceListJobsSamples {
*/
public final class IotHubResourceListKeysSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listkeys.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listkeys.json
*/
/**
* Sample code: IotHubResource_ListKeys.
@@ -865,7 +878,7 @@ import java.util.Map;
*/
public final class IotHubResourceTestAllRoutesSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_testallroutes.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_testallroutes.json
*/
/**
* Sample code: IotHubResource_TestAllRoutes.
@@ -912,7 +925,7 @@ import java.util.Map;
*/
public final class IotHubResourceTestRouteSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_testnewroute.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_testnewroute.json
*/
/**
* Sample code: IotHubResource_TestRoute.
@@ -959,7 +972,7 @@ import java.util.Map;
*/
public final class IotHubResourceUpdateSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_patch.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_patch.json
*/
/**
* Sample code: IotHubResource_Update.
@@ -995,7 +1008,7 @@ public final class IotHubResourceUpdateSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_operations.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_operations.json
*/
/**
* Sample code: Operations_List.
@@ -1016,7 +1029,7 @@ public final class OperationsListSamples {
*/
public final class PrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_deleteprivateendpointconnection.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_deleteprivateendpointconnection.json
*/
/**
* Sample code: PrivateEndpointConnection_Delete.
@@ -1038,7 +1051,7 @@ public final class PrivateEndpointConnectionsDeleteSamples {
*/
public final class PrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getprivateendpointconnection.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getprivateendpointconnection.json
*/
/**
* Sample code: PrivateEndpointConnection_Get.
@@ -1061,7 +1074,7 @@ public final class PrivateEndpointConnectionsGetSamples {
*/
public final class PrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listprivateendpointconnections.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listprivateendpointconnections.json
*/
/**
* Sample code: PrivateEndpointConnections_List.
@@ -1088,7 +1101,7 @@ import com.azure.resourcemanager.iothub.models.PrivateLinkServiceConnectionStatu
*/
public final class PrivateEndpointConnectionsUpdateSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_updateprivateendpointconnection.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_updateprivateendpointconnection.json
*/
/**
* Sample code: PrivateEndpointConnection_Update.
@@ -1115,7 +1128,7 @@ public final class PrivateEndpointConnectionsUpdateSamples {
*/
public final class PrivateLinkResourcesOperationGetSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_getprivatelinkresources.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getprivatelinkresources.json
*/
/**
* Sample code: PrivateLinkResources_List.
@@ -1137,7 +1150,7 @@ public final class PrivateLinkResourcesOperationGetSamples {
*/
public final class PrivateLinkResourcesOperationListSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_listprivatelinkresources.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listprivatelinkresources.json
*/
/**
* Sample code: PrivateLinkResources_List.
@@ -1159,7 +1172,7 @@ public final class PrivateLinkResourcesOperationListSamples {
*/
public final class ResourceProviderCommonGetSubscriptionQuotaSamples {
/*
- * x-ms-original-file: 2025-08-01-preview/iothub_usages.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_usages.json
*/
/**
* Sample code: ResourceProviderCommon_GetSubscriptionQuota.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/pom.xml b/sdk/iothub/azure-resourcemanager-iothub/pom.xml
index 9f1ce80546c3..caf7046d06f6 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/pom.xml
+++ b/sdk/iothub/azure-resourcemanager-iothub/pom.xml
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for IotHub Management
- This package contains Microsoft Azure SDK for IotHub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Use this API to manage the IoT hubs in your Azure subscription. Package api-version 2025-08-01-preview.
+ This package contains Microsoft Azure SDK for IotHub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Use this API to manage the IoT hubs in your Azure subscription. Package api-version 2026-05-01-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java
index 7d9552739ea7..b090795de0a6 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java
@@ -247,7 +247,7 @@ public ResourceProviderCommonsClient getResourceProviderCommons() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2026-03-01-preview";
+ this.apiVersion = "2026-05-01-preview";
this.operations = new OperationsClientImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsClientImpl(this);
this.iotHubResources = new IotHubResourcesClientImpl(this);
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/DeviceRegistry.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/DeviceRegistry.java
index 72a4cd810da8..5fb920343e4e 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/DeviceRegistry.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/DeviceRegistry.java
@@ -17,7 +17,7 @@
@Fluent
public final class DeviceRegistry implements JsonSerializable {
/*
- * The identifier of the Azure Device Registry namespace associated with the GEN2 SKU hub.
+ * The identifier of the Azure Device Registry namespace
*/
private String namespaceResourceId;
@@ -33,8 +33,7 @@ public DeviceRegistry() {
}
/**
- * Get the namespaceResourceId property: The identifier of the Azure Device Registry namespace associated with the
- * GEN2 SKU hub.
+ * Get the namespaceResourceId property: The identifier of the Azure Device Registry namespace.
*
* @return the namespaceResourceId value.
*/
@@ -43,8 +42,7 @@ public String namespaceResourceId() {
}
/**
- * Set the namespaceResourceId property: The identifier of the Azure Device Registry namespace associated with the
- * GEN2 SKU hub.
+ * Set the namespaceResourceId property: The identifier of the Azure Device Registry namespace.
*
* @param namespaceResourceId the namespaceResourceId value to set.
* @return the DeviceRegistry object itself.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/EventStreamAuthenticationType.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/EventStreamAuthenticationType.java
new file mode 100644
index 000000000000..2262104bb978
--- /dev/null
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/EventStreamAuthenticationType.java
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iothub.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Specifies authentication type being used for connecting to the event stream account.
+ */
+public final class EventStreamAuthenticationType extends ExpandableStringEnum {
+ /**
+ * identityBased authentication.
+ */
+ public static final EventStreamAuthenticationType IDENTITY_BASED = fromString("identityBased");
+
+ /**
+ * Creates a new instance of EventStreamAuthenticationType value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public EventStreamAuthenticationType() {
+ }
+
+ /**
+ * Creates or finds a EventStreamAuthenticationType from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding EventStreamAuthenticationType.
+ */
+ public static EventStreamAuthenticationType fromString(String name) {
+ return fromString(name, EventStreamAuthenticationType.class);
+ }
+
+ /**
+ * Gets known EventStreamAuthenticationType values.
+ *
+ * @return known EventStreamAuthenticationType values.
+ */
+ public static Collection values() {
+ return values(EventStreamAuthenticationType.class);
+ }
+}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSku.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSku.java
index ad5746381a56..579794aa515d 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSku.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSku.java
@@ -46,11 +46,6 @@ public final class IotHubSku extends ExpandableStringEnum {
*/
public static final IotHubSku B3 = fromString("B3");
- /**
- * GEN2.
- */
- public static final IotHubSku GEN2 = fromString("GEN2");
-
/**
* Creates a new instance of IotHubSku value.
*
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuTier.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuTier.java
index 72586f10eee1..52d898ac49a0 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuTier.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuTier.java
@@ -21,12 +21,7 @@ public enum IotHubSkuTier {
/**
* Basic.
*/
- BASIC("Basic"),
-
- /**
- * Generation2.
- */
- GENERATION2("Generation2");
+ BASIC("Basic");
/**
* The actual serialized value for a IotHubSkuTier instance.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEndpoints.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEndpoints.java
index 83727b58cb3b..29c5c09e1404 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEndpoints.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEndpoints.java
@@ -45,6 +45,11 @@ public final class RoutingEndpoints implements JsonSerializable cosmosDBSqlContainers;
+ /*
+ * The list of event stream endpoints that IoT hub routes messages to, based on the routing rules.
+ */
+ private List eventStreams;
+
/**
* Creates an instance of RoutingEndpoints class.
*/
@@ -161,6 +166,28 @@ public RoutingEndpoints withCosmosDBSqlContainers(List eventStreams() {
+ return this.eventStreams;
+ }
+
+ /**
+ * Set the eventStreams property: The list of event stream endpoints that IoT hub routes messages to, based on the
+ * routing rules.
+ *
+ * @param eventStreams the eventStreams value to set.
+ * @return the RoutingEndpoints object itself.
+ */
+ public RoutingEndpoints withEventStreams(List eventStreams) {
+ this.eventStreams = eventStreams;
+ return this;
+ }
+
/**
* {@inheritDoc}
*/
@@ -176,6 +203,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
(writer, element) -> writer.writeJson(element));
jsonWriter.writeArrayField("cosmosDBSqlContainers", this.cosmosDBSqlContainers,
(writer, element) -> writer.writeJson(element));
+ jsonWriter.writeArrayField("eventStreams", this.eventStreams, (writer, element) -> writer.writeJson(element));
return jsonWriter.writeEndObject();
}
@@ -214,6 +242,10 @@ public static RoutingEndpoints fromJson(JsonReader jsonReader) throws IOExceptio
List cosmosDBSqlContainers
= reader.readArray(reader1 -> RoutingCosmosDBSqlApiProperties.fromJson(reader1));
deserializedRoutingEndpoints.cosmosDBSqlContainers = cosmosDBSqlContainers;
+ } else if ("eventStreams".equals(fieldName)) {
+ List eventStreams
+ = reader.readArray(reader1 -> RoutingEventStreamProperties.fromJson(reader1));
+ deserializedRoutingEndpoints.eventStreams = eventStreams;
} else {
reader.skipChildren();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventStreamProperties.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventStreamProperties.java
new file mode 100644
index 000000000000..4a875ef37e35
--- /dev/null
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventStreamProperties.java
@@ -0,0 +1,310 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iothub.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The properties related to an event stream endpoint.
+ */
+@Fluent
+public final class RoutingEventStreamProperties implements JsonSerializable {
+ /*
+ * 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, fileNotifications,
+ * $default. Endpoint names must be unique across endpoint types.
+ */
+ private String name;
+
+ /*
+ * Id of the event stream endpoint
+ */
+ private String id;
+
+ /*
+ * The url of the underlying event hub namespace of the event stream endpoint. It must include the protocol sb://
+ */
+ private String endpointUri;
+
+ /*
+ * Event hub name on the event hub namespace
+ */
+ private String entityPath;
+
+ /*
+ * Method used to authenticate against the event stream endpoint
+ */
+ private EventStreamAuthenticationType authenticationType;
+
+ /*
+ * Managed identity properties of routing event stream endpoint.
+ */
+ private ManagedIdentity identity;
+
+ /*
+ * The unique GUID of the target Microsoft Fabric workspace for the event stream endpoint.
+ */
+ private String workspaceId;
+
+ /*
+ * The unique GUID of the target event stream under the workspace.
+ */
+ private String eventStreamId;
+
+ /*
+ * The unique GUID of the custom source for the event stream.
+ */
+ private String sourceId;
+
+ /**
+ * Creates an instance of RoutingEventStreamProperties class.
+ */
+ public RoutingEventStreamProperties() {
+ }
+
+ /**
+ * Get the name property: 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, fileNotifications, $default. Endpoint names must be unique across endpoint types.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: 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, fileNotifications, $default. Endpoint names must be unique across endpoint types.
+ *
+ * @param name the name value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the id property: Id of the event stream endpoint.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get the endpointUri property: The url of the underlying event hub namespace of the event stream endpoint. It must
+ * include the protocol sb://.
+ *
+ * @return the endpointUri value.
+ */
+ public String endpointUri() {
+ return this.endpointUri;
+ }
+
+ /**
+ * Set the endpointUri property: The url of the underlying event hub namespace of the event stream endpoint. It must
+ * include the protocol sb://.
+ *
+ * @param endpointUri the endpointUri value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withEndpointUri(String endpointUri) {
+ this.endpointUri = endpointUri;
+ return this;
+ }
+
+ /**
+ * Get the entityPath property: Event hub name on the event hub namespace.
+ *
+ * @return the entityPath value.
+ */
+ public String entityPath() {
+ return this.entityPath;
+ }
+
+ /**
+ * Set the entityPath property: Event hub name on the event hub namespace.
+ *
+ * @param entityPath the entityPath value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withEntityPath(String entityPath) {
+ this.entityPath = entityPath;
+ return this;
+ }
+
+ /**
+ * Get the authenticationType property: Method used to authenticate against the event stream endpoint.
+ *
+ * @return the authenticationType value.
+ */
+ public EventStreamAuthenticationType authenticationType() {
+ return this.authenticationType;
+ }
+
+ /**
+ * Set the authenticationType property: Method used to authenticate against the event stream endpoint.
+ *
+ * @param authenticationType the authenticationType value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withAuthenticationType(EventStreamAuthenticationType authenticationType) {
+ this.authenticationType = authenticationType;
+ return this;
+ }
+
+ /**
+ * Get the identity property: Managed identity properties of routing event stream endpoint.
+ *
+ * @return the identity value.
+ */
+ public ManagedIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: Managed identity properties of routing event stream endpoint.
+ *
+ * @param identity the identity value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withIdentity(ManagedIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the workspaceId property: The unique GUID of the target Microsoft Fabric workspace for the event stream
+ * endpoint.
+ *
+ * @return the workspaceId value.
+ */
+ public String workspaceId() {
+ return this.workspaceId;
+ }
+
+ /**
+ * Set the workspaceId property: The unique GUID of the target Microsoft Fabric workspace for the event stream
+ * endpoint.
+ *
+ * @param workspaceId the workspaceId value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withWorkspaceId(String workspaceId) {
+ this.workspaceId = workspaceId;
+ return this;
+ }
+
+ /**
+ * Get the eventStreamId property: The unique GUID of the target event stream under the workspace.
+ *
+ * @return the eventStreamId value.
+ */
+ public String eventStreamId() {
+ return this.eventStreamId;
+ }
+
+ /**
+ * Set the eventStreamId property: The unique GUID of the target event stream under the workspace.
+ *
+ * @param eventStreamId the eventStreamId value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withEventStreamId(String eventStreamId) {
+ this.eventStreamId = eventStreamId;
+ return this;
+ }
+
+ /**
+ * Get the sourceId property: The unique GUID of the custom source for the event stream.
+ *
+ * @return the sourceId value.
+ */
+ public String sourceId() {
+ return this.sourceId;
+ }
+
+ /**
+ * Set the sourceId property: The unique GUID of the custom source for the event stream.
+ *
+ * @param sourceId the sourceId value to set.
+ * @return the RoutingEventStreamProperties object itself.
+ */
+ public RoutingEventStreamProperties withSourceId(String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("name", this.name);
+ jsonWriter.writeStringField("endpointUri", this.endpointUri);
+ jsonWriter.writeStringField("entityPath", this.entityPath);
+ jsonWriter.writeStringField("authenticationType",
+ this.authenticationType == null ? null : this.authenticationType.toString());
+ jsonWriter.writeJsonField("identity", this.identity);
+ jsonWriter.writeStringField("workspaceId", this.workspaceId);
+ jsonWriter.writeStringField("eventStreamId", this.eventStreamId);
+ jsonWriter.writeStringField("sourceId", this.sourceId);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of RoutingEventStreamProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of RoutingEventStreamProperties if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the RoutingEventStreamProperties.
+ */
+ public static RoutingEventStreamProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ RoutingEventStreamProperties deserializedRoutingEventStreamProperties = new RoutingEventStreamProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("name".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.name = reader.getString();
+ } else if ("endpointUri".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.endpointUri = reader.getString();
+ } else if ("entityPath".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.entityPath = reader.getString();
+ } else if ("id".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.id = reader.getString();
+ } else if ("authenticationType".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.authenticationType
+ = EventStreamAuthenticationType.fromString(reader.getString());
+ } else if ("identity".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.identity = ManagedIdentity.fromJson(reader);
+ } else if ("workspaceId".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.workspaceId = reader.getString();
+ } else if ("eventStreamId".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.eventStreamId = reader.getString();
+ } else if ("sourceId".equals(fieldName)) {
+ deserializedRoutingEventStreamProperties.sourceId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedRoutingEventStreamProperties;
+ });
+ }
+}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwin.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwin.java
index 991c7bb90251..610d2796e27a 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwin.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwin.java
@@ -10,7 +10,6 @@
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
-import java.util.Map;
/**
* Twin reference input parameter. This is an optional parameter.
@@ -20,7 +19,7 @@ public final class RoutingTwin implements JsonSerializable {
/*
* Twin Tags
*/
- private Map tags;
+ private Object tags;
/*
* The properties property.
@@ -38,7 +37,7 @@ public RoutingTwin() {
*
* @return the tags value.
*/
- public Map tags() {
+ public Object tags() {
return this.tags;
}
@@ -48,7 +47,7 @@ public Map tags() {
* @param tags the tags value to set.
* @return the RoutingTwin object itself.
*/
- public RoutingTwin withTags(Map tags) {
+ public RoutingTwin withTags(Object tags) {
this.tags = tags;
return this;
}
@@ -79,7 +78,9 @@ public RoutingTwin withProperties(RoutingTwinProperties properties) {
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeUntyped(element));
+ if (this.tags != null) {
+ jsonWriter.writeUntypedField("tags", this.tags);
+ }
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}
@@ -100,8 +101,7 @@ public static RoutingTwin fromJson(JsonReader jsonReader) throws IOException {
reader.nextToken();
if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.readUntyped());
- deserializedRoutingTwin.tags = tags;
+ deserializedRoutingTwin.tags = reader.readUntyped();
} else if ("properties".equals(fieldName)) {
deserializedRoutingTwin.properties = RoutingTwinProperties.fromJson(reader);
} else {
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwinProperties.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwinProperties.java
index 0ea862c77e0d..9bec34ac7d67 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwinProperties.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwinProperties.java
@@ -10,7 +10,6 @@
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
-import java.util.Map;
/**
* The RoutingTwinProperties model.
@@ -20,12 +19,12 @@ public final class RoutingTwinProperties implements JsonSerializable desired;
+ private Object desired;
/*
* Twin reported properties
*/
- private Map reported;
+ private Object reported;
/**
* Creates an instance of RoutingTwinProperties class.
@@ -38,7 +37,7 @@ public RoutingTwinProperties() {
*
* @return the desired value.
*/
- public Map desired() {
+ public Object desired() {
return this.desired;
}
@@ -48,7 +47,7 @@ public Map desired() {
* @param desired the desired value to set.
* @return the RoutingTwinProperties object itself.
*/
- public RoutingTwinProperties withDesired(Map desired) {
+ public RoutingTwinProperties withDesired(Object desired) {
this.desired = desired;
return this;
}
@@ -58,7 +57,7 @@ public RoutingTwinProperties withDesired(Map desired) {
*
* @return the reported value.
*/
- public Map reported() {
+ public Object reported() {
return this.reported;
}
@@ -68,7 +67,7 @@ public Map reported() {
* @param reported the reported value to set.
* @return the RoutingTwinProperties object itself.
*/
- public RoutingTwinProperties withReported(Map reported) {
+ public RoutingTwinProperties withReported(Object reported) {
this.reported = reported;
return this;
}
@@ -79,8 +78,12 @@ public RoutingTwinProperties withReported(Map reported) {
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeMapField("desired", this.desired, (writer, element) -> writer.writeUntyped(element));
- jsonWriter.writeMapField("reported", this.reported, (writer, element) -> writer.writeUntyped(element));
+ if (this.desired != null) {
+ jsonWriter.writeUntypedField("desired", this.desired);
+ }
+ if (this.reported != null) {
+ jsonWriter.writeUntypedField("reported", this.reported);
+ }
return jsonWriter.writeEndObject();
}
@@ -100,11 +103,9 @@ public static RoutingTwinProperties fromJson(JsonReader jsonReader) throws IOExc
reader.nextToken();
if ("desired".equals(fieldName)) {
- Map desired = reader.readMap(reader1 -> reader1.readUntyped());
- deserializedRoutingTwinProperties.desired = desired;
+ deserializedRoutingTwinProperties.desired = reader.readUntyped();
} else if ("reported".equals(fieldName)) {
- Map reported = reader.readMap(reader1 -> reader1.readUntyped());
- deserializedRoutingTwinProperties.reported = reported;
+ deserializedRoutingTwinProperties.reported = reader.readUntyped();
} else {
reader.skipChildren();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/resources/META-INF/azure-resourcemanager-iothub_metadata.json b/sdk/iothub/azure-resourcemanager-iothub/src/main/resources/META-INF/azure-resourcemanager-iothub_metadata.json
index d94c4f801961..26d71f66cd8e 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/main/resources/META-INF/azure-resourcemanager-iothub_metadata.json
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/resources/META-INF/azure-resourcemanager-iothub_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.Devices":"2025-08-01-preview"},"crossLanguageDefinitions":{"com.azure.resourcemanager.iothub.fluent.CertificatesClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.CertificatesClient.createOrUpdate":"Microsoft.Devices.CertificateDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.CertificatesClient.createOrUpdateWithResponse":"Microsoft.Devices.CertificateDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.CertificatesClient.delete":"Microsoft.Devices.CertificateDescriptions.delete","com.azure.resourcemanager.iothub.fluent.CertificatesClient.deleteWithResponse":"Microsoft.Devices.CertificateDescriptions.delete","com.azure.resourcemanager.iothub.fluent.CertificatesClient.generateVerificationCode":"Microsoft.Devices.CertificateDescriptions.generateVerificationCode","com.azure.resourcemanager.iothub.fluent.CertificatesClient.generateVerificationCodeWithResponse":"Microsoft.Devices.CertificateDescriptions.generateVerificationCode","com.azure.resourcemanager.iothub.fluent.CertificatesClient.get":"Microsoft.Devices.CertificateDescriptions.get","com.azure.resourcemanager.iothub.fluent.CertificatesClient.getWithResponse":"Microsoft.Devices.CertificateDescriptions.get","com.azure.resourcemanager.iothub.fluent.CertificatesClient.listByIotHub":"Microsoft.Devices.CertificateDescriptions.listByIotHub","com.azure.resourcemanager.iothub.fluent.CertificatesClient.listByIotHubWithResponse":"Microsoft.Devices.CertificateDescriptions.listByIotHub","com.azure.resourcemanager.iothub.fluent.CertificatesClient.verify":"Microsoft.Devices.CertificateDescriptions.verify","com.azure.resourcemanager.iothub.fluent.CertificatesClient.verifyWithResponse":"Microsoft.Devices.CertificateDescriptions.verify","com.azure.resourcemanager.iothub.fluent.IotHubClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.beginCreateOrUpdate":"Microsoft.Devices.IotHubDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.beginDelete":"Microsoft.Devices.IotHubDescriptions.delete","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.beginUpdate":"Microsoft.Devices.IotHubDescriptions.update","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.checkNameAvailability":"Microsoft.Devices.IotHubResourceOperationGroup.checkNameAvailability","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.checkNameAvailabilityWithResponse":"Microsoft.Devices.IotHubResourceOperationGroup.checkNameAvailability","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.createEventHubConsumerGroup":"Microsoft.Devices.EventHubConsumerGroupInfos.createEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.createEventHubConsumerGroupWithResponse":"Microsoft.Devices.EventHubConsumerGroupInfos.createEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.createOrUpdate":"Microsoft.Devices.IotHubDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.delete":"Microsoft.Devices.IotHubDescriptions.delete","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.deleteEventHubConsumerGroup":"Microsoft.Devices.EventHubConsumerGroupInfos.deleteEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.deleteEventHubConsumerGroupWithResponse":"Microsoft.Devices.EventHubConsumerGroupInfos.deleteEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.exportDevices":"Microsoft.Devices.IotHubDescriptions.exportDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.exportDevicesWithResponse":"Microsoft.Devices.IotHubDescriptions.exportDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getByResourceGroup":"Microsoft.Devices.IotHubDescriptions.get","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getByResourceGroupWithResponse":"Microsoft.Devices.IotHubDescriptions.get","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getEndpointHealth":"Microsoft.Devices.IotHubDescriptions.getEndpointHealth","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getEventHubConsumerGroup":"Microsoft.Devices.EventHubConsumerGroupInfos.getEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getEventHubConsumerGroupWithResponse":"Microsoft.Devices.EventHubConsumerGroupInfos.getEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getJob":"Microsoft.Devices.IotHubDescriptions.getJob","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getJobWithResponse":"Microsoft.Devices.IotHubDescriptions.getJob","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getKeysForKeyName":"Microsoft.Devices.IotHubDescriptions.getKeysForKeyName","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getKeysForKeyNameWithResponse":"Microsoft.Devices.IotHubDescriptions.getKeysForKeyName","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getQuotaMetrics":"Microsoft.Devices.IotHubDescriptions.getQuotaMetrics","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getStats":"Microsoft.Devices.IotHubDescriptionOperationGroup.getStats","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getStatsWithResponse":"Microsoft.Devices.IotHubDescriptionOperationGroup.getStats","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getValidSkus":"Microsoft.Devices.IotHubDescriptions.getValidSkus","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.importDevices":"Microsoft.Devices.IotHubDescriptions.importDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.importDevicesWithResponse":"Microsoft.Devices.IotHubDescriptions.importDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.list":"Microsoft.Devices.IotHubDescriptions.listBySubscription","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listByResourceGroup":"Microsoft.Devices.IotHubDescriptions.listByResourceGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listEventHubConsumerGroups":"Microsoft.Devices.EventHubConsumerGroupInfos.listEventHubConsumerGroups","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listJobs":"Microsoft.Devices.IotHubDescriptions.listJobs","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listKeys":"Microsoft.Devices.IotHubDescriptions.listKeys","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testAllRoutes":"Microsoft.Devices.IotHubDescriptions.testAllRoutes","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testAllRoutesWithResponse":"Microsoft.Devices.IotHubDescriptions.testAllRoutes","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testRoute":"Microsoft.Devices.IotHubDescriptions.testRoute","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testRouteWithResponse":"Microsoft.Devices.IotHubDescriptions.testRoute","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.update":"Microsoft.Devices.IotHubDescriptions.update","com.azure.resourcemanager.iothub.fluent.IotHubsClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.IotHubsClient.beginManualFailover":"Microsoft.Devices.IotHubDescriptions.manualFailover","com.azure.resourcemanager.iothub.fluent.IotHubsClient.manualFailover":"Microsoft.Devices.IotHubDescriptions.manualFailover","com.azure.resourcemanager.iothub.fluent.OperationsClient":"Microsoft.Devices.Operations","com.azure.resourcemanager.iothub.fluent.OperationsClient.list":"Azure.ResourceManager.Legacy.Operations.list","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient":"Microsoft.Devices.PrivateEndpointConnections","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.beginDelete":"Microsoft.Devices.PrivateEndpointConnections.delete","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.beginUpdate":"Microsoft.Devices.PrivateEndpointConnections.update","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.delete":"Microsoft.Devices.PrivateEndpointConnections.delete","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.get":"Microsoft.Devices.PrivateEndpointConnections.get","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.getWithResponse":"Microsoft.Devices.PrivateEndpointConnections.get","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.list":"Microsoft.Devices.PrivateEndpointConnections.list","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.listWithResponse":"Microsoft.Devices.PrivateEndpointConnections.list","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.update":"Microsoft.Devices.PrivateEndpointConnections.update","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.get":"Microsoft.Devices.GroupIdInformations.get","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.getWithResponse":"Microsoft.Devices.GroupIdInformations.get","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.list":"Microsoft.Devices.GroupIdInformations.list","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.listWithResponse":"Microsoft.Devices.GroupIdInformations.list","com.azure.resourcemanager.iothub.fluent.ResourceProviderCommonsClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.ResourceProviderCommonsClient.getSubscriptionQuota":"Microsoft.Devices.ResourceProviderCommonOperationGroup.getSubscriptionQuota","com.azure.resourcemanager.iothub.fluent.ResourceProviderCommonsClient.getSubscriptionQuotaWithResponse":"Microsoft.Devices.ResourceProviderCommonOperationGroup.getSubscriptionQuota","com.azure.resourcemanager.iothub.fluent.models.CertificateDescriptionInner":"Microsoft.Devices.CertificateDescription","com.azure.resourcemanager.iothub.fluent.models.CertificateListDescriptionInner":"Microsoft.Devices.CertificateListDescription","com.azure.resourcemanager.iothub.fluent.models.CertificateWithNonceDescriptionInner":"Microsoft.Devices.CertificateWithNonceDescription","com.azure.resourcemanager.iothub.fluent.models.EndpointHealthDataInner":"Microsoft.Devices.EndpointHealthData","com.azure.resourcemanager.iothub.fluent.models.EventHubConsumerGroupInfoInner":"Microsoft.Devices.EventHubConsumerGroupInfo","com.azure.resourcemanager.iothub.fluent.models.GroupIdInformationInner":"Microsoft.Devices.GroupIdInformation","com.azure.resourcemanager.iothub.fluent.models.IotHubDescriptionInner":"Microsoft.Devices.IotHubDescription","com.azure.resourcemanager.iothub.fluent.models.IotHubNameAvailabilityInfoInner":"Microsoft.Devices.IotHubNameAvailabilityInfo","com.azure.resourcemanager.iothub.fluent.models.IotHubQuotaMetricInfoInner":"Microsoft.Devices.IotHubQuotaMetricInfo","com.azure.resourcemanager.iothub.fluent.models.IotHubSkuDescriptionInner":"Microsoft.Devices.IotHubSkuDescription","com.azure.resourcemanager.iothub.fluent.models.JobResponseInner":"Microsoft.Devices.JobResponse","com.azure.resourcemanager.iothub.fluent.models.OperationInner":"Microsoft.Devices.Operation","com.azure.resourcemanager.iothub.fluent.models.PrivateEndpointConnectionInner":"Microsoft.Devices.PrivateEndpointConnection","com.azure.resourcemanager.iothub.fluent.models.PrivateLinkResourcesInner":"Microsoft.Devices.PrivateLinkResources","com.azure.resourcemanager.iothub.fluent.models.RegistryStatisticsInner":"Microsoft.Devices.RegistryStatistics","com.azure.resourcemanager.iothub.fluent.models.SharedAccessSignatureAuthorizationRuleInner":"Microsoft.Devices.SharedAccessSignatureAuthorizationRule","com.azure.resourcemanager.iothub.fluent.models.TestAllRoutesResultInner":"Microsoft.Devices.TestAllRoutesResult","com.azure.resourcemanager.iothub.fluent.models.TestRouteResultInner":"Microsoft.Devices.TestRouteResult","com.azure.resourcemanager.iothub.fluent.models.UserSubscriptionQuotaListResultInner":"Microsoft.Devices.UserSubscriptionQuotaListResult","com.azure.resourcemanager.iothub.implementation.IotHubClientBuilder":"Microsoft.Devices","com.azure.resourcemanager.iothub.implementation.models.EndpointHealthDataListResult":"Microsoft.Devices.EndpointHealthDataListResult","com.azure.resourcemanager.iothub.implementation.models.EventHubConsumerGroupsListResult":"Microsoft.Devices.EventHubConsumerGroupsListResult","com.azure.resourcemanager.iothub.implementation.models.IotHubDescriptionListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iothub.implementation.models.IotHubQuotaMetricInfoListResult":"Microsoft.Devices.IotHubQuotaMetricInfoListResult","com.azure.resourcemanager.iothub.implementation.models.IotHubSkuDescriptionListResult":"Microsoft.Devices.IotHubSkuDescriptionListResult","com.azure.resourcemanager.iothub.implementation.models.JobResponseListResult":"Microsoft.Devices.JobResponseListResult","com.azure.resourcemanager.iothub.implementation.models.OperationListResult":"Microsoft.Devices.OperationListResult","com.azure.resourcemanager.iothub.implementation.models.SharedAccessSignatureAuthorizationRuleListResult":"Microsoft.Devices.SharedAccessSignatureAuthorizationRuleListResult","com.azure.resourcemanager.iothub.models.AccessRights":"Microsoft.Devices.AccessRights","com.azure.resourcemanager.iothub.models.ArmIdentity":"Microsoft.Devices.ArmIdentity","com.azure.resourcemanager.iothub.models.ArmUserIdentity":"Microsoft.Devices.ArmUserIdentity","com.azure.resourcemanager.iothub.models.AuthenticationType":"Microsoft.Devices.AuthenticationType","com.azure.resourcemanager.iothub.models.Capabilities":"Microsoft.Devices.Capabilities","com.azure.resourcemanager.iothub.models.CertificateProperties":"Microsoft.Devices.CertificateProperties","com.azure.resourcemanager.iothub.models.CertificatePropertiesWithNonce":"Microsoft.Devices.CertificatePropertiesWithNonce","com.azure.resourcemanager.iothub.models.CertificateVerificationDescription":"Microsoft.Devices.CertificateVerificationDescription","com.azure.resourcemanager.iothub.models.CloudToDeviceProperties":"Microsoft.Devices.CloudToDeviceProperties","com.azure.resourcemanager.iothub.models.DefaultAction":"Microsoft.Devices.DefaultAction","com.azure.resourcemanager.iothub.models.DeviceRegistry":"Microsoft.Devices.DeviceRegistry","com.azure.resourcemanager.iothub.models.EncryptionPropertiesDescription":"Microsoft.Devices.EncryptionPropertiesDescription","com.azure.resourcemanager.iothub.models.EndpointHealthStatus":"Microsoft.Devices.EndpointHealthStatus","com.azure.resourcemanager.iothub.models.EnrichmentProperties":"Microsoft.Devices.EnrichmentProperties","com.azure.resourcemanager.iothub.models.ErrorDetails":"Microsoft.Devices.ErrorDetails","com.azure.resourcemanager.iothub.models.EventHubConsumerGroupBodyDescription":"Microsoft.Devices.EventHubConsumerGroupBodyDescription","com.azure.resourcemanager.iothub.models.EventHubConsumerGroupName":"Microsoft.Devices.EventHubConsumerGroupName","com.azure.resourcemanager.iothub.models.EventHubProperties":"Microsoft.Devices.EventHubProperties","com.azure.resourcemanager.iothub.models.ExportDevicesRequest":"Microsoft.Devices.ExportDevicesRequest","com.azure.resourcemanager.iothub.models.FailoverInput":"Microsoft.Devices.FailoverInput","com.azure.resourcemanager.iothub.models.FallbackRouteProperties":"Microsoft.Devices.FallbackRouteProperties","com.azure.resourcemanager.iothub.models.FeedbackProperties":"Microsoft.Devices.FeedbackProperties","com.azure.resourcemanager.iothub.models.GroupIdInformationProperties":"Microsoft.Devices.GroupIdInformationProperties","com.azure.resourcemanager.iothub.models.ImportDevicesRequest":"Microsoft.Devices.ImportDevicesRequest","com.azure.resourcemanager.iothub.models.IotHubCapacity":"Microsoft.Devices.IotHubCapacity","com.azure.resourcemanager.iothub.models.IotHubLocationDescription":"Microsoft.Devices.IotHubLocationDescription","com.azure.resourcemanager.iothub.models.IotHubNameUnavailabilityReason":"Microsoft.Devices.IotHubNameUnavailabilityReason","com.azure.resourcemanager.iothub.models.IotHubProperties":"Microsoft.Devices.IotHubProperties","com.azure.resourcemanager.iothub.models.IotHubPropertiesDeviceStreams":"Microsoft.Devices.IotHubPropertiesDeviceStreams","com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType":"Microsoft.Devices.IotHubReplicaRoleType","com.azure.resourcemanager.iothub.models.IotHubScaleType":"Microsoft.Devices.IotHubScaleType","com.azure.resourcemanager.iothub.models.IotHubSku":"Microsoft.Devices.IotHubSku","com.azure.resourcemanager.iothub.models.IotHubSkuInfo":"Microsoft.Devices.IotHubSkuInfo","com.azure.resourcemanager.iothub.models.IotHubSkuTier":"Microsoft.Devices.IotHubSkuTier","com.azure.resourcemanager.iothub.models.IpFilterActionType":"Microsoft.Devices.IpFilterActionType","com.azure.resourcemanager.iothub.models.IpFilterRule":"Microsoft.Devices.IpFilterRule","com.azure.resourcemanager.iothub.models.IpVersion":"Microsoft.Devices.IpVersion","com.azure.resourcemanager.iothub.models.JobStatus":"Microsoft.Devices.JobStatus","com.azure.resourcemanager.iothub.models.JobType":"Microsoft.Devices.JobType","com.azure.resourcemanager.iothub.models.KeyVaultKeyProperties":"Microsoft.Devices.KeyVaultKeyProperties","com.azure.resourcemanager.iothub.models.ManagedIdentity":"Microsoft.Devices.ManagedIdentity","com.azure.resourcemanager.iothub.models.MatchedRoute":"Microsoft.Devices.MatchedRoute","com.azure.resourcemanager.iothub.models.MessagingEndpointProperties":"Microsoft.Devices.MessagingEndpointProperties","com.azure.resourcemanager.iothub.models.Name":"Microsoft.Devices.Name","com.azure.resourcemanager.iothub.models.NetworkRuleIpAction":"Microsoft.Devices.NetworkRuleIPAction","com.azure.resourcemanager.iothub.models.NetworkRuleSetIpRule":"Microsoft.Devices.NetworkRuleSetIpRule","com.azure.resourcemanager.iothub.models.NetworkRuleSetProperties":"Microsoft.Devices.NetworkRuleSetProperties","com.azure.resourcemanager.iothub.models.OperationDisplay":"Microsoft.Devices.OperationDisplay","com.azure.resourcemanager.iothub.models.OperationInputs":"Microsoft.Devices.OperationInputs","com.azure.resourcemanager.iothub.models.PrivateEndpoint":"Microsoft.Devices.PrivateEndpoint","com.azure.resourcemanager.iothub.models.PrivateEndpointConnectionProperties":"Microsoft.Devices.PrivateEndpointConnectionProperties","com.azure.resourcemanager.iothub.models.PrivateLinkServiceConnectionState":"Microsoft.Devices.PrivateLinkServiceConnectionState","com.azure.resourcemanager.iothub.models.PrivateLinkServiceConnectionStatus":"Microsoft.Devices.PrivateLinkServiceConnectionStatus","com.azure.resourcemanager.iothub.models.PublicNetworkAccess":"Microsoft.Devices.PublicNetworkAccess","com.azure.resourcemanager.iothub.models.ResourceIdentityType":"Microsoft.Devices.ResourceIdentityType","com.azure.resourcemanager.iothub.models.RootCertificateProperties":"Microsoft.Devices.RootCertificateProperties","com.azure.resourcemanager.iothub.models.RouteCompilationError":"Microsoft.Devices.RouteCompilationError","com.azure.resourcemanager.iothub.models.RouteErrorPosition":"Microsoft.Devices.RouteErrorPosition","com.azure.resourcemanager.iothub.models.RouteErrorRange":"Microsoft.Devices.RouteErrorRange","com.azure.resourcemanager.iothub.models.RouteErrorSeverity":"Microsoft.Devices.RouteErrorSeverity","com.azure.resourcemanager.iothub.models.RouteProperties":"Microsoft.Devices.RouteProperties","com.azure.resourcemanager.iothub.models.RoutingCosmosDBSqlApiProperties":"Microsoft.Devices.RoutingCosmosDBSqlApiProperties","com.azure.resourcemanager.iothub.models.RoutingEndpoints":"Microsoft.Devices.RoutingEndpoints","com.azure.resourcemanager.iothub.models.RoutingEventHubProperties":"Microsoft.Devices.RoutingEventHubProperties","com.azure.resourcemanager.iothub.models.RoutingMessage":"Microsoft.Devices.RoutingMessage","com.azure.resourcemanager.iothub.models.RoutingProperties":"Microsoft.Devices.RoutingProperties","com.azure.resourcemanager.iothub.models.RoutingServiceBusQueueEndpointProperties":"Microsoft.Devices.RoutingServiceBusQueueEndpointProperties","com.azure.resourcemanager.iothub.models.RoutingServiceBusTopicEndpointProperties":"Microsoft.Devices.RoutingServiceBusTopicEndpointProperties","com.azure.resourcemanager.iothub.models.RoutingSource":"Microsoft.Devices.RoutingSource","com.azure.resourcemanager.iothub.models.RoutingStorageContainerProperties":"Microsoft.Devices.RoutingStorageContainerProperties","com.azure.resourcemanager.iothub.models.RoutingStorageContainerPropertiesEncoding":"Microsoft.Devices.RoutingStorageContainerPropertiesEncoding","com.azure.resourcemanager.iothub.models.RoutingTwin":"Microsoft.Devices.RoutingTwin","com.azure.resourcemanager.iothub.models.RoutingTwinProperties":"Microsoft.Devices.RoutingTwinProperties","com.azure.resourcemanager.iothub.models.StorageEndpointProperties":"Microsoft.Devices.StorageEndpointProperties","com.azure.resourcemanager.iothub.models.TagsResource":"Microsoft.Devices.TagsResource","com.azure.resourcemanager.iothub.models.TestAllRoutesInput":"Microsoft.Devices.TestAllRoutesInput","com.azure.resourcemanager.iothub.models.TestResultStatus":"Microsoft.Devices.TestResultStatus","com.azure.resourcemanager.iothub.models.TestRouteInput":"Microsoft.Devices.TestRouteInput","com.azure.resourcemanager.iothub.models.TestRouteResultDetails":"Microsoft.Devices.TestRouteResultDetails","com.azure.resourcemanager.iothub.models.UserSubscriptionQuota":"Microsoft.Devices.UserSubscriptionQuota"},"generatedFiles":["src/main/java/com/azure/resourcemanager/iothub/IotHubManager.java","src/main/java/com/azure/resourcemanager/iothub/fluent/CertificatesClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/IotHubClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/IotHubResourcesClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/IotHubsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/PrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/PrivateLinkResourcesOperationsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/ResourceProviderCommonsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/CertificateDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/CertificateListDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/CertificateWithNonceDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/EndpointHealthDataInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/EventHubConsumerGroupInfoInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/GroupIdInformationInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubNameAvailabilityInfoInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubQuotaMetricInfoInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubSkuDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/JobResponseInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/PrivateLinkResourcesInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/RegistryStatisticsInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/SharedAccessSignatureAuthorizationRuleInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/TestAllRoutesResultInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/TestRouteResultInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/UserSubscriptionQuotaListResultInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/iothub/fluent/package-info.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificateDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificateListDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificateWithNonceDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificatesClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificatesImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/EndpointHealthDataImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/EventHubConsumerGroupInfoImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/GroupIdInformationImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientBuilder.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubNameAvailabilityInfoImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubQuotaMetricInfoImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubResourcesImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubSkuDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/JobResponseImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateEndpointConnectionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateEndpointConnectionsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateLinkResourcesImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateLinkResourcesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateLinkResourcesOperationsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/RegistryStatisticsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/iothub/implementation/ResourceProviderCommonsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/ResourceProviderCommonsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/SharedAccessSignatureAuthorizationRuleImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/TestAllRoutesResultImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/TestRouteResultImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/UserSubscriptionQuotaListResultImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/EndpointHealthDataListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/EventHubConsumerGroupsListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/IotHubDescriptionListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/IotHubQuotaMetricInfoListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/IotHubSkuDescriptionListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/JobResponseListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/SharedAccessSignatureAuthorizationRuleListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/package-info.java","src/main/java/com/azure/resourcemanager/iothub/models/AccessRights.java","src/main/java/com/azure/resourcemanager/iothub/models/ArmIdentity.java","src/main/java/com/azure/resourcemanager/iothub/models/ArmUserIdentity.java","src/main/java/com/azure/resourcemanager/iothub/models/AuthenticationType.java","src/main/java/com/azure/resourcemanager/iothub/models/Capabilities.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateListDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificatePropertiesWithNonce.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateVerificationDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateWithNonceDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/Certificates.java","src/main/java/com/azure/resourcemanager/iothub/models/CloudToDeviceProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/DefaultAction.java","src/main/java/com/azure/resourcemanager/iothub/models/DeviceRegistry.java","src/main/java/com/azure/resourcemanager/iothub/models/EncryptionPropertiesDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/EndpointHealthData.java","src/main/java/com/azure/resourcemanager/iothub/models/EndpointHealthStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/EnrichmentProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ErrorDetails.java","src/main/java/com/azure/resourcemanager/iothub/models/ErrorDetailsException.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupBodyDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupName.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ExportDevicesRequest.java","src/main/java/com/azure/resourcemanager/iothub/models/FailoverInput.java","src/main/java/com/azure/resourcemanager/iothub/models/FallbackRouteProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/FeedbackProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/GroupIdInformation.java","src/main/java/com/azure/resourcemanager/iothub/models/GroupIdInformationProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ImportDevicesRequest.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubCapacity.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubLocationDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubNameAvailabilityInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubNameUnavailabilityReason.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubPropertiesDeviceStreams.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubQuotaMetricInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubReplicaRoleType.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubResources.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubScaleType.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSku.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuTier.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubs.java","src/main/java/com/azure/resourcemanager/iothub/models/IpFilterActionType.java","src/main/java/com/azure/resourcemanager/iothub/models/IpFilterRule.java","src/main/java/com/azure/resourcemanager/iothub/models/IpVersion.java","src/main/java/com/azure/resourcemanager/iothub/models/JobResponse.java","src/main/java/com/azure/resourcemanager/iothub/models/JobStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/JobType.java","src/main/java/com/azure/resourcemanager/iothub/models/KeyVaultKeyProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ManagedIdentity.java","src/main/java/com/azure/resourcemanager/iothub/models/MatchedRoute.java","src/main/java/com/azure/resourcemanager/iothub/models/MessagingEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/Name.java","src/main/java/com/azure/resourcemanager/iothub/models/NetworkRuleIpAction.java","src/main/java/com/azure/resourcemanager/iothub/models/NetworkRuleSetIpRule.java","src/main/java/com/azure/resourcemanager/iothub/models/NetworkRuleSetProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/Operation.java","src/main/java/com/azure/resourcemanager/iothub/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/iothub/models/OperationInputs.java","src/main/java/com/azure/resourcemanager/iothub/models/Operations.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpoint.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpointConnection.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpointConnectionProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpointConnections.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkResources.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkResourcesOperations.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkServiceConnectionStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/PublicNetworkAccess.java","src/main/java/com/azure/resourcemanager/iothub/models/RegistryStatistics.java","src/main/java/com/azure/resourcemanager/iothub/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/iothub/models/ResourceProviderCommons.java","src/main/java/com/azure/resourcemanager/iothub/models/RootCertificateProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteCompilationError.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteErrorPosition.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteErrorRange.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteErrorSeverity.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingCosmosDBSqlApiProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingEndpoints.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventHubProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingMessage.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingServiceBusQueueEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingServiceBusTopicEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingSource.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingStorageContainerProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingStorageContainerPropertiesEncoding.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwin.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwinProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/SharedAccessSignatureAuthorizationRule.java","src/main/java/com/azure/resourcemanager/iothub/models/StorageEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/TagsResource.java","src/main/java/com/azure/resourcemanager/iothub/models/TestAllRoutesInput.java","src/main/java/com/azure/resourcemanager/iothub/models/TestAllRoutesResult.java","src/main/java/com/azure/resourcemanager/iothub/models/TestResultStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/TestRouteInput.java","src/main/java/com/azure/resourcemanager/iothub/models/TestRouteResult.java","src/main/java/com/azure/resourcemanager/iothub/models/TestRouteResultDetails.java","src/main/java/com/azure/resourcemanager/iothub/models/UserSubscriptionQuota.java","src/main/java/com/azure/resourcemanager/iothub/models/UserSubscriptionQuotaListResult.java","src/main/java/com/azure/resourcemanager/iothub/models/package-info.java","src/main/java/com/azure/resourcemanager/iothub/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.Devices":"2026-05-01-preview"},"crossLanguagePackageId":"Microsoft.Devices","crossLanguageVersion":"a148e0fb917c","crossLanguageDefinitions":{"com.azure.resourcemanager.iothub.fluent.CertificatesClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.CertificatesClient.createOrUpdate":"Microsoft.Devices.CertificateDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.CertificatesClient.createOrUpdateWithResponse":"Microsoft.Devices.CertificateDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.CertificatesClient.delete":"Microsoft.Devices.CertificateDescriptions.delete","com.azure.resourcemanager.iothub.fluent.CertificatesClient.deleteWithResponse":"Microsoft.Devices.CertificateDescriptions.delete","com.azure.resourcemanager.iothub.fluent.CertificatesClient.generateVerificationCode":"Microsoft.Devices.CertificateDescriptions.generateVerificationCode","com.azure.resourcemanager.iothub.fluent.CertificatesClient.generateVerificationCodeWithResponse":"Microsoft.Devices.CertificateDescriptions.generateVerificationCode","com.azure.resourcemanager.iothub.fluent.CertificatesClient.get":"Microsoft.Devices.CertificateDescriptions.get","com.azure.resourcemanager.iothub.fluent.CertificatesClient.getWithResponse":"Microsoft.Devices.CertificateDescriptions.get","com.azure.resourcemanager.iothub.fluent.CertificatesClient.listByIotHub":"Microsoft.Devices.CertificateDescriptions.listByIotHub","com.azure.resourcemanager.iothub.fluent.CertificatesClient.listByIotHubWithResponse":"Microsoft.Devices.CertificateDescriptions.listByIotHub","com.azure.resourcemanager.iothub.fluent.CertificatesClient.verify":"Microsoft.Devices.CertificateDescriptions.verify","com.azure.resourcemanager.iothub.fluent.CertificatesClient.verifyWithResponse":"Microsoft.Devices.CertificateDescriptions.verify","com.azure.resourcemanager.iothub.fluent.IotHubClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.beginCreateOrUpdate":"Microsoft.Devices.IotHubDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.beginDelete":"Microsoft.Devices.IotHubDescriptions.delete","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.beginUpdate":"Microsoft.Devices.IotHubDescriptions.update","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.checkNameAvailability":"Microsoft.Devices.IotHubResourceOperationGroup.checkNameAvailability","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.checkNameAvailabilityWithResponse":"Microsoft.Devices.IotHubResourceOperationGroup.checkNameAvailability","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.createEventHubConsumerGroup":"Microsoft.Devices.EventHubConsumerGroupInfos.createEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.createEventHubConsumerGroupWithResponse":"Microsoft.Devices.EventHubConsumerGroupInfos.createEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.createOrUpdate":"Microsoft.Devices.IotHubDescriptions.createOrUpdate","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.delete":"Microsoft.Devices.IotHubDescriptions.delete","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.deleteEventHubConsumerGroup":"Microsoft.Devices.EventHubConsumerGroupInfos.deleteEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.deleteEventHubConsumerGroupWithResponse":"Microsoft.Devices.EventHubConsumerGroupInfos.deleteEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.exportDevices":"Microsoft.Devices.IotHubDescriptions.exportDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.exportDevicesWithResponse":"Microsoft.Devices.IotHubDescriptions.exportDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getByResourceGroup":"Microsoft.Devices.IotHubDescriptions.get","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getByResourceGroupWithResponse":"Microsoft.Devices.IotHubDescriptions.get","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getEndpointHealth":"Microsoft.Devices.IotHubDescriptions.getEndpointHealth","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getEventHubConsumerGroup":"Microsoft.Devices.EventHubConsumerGroupInfos.getEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getEventHubConsumerGroupWithResponse":"Microsoft.Devices.EventHubConsumerGroupInfos.getEventHubConsumerGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getJob":"Microsoft.Devices.IotHubDescriptions.getJob","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getJobWithResponse":"Microsoft.Devices.IotHubDescriptions.getJob","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getKeysForKeyName":"Microsoft.Devices.IotHubDescriptions.getKeysForKeyName","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getKeysForKeyNameWithResponse":"Microsoft.Devices.IotHubDescriptions.getKeysForKeyName","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getQuotaMetrics":"Microsoft.Devices.IotHubDescriptions.getQuotaMetrics","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getStats":"Microsoft.Devices.IotHubDescriptionOperationGroup.getStats","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getStatsWithResponse":"Microsoft.Devices.IotHubDescriptionOperationGroup.getStats","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.getValidSkus":"Microsoft.Devices.IotHubDescriptions.getValidSkus","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.importDevices":"Microsoft.Devices.IotHubDescriptions.importDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.importDevicesWithResponse":"Microsoft.Devices.IotHubDescriptions.importDevices","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.list":"Microsoft.Devices.IotHubDescriptions.listBySubscription","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listByResourceGroup":"Microsoft.Devices.IotHubDescriptions.listByResourceGroup","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listEventHubConsumerGroups":"Microsoft.Devices.EventHubConsumerGroupInfos.listEventHubConsumerGroups","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listJobs":"Microsoft.Devices.IotHubDescriptions.listJobs","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.listKeys":"Microsoft.Devices.IotHubDescriptions.listKeys","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testAllRoutes":"Microsoft.Devices.IotHubDescriptions.testAllRoutes","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testAllRoutesWithResponse":"Microsoft.Devices.IotHubDescriptions.testAllRoutes","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testRoute":"Microsoft.Devices.IotHubDescriptions.testRoute","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.testRouteWithResponse":"Microsoft.Devices.IotHubDescriptions.testRoute","com.azure.resourcemanager.iothub.fluent.IotHubResourcesClient.update":"Microsoft.Devices.IotHubDescriptions.update","com.azure.resourcemanager.iothub.fluent.IotHubsClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.IotHubsClient.beginManualFailover":"Microsoft.Devices.IotHubDescriptions.manualFailover","com.azure.resourcemanager.iothub.fluent.IotHubsClient.manualFailover":"Microsoft.Devices.IotHubDescriptions.manualFailover","com.azure.resourcemanager.iothub.fluent.OperationsClient":"Microsoft.Devices.Operations","com.azure.resourcemanager.iothub.fluent.OperationsClient.list":"Azure.ResourceManager.Legacy.Operations.list","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient":"Microsoft.Devices.PrivateEndpointConnections","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.beginDelete":"Microsoft.Devices.PrivateEndpointConnections.delete","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.beginUpdate":"Microsoft.Devices.PrivateEndpointConnections.update","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.delete":"Microsoft.Devices.PrivateEndpointConnections.delete","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.get":"Microsoft.Devices.PrivateEndpointConnections.get","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.getWithResponse":"Microsoft.Devices.PrivateEndpointConnections.get","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.list":"Microsoft.Devices.PrivateEndpointConnections.list","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.listWithResponse":"Microsoft.Devices.PrivateEndpointConnections.list","com.azure.resourcemanager.iothub.fluent.PrivateEndpointConnectionsClient.update":"Microsoft.Devices.PrivateEndpointConnections.update","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.get":"Microsoft.Devices.GroupIdInformations.get","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.getWithResponse":"Microsoft.Devices.GroupIdInformations.get","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.list":"Microsoft.Devices.GroupIdInformations.list","com.azure.resourcemanager.iothub.fluent.PrivateLinkResourcesOperationsClient.listWithResponse":"Microsoft.Devices.GroupIdInformations.list","com.azure.resourcemanager.iothub.fluent.ResourceProviderCommonsClient":"Microsoft.Devices","com.azure.resourcemanager.iothub.fluent.ResourceProviderCommonsClient.getSubscriptionQuota":"Microsoft.Devices.ResourceProviderCommonOperationGroup.getSubscriptionQuota","com.azure.resourcemanager.iothub.fluent.ResourceProviderCommonsClient.getSubscriptionQuotaWithResponse":"Microsoft.Devices.ResourceProviderCommonOperationGroup.getSubscriptionQuota","com.azure.resourcemanager.iothub.fluent.models.CertificateDescriptionInner":"Microsoft.Devices.CertificateDescription","com.azure.resourcemanager.iothub.fluent.models.CertificateListDescriptionInner":"Microsoft.Devices.CertificateListDescription","com.azure.resourcemanager.iothub.fluent.models.CertificateWithNonceDescriptionInner":"Microsoft.Devices.CertificateWithNonceDescription","com.azure.resourcemanager.iothub.fluent.models.EndpointHealthDataInner":"Microsoft.Devices.EndpointHealthData","com.azure.resourcemanager.iothub.fluent.models.EventHubConsumerGroupInfoInner":"Microsoft.Devices.EventHubConsumerGroupInfo","com.azure.resourcemanager.iothub.fluent.models.GroupIdInformationInner":"Microsoft.Devices.GroupIdInformation","com.azure.resourcemanager.iothub.fluent.models.IotHubDescriptionInner":"Microsoft.Devices.IotHubDescription","com.azure.resourcemanager.iothub.fluent.models.IotHubNameAvailabilityInfoInner":"Microsoft.Devices.IotHubNameAvailabilityInfo","com.azure.resourcemanager.iothub.fluent.models.IotHubQuotaMetricInfoInner":"Microsoft.Devices.IotHubQuotaMetricInfo","com.azure.resourcemanager.iothub.fluent.models.IotHubSkuDescriptionInner":"Microsoft.Devices.IotHubSkuDescription","com.azure.resourcemanager.iothub.fluent.models.JobResponseInner":"Microsoft.Devices.JobResponse","com.azure.resourcemanager.iothub.fluent.models.OperationInner":"Microsoft.Devices.Operation","com.azure.resourcemanager.iothub.fluent.models.PrivateEndpointConnectionInner":"Microsoft.Devices.PrivateEndpointConnection","com.azure.resourcemanager.iothub.fluent.models.PrivateLinkResourcesInner":"Microsoft.Devices.PrivateLinkResources","com.azure.resourcemanager.iothub.fluent.models.RegistryStatisticsInner":"Microsoft.Devices.RegistryStatistics","com.azure.resourcemanager.iothub.fluent.models.SharedAccessSignatureAuthorizationRuleInner":"Microsoft.Devices.SharedAccessSignatureAuthorizationRule","com.azure.resourcemanager.iothub.fluent.models.TestAllRoutesResultInner":"Microsoft.Devices.TestAllRoutesResult","com.azure.resourcemanager.iothub.fluent.models.TestRouteResultInner":"Microsoft.Devices.TestRouteResult","com.azure.resourcemanager.iothub.fluent.models.UserSubscriptionQuotaListResultInner":"Microsoft.Devices.UserSubscriptionQuotaListResult","com.azure.resourcemanager.iothub.implementation.IotHubClientBuilder":"Microsoft.Devices","com.azure.resourcemanager.iothub.implementation.models.EndpointHealthDataListResult":"Microsoft.Devices.EndpointHealthDataListResult","com.azure.resourcemanager.iothub.implementation.models.EventHubConsumerGroupsListResult":"Microsoft.Devices.EventHubConsumerGroupsListResult","com.azure.resourcemanager.iothub.implementation.models.IotHubDescriptionListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iothub.implementation.models.IotHubQuotaMetricInfoListResult":"Microsoft.Devices.IotHubQuotaMetricInfoListResult","com.azure.resourcemanager.iothub.implementation.models.IotHubSkuDescriptionListResult":"Microsoft.Devices.IotHubSkuDescriptionListResult","com.azure.resourcemanager.iothub.implementation.models.JobResponseListResult":"Microsoft.Devices.JobResponseListResult","com.azure.resourcemanager.iothub.implementation.models.OperationListResult":"Microsoft.Devices.OperationListResult","com.azure.resourcemanager.iothub.implementation.models.SharedAccessSignatureAuthorizationRuleListResult":"Microsoft.Devices.SharedAccessSignatureAuthorizationRuleListResult","com.azure.resourcemanager.iothub.models.AccessRights":"Microsoft.Devices.AccessRights","com.azure.resourcemanager.iothub.models.ArmIdentity":"Microsoft.Devices.ArmIdentity","com.azure.resourcemanager.iothub.models.ArmUserIdentity":"Microsoft.Devices.ArmUserIdentity","com.azure.resourcemanager.iothub.models.AuthenticationType":"Microsoft.Devices.AuthenticationType","com.azure.resourcemanager.iothub.models.Capabilities":"Microsoft.Devices.Capabilities","com.azure.resourcemanager.iothub.models.CertificateProperties":"Microsoft.Devices.CertificateProperties","com.azure.resourcemanager.iothub.models.CertificatePropertiesWithNonce":"Microsoft.Devices.CertificatePropertiesWithNonce","com.azure.resourcemanager.iothub.models.CertificateVerificationDescription":"Microsoft.Devices.CertificateVerificationDescription","com.azure.resourcemanager.iothub.models.CloudToDeviceProperties":"Microsoft.Devices.CloudToDeviceProperties","com.azure.resourcemanager.iothub.models.DefaultAction":"Microsoft.Devices.DefaultAction","com.azure.resourcemanager.iothub.models.DeviceRegistry":"Microsoft.Devices.DeviceRegistry","com.azure.resourcemanager.iothub.models.EncryptionPropertiesDescription":"Microsoft.Devices.EncryptionPropertiesDescription","com.azure.resourcemanager.iothub.models.EndpointHealthStatus":"Microsoft.Devices.EndpointHealthStatus","com.azure.resourcemanager.iothub.models.EnrichmentProperties":"Microsoft.Devices.EnrichmentProperties","com.azure.resourcemanager.iothub.models.ErrorDetails":"Microsoft.Devices.ErrorDetails","com.azure.resourcemanager.iothub.models.EventHubConsumerGroupBodyDescription":"Microsoft.Devices.EventHubConsumerGroupBodyDescription","com.azure.resourcemanager.iothub.models.EventHubConsumerGroupName":"Microsoft.Devices.EventHubConsumerGroupName","com.azure.resourcemanager.iothub.models.EventHubProperties":"Microsoft.Devices.EventHubProperties","com.azure.resourcemanager.iothub.models.EventStreamAuthenticationType":"Microsoft.Devices.EventStreamAuthenticationType","com.azure.resourcemanager.iothub.models.ExportDevicesRequest":"Microsoft.Devices.ExportDevicesRequest","com.azure.resourcemanager.iothub.models.FailoverInput":"Microsoft.Devices.FailoverInput","com.azure.resourcemanager.iothub.models.FallbackRouteProperties":"Microsoft.Devices.FallbackRouteProperties","com.azure.resourcemanager.iothub.models.FeedbackProperties":"Microsoft.Devices.FeedbackProperties","com.azure.resourcemanager.iothub.models.GatewayVersion":"Microsoft.Devices.GatewayVersion","com.azure.resourcemanager.iothub.models.GroupIdInformationProperties":"Microsoft.Devices.GroupIdInformationProperties","com.azure.resourcemanager.iothub.models.ImportDevicesRequest":"Microsoft.Devices.ImportDevicesRequest","com.azure.resourcemanager.iothub.models.IotHubCapacity":"Microsoft.Devices.IotHubCapacity","com.azure.resourcemanager.iothub.models.IotHubDetails":"Microsoft.Devices.IotHubDetails","com.azure.resourcemanager.iothub.models.IotHubLocationDescription":"Microsoft.Devices.IotHubLocationDescription","com.azure.resourcemanager.iothub.models.IotHubNameUnavailabilityReason":"Microsoft.Devices.IotHubNameUnavailabilityReason","com.azure.resourcemanager.iothub.models.IotHubProperties":"Microsoft.Devices.IotHubProperties","com.azure.resourcemanager.iothub.models.IotHubPropertiesDeviceStreams":"Microsoft.Devices.IotHubPropertiesDeviceStreams","com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType":"Microsoft.Devices.IotHubReplicaRoleType","com.azure.resourcemanager.iothub.models.IotHubScaleType":"Microsoft.Devices.IotHubScaleType","com.azure.resourcemanager.iothub.models.IotHubSku":"Microsoft.Devices.IotHubSku","com.azure.resourcemanager.iothub.models.IotHubSkuInfo":"Microsoft.Devices.IotHubSkuInfo","com.azure.resourcemanager.iothub.models.IotHubSkuTier":"Microsoft.Devices.IotHubSkuTier","com.azure.resourcemanager.iothub.models.IpFilterActionType":"Microsoft.Devices.IpFilterActionType","com.azure.resourcemanager.iothub.models.IpFilterRule":"Microsoft.Devices.IpFilterRule","com.azure.resourcemanager.iothub.models.IpVersion":"Microsoft.Devices.IpVersion","com.azure.resourcemanager.iothub.models.JobStatus":"Microsoft.Devices.JobStatus","com.azure.resourcemanager.iothub.models.JobType":"Microsoft.Devices.JobType","com.azure.resourcemanager.iothub.models.KeyVaultKeyProperties":"Microsoft.Devices.KeyVaultKeyProperties","com.azure.resourcemanager.iothub.models.ManagedIdentity":"Microsoft.Devices.ManagedIdentity","com.azure.resourcemanager.iothub.models.MatchedRoute":"Microsoft.Devices.MatchedRoute","com.azure.resourcemanager.iothub.models.MessagingEndpointProperties":"Microsoft.Devices.MessagingEndpointProperties","com.azure.resourcemanager.iothub.models.Name":"Microsoft.Devices.Name","com.azure.resourcemanager.iothub.models.NetworkRuleIpAction":"Microsoft.Devices.NetworkRuleIPAction","com.azure.resourcemanager.iothub.models.NetworkRuleSetIpRule":"Microsoft.Devices.NetworkRuleSetIpRule","com.azure.resourcemanager.iothub.models.NetworkRuleSetProperties":"Microsoft.Devices.NetworkRuleSetProperties","com.azure.resourcemanager.iothub.models.OperationDisplay":"Microsoft.Devices.OperationDisplay","com.azure.resourcemanager.iothub.models.OperationInputs":"Microsoft.Devices.OperationInputs","com.azure.resourcemanager.iothub.models.PrivateEndpoint":"Microsoft.Devices.PrivateEndpoint","com.azure.resourcemanager.iothub.models.PrivateEndpointConnectionProperties":"Microsoft.Devices.PrivateEndpointConnectionProperties","com.azure.resourcemanager.iothub.models.PrivateLinkServiceConnectionState":"Microsoft.Devices.PrivateLinkServiceConnectionState","com.azure.resourcemanager.iothub.models.PrivateLinkServiceConnectionStatus":"Microsoft.Devices.PrivateLinkServiceConnectionStatus","com.azure.resourcemanager.iothub.models.PublicNetworkAccess":"Microsoft.Devices.PublicNetworkAccess","com.azure.resourcemanager.iothub.models.ResourceIdentityType":"Microsoft.Devices.ResourceIdentityType","com.azure.resourcemanager.iothub.models.RootCertificateProperties":"Microsoft.Devices.RootCertificateProperties","com.azure.resourcemanager.iothub.models.RouteCompilationError":"Microsoft.Devices.RouteCompilationError","com.azure.resourcemanager.iothub.models.RouteErrorPosition":"Microsoft.Devices.RouteErrorPosition","com.azure.resourcemanager.iothub.models.RouteErrorRange":"Microsoft.Devices.RouteErrorRange","com.azure.resourcemanager.iothub.models.RouteErrorSeverity":"Microsoft.Devices.RouteErrorSeverity","com.azure.resourcemanager.iothub.models.RouteProperties":"Microsoft.Devices.RouteProperties","com.azure.resourcemanager.iothub.models.RoutingCosmosDBSqlApiProperties":"Microsoft.Devices.RoutingCosmosDBSqlApiProperties","com.azure.resourcemanager.iothub.models.RoutingEndpoints":"Microsoft.Devices.RoutingEndpoints","com.azure.resourcemanager.iothub.models.RoutingEventHubProperties":"Microsoft.Devices.RoutingEventHubProperties","com.azure.resourcemanager.iothub.models.RoutingEventStreamProperties":"Microsoft.Devices.RoutingEventStreamProperties","com.azure.resourcemanager.iothub.models.RoutingMessage":"Microsoft.Devices.RoutingMessage","com.azure.resourcemanager.iothub.models.RoutingProperties":"Microsoft.Devices.RoutingProperties","com.azure.resourcemanager.iothub.models.RoutingServiceBusQueueEndpointProperties":"Microsoft.Devices.RoutingServiceBusQueueEndpointProperties","com.azure.resourcemanager.iothub.models.RoutingServiceBusTopicEndpointProperties":"Microsoft.Devices.RoutingServiceBusTopicEndpointProperties","com.azure.resourcemanager.iothub.models.RoutingSource":"Microsoft.Devices.RoutingSource","com.azure.resourcemanager.iothub.models.RoutingStorageContainerProperties":"Microsoft.Devices.RoutingStorageContainerProperties","com.azure.resourcemanager.iothub.models.RoutingStorageContainerPropertiesEncoding":"Microsoft.Devices.RoutingStorageContainerPropertiesEncoding","com.azure.resourcemanager.iothub.models.RoutingTwin":"Microsoft.Devices.RoutingTwin","com.azure.resourcemanager.iothub.models.RoutingTwinProperties":"Microsoft.Devices.RoutingTwinProperties","com.azure.resourcemanager.iothub.models.StorageEndpointProperties":"Microsoft.Devices.StorageEndpointProperties","com.azure.resourcemanager.iothub.models.TagsResource":"Microsoft.Devices.TagsResource","com.azure.resourcemanager.iothub.models.TestAllRoutesInput":"Microsoft.Devices.TestAllRoutesInput","com.azure.resourcemanager.iothub.models.TestResultStatus":"Microsoft.Devices.TestResultStatus","com.azure.resourcemanager.iothub.models.TestRouteInput":"Microsoft.Devices.TestRouteInput","com.azure.resourcemanager.iothub.models.TestRouteResultDetails":"Microsoft.Devices.TestRouteResultDetails","com.azure.resourcemanager.iothub.models.UserSubscriptionQuota":"Microsoft.Devices.UserSubscriptionQuota"},"generatedFiles":["src/main/java/com/azure/resourcemanager/iothub/IotHubManager.java","src/main/java/com/azure/resourcemanager/iothub/fluent/CertificatesClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/IotHubClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/IotHubResourcesClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/IotHubsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/PrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/PrivateLinkResourcesOperationsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/ResourceProviderCommonsClient.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/CertificateDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/CertificateListDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/CertificateWithNonceDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/EndpointHealthDataInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/EventHubConsumerGroupInfoInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/GroupIdInformationInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubNameAvailabilityInfoInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubQuotaMetricInfoInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/IotHubSkuDescriptionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/JobResponseInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/PrivateLinkResourcesInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/RegistryStatisticsInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/SharedAccessSignatureAuthorizationRuleInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/TestAllRoutesResultInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/TestRouteResultInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/UserSubscriptionQuotaListResultInner.java","src/main/java/com/azure/resourcemanager/iothub/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/iothub/fluent/package-info.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificateDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificateListDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificateWithNonceDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificatesClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/CertificatesImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/EndpointHealthDataImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/EventHubConsumerGroupInfoImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/GroupIdInformationImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientBuilder.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubNameAvailabilityInfoImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubQuotaMetricInfoImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubResourcesImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubSkuDescriptionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/JobResponseImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateEndpointConnectionImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateEndpointConnectionsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateLinkResourcesImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateLinkResourcesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/PrivateLinkResourcesOperationsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/RegistryStatisticsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/iothub/implementation/ResourceProviderCommonsClientImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/ResourceProviderCommonsImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/SharedAccessSignatureAuthorizationRuleImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/TestAllRoutesResultImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/TestRouteResultImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/UserSubscriptionQuotaListResultImpl.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/EndpointHealthDataListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/EventHubConsumerGroupsListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/IotHubDescriptionListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/IotHubQuotaMetricInfoListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/IotHubSkuDescriptionListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/JobResponseListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/models/SharedAccessSignatureAuthorizationRuleListResult.java","src/main/java/com/azure/resourcemanager/iothub/implementation/package-info.java","src/main/java/com/azure/resourcemanager/iothub/models/AccessRights.java","src/main/java/com/azure/resourcemanager/iothub/models/ArmIdentity.java","src/main/java/com/azure/resourcemanager/iothub/models/ArmUserIdentity.java","src/main/java/com/azure/resourcemanager/iothub/models/AuthenticationType.java","src/main/java/com/azure/resourcemanager/iothub/models/Capabilities.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateListDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificatePropertiesWithNonce.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateVerificationDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/CertificateWithNonceDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/Certificates.java","src/main/java/com/azure/resourcemanager/iothub/models/CloudToDeviceProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/DefaultAction.java","src/main/java/com/azure/resourcemanager/iothub/models/DeviceRegistry.java","src/main/java/com/azure/resourcemanager/iothub/models/EncryptionPropertiesDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/EndpointHealthData.java","src/main/java/com/azure/resourcemanager/iothub/models/EndpointHealthStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/EnrichmentProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ErrorDetails.java","src/main/java/com/azure/resourcemanager/iothub/models/ErrorDetailsException.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupBodyDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupName.java","src/main/java/com/azure/resourcemanager/iothub/models/EventHubProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/EventStreamAuthenticationType.java","src/main/java/com/azure/resourcemanager/iothub/models/ExportDevicesRequest.java","src/main/java/com/azure/resourcemanager/iothub/models/FailoverInput.java","src/main/java/com/azure/resourcemanager/iothub/models/FallbackRouteProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/FeedbackProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/GatewayVersion.java","src/main/java/com/azure/resourcemanager/iothub/models/GroupIdInformation.java","src/main/java/com/azure/resourcemanager/iothub/models/GroupIdInformationProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ImportDevicesRequest.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubCapacity.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubDetails.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubLocationDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubNameAvailabilityInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubNameUnavailabilityReason.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubPropertiesDeviceStreams.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubQuotaMetricInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubReplicaRoleType.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubResources.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubScaleType.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSku.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuDescription.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuInfo.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubSkuTier.java","src/main/java/com/azure/resourcemanager/iothub/models/IotHubs.java","src/main/java/com/azure/resourcemanager/iothub/models/IpFilterActionType.java","src/main/java/com/azure/resourcemanager/iothub/models/IpFilterRule.java","src/main/java/com/azure/resourcemanager/iothub/models/IpVersion.java","src/main/java/com/azure/resourcemanager/iothub/models/JobResponse.java","src/main/java/com/azure/resourcemanager/iothub/models/JobStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/JobType.java","src/main/java/com/azure/resourcemanager/iothub/models/KeyVaultKeyProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/ManagedIdentity.java","src/main/java/com/azure/resourcemanager/iothub/models/MatchedRoute.java","src/main/java/com/azure/resourcemanager/iothub/models/MessagingEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/Name.java","src/main/java/com/azure/resourcemanager/iothub/models/NetworkRuleIpAction.java","src/main/java/com/azure/resourcemanager/iothub/models/NetworkRuleSetIpRule.java","src/main/java/com/azure/resourcemanager/iothub/models/NetworkRuleSetProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/Operation.java","src/main/java/com/azure/resourcemanager/iothub/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/iothub/models/OperationInputs.java","src/main/java/com/azure/resourcemanager/iothub/models/Operations.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpoint.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpointConnection.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpointConnectionProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateEndpointConnections.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkResources.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkResourcesOperations.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/iothub/models/PrivateLinkServiceConnectionStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/PublicNetworkAccess.java","src/main/java/com/azure/resourcemanager/iothub/models/RegistryStatistics.java","src/main/java/com/azure/resourcemanager/iothub/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/iothub/models/ResourceProviderCommons.java","src/main/java/com/azure/resourcemanager/iothub/models/RootCertificateProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteCompilationError.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteErrorPosition.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteErrorRange.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteErrorSeverity.java","src/main/java/com/azure/resourcemanager/iothub/models/RouteProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingCosmosDBSqlApiProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingEndpoints.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventHubProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventStreamProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingMessage.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingServiceBusQueueEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingServiceBusTopicEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingSource.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingStorageContainerProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingStorageContainerPropertiesEncoding.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwin.java","src/main/java/com/azure/resourcemanager/iothub/models/RoutingTwinProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/SharedAccessSignatureAuthorizationRule.java","src/main/java/com/azure/resourcemanager/iothub/models/StorageEndpointProperties.java","src/main/java/com/azure/resourcemanager/iothub/models/TagsResource.java","src/main/java/com/azure/resourcemanager/iothub/models/TestAllRoutesInput.java","src/main/java/com/azure/resourcemanager/iothub/models/TestAllRoutesResult.java","src/main/java/com/azure/resourcemanager/iothub/models/TestResultStatus.java","src/main/java/com/azure/resourcemanager/iothub/models/TestRouteInput.java","src/main/java/com/azure/resourcemanager/iothub/models/TestRouteResult.java","src/main/java/com/azure/resourcemanager/iothub/models/TestRouteResultDetails.java","src/main/java/com/azure/resourcemanager/iothub/models/UserSubscriptionQuota.java","src/main/java/com/azure/resourcemanager/iothub/models/UserSubscriptionQuotaListResult.java","src/main/java/com/azure/resourcemanager/iothub/models/package-info.java","src/main/java/com/azure/resourcemanager/iothub/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateSamples.java
index 522638105e57..183cbddcca36 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateSamples.java
@@ -11,7 +11,7 @@
*/
public final class CertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_certificatescreateorupdate.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_certificatescreateorupdate.json
*/
/**
* Sample code: Certificates_CreateOrUpdate.
@@ -27,7 +27,7 @@ public static void certificatesCreateOrUpdate(com.azure.resourcemanager.iothub.I
}
/*
- * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_Certificates_With_DeviceRegistryPolicy.json
+ * x-ms-original-file: 2026-05-01-preview/CreateOrReplace_Certificates_With_DeviceRegistryPolicy.json
*/
/**
* Sample code: CreateOrReplace_Certificates_With_DeviceRegistryPolicy.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteSamples.java
index ca516caf0410..47338844ad78 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class CertificatesDeleteSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_certificatesdelete.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_certificatesdelete.json
*/
/**
* Sample code: Certificates_Delete.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGenerateVerificationCodeSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGenerateVerificationCodeSamples.java
index 9e2daef54456..ccf94ce24de5 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGenerateVerificationCodeSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGenerateVerificationCodeSamples.java
@@ -9,7 +9,7 @@
*/
public final class CertificatesGenerateVerificationCodeSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_generateverificationcode.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_generateverificationcode.json
*/
/**
* Sample code: Certificates_GenerateVerificationCode.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGetSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGetSamples.java
index c79312162c6e..f2475a2443d7 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGetSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class CertificatesGetSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getcertificate.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getcertificate.json
*/
/**
* Sample code: Certificates_Get.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubSamples.java
index f451881d77e6..fa75cac4a006 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubSamples.java
@@ -9,7 +9,7 @@
*/
public final class CertificatesListByIotHubSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listcertificates.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listcertificates.json
*/
/**
* Sample code: Certificates_ListByIotHub.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifySamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifySamples.java
index 319926201e11..4af9358e67f2 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifySamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifySamples.java
@@ -11,7 +11,7 @@
*/
public final class CertificatesVerifySamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_certverify.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_certverify.json
*/
/**
* Sample code: Certificates_Verify.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubManualFailoverSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubManualFailoverSamples.java
index f4a784bfee7f..1e24eb4e5729 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubManualFailoverSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubManualFailoverSamples.java
@@ -11,7 +11,7 @@
*/
public final class IotHubManualFailoverSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/IotHub_ManualFailover.json
+ * x-ms-original-file: 2026-05-01-preview/IotHub_ManualFailover.json
*/
/**
* Sample code: IotHub_ManualFailover.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCheckNameAvailabilitySamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCheckNameAvailabilitySamples.java
index a86be5ff23dc..fe7968513f65 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCheckNameAvailabilitySamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCheckNameAvailabilitySamples.java
@@ -11,7 +11,7 @@
*/
public final class IotHubResourceCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: 2026-03-01-preview/checkNameAvailability.json
+ * x-ms-original-file: 2026-05-01-preview/checkNameAvailability.json
*/
/**
* Sample code: IotHubResource_CheckNameAvailability.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateEventHubConsumerGroupSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateEventHubConsumerGroupSamples.java
index b42a653b1da2..e0a423e816c4 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateEventHubConsumerGroupSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateEventHubConsumerGroupSamples.java
@@ -11,7 +11,7 @@
*/
public final class IotHubResourceCreateEventHubConsumerGroupSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_createconsumergroup.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_createconsumergroup.json
*/
/**
* Sample code: IotHubResource_CreateEventHubConsumerGroup.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateOrUpdateSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateOrUpdateSamples.java
index 0a646e95266d..b9dc51d5304f 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateOrUpdateSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceCreateOrUpdateSamples.java
@@ -4,11 +4,13 @@
package com.azure.resourcemanager.iothub.generated;
+import com.azure.resourcemanager.iothub.models.ArmIdentity;
import com.azure.resourcemanager.iothub.models.Capabilities;
import com.azure.resourcemanager.iothub.models.CloudToDeviceProperties;
import com.azure.resourcemanager.iothub.models.DefaultAction;
import com.azure.resourcemanager.iothub.models.DeviceRegistry;
import com.azure.resourcemanager.iothub.models.EventHubProperties;
+import com.azure.resourcemanager.iothub.models.EventStreamAuthenticationType;
import com.azure.resourcemanager.iothub.models.FallbackRouteProperties;
import com.azure.resourcemanager.iothub.models.FeedbackProperties;
import com.azure.resourcemanager.iothub.models.IotHubProperties;
@@ -19,8 +21,10 @@
import com.azure.resourcemanager.iothub.models.NetworkRuleIpAction;
import com.azure.resourcemanager.iothub.models.NetworkRuleSetIpRule;
import com.azure.resourcemanager.iothub.models.NetworkRuleSetProperties;
+import com.azure.resourcemanager.iothub.models.ResourceIdentityType;
import com.azure.resourcemanager.iothub.models.RootCertificateProperties;
import com.azure.resourcemanager.iothub.models.RoutingEndpoints;
+import com.azure.resourcemanager.iothub.models.RoutingEventStreamProperties;
import com.azure.resourcemanager.iothub.models.RoutingProperties;
import com.azure.resourcemanager.iothub.models.RoutingSource;
import com.azure.resourcemanager.iothub.models.StorageEndpointProperties;
@@ -34,7 +38,7 @@
*/
public final class IotHubResourceCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/CreateOrReplace_IoTHub_With_DeviceRegistry.json
+ * x-ms-original-file: 2026-05-01-preview/CreateOrReplace_IoTHub_With_DeviceRegistry.json
*/
/**
* Sample code: CreateOrReplace_IoTHub_With_DeviceRegistry.
@@ -46,7 +50,7 @@ public static void createOrReplaceIoTHubWithDeviceRegistry(com.azure.resourceman
.define("testHub")
.withRegion("centraluseuap")
.withExistingResourceGroup("myResourceGroup")
- .withSku(new IotHubSkuInfo().withName(IotHubSku.GEN2).withCapacity(1L))
+ .withSku(new IotHubSkuInfo().withName(IotHubSku.S1).withCapacity(1L))
.withTags(mapOf())
.withProperties(new IotHubProperties().withIpFilterRules(Arrays.asList())
.withNetworkRuleSets(new NetworkRuleSetProperties().withDefaultAction(DefaultAction.DENY)
@@ -65,7 +69,8 @@ public static void createOrReplaceIoTHubWithDeviceRegistry(com.azure.resourceman
.withEndpoints(new RoutingEndpoints().withServiceBusQueues(Arrays.asList())
.withServiceBusTopics(Arrays.asList())
.withEventHubs(Arrays.asList())
- .withStorageContainers(Arrays.asList()))
+ .withStorageContainers(Arrays.asList())
+ .withEventStreams(Arrays.asList()))
.withRoutes(Arrays.asList())
.withFallbackRoute(new FallbackRouteProperties().withName("$fallback")
.withSource(RoutingSource.DEVICE_MESSAGES)
@@ -99,7 +104,7 @@ public static void createOrReplaceIoTHubWithDeviceRegistry(com.azure.resourceman
}
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_createOrUpdate.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_createOrUpdate.json
*/
/**
* Sample code: IotHubResource_CreateOrUpdate.
@@ -126,11 +131,18 @@ public static void iotHubResourceCreateOrUpdate(com.azure.resourcemanager.iothub
.withMinTlsVersion("1.2")
.withEventHubEndpoints(
mapOf("events", new EventHubProperties().withRetentionTimeInDays(1L).withPartitionCount(2)))
- .withRouting(new RoutingProperties()
- .withEndpoints(new RoutingEndpoints().withServiceBusQueues(Arrays.asList())
- .withServiceBusTopics(Arrays.asList())
- .withEventHubs(Arrays.asList())
- .withStorageContainers(Arrays.asList()))
+ .withRouting(new RoutingProperties().withEndpoints(new RoutingEndpoints()
+ .withServiceBusQueues(Arrays.asList())
+ .withServiceBusTopics(Arrays.asList())
+ .withEventHubs(Arrays.asList())
+ .withStorageContainers(Arrays.asList())
+ .withEventStreams(Arrays.asList(new RoutingEventStreamProperties().withName("eventstreamendpoint1")
+ .withEndpointUri("sb://eventstreamcustomsourceehns.azure.servicebus.net")
+ .withEntityPath("eventstreamcustomsourceeh")
+ .withAuthenticationType(EventStreamAuthenticationType.IDENTITY_BASED)
+ .withWorkspaceId("11111111-1111-1111-1111-111111111111")
+ .withEventStreamId("22222222-2222-2222-2222-222222222222")
+ .withSourceId("33333333-3333-3333-3333-333333333333"))))
.withRoutes(Arrays.asList())
.withFallbackRoute(new FallbackRouteProperties().withName("$fallback")
.withSource(RoutingSource.DEVICE_MESSAGES)
@@ -156,6 +168,7 @@ public static void iotHubResourceCreateOrUpdate(com.azure.resourcemanager.iothub
.withRootCertificate(new RootCertificateProperties().withEnableRootCertificateV2(true))
.withIpVersion(IpVersion.IPV4IPV6))
.withEtag("AAAAAAFD6M4=")
+ .withIdentity(new ArmIdentity().withType(ResourceIdentityType.SYSTEM_ASSIGNED))
.create();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteEventHubConsumerGroupSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteEventHubConsumerGroupSamples.java
index 679009116822..7b179dc04728 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteEventHubConsumerGroupSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteEventHubConsumerGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceDeleteEventHubConsumerGroupSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_deleteconsumergroup.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_deleteconsumergroup.json
*/
/**
* Sample code: IotHubResource_DeleteEventHubConsumerGroup.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteSamples.java
index 32a47c16356e..a7bde8b43ed5 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceDeleteSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_delete.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_delete.json
*/
/**
* Sample code: IotHubResource_Delete.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceExportDevicesSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceExportDevicesSamples.java
index 5f8ccea20118..f9afd779f61c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceExportDevicesSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceExportDevicesSamples.java
@@ -13,7 +13,7 @@
*/
public final class IotHubResourceExportDevicesSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_exportdevices.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_exportdevices.json
*/
/**
* Sample code: IotHubResource_ExportDevices.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetByResourceGroupSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetByResourceGroupSamples.java
index 1437d56d8c28..ba4ac6a66b2d 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetByResourceGroupSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_get.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_get.json
*/
/**
* Sample code: IotHubResource_Get.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEndpointHealthSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEndpointHealthSamples.java
index 808483c385d9..33faf07067ba 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEndpointHealthSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEndpointHealthSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetEndpointHealthSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_routingendpointhealth.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_routingendpointhealth.json
*/
/**
* Sample code: IotHubResource_GetEndpointHealth.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEventHubConsumerGroupSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEventHubConsumerGroupSamples.java
index f92a111b9430..7d109caa5a3f 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEventHubConsumerGroupSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetEventHubConsumerGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetEventHubConsumerGroupSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getconsumergroup.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getconsumergroup.json
*/
/**
* Sample code: IotHubResource_ListEventHubConsumerGroups.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetJobSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetJobSamples.java
index d28333263b5d..a625805805cd 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetJobSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetJobSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetJobSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getjob.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getjob.json
*/
/**
* Sample code: IotHubResource_GetJob.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetKeysForKeyNameSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetKeysForKeyNameSamples.java
index 1321c03131a9..65e3ff30dc40 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetKeysForKeyNameSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetKeysForKeyNameSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetKeysForKeyNameSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getkey.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getkey.json
*/
/**
* Sample code: IotHubResource_GetKeysForKeyName.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetQuotaMetricsSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetQuotaMetricsSamples.java
index 95ceac249e17..5e6d44912347 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetQuotaMetricsSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetQuotaMetricsSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetQuotaMetricsSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_quotametrics.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_quotametrics.json
*/
/**
* Sample code: IotHubResource_GetQuotaMetrics.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetStatsSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetStatsSamples.java
index f610ef431de6..f15100e9db13 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetStatsSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetStatsSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetStatsSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_stats.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_stats.json
*/
/**
* Sample code: IotHubResource_GetStats.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetValidSkusSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetValidSkusSamples.java
index e5355bceafbb..898e5fac6c19 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetValidSkusSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceGetValidSkusSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceGetValidSkusSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getskus.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getskus.json
*/
/**
* Sample code: IotHubResource_GetValidSkus.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceImportDevicesSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceImportDevicesSamples.java
index 4b0a150ff85f..2dd6f4f5de7d 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceImportDevicesSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceImportDevicesSamples.java
@@ -11,7 +11,7 @@
*/
public final class IotHubResourceImportDevicesSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_importdevices.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_importdevices.json
*/
/**
* Sample code: IotHubResource_ImportDevices.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListByResourceGroupSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListByResourceGroupSamples.java
index 21a0d9e7611c..0a5b4a4d459a 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListByResourceGroupSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listbyrg.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listbyrg.json
*/
/**
* Sample code: IotHubResource_ListByResourceGroup.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListEventHubConsumerGroupsSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListEventHubConsumerGroupsSamples.java
index 66d0c694f98f..75a7ac9893e0 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListEventHubConsumerGroupsSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListEventHubConsumerGroupsSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceListEventHubConsumerGroupsSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listehgroups.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listehgroups.json
*/
/**
* Sample code: IotHubResource_ListEventHubConsumerGroups.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListJobsSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListJobsSamples.java
index d5dd55c4ad1e..b1ea0f870fef 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListJobsSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListJobsSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceListJobsSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listjobs.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listjobs.json
*/
/**
* Sample code: IotHubResource_ListJobs.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListKeysSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListKeysSamples.java
index 14bfdfa2c46f..e1302ecd3eae 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListKeysSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListKeysSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceListKeysSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listkeys.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listkeys.json
*/
/**
* Sample code: IotHubResource_ListKeys.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListSamples.java
index d3fd42a1dd00..f1d560da57d1 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceListSamples.java
@@ -9,7 +9,7 @@
*/
public final class IotHubResourceListSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listbysubscription.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listbysubscription.json
*/
/**
* Sample code: IotHubResource_ListBySubscription.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestAllRoutesSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestAllRoutesSamples.java
index 984767e502fc..27963fbb92b8 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestAllRoutesSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestAllRoutesSamples.java
@@ -15,7 +15,7 @@
*/
public final class IotHubResourceTestAllRoutesSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_testallroutes.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_testallroutes.json
*/
/**
* Sample code: IotHubResource_TestAllRoutes.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestRouteSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestRouteSamples.java
index 199b88075bf5..3e00305ea27c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestRouteSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceTestRouteSamples.java
@@ -17,7 +17,7 @@
*/
public final class IotHubResourceTestRouteSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_testnewroute.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_testnewroute.json
*/
/**
* Sample code: IotHubResource_TestRoute.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceUpdateSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceUpdateSamples.java
index c68b31be343b..949c56ab0faa 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceUpdateSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/IotHubResourceUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class IotHubResourceUpdateSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_patch.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_patch.json
*/
/**
* Sample code: IotHubResource_Update.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/OperationsListSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/OperationsListSamples.java
index b09bdf574b3d..9635f4f8d54d 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/OperationsListSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/OperationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_operations.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_operations.json
*/
/**
* Sample code: Operations_List.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteSamples.java
index 041ccfc66c99..d346d738ac04 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_deleteprivateendpointconnection.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_deleteprivateendpointconnection.json
*/
/**
* Sample code: PrivateEndpointConnection_Delete.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetSamples.java
index cabe590e534a..463767c4b996 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getprivateendpointconnection.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getprivateendpointconnection.json
*/
/**
* Sample code: PrivateEndpointConnection_Get.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListSamples.java
index 5912c44d739a..57c4b52a6111 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listprivateendpointconnections.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listprivateendpointconnections.json
*/
/**
* Sample code: PrivateEndpointConnections_List.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateSamples.java
index 67c5fdeae7a4..e4871e234835 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateSamples.java
@@ -14,7 +14,7 @@
*/
public final class PrivateEndpointConnectionsUpdateSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_updateprivateendpointconnection.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_updateprivateendpointconnection.json
*/
/**
* Sample code: PrivateEndpointConnection_Update.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationGetSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationGetSamples.java
index 80cb0d22ad60..fea870f62cc9 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationGetSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateLinkResourcesOperationGetSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_getprivatelinkresources.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_getprivatelinkresources.json
*/
/**
* Sample code: PrivateLinkResources_List.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationListSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationListSamples.java
index fcec9d503cdf..27484ef3e7f7 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationListSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationListSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateLinkResourcesOperationListSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_listprivatelinkresources.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_listprivatelinkresources.json
*/
/**
* Sample code: PrivateLinkResources_List.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonGetSubscriptionQuotaSamples.java b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonGetSubscriptionQuotaSamples.java
index 68ab21174205..c7643c7430aa 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonGetSubscriptionQuotaSamples.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/samples/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonGetSubscriptionQuotaSamples.java
@@ -9,7 +9,7 @@
*/
public final class ResourceProviderCommonGetSubscriptionQuotaSamples {
/*
- * x-ms-original-file: 2026-03-01-preview/iothub_usages.json
+ * x-ms-original-file: 2026-05-01-preview/iothub_usages.json
*/
/**
* Sample code: ResourceProviderCommon_GetSubscriptionQuota.
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmIdentityTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmIdentityTests.java
index 1c949d8b177f..431372b518ab 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmIdentityTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmIdentityTests.java
@@ -16,18 +16,17 @@ public final class ArmIdentityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ArmIdentity model = BinaryData.fromString(
- "{\"principalId\":\"yskpbhen\",\"tenantId\":\"kcxywnyt\",\"type\":\"None\",\"userAssignedIdentities\":{\"lfktsths\":{\"principalId\":\"qidybyx\",\"clientId\":\"fclhaaxdbabphlwr\"},\"eaxib\":{\"principalId\":\"ocmnyyazttbtwwrq\",\"clientId\":\"edckzywbiexzfey\"},\"d\":{\"principalId\":\"jwbhqwalmuz\",\"clientId\":\"xaepdkzjancuxr\"}}}")
+ "{\"principalId\":\"kzywbiex\",\"tenantId\":\"eyueaxibxujwb\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"d\":{\"principalId\":\"uzyoxaep\",\"clientId\":\"zjancuxr\"},\"zxbzpfzabglc\":{\"principalId\":\"avxbniwdjswztsdb\",\"clientId\":\"nxytxh\"}}}")
.toObject(ArmIdentity.class);
- Assertions.assertEquals(ResourceIdentityType.NONE, model.type());
+ Assertions.assertEquals(ResourceIdentityType.SYSTEM_ASSIGNED, model.type());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ArmIdentity model = new ArmIdentity().withType(ResourceIdentityType.NONE)
- .withUserAssignedIdentities(
- mapOf("lfktsths", new ArmUserIdentity(), "eaxib", new ArmUserIdentity(), "d", new ArmUserIdentity()));
+ ArmIdentity model = new ArmIdentity().withType(ResourceIdentityType.SYSTEM_ASSIGNED)
+ .withUserAssignedIdentities(mapOf("d", new ArmUserIdentity(), "zxbzpfzabglc", new ArmUserIdentity()));
model = BinaryData.fromObject(model).toObject(ArmIdentity.class);
- Assertions.assertEquals(ResourceIdentityType.NONE, model.type());
+ Assertions.assertEquals(ResourceIdentityType.SYSTEM_ASSIGNED, model.type());
}
// Use "Map.of" if available
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmUserIdentityTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmUserIdentityTests.java
index 8899df8be19d..540969a61f49 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmUserIdentityTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ArmUserIdentityTests.java
@@ -10,7 +10,7 @@
public final class ArmUserIdentityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- ArmUserIdentity model = BinaryData.fromString("{\"principalId\":\"avxbniwdjswztsdb\",\"clientId\":\"nxytxh\"}")
+ ArmUserIdentity model = BinaryData.fromString("{\"principalId\":\"xwtctyqiklbbovpl\",\"clientId\":\"bhvgy\"}")
.toObject(ArmUserIdentity.class);
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateDescriptionInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateDescriptionInnerTests.java
index 0be988c46dda..ed49235e8ef0 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateDescriptionInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateDescriptionInnerTests.java
@@ -13,22 +13,20 @@ public final class CertificateDescriptionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CertificateDescriptionInner model = BinaryData.fromString(
- "{\"properties\":{\"subject\":\"wo\",\"expiry\":\"Sun, 28 Feb 2021 13:28:15 GMT\",\"thumbprint\":\"shrtdtkcnqxwb\",\"isVerified\":true,\"created\":\"Wed, 01 Sep 2021 09:08:06 GMT\",\"updated\":\"Wed, 21 Jul 2021 21:11:01 GMT\",\"certificate\":\"jwaa\",\"policyResourceId\":\"pqiiobyuqe\"},\"etag\":\"qlpqwcciuq\",\"id\":\"dbutauvfbtkuwhh\",\"name\":\"hykojoxafnndlpic\",\"type\":\"koymkcd\"}")
+ "{\"properties\":{\"subject\":\"wqapnedgfbcvk\",\"expiry\":\"Mon, 31 May 2021 02:02:01 GMT\",\"thumbprint\":\"pkeqdcvdrhvoo\",\"isVerified\":true,\"created\":\"Tue, 02 Nov 2021 01:53:07 GMT\",\"updated\":\"Mon, 29 Mar 2021 00:37:52 GMT\",\"certificate\":\"dopcjwvnh\",\"policyResourceId\":\"d\"},\"etag\":\"gx\",\"id\":\"rslpmutwuoeg\",\"name\":\"pkhjwni\",\"type\":\"qsluicp\"}")
.toObject(CertificateDescriptionInner.class);
Assertions.assertTrue(model.properties().isVerified());
- Assertions.assertEquals("jwaa", model.properties().certificate());
- Assertions.assertEquals("pqiiobyuqe", model.properties().policyResourceId());
+ Assertions.assertEquals("dopcjwvnh", model.properties().certificate());
+ Assertions.assertEquals("d", model.properties().policyResourceId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CertificateDescriptionInner model
- = new CertificateDescriptionInner().withProperties(new CertificateProperties().withIsVerified(true)
- .withCertificate("jwaa")
- .withPolicyResourceId("pqiiobyuqe"));
+ CertificateDescriptionInner model = new CertificateDescriptionInner().withProperties(
+ new CertificateProperties().withIsVerified(true).withCertificate("dopcjwvnh").withPolicyResourceId("d"));
model = BinaryData.fromObject(model).toObject(CertificateDescriptionInner.class);
Assertions.assertTrue(model.properties().isVerified());
- Assertions.assertEquals("jwaa", model.properties().certificate());
- Assertions.assertEquals("pqiiobyuqe", model.properties().policyResourceId());
+ Assertions.assertEquals("dopcjwvnh", model.properties().certificate());
+ Assertions.assertEquals("d", model.properties().policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateListDescriptionInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateListDescriptionInnerTests.java
index cfefe1276f19..210ce2da1742 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateListDescriptionInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateListDescriptionInnerTests.java
@@ -12,10 +12,10 @@ public final class CertificateListDescriptionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CertificateListDescriptionInner model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"subject\":\"aeaeneqnzarrw\",\"expiry\":\"Fri, 21 May 2021 16:07:38 GMT\",\"thumbprint\":\"ijfqkacewiipfp\",\"isVerified\":false,\"created\":\"Fri, 06 Aug 2021 09:42:10 GMT\",\"updated\":\"Sun, 24 Jan 2021 11:42:32 GMT\",\"certificate\":\"f\",\"policyResourceId\":\"hqkvpuvksgplsak\"},\"etag\":\"n\",\"id\":\"ynl\",\"name\":\"ph\",\"type\":\"op\"},{\"properties\":{\"subject\":\"lqiyntorzihl\",\"expiry\":\"Sat, 03 Jul 2021 10:26:48 GMT\",\"thumbprint\":\"swsrms\",\"isVerified\":false,\"created\":\"Tue, 30 Mar 2021 08:07:03 GMT\",\"updated\":\"Fri, 08 Oct 2021 11:48:09 GMT\",\"certificate\":\"hckqqzqioxiy\",\"policyResourceId\":\"iizynkedyatrwyh\"},\"etag\":\"ibzyhwitsmyp\",\"id\":\"npcdpumnzgm\",\"name\":\"z\",\"type\":\"mabiknsorgjhxb\"}]}")
+ "{\"value\":[{\"properties\":{\"subject\":\"pwiyzvqtm\",\"expiry\":\"Wed, 22 Sep 2021 09:26:58 GMT\",\"thumbprint\":\"xkp\",\"isVerified\":false,\"created\":\"Tue, 02 Mar 2021 10:38:26 GMT\",\"updated\":\"Wed, 08 Dec 2021 09:50:21 GMT\",\"certificate\":\"mquxvypo\",\"policyResourceId\":\"kopkwhojvpajqgx\"},\"etag\":\"mocmbqfqvmk\",\"id\":\"oz\",\"name\":\"pvhelxprg\",\"type\":\"yat\"}]}")
.toObject(CertificateListDescriptionInner.class);
Assertions.assertFalse(model.value().get(0).properties().isVerified());
- Assertions.assertEquals("f", model.value().get(0).properties().certificate());
- Assertions.assertEquals("hqkvpuvksgplsak", model.value().get(0).properties().policyResourceId());
+ Assertions.assertEquals("mquxvypo", model.value().get(0).properties().certificate());
+ Assertions.assertEquals("kopkwhojvpajqgx", model.value().get(0).properties().policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatePropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatePropertiesTests.java
index aed68a7a48d8..ad2b2df21d94 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatePropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatePropertiesTests.java
@@ -12,20 +12,20 @@ public final class CertificatePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CertificateProperties model = BinaryData.fromString(
- "{\"subject\":\"bpkkpwdre\",\"expiry\":\"Sun, 12 Sep 2021 16:04:39 GMT\",\"thumbprint\":\"vq\",\"isVerified\":false,\"created\":\"Fri, 12 Nov 2021 04:23:21 GMT\",\"updated\":\"Sun, 13 Jun 2021 02:13:45 GMT\",\"certificate\":\"suwsyrsnds\",\"policyResourceId\":\"g\"}")
+ "{\"subject\":\"gk\",\"expiry\":\"Fri, 02 Apr 2021 01:13:45 GMT\",\"thumbprint\":\"bmpaxmodfvu\",\"isVerified\":false,\"created\":\"Wed, 07 Jul 2021 11:17:58 GMT\",\"updated\":\"Sun, 25 Apr 2021 15:51:11 GMT\",\"certificate\":\"vmwy\",\"policyResourceId\":\"fouyf\"}")
.toObject(CertificateProperties.class);
Assertions.assertFalse(model.isVerified());
- Assertions.assertEquals("suwsyrsnds", model.certificate());
- Assertions.assertEquals("g", model.policyResourceId());
+ Assertions.assertEquals("vmwy", model.certificate());
+ Assertions.assertEquals("fouyf", model.policyResourceId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
CertificateProperties model
- = new CertificateProperties().withIsVerified(false).withCertificate("suwsyrsnds").withPolicyResourceId("g");
+ = new CertificateProperties().withIsVerified(false).withCertificate("vmwy").withPolicyResourceId("fouyf");
model = BinaryData.fromObject(model).toObject(CertificateProperties.class);
Assertions.assertFalse(model.isVerified());
- Assertions.assertEquals("suwsyrsnds", model.certificate());
- Assertions.assertEquals("g", model.policyResourceId());
+ Assertions.assertEquals("vmwy", model.certificate());
+ Assertions.assertEquals("fouyf", model.policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateVerificationDescriptionTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateVerificationDescriptionTests.java
index 8848f7db0772..727e3d67543b 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateVerificationDescriptionTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificateVerificationDescriptionTests.java
@@ -11,15 +11,15 @@
public final class CertificateVerificationDescriptionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- CertificateVerificationDescription model
- = BinaryData.fromString("{\"certificate\":\"jzkzi\"}").toObject(CertificateVerificationDescription.class);
- Assertions.assertEquals("jzkzi", model.certificate());
+ CertificateVerificationDescription model = BinaryData.fromString("{\"certificate\":\"tkcnqxwb\"}")
+ .toObject(CertificateVerificationDescription.class);
+ Assertions.assertEquals("tkcnqxwb", model.certificate());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CertificateVerificationDescription model = new CertificateVerificationDescription().withCertificate("jzkzi");
+ CertificateVerificationDescription model = new CertificateVerificationDescription().withCertificate("tkcnqxwb");
model = BinaryData.fromObject(model).toObject(CertificateVerificationDescription.class);
- Assertions.assertEquals("jzkzi", model.certificate());
+ Assertions.assertEquals("tkcnqxwb", model.certificate());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateWithResponseMockTests.java
index a228ddadc0d4..be3f0e858eb7 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesCreateOrUpdateWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class CertificatesCreateOrUpdateWithResponseMockTests {
@Test
public void testCreateOrUpdateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"subject\":\"quwrbehwag\",\"expiry\":\"Mon, 18 Oct 2021 14:47:31 GMT\",\"thumbprint\":\"f\",\"isVerified\":true,\"created\":\"Sat, 07 Aug 2021 03:42:37 GMT\",\"updated\":\"Fri, 12 Nov 2021 21:50:06 GMT\",\"certificate\":\"vhmxtdrjfu\",\"policyResourceId\":\"coebjvewzcj\"},\"etag\":\"m\",\"id\":\"pmguaadraufac\",\"name\":\"kahzo\",\"type\":\"ajjziuxxpshne\"}";
+ = "{\"properties\":{\"subject\":\"v\",\"expiry\":\"Tue, 30 Mar 2021 03:00:35 GMT\",\"thumbprint\":\"emjdftul\",\"isVerified\":false,\"created\":\"Sat, 06 Mar 2021 23:14:05 GMT\",\"updated\":\"Sat, 01 May 2021 02:04:00 GMT\",\"certificate\":\"mtmczuome\",\"policyResourceId\":\"cwwqiokn\"},\"etag\":\"xmojmsvpkjp\",\"id\":\"kwcf\",\"name\":\"ql\",\"type\":\"yxgtczh\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,16 +32,16 @@ public void testCreateOrUpdateWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
CertificateDescription response = manager.certificates()
- .define("qfbumlkxtrqjf")
- .withExistingIotHub("zedqbcvhzlhplo", "qkdlw")
- .withProperties(new CertificateProperties().withIsVerified(true)
- .withCertificate("ubskhudygoookkq")
- .withPolicyResourceId("jb"))
- .withIfMatch("cbhernntiewdj")
+ .define("gdyftumrtwna")
+ .withExistingIotHub("zjxvydfcea", "vlhv")
+ .withProperties(new CertificateProperties().withIsVerified(false)
+ .withCertificate("pxehuwrykqga")
+ .withPolicyResourceId("mvikl"))
+ .withIfMatch("v")
.create();
- Assertions.assertTrue(response.properties().isVerified());
- Assertions.assertEquals("vhmxtdrjfu", response.properties().certificate());
- Assertions.assertEquals("coebjvewzcj", response.properties().policyResourceId());
+ Assertions.assertFalse(response.properties().isVerified());
+ Assertions.assertEquals("mtmczuome", response.properties().certificate());
+ Assertions.assertEquals("cwwqiokn", response.properties().policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteWithResponseMockTests.java
index 0241104a2ef3..70becc556833 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesDeleteWithResponseMockTests.java
@@ -28,8 +28,7 @@ public void testDeleteWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.certificates()
- .deleteWithResponse("lucvpam", "sreuzvxurisjnh", "ytxifqjzgxmrh", "blwpcesutrgj",
- com.azure.core.util.Context.NONE);
+ .deleteWithResponse("xqupevzhf", "totxhojujb", "pelmcuvhixbjxyf", "n", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesGetWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesGetWithResponseMockTests.java
index ed2696b886fb..1242a2f70f49 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesGetWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class CertificatesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"subject\":\"viylwdshfssnrbgy\",\"expiry\":\"Wed, 17 Feb 2021 11:04:17 GMT\",\"thumbprint\":\"msgaoj\",\"isVerified\":false,\"created\":\"Sun, 25 Jul 2021 05:28:25 GMT\",\"updated\":\"Sat, 06 Mar 2021 15:23:12 GMT\",\"certificate\":\"rfh\",\"policyResourceId\":\"ctymoxoftp\"},\"etag\":\"iwyczuh\",\"id\":\"cpqjlihhyu\",\"name\":\"pskasdvlmfwdg\",\"type\":\"x\"}";
+ = "{\"properties\":{\"subject\":\"xnfaazpxdtnk\",\"expiry\":\"Thu, 11 Feb 2021 22:04:16 GMT\",\"thumbprint\":\"j\",\"isVerified\":false,\"created\":\"Sat, 25 Sep 2021 21:21:30 GMT\",\"updated\":\"Sun, 20 Jun 2021 22:12:49 GMT\",\"certificate\":\"kpyouaibrebqaay\",\"policyResourceId\":\"kixqtnqtt\"},\"etag\":\"lwfffi\",\"id\":\"pjpqqmtedltmmji\",\"name\":\"yeozphvwauyqncy\",\"type\":\"upkvipmdsc\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,11 +31,11 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
CertificateDescription response = manager.certificates()
- .getWithResponse("cluyovwxnbkf", "zzxscyhwzdgiruj", "zbomvzzbtdcqvpni", com.azure.core.util.Context.NONE)
+ .getWithResponse("saz", "jjoqkagf", "sxtta", com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertFalse(response.properties().isVerified());
- Assertions.assertEquals("rfh", response.properties().certificate());
- Assertions.assertEquals("ctymoxoftp", response.properties().policyResourceId());
+ Assertions.assertEquals("kpyouaibrebqaay", response.properties().certificate());
+ Assertions.assertEquals("kixqtnqtt", response.properties().policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubWithResponseMockTests.java
index 65046a285d21..95766b09f41c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesListByIotHubWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class CertificatesListByIotHubWithResponseMockTests {
@Test
public void testListByIotHubWithResponse() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"subject\":\"zpnfqntcypsxj\",\"expiry\":\"Thu, 01 Apr 2021 01:04:39 GMT\",\"thumbprint\":\"mwks\",\"isVerified\":true,\"created\":\"Mon, 06 Sep 2021 21:17:56 GMT\",\"updated\":\"Thu, 08 Jul 2021 14:21:01 GMT\",\"certificate\":\"vydfceacvlhvygdy\",\"policyResourceId\":\"umrtwnawjsl\"},\"etag\":\"wkojgcyztsfmzn\",\"id\":\"eqphchqnrnr\",\"name\":\"x\",\"type\":\"huwrykqgaifm\"}]}";
+ = "{\"value\":[{\"properties\":{\"subject\":\"tylbfpncurdoiw\",\"expiry\":\"Thu, 09 Dec 2021 11:25:56 GMT\",\"thumbprint\":\"tywubxcbihwq\",\"isVerified\":true,\"created\":\"Sun, 05 Sep 2021 23:19:39 GMT\",\"updated\":\"Thu, 12 Aug 2021 13:32:47 GMT\",\"certificate\":\"chrdgoihxumwcto\",\"policyResourceId\":\"zj\"},\"etag\":\"udfdlwgg\",\"id\":\"sb\",\"name\":\"tov\",\"type\":\"tgseinqfiufxqkn\"},{\"properties\":{\"subject\":\"gnepttwqmsni\",\"expiry\":\"Mon, 12 Apr 2021 20:00:21 GMT\",\"thumbprint\":\"mqnrojlpijnkr\",\"isVerified\":false,\"created\":\"Tue, 09 Nov 2021 11:24:19 GMT\",\"updated\":\"Mon, 11 Jan 2021 16:21:05 GMT\",\"certificate\":\"atiz\",\"policyResourceId\":\"onasxifto\"},\"etag\":\"yzhftwesgogczh\",\"id\":\"nxkrlgnyhmossxkk\",\"name\":\"thrrgh\",\"type\":\"jbdhqxvc\"},{\"properties\":{\"subject\":\"rpdsof\",\"expiry\":\"Mon, 03 May 2021 16:15:22 GMT\",\"thumbprint\":\"nsvbuswdv\",\"isVerified\":true,\"created\":\"Mon, 22 Feb 2021 05:56:13 GMT\",\"updated\":\"Tue, 06 Apr 2021 20:50:40 GMT\",\"certificate\":\"nvjsrtkfa\",\"policyResourceId\":\"opqgikyzirtxdyux\"},\"etag\":\"jntpsewgioilqu\",\"id\":\"ydxtqm\",\"name\":\"eoxorggufhyao\",\"type\":\"tbghhavgrvkf\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,11 +31,11 @@ public void testListByIotHubWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
CertificateListDescription response = manager.certificates()
- .listByIotHubWithResponse("pauutpw", "qhih", com.azure.core.util.Context.NONE)
+ .listByIotHubWithResponse("lrcoolsttpki", "kkbnu", com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertTrue(response.value().get(0).properties().isVerified());
- Assertions.assertEquals("vydfceacvlhvygdy", response.value().get(0).properties().certificate());
- Assertions.assertEquals("umrtwnawjsl", response.value().get(0).properties().policyResourceId());
+ Assertions.assertEquals("chrdgoihxumwcto", response.value().get(0).properties().certificate());
+ Assertions.assertEquals("zj", response.value().get(0).properties().policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifyWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifyWithResponseMockTests.java
index 067fa93a842b..cc4c60f066f5 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifyWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CertificatesVerifyWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class CertificatesVerifyWithResponseMockTests {
@Test
public void testVerifyWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"subject\":\"sdshmkxmaehvb\",\"expiry\":\"Tue, 19 Oct 2021 14:45:47 GMT\",\"thumbprint\":\"iplt\",\"isVerified\":false,\"created\":\"Thu, 08 Jul 2021 01:08:27 GMT\",\"updated\":\"Fri, 03 Sep 2021 15:46:46 GMT\",\"certificate\":\"gx\",\"policyResourceId\":\"rc\"},\"etag\":\"yklyhpluodpvruud\",\"id\":\"zibt\",\"name\":\"ostgkts\",\"type\":\"vdxec\"}";
+ = "{\"properties\":{\"subject\":\"fwdgzxulucvp\",\"expiry\":\"Thu, 09 Dec 2021 14:22:52 GMT\",\"thumbprint\":\"reuzvxurisjn\",\"isVerified\":true,\"created\":\"Thu, 15 Apr 2021 22:34:41 GMT\",\"updated\":\"Tue, 25 May 2021 13:24:42 GMT\",\"certificate\":\"jzgxmrhublwp\",\"policyResourceId\":\"sutrgjup\"},\"etag\":\"utpwoqhihejqgw\",\"id\":\"nfqn\",\"name\":\"cypsxjv\",\"type\":\"oimwkslirc\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,13 +32,13 @@ public void testVerifyWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
CertificateDescription response = manager.certificates()
- .verifyWithResponse("wcw", "qioknssxmojm", "vpkjpr", "kwcf",
- new CertificateVerificationDescription().withCertificate("ljyxgtczhe"),
+ .verifyWithResponse("rymsgaojfmw", "cotmr", "hirctymoxoftpipi", "yczuhxacpq",
+ new CertificateVerificationDescription().withCertificate("ihhyuspskasd"),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertFalse(response.properties().isVerified());
- Assertions.assertEquals("gx", response.properties().certificate());
- Assertions.assertEquals("rc", response.properties().policyResourceId());
+ Assertions.assertTrue(response.properties().isVerified());
+ Assertions.assertEquals("jzgxmrhublwp", response.properties().certificate());
+ Assertions.assertEquals("sutrgjup", response.properties().policyResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CloudToDevicePropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CloudToDevicePropertiesTests.java
index db14f08afba1..3a41399ebac2 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CloudToDevicePropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/CloudToDevicePropertiesTests.java
@@ -14,27 +14,27 @@ public final class CloudToDevicePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CloudToDeviceProperties model = BinaryData.fromString(
- "{\"maxDeliveryCount\":1543510738,\"defaultTtlAsIso8601\":\"PT16H13M55S\",\"feedback\":{\"lockDurationAsIso8601\":\"PT18H24M8S\",\"ttlAsIso8601\":\"PT190H18M20S\",\"maxDeliveryCount\":68854326}}")
+ "{\"maxDeliveryCount\":826548714,\"defaultTtlAsIso8601\":\"PT237H49M11S\",\"feedback\":{\"lockDurationAsIso8601\":\"PT162H59M18S\",\"ttlAsIso8601\":\"PT214H37M56S\",\"maxDeliveryCount\":266718281}}")
.toObject(CloudToDeviceProperties.class);
- Assertions.assertEquals(1543510738, model.maxDeliveryCount());
- Assertions.assertEquals(Duration.parse("PT16H13M55S"), model.defaultTtlAsIso8601());
- Assertions.assertEquals(Duration.parse("PT18H24M8S"), model.feedback().lockDurationAsIso8601());
- Assertions.assertEquals(Duration.parse("PT190H18M20S"), model.feedback().ttlAsIso8601());
- Assertions.assertEquals(68854326, model.feedback().maxDeliveryCount());
+ Assertions.assertEquals(826548714, model.maxDeliveryCount());
+ Assertions.assertEquals(Duration.parse("PT237H49M11S"), model.defaultTtlAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT162H59M18S"), model.feedback().lockDurationAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT214H37M56S"), model.feedback().ttlAsIso8601());
+ Assertions.assertEquals(266718281, model.feedback().maxDeliveryCount());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- CloudToDeviceProperties model = new CloudToDeviceProperties().withMaxDeliveryCount(1543510738)
- .withDefaultTtlAsIso8601(Duration.parse("PT16H13M55S"))
- .withFeedback(new FeedbackProperties().withLockDurationAsIso8601(Duration.parse("PT18H24M8S"))
- .withTtlAsIso8601(Duration.parse("PT190H18M20S"))
- .withMaxDeliveryCount(68854326));
+ CloudToDeviceProperties model = new CloudToDeviceProperties().withMaxDeliveryCount(826548714)
+ .withDefaultTtlAsIso8601(Duration.parse("PT237H49M11S"))
+ .withFeedback(new FeedbackProperties().withLockDurationAsIso8601(Duration.parse("PT162H59M18S"))
+ .withTtlAsIso8601(Duration.parse("PT214H37M56S"))
+ .withMaxDeliveryCount(266718281));
model = BinaryData.fromObject(model).toObject(CloudToDeviceProperties.class);
- Assertions.assertEquals(1543510738, model.maxDeliveryCount());
- Assertions.assertEquals(Duration.parse("PT16H13M55S"), model.defaultTtlAsIso8601());
- Assertions.assertEquals(Duration.parse("PT18H24M8S"), model.feedback().lockDurationAsIso8601());
- Assertions.assertEquals(Duration.parse("PT190H18M20S"), model.feedback().ttlAsIso8601());
- Assertions.assertEquals(68854326, model.feedback().maxDeliveryCount());
+ Assertions.assertEquals(826548714, model.maxDeliveryCount());
+ Assertions.assertEquals(Duration.parse("PT237H49M11S"), model.defaultTtlAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT162H59M18S"), model.feedback().lockDurationAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT214H37M56S"), model.feedback().ttlAsIso8601());
+ Assertions.assertEquals(266718281, model.feedback().maxDeliveryCount());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/DeviceRegistryTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/DeviceRegistryTests.java
index 7a63e2750c33..ccff687f146f 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/DeviceRegistryTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/DeviceRegistryTests.java
@@ -12,18 +12,18 @@ public final class DeviceRegistryTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DeviceRegistry model
- = BinaryData.fromString("{\"namespaceResourceId\":\"na\",\"identityResourceId\":\"mhjrunmpxttdbhr\"}")
+ = BinaryData.fromString("{\"namespaceResourceId\":\"thsu\",\"identityResourceId\":\"cmnyyazttb\"}")
.toObject(DeviceRegistry.class);
- Assertions.assertEquals("na", model.namespaceResourceId());
- Assertions.assertEquals("mhjrunmpxttdbhr", model.identityResourceId());
+ Assertions.assertEquals("thsu", model.namespaceResourceId());
+ Assertions.assertEquals("cmnyyazttb", model.identityResourceId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
DeviceRegistry model
- = new DeviceRegistry().withNamespaceResourceId("na").withIdentityResourceId("mhjrunmpxttdbhr");
+ = new DeviceRegistry().withNamespaceResourceId("thsu").withIdentityResourceId("cmnyyazttb");
model = BinaryData.fromObject(model).toObject(DeviceRegistry.class);
- Assertions.assertEquals("na", model.namespaceResourceId());
- Assertions.assertEquals("mhjrunmpxttdbhr", model.identityResourceId());
+ Assertions.assertEquals("thsu", model.namespaceResourceId());
+ Assertions.assertEquals("cmnyyazttb", model.identityResourceId());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataInnerTests.java
index 2f1c4bfd3b6f..578f79f2a73d 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataInnerTests.java
@@ -14,13 +14,13 @@ public final class EndpointHealthDataInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EndpointHealthDataInner model = BinaryData.fromString(
- "{\"endpointId\":\"wit\",\"healthStatus\":\"degraded\",\"lastKnownError\":\"awgqwgxhni\",\"lastKnownErrorTime\":\"Thu, 14 Oct 2021 20:39:54 GMT\",\"lastSuccessfulSendAttemptTime\":\"Fri, 28 May 2021 01:48:43 GMT\",\"lastSendAttemptTime\":\"Tue, 05 Jan 2021 02:20:26 GMT\"}")
+ "{\"endpointId\":\"lcgwxzvlvqh\",\"healthStatus\":\"dead\",\"lastKnownError\":\"gibtnm\",\"lastKnownErrorTime\":\"Fri, 02 Jul 2021 21:05:28 GMT\",\"lastSuccessfulSendAttemptTime\":\"Sat, 01 May 2021 00:04:13 GMT\",\"lastSendAttemptTime\":\"Fri, 30 Jul 2021 14:06:14 GMT\"}")
.toObject(EndpointHealthDataInner.class);
- Assertions.assertEquals("wit", model.endpointId());
- Assertions.assertEquals(EndpointHealthStatus.DEGRADED, model.healthStatus());
- Assertions.assertEquals("awgqwgxhni", model.lastKnownError());
- Assertions.assertEquals(OffsetDateTime.parse("2021-10-14T20:39:54Z"), model.lastKnownErrorTime());
- Assertions.assertEquals(OffsetDateTime.parse("2021-05-28T01:48:43Z"), model.lastSuccessfulSendAttemptTime());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-05T02:20:26Z"), model.lastSendAttemptTime());
+ Assertions.assertEquals("lcgwxzvlvqh", model.endpointId());
+ Assertions.assertEquals(EndpointHealthStatus.DEAD, model.healthStatus());
+ Assertions.assertEquals("gibtnm", model.lastKnownError());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-07-02T21:05:28Z"), model.lastKnownErrorTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-01T00:04:13Z"), model.lastSuccessfulSendAttemptTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-07-30T14:06:14Z"), model.lastSendAttemptTime());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataListResultTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataListResultTests.java
index ed3e0ba68d9d..9136d516621c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataListResultTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EndpointHealthDataListResultTests.java
@@ -14,17 +14,17 @@ public final class EndpointHealthDataListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EndpointHealthDataListResult model = BinaryData.fromString(
- "{\"value\":[{\"endpointId\":\"ebwpucwwfvo\",\"healthStatus\":\"dead\",\"lastKnownError\":\"euecivyhzceuoj\",\"lastKnownErrorTime\":\"Fri, 06 Aug 2021 17:35:05 GMT\",\"lastSuccessfulSendAttemptTime\":\"Wed, 13 Jan 2021 06:34:52 GMT\",\"lastSendAttemptTime\":\"Mon, 11 Jan 2021 08:00:10 GMT\"}],\"nextLink\":\"otwmcdyt\"}")
+ "{\"value\":[{\"endpointId\":\"btdhxujznbm\",\"healthStatus\":\"unknown\",\"lastKnownError\":\"wpr\",\"lastKnownErrorTime\":\"Sun, 10 Jan 2021 20:10:28 GMT\",\"lastSuccessfulSendAttemptTime\":\"Tue, 11 May 2021 15:12:41 GMT\",\"lastSendAttemptTime\":\"Mon, 01 Feb 2021 23:11:32 GMT\"},{\"endpointId\":\"upjm\",\"healthStatus\":\"healthy\",\"lastKnownError\":\"obbc\",\"lastKnownErrorTime\":\"Fri, 12 Mar 2021 03:03:28 GMT\",\"lastSuccessfulSendAttemptTime\":\"Mon, 01 Nov 2021 16:23:57 GMT\",\"lastSendAttemptTime\":\"Sat, 30 Jan 2021 14:58:59 GMT\"}],\"nextLink\":\"plrbpbewtghf\"}")
.toObject(EndpointHealthDataListResult.class);
- Assertions.assertEquals("ebwpucwwfvo", model.value().get(0).endpointId());
- Assertions.assertEquals(EndpointHealthStatus.DEAD, model.value().get(0).healthStatus());
- Assertions.assertEquals("euecivyhzceuoj", model.value().get(0).lastKnownError());
- Assertions.assertEquals(OffsetDateTime.parse("2021-08-06T17:35:05Z"),
+ Assertions.assertEquals("btdhxujznbm", model.value().get(0).endpointId());
+ Assertions.assertEquals(EndpointHealthStatus.UNKNOWN, model.value().get(0).healthStatus());
+ Assertions.assertEquals("wpr", model.value().get(0).lastKnownError());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-01-10T20:10:28Z"),
model.value().get(0).lastKnownErrorTime());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-13T06:34:52Z"),
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-11T15:12:41Z"),
model.value().get(0).lastSuccessfulSendAttemptTime());
- Assertions.assertEquals(OffsetDateTime.parse("2021-01-11T08:00:10Z"),
+ Assertions.assertEquals(OffsetDateTime.parse("2021-02-01T23:11:32Z"),
model.value().get(0).lastSendAttemptTime());
- Assertions.assertEquals("otwmcdyt", model.nextLink());
+ Assertions.assertEquals("plrbpbewtghf", model.nextLink());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupBodyDescriptionTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupBodyDescriptionTests.java
index 7a9c6a73b91b..3f2d06aa2b4a 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupBodyDescriptionTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupBodyDescriptionTests.java
@@ -12,17 +12,16 @@
public final class EventHubConsumerGroupBodyDescriptionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- EventHubConsumerGroupBodyDescription model
- = BinaryData.fromString("{\"properties\":{\"name\":\"gureodkwobdag\"}}")
- .toObject(EventHubConsumerGroupBodyDescription.class);
- Assertions.assertEquals("gureodkwobdag", model.properties().name());
+ EventHubConsumerGroupBodyDescription model = BinaryData.fromString("{\"properties\":{\"name\":\"l\"}}")
+ .toObject(EventHubConsumerGroupBodyDescription.class);
+ Assertions.assertEquals("l", model.properties().name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EventHubConsumerGroupBodyDescription model = new EventHubConsumerGroupBodyDescription()
- .withProperties(new EventHubConsumerGroupName().withName("gureodkwobdag"));
+ EventHubConsumerGroupBodyDescription model
+ = new EventHubConsumerGroupBodyDescription().withProperties(new EventHubConsumerGroupName().withName("l"));
model = BinaryData.fromObject(model).toObject(EventHubConsumerGroupBodyDescription.class);
- Assertions.assertEquals("gureodkwobdag", model.properties().name());
+ Assertions.assertEquals("l", model.properties().name());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupInfoInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupInfoInnerTests.java
index 05d267c5d6fc..482d0d74dbe6 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupInfoInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupInfoInnerTests.java
@@ -11,7 +11,7 @@ public final class EventHubConsumerGroupInfoInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventHubConsumerGroupInfoInner model = BinaryData.fromString(
- "{\"properties\":{\"weriofzpyqsem\":\"\\\"dataygtdsslswt\\\"\",\"zhedplvwiw\":\"\\\"dataabnetshh\\\"\",\"tppjflcx\":\"\\\"databmwmbesldnkw\\\"\"},\"etag\":\"aokonzmnsik\",\"id\":\"kqze\",\"name\":\"qkdltfz\",\"type\":\"mhhv\"}")
+ "{\"properties\":{\"dltfz\":\"\\\"datavmkqzeqq\\\"\",\"gureodkwobdag\":\"\\\"datamhhv\\\"\",\"gqxndlkzgxhuripl\":\"\\\"datatibqdxbxwakb\\\"\"},\"etag\":\"odxun\",\"id\":\"ebxmubyynt\",\"name\":\"lrb\",\"type\":\"tkoievseotgq\"}")
.toObject(EventHubConsumerGroupInfoInner.class);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupNameTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupNameTests.java
index e5d1b649af70..107d3135be92 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupNameTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupNameTests.java
@@ -12,14 +12,14 @@ public final class EventHubConsumerGroupNameTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventHubConsumerGroupName model
- = BinaryData.fromString("{\"name\":\"tibqdxbxwakb\"}").toObject(EventHubConsumerGroupName.class);
- Assertions.assertEquals("tibqdxbxwakb", model.name());
+ = BinaryData.fromString("{\"name\":\"tmuwlauwzi\"}").toObject(EventHubConsumerGroupName.class);
+ Assertions.assertEquals("tmuwlauwzi", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EventHubConsumerGroupName model = new EventHubConsumerGroupName().withName("tibqdxbxwakb");
+ EventHubConsumerGroupName model = new EventHubConsumerGroupName().withName("tmuwlauwzi");
model = BinaryData.fromObject(model).toObject(EventHubConsumerGroupName.class);
- Assertions.assertEquals("tibqdxbxwakb", model.name());
+ Assertions.assertEquals("tmuwlauwzi", model.name());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupsListResultTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupsListResultTests.java
index b99e2dd27f95..8139f477a310 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupsListResultTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupsListResultTests.java
@@ -12,8 +12,8 @@ public final class EventHubConsumerGroupsListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
EventHubConsumerGroupsListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"bpodxunkbebxm\":\"\\\"datandlkzgxhurip\\\"\",\"oievseotgqrlltm\":\"\\\"databyyntwlrbqt\\\"\",\"jefuzmuvpbttdumo\":\"\\\"datawlauwzizxbmpg\\\"\"},\"etag\":\"pxebmnzbt\",\"id\":\"jpglkfgohdne\",\"name\":\"el\",\"type\":\"phsdyhto\"},{\"properties\":{\"wwquuvxzxclvithh\":\"\\\"datakd\\\"\",\"hcohfwdsjnk\":\"\\\"datazonosgg\\\"\",\"swacffgdkzz\":\"\\\"dataljuti\\\"\"},\"etag\":\"kfvhqcrailvpn\",\"id\":\"fuflrwdmhdlx\",\"name\":\"jrxs\",\"type\":\"gafcnihgwqapnedg\"},{\"properties\":{\"vdrhvoo\":\"\\\"datavkcvqvpkeqd\\\"\",\"dopcjwvnh\":\"\\\"datasotbob\\\"\",\"mgxcxrslpm\":\"\\\"datald\\\"\",\"qsluicp\":\"\\\"datatwuoegrpkhjwni\\\"\"},\"etag\":\"gk\",\"id\":\"lvmbmpaxmodfvuef\",\"name\":\"wsbpfvm\",\"type\":\"yhrfouyftaakcpw\"},{\"properties\":{\"xkp\":\"\\\"datavqtmnub\\\"\",\"mquxvypo\":\"\\\"dataksmond\\\"\",\"smocmbq\":\"\\\"datagkopkwhojvpajqgx\\\"\"},\"etag\":\"vmkcx\",\"id\":\"apvhelxprgly\",\"name\":\"tddckcb\",\"type\":\"uejrjxgc\"}],\"nextLink\":\"ibrhosxsdqr\"}")
+ "{\"value\":[{\"properties\":{\"ttdumorppxebmnzb\":\"\\\"datapgcjefuzmuvp\\\"\",\"el\":\"\\\"databhjpglkfgohdne\\\"\",\"fikdowwqu\":\"\\\"dataphsdyhto\\\"\",\"zx\":\"\\\"datav\\\"\"},\"etag\":\"vithh\",\"id\":\"o\",\"name\":\"osggbhc\",\"type\":\"hfwdsjnkaljutiis\"}],\"nextLink\":\"cffgdkzzewk\"}")
.toObject(EventHubConsumerGroupsListResult.class);
- Assertions.assertEquals("ibrhosxsdqr", model.nextLink());
+ Assertions.assertEquals("cffgdkzzewk", model.nextLink());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FailoverInputTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FailoverInputTests.java
index 39a87752771d..9e8cc43cd547 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FailoverInputTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FailoverInputTests.java
@@ -11,14 +11,15 @@
public final class FailoverInputTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- FailoverInput model = BinaryData.fromString("{\"failoverRegion\":\"expbtg\"}").toObject(FailoverInput.class);
- Assertions.assertEquals("expbtg", model.failoverRegion());
+ FailoverInput model
+ = BinaryData.fromString("{\"failoverRegion\":\"hdlxyjrxsagafcn\"}").toObject(FailoverInput.class);
+ Assertions.assertEquals("hdlxyjrxsagafcn", model.failoverRegion());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- FailoverInput model = new FailoverInput().withFailoverRegion("expbtg");
+ FailoverInput model = new FailoverInput().withFailoverRegion("hdlxyjrxsagafcn");
model = BinaryData.fromObject(model).toObject(FailoverInput.class);
- Assertions.assertEquals("expbtg", model.failoverRegion());
+ Assertions.assertEquals("hdlxyjrxsagafcn", model.failoverRegion());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FallbackRoutePropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FallbackRoutePropertiesTests.java
index 4e3ba6ba28c5..a59badd5074f 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FallbackRoutePropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FallbackRoutePropertiesTests.java
@@ -14,27 +14,27 @@ public final class FallbackRoutePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
FallbackRouteProperties model = BinaryData.fromString(
- "{\"name\":\"bebrjcxerfuwuttt\",\"source\":\"DeviceConnectionStateEvents\",\"condition\":\"jrbirphxepcyv\",\"endpointNames\":[\"fnljky\",\"xjvuujqgidokg\"],\"isEnabled\":true}")
+ "{\"name\":\"debfqkkrbmpukgri\",\"source\":\"DeviceMessages\",\"condition\":\"zlfbxzpuzycispnq\",\"endpointNames\":[\"hmgkbrpyy\",\"hibnuqqkpika\"],\"isEnabled\":false}")
.toObject(FallbackRouteProperties.class);
- Assertions.assertEquals("bebrjcxerfuwuttt", model.name());
- Assertions.assertEquals(RoutingSource.DEVICE_CONNECTION_STATE_EVENTS, model.source());
- Assertions.assertEquals("jrbirphxepcyv", model.condition());
- Assertions.assertEquals("fnljky", model.endpointNames().get(0));
- Assertions.assertTrue(model.isEnabled());
+ Assertions.assertEquals("debfqkkrbmpukgri", model.name());
+ Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, model.source());
+ Assertions.assertEquals("zlfbxzpuzycispnq", model.condition());
+ Assertions.assertEquals("hmgkbrpyy", model.endpointNames().get(0));
+ Assertions.assertFalse(model.isEnabled());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- FallbackRouteProperties model = new FallbackRouteProperties().withName("bebrjcxerfuwuttt")
- .withSource(RoutingSource.DEVICE_CONNECTION_STATE_EVENTS)
- .withCondition("jrbirphxepcyv")
- .withEndpointNames(Arrays.asList("fnljky", "xjvuujqgidokg"))
- .withIsEnabled(true);
+ FallbackRouteProperties model = new FallbackRouteProperties().withName("debfqkkrbmpukgri")
+ .withSource(RoutingSource.DEVICE_MESSAGES)
+ .withCondition("zlfbxzpuzycispnq")
+ .withEndpointNames(Arrays.asList("hmgkbrpyy", "hibnuqqkpika"))
+ .withIsEnabled(false);
model = BinaryData.fromObject(model).toObject(FallbackRouteProperties.class);
- Assertions.assertEquals("bebrjcxerfuwuttt", model.name());
- Assertions.assertEquals(RoutingSource.DEVICE_CONNECTION_STATE_EVENTS, model.source());
- Assertions.assertEquals("jrbirphxepcyv", model.condition());
- Assertions.assertEquals("fnljky", model.endpointNames().get(0));
- Assertions.assertTrue(model.isEnabled());
+ Assertions.assertEquals("debfqkkrbmpukgri", model.name());
+ Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, model.source());
+ Assertions.assertEquals("zlfbxzpuzycispnq", model.condition());
+ Assertions.assertEquals("hmgkbrpyy", model.endpointNames().get(0));
+ Assertions.assertFalse(model.isEnabled());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FeedbackPropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FeedbackPropertiesTests.java
index 2a52a582377d..a72319ccd88b 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FeedbackPropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/FeedbackPropertiesTests.java
@@ -13,21 +13,21 @@ public final class FeedbackPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
FeedbackProperties model = BinaryData.fromString(
- "{\"lockDurationAsIso8601\":\"PT217H34M45S\",\"ttlAsIso8601\":\"PT113H36M12S\",\"maxDeliveryCount\":156663672}")
+ "{\"lockDurationAsIso8601\":\"PT135H37M51S\",\"ttlAsIso8601\":\"PT28H45M15S\",\"maxDeliveryCount\":1813898530}")
.toObject(FeedbackProperties.class);
- Assertions.assertEquals(Duration.parse("PT217H34M45S"), model.lockDurationAsIso8601());
- Assertions.assertEquals(Duration.parse("PT113H36M12S"), model.ttlAsIso8601());
- Assertions.assertEquals(156663672, model.maxDeliveryCount());
+ Assertions.assertEquals(Duration.parse("PT135H37M51S"), model.lockDurationAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT28H45M15S"), model.ttlAsIso8601());
+ Assertions.assertEquals(1813898530, model.maxDeliveryCount());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- FeedbackProperties model = new FeedbackProperties().withLockDurationAsIso8601(Duration.parse("PT217H34M45S"))
- .withTtlAsIso8601(Duration.parse("PT113H36M12S"))
- .withMaxDeliveryCount(156663672);
+ FeedbackProperties model = new FeedbackProperties().withLockDurationAsIso8601(Duration.parse("PT135H37M51S"))
+ .withTtlAsIso8601(Duration.parse("PT28H45M15S"))
+ .withMaxDeliveryCount(1813898530);
model = BinaryData.fromObject(model).toObject(FeedbackProperties.class);
- Assertions.assertEquals(Duration.parse("PT217H34M45S"), model.lockDurationAsIso8601());
- Assertions.assertEquals(Duration.parse("PT113H36M12S"), model.ttlAsIso8601());
- Assertions.assertEquals(156663672, model.maxDeliveryCount());
+ Assertions.assertEquals(Duration.parse("PT135H37M51S"), model.lockDurationAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT28H45M15S"), model.ttlAsIso8601());
+ Assertions.assertEquals(1813898530, model.maxDeliveryCount());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationInnerTests.java
index 0c8e0bcbaa01..21c3efd71bb8 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationInnerTests.java
@@ -12,10 +12,10 @@ public final class GroupIdInformationInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
GroupIdInformationInner model = BinaryData.fromString(
- "{\"id\":\"vvcnayr\",\"name\":\"rnxxmueed\",\"type\":\"rdvstkwqqtch\",\"properties\":{\"groupId\":\"lmfmtdaay\",\"requiredMembers\":[\"wvgpiohg\"],\"requiredZoneNames\":[\"tfudxepx\",\"yqagvrvm\",\"pkukghi\"]}}")
+ "{\"id\":\"kulpiujwaasi\",\"name\":\"i\",\"type\":\"byuqerpqlp\",\"properties\":{\"groupId\":\"cciuqgbdbutau\",\"requiredMembers\":[\"tkuwhhmhykojo\",\"afnn\"],\"requiredZoneNames\":[\"ichkoymkcdyhb\",\"kkpwdreqnovvq\",\"ovljxywsu\"]}}")
.toObject(GroupIdInformationInner.class);
- Assertions.assertEquals("lmfmtdaay", model.properties().groupId());
- Assertions.assertEquals("wvgpiohg", model.properties().requiredMembers().get(0));
- Assertions.assertEquals("tfudxepx", model.properties().requiredZoneNames().get(0));
+ Assertions.assertEquals("cciuqgbdbutau", model.properties().groupId());
+ Assertions.assertEquals("tkuwhhmhykojo", model.properties().requiredMembers().get(0));
+ Assertions.assertEquals("ichkoymkcdyhb", model.properties().requiredZoneNames().get(0));
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationPropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationPropertiesTests.java
index b97c3e9fafad..37f8ac9bee07 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationPropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/GroupIdInformationPropertiesTests.java
@@ -12,10 +12,10 @@ public final class GroupIdInformationPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
GroupIdInformationProperties model = BinaryData.fromString(
- "{\"groupId\":\"blxgwimf\",\"requiredMembers\":[\"fjxwmsz\"],\"requiredZoneNames\":[\"oqreyfkzikfjawn\",\"a\",\"vxwc\"]}")
+ "{\"groupId\":\"yrs\",\"requiredMembers\":[\"ytgadgvraeaene\",\"nzar\",\"wlquuijfqkace\"],\"requiredZoneNames\":[\"pfpubjibww\",\"f\"]}")
.toObject(GroupIdInformationProperties.class);
- Assertions.assertEquals("blxgwimf", model.groupId());
- Assertions.assertEquals("fjxwmsz", model.requiredMembers().get(0));
- Assertions.assertEquals("oqreyfkzikfjawn", model.requiredZoneNames().get(0));
+ Assertions.assertEquals("yrs", model.groupId());
+ Assertions.assertEquals("ytgadgvraeaene", model.requiredMembers().get(0));
+ Assertions.assertEquals("pfpubjibww", model.requiredZoneNames().get(0));
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ImportDevicesRequestTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ImportDevicesRequestTests.java
index 06a3d173f0d4..81a49f0b55b4 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ImportDevicesRequestTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ImportDevicesRequestTests.java
@@ -14,36 +14,36 @@ public final class ImportDevicesRequestTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ImportDevicesRequest model = BinaryData.fromString(
- "{\"inputBlobContainerUri\":\"ccymvaolpsslql\",\"outputBlobContainerUri\":\"mmdnbbglzps\",\"inputBlobName\":\"ydmcwyhzdxssa\",\"outputBlobName\":\"zmnvdfznudaod\",\"authenticationType\":\"keyBased\",\"identity\":{\"userAssignedIdentity\":\"cblylpstdbhhxsr\"},\"includeConfigurations\":true,\"configurationsBlobName\":\"cers\"}")
+ "{\"inputBlobContainerUri\":\"jmygtdsslswtmwer\",\"outputBlobContainerUri\":\"ofz\",\"inputBlobName\":\"qsemwabne\",\"outputBlobName\":\"hhszh\",\"authenticationType\":\"identityBased\",\"identity\":{\"userAssignedIdentity\":\"wiwubm\"},\"includeConfigurations\":true,\"configurationsBlobName\":\"sldnkwwtppjflcxo\"}")
.toObject(ImportDevicesRequest.class);
- Assertions.assertEquals("ccymvaolpsslql", model.inputBlobContainerUri());
- Assertions.assertEquals("mmdnbbglzps", model.outputBlobContainerUri());
- Assertions.assertEquals("ydmcwyhzdxssa", model.inputBlobName());
- Assertions.assertEquals("zmnvdfznudaod", model.outputBlobName());
- Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType());
- Assertions.assertEquals("cblylpstdbhhxsr", model.identity().userAssignedIdentity());
+ Assertions.assertEquals("jmygtdsslswtmwer", model.inputBlobContainerUri());
+ Assertions.assertEquals("ofz", model.outputBlobContainerUri());
+ Assertions.assertEquals("qsemwabne", model.inputBlobName());
+ Assertions.assertEquals("hhszh", model.outputBlobName());
+ Assertions.assertEquals(AuthenticationType.IDENTITY_BASED, model.authenticationType());
+ Assertions.assertEquals("wiwubm", model.identity().userAssignedIdentity());
Assertions.assertTrue(model.includeConfigurations());
- Assertions.assertEquals("cers", model.configurationsBlobName());
+ Assertions.assertEquals("sldnkwwtppjflcxo", model.configurationsBlobName());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ImportDevicesRequest model = new ImportDevicesRequest().withInputBlobContainerUri("ccymvaolpsslql")
- .withOutputBlobContainerUri("mmdnbbglzps")
- .withInputBlobName("ydmcwyhzdxssa")
- .withOutputBlobName("zmnvdfznudaod")
- .withAuthenticationType(AuthenticationType.KEY_BASED)
- .withIdentity(new ManagedIdentity().withUserAssignedIdentity("cblylpstdbhhxsr"))
+ ImportDevicesRequest model = new ImportDevicesRequest().withInputBlobContainerUri("jmygtdsslswtmwer")
+ .withOutputBlobContainerUri("ofz")
+ .withInputBlobName("qsemwabne")
+ .withOutputBlobName("hhszh")
+ .withAuthenticationType(AuthenticationType.IDENTITY_BASED)
+ .withIdentity(new ManagedIdentity().withUserAssignedIdentity("wiwubm"))
.withIncludeConfigurations(true)
- .withConfigurationsBlobName("cers");
+ .withConfigurationsBlobName("sldnkwwtppjflcxo");
model = BinaryData.fromObject(model).toObject(ImportDevicesRequest.class);
- Assertions.assertEquals("ccymvaolpsslql", model.inputBlobContainerUri());
- Assertions.assertEquals("mmdnbbglzps", model.outputBlobContainerUri());
- Assertions.assertEquals("ydmcwyhzdxssa", model.inputBlobName());
- Assertions.assertEquals("zmnvdfznudaod", model.outputBlobName());
- Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType());
- Assertions.assertEquals("cblylpstdbhhxsr", model.identity().userAssignedIdentity());
+ Assertions.assertEquals("jmygtdsslswtmwer", model.inputBlobContainerUri());
+ Assertions.assertEquals("ofz", model.outputBlobContainerUri());
+ Assertions.assertEquals("qsemwabne", model.inputBlobName());
+ Assertions.assertEquals("hhszh", model.outputBlobName());
+ Assertions.assertEquals(AuthenticationType.IDENTITY_BASED, model.authenticationType());
+ Assertions.assertEquals("wiwubm", model.identity().userAssignedIdentity());
Assertions.assertTrue(model.includeConfigurations());
- Assertions.assertEquals("cers", model.configurationsBlobName());
+ Assertions.assertEquals("sldnkwwtppjflcxo", model.configurationsBlobName());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubCapacityTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubCapacityTests.java
index 4969a4ddf6d5..b9e263bd0d08 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubCapacityTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubCapacityTests.java
@@ -11,7 +11,7 @@ public final class IotHubCapacityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubCapacity model = BinaryData.fromString(
- "{\"minimum\":1377433518907384393,\"maximum\":3534987396424038530,\"default\":8043422391436901501,\"scaleType\":\"None\"}")
+ "{\"minimum\":8501549257695924564,\"maximum\":3984526442528196616,\"default\":4658346071912083190,\"scaleType\":\"Manual\"}")
.toObject(IotHubCapacity.class);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubLocationDescriptionTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubLocationDescriptionTests.java
index 1402542bc386..529e3cd8f3f5 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubLocationDescriptionTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubLocationDescriptionTests.java
@@ -12,9 +12,9 @@
public final class IotHubLocationDescriptionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- IotHubLocationDescription model = BinaryData.fromString("{\"location\":\"nhijggmebfsi\",\"role\":\"primary\"}")
+ IotHubLocationDescription model = BinaryData.fromString("{\"location\":\"haaxdbabphl\",\"role\":\"secondary\"}")
.toObject(IotHubLocationDescription.class);
- Assertions.assertEquals("nhijggmebfsi", model.location());
- Assertions.assertEquals(IotHubReplicaRoleType.PRIMARY, model.role());
+ Assertions.assertEquals("haaxdbabphl", model.location());
+ Assertions.assertEquals(IotHubReplicaRoleType.SECONDARY, model.role());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubNameAvailabilityInfoInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubNameAvailabilityInfoInnerTests.java
index 5e447c313fb8..e9afdff18dc0 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubNameAvailabilityInfoInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubNameAvailabilityInfoInnerTests.java
@@ -11,9 +11,9 @@
public final class IotHubNameAvailabilityInfoInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- IotHubNameAvailabilityInfoInner model = BinaryData
- .fromString("{\"nameAvailable\":true,\"reason\":\"AlreadyExists\",\"message\":\"tmhrkwofyyvoqacp\"}")
- .toObject(IotHubNameAvailabilityInfoInner.class);
- Assertions.assertEquals("tmhrkwofyyvoqacp", model.message());
+ IotHubNameAvailabilityInfoInner model
+ = BinaryData.fromString("{\"nameAvailable\":false,\"reason\":\"Invalid\",\"message\":\"uflrwd\"}")
+ .toObject(IotHubNameAvailabilityInfoInner.class);
+ Assertions.assertEquals("uflrwd", model.message());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubPropertiesDeviceStreamsTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubPropertiesDeviceStreamsTests.java
index 582680d0d8a5..8ec051f5ba0c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubPropertiesDeviceStreamsTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubPropertiesDeviceStreamsTests.java
@@ -12,17 +12,16 @@
public final class IotHubPropertiesDeviceStreamsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- IotHubPropertiesDeviceStreams model
- = BinaryData.fromString("{\"streamingEndpoints\":[\"pukgriwflzlfb\",\"zpuzycisp\"]}")
- .toObject(IotHubPropertiesDeviceStreams.class);
- Assertions.assertEquals("pukgriwflzlfb", model.streamingEndpoints().get(0));
+ IotHubPropertiesDeviceStreams model = BinaryData.fromString("{\"streamingEndpoints\":[\"cxy\",\"ny\"]}")
+ .toObject(IotHubPropertiesDeviceStreams.class);
+ Assertions.assertEquals("cxy", model.streamingEndpoints().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
IotHubPropertiesDeviceStreams model
- = new IotHubPropertiesDeviceStreams().withStreamingEndpoints(Arrays.asList("pukgriwflzlfb", "zpuzycisp"));
+ = new IotHubPropertiesDeviceStreams().withStreamingEndpoints(Arrays.asList("cxy", "ny"));
model = BinaryData.fromObject(model).toObject(IotHubPropertiesDeviceStreams.class);
- Assertions.assertEquals("pukgriwflzlfb", model.streamingEndpoints().get(0));
+ Assertions.assertEquals("cxy", model.streamingEndpoints().get(0));
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoInnerTests.java
index 2947060fa9b5..b9ebf8c804fa 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoInnerTests.java
@@ -12,7 +12,7 @@ public final class IotHubQuotaMetricInfoInnerTests {
public void testDeserialize() throws Exception {
IotHubQuotaMetricInfoInner model = BinaryData
.fromString(
- "{\"name\":\"shsfwxosowzxcu\",\"currentValue\":8073809250590062964,\"maxValue\":1300140705032284604}")
+ "{\"name\":\"kpycgklwndnhjd\",\"currentValue\":6262896986376184012,\"maxValue\":4384812183587717732}")
.toObject(IotHubQuotaMetricInfoInner.class);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoListResultTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoListResultTests.java
index ba8542a18e6f..43b60a131280 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoListResultTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubQuotaMetricInfoListResultTests.java
@@ -12,8 +12,8 @@ public final class IotHubQuotaMetricInfoListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubQuotaMetricInfoListResult model = BinaryData.fromString(
- "{\"value\":[{\"name\":\"krh\",\"currentValue\":4758332856472261291,\"maxValue\":4311555676641493549},{\"name\":\"aquhcdhm\",\"currentValue\":9171481587703972041,\"maxValue\":2559158309988957100},{\"name\":\"pvfadmwsrcr\",\"currentValue\":5411587900664634399,\"maxValue\":3807328350452563665},{\"name\":\"zlfmisgwbnbbeld\",\"currentValue\":547140611004295932,\"maxValue\":2514005563573922649}],\"nextLink\":\"ourqhakau\"}")
+ "{\"value\":[{\"name\":\"meue\",\"currentValue\":6624196733636528715,\"maxValue\":1277045230876396315},{\"name\":\"uojgj\",\"currentValue\":5062126351477079238,\"maxValue\":6905862249105518012},{\"name\":\"wmcdytdxwi\",\"currentValue\":893278028121382582,\"maxValue\":1640105329238575909}],\"nextLink\":\"qwgxhniskx\"}")
.toObject(IotHubQuotaMetricInfoListResult.class);
- Assertions.assertEquals("ourqhakau", model.nextLink());
+ Assertions.assertEquals("qwgxhniskx", model.nextLink());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCheckNameAvailabilityWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCheckNameAvailabilityWithResponseMockTests.java
index c64c8dd84ae1..bc2243b851bd 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCheckNameAvailabilityWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCheckNameAvailabilityWithResponseMockTests.java
@@ -21,7 +21,7 @@
public final class IotHubResourcesCheckNameAvailabilityWithResponseMockTests {
@Test
public void testCheckNameAvailabilityWithResponse() throws Exception {
- String responseStr = "{\"nameAvailable\":true,\"reason\":\"Invalid\",\"message\":\"sxiftozq\"}";
+ String responseStr = "{\"nameAvailable\":true,\"reason\":\"AlreadyExists\",\"message\":\"xkw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,10 +31,10 @@ public void testCheckNameAvailabilityWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
IotHubNameAvailabilityInfo response = manager.iotHubResources()
- .checkNameAvailabilityWithResponse(new OperationInputs().withName("frddhcrati"),
+ .checkNameAvailabilityWithResponse(new OperationInputs().withName("mctlpdngitv"),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("sxiftozq", response.message());
+ Assertions.assertEquals("xkw", response.message());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCreateEventHubConsumerGroupWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCreateEventHubConsumerGroupWithResponseMockTests.java
index 2302669b6934..815d44186a68 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCreateEventHubConsumerGroupWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesCreateEventHubConsumerGroupWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class IotHubResourcesCreateEventHubConsumerGroupWithResponseMockTes
@Test
public void testCreateEventHubConsumerGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"vbuswd\":\"\\\"datasofbshrn\\\"\",\"ybycnunvj\":\"\\\"dataz\\\"\",\"ikyzirtxdy\":\"\\\"datartkfawnopq\\\"\"},\"etag\":\"zejntps\",\"id\":\"gioilqu\",\"name\":\"rydxtqm\",\"type\":\"eoxorggufhyao\"}";
+ = "{\"properties\":{\"fxtsgum\":\"\\\"dataxkmcwaekrrjre\\\"\"},\"etag\":\"glikkxwslolb\",\"id\":\"vuzlm\",\"name\":\"felfktg\",\"type\":\"lcrpw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,9 +31,9 @@ public void testCreateEventHubConsumerGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
EventHubConsumerGroupInfo response = manager.iotHubResources()
- .defineEventHubConsumerGroup("jbdhqxvc")
- .withExistingEventHubEndpoint("honnxkrlgnyhmos", "xkk", "thrrgh")
- .withProperties(new EventHubConsumerGroupName().withName("gf"))
+ .defineEventHubConsumerGroup("rvmtgjq")
+ .withExistingEventHubEndpoint("yjsvfyc", "z", "fvoow")
+ .withProperties(new EventHubConsumerGroupName().withName("pyostronzmyhgfi"))
.create();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteEventHubConsumerGroupWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteEventHubConsumerGroupWithResponseMockTests.java
index 638ddaae44b1..2f927eafa172 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteEventHubConsumerGroupWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteEventHubConsumerGroupWithResponseMockTests.java
@@ -28,7 +28,7 @@ public void testDeleteEventHubConsumerGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.iotHubResources()
- .deleteEventHubConsumerGroupWithResponse("wau", "qncygupkvi", "mdscwxqupev", "hfstotxhojujbyp",
+ .deleteEventHubConsumerGroupWithResponse("wccsnjvcdwxlpqek", "tn", "htjsying", "fq",
com.azure.core.util.Context.NONE);
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteMockTests.java
index 3538f4ef27cf..a22a1dd11c13 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesDeleteMockTests.java
@@ -27,7 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.iotHubResources().delete("wpusdsttwvogv", "bejdcn", com.azure.core.util.Context.NONE);
+ manager.iotHubResources().delete("haz", "khnzbonlw", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEndpointHealthMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEndpointHealthMockTests.java
index aab6528ff02d..ec5f04fae212 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEndpointHealthMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEndpointHealthMockTests.java
@@ -23,7 +23,7 @@ public final class IotHubResourcesGetEndpointHealthMockTests {
@Test
public void testGetEndpointHealth() throws Exception {
String responseStr
- = "{\"value\":[{\"endpointId\":\"cedcpnmdy\",\"healthStatus\":\"degraded\",\"lastKnownError\":\"zxltjcvn\",\"lastKnownErrorTime\":\"Sat, 20 Feb 2021 03:38:09 GMT\",\"lastSuccessfulSendAttemptTime\":\"Tue, 30 Mar 2021 18:37:22 GMT\",\"lastSendAttemptTime\":\"Mon, 26 Apr 2021 11:17:50 GMT\"}]}";
+ = "{\"value\":[{\"endpointId\":\"ktt\",\"healthStatus\":\"unknown\",\"lastKnownError\":\"lzywemhzrncsdtc\",\"lastKnownErrorTime\":\"Wed, 10 Mar 2021 02:09:12 GMT\",\"lastSuccessfulSendAttemptTime\":\"Tue, 31 Aug 2021 08:14:30 GMT\",\"lastSendAttemptTime\":\"Tue, 22 Dec 2020 06:06:19 GMT\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,17 +32,17 @@ public void testGetEndpointHealth() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response = manager.iotHubResources()
- .getEndpointHealth("ftswibyrcdlbhsh", "wpracstwitykhev", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.iotHubResources().getEndpointHealth("pqwd", "ggicccnxqhue", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("cedcpnmdy", response.iterator().next().endpointId());
- Assertions.assertEquals(EndpointHealthStatus.DEGRADED, response.iterator().next().healthStatus());
- Assertions.assertEquals("zxltjcvn", response.iterator().next().lastKnownError());
- Assertions.assertEquals(OffsetDateTime.parse("2021-02-20T03:38:09Z"),
+ Assertions.assertEquals("ktt", response.iterator().next().endpointId());
+ Assertions.assertEquals(EndpointHealthStatus.UNKNOWN, response.iterator().next().healthStatus());
+ Assertions.assertEquals("lzywemhzrncsdtc", response.iterator().next().lastKnownError());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-10T02:09:12Z"),
response.iterator().next().lastKnownErrorTime());
- Assertions.assertEquals(OffsetDateTime.parse("2021-03-30T18:37:22Z"),
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-31T08:14:30Z"),
response.iterator().next().lastSuccessfulSendAttemptTime());
- Assertions.assertEquals(OffsetDateTime.parse("2021-04-26T11:17:50Z"),
+ Assertions.assertEquals(OffsetDateTime.parse("2020-12-22T06:06:19Z"),
response.iterator().next().lastSendAttemptTime());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEventHubConsumerGroupWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEventHubConsumerGroupWithResponseMockTests.java
index b167bcef3c9a..0b54356e97c1 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEventHubConsumerGroupWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetEventHubConsumerGroupWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class IotHubResourcesGetEventHubConsumerGroupWithResponseMockTests
@Test
public void testGetEventHubConsumerGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"hsxttaugzxnf\":\"\\\"dataoqkag\\\"\",\"uenvrkp\":\"\\\"dataazpxdtnkdmkqjjl\\\"\",\"ibreb\":\"\\\"dataou\\\"\"},\"etag\":\"aysjkixqtnqttez\",\"id\":\"fffiak\",\"name\":\"jpqqmted\",\"type\":\"tmmjihyeozph\"}";
+ = "{\"properties\":{\"qvpsvuoymg\":\"\\\"datafcqdpsq\\\"\",\"rypqlmfeo\":\"\\\"datacelve\\\"\"},\"etag\":\"rqwky\",\"id\":\"ob\",\"name\":\"pg\",\"type\":\"edkowepbqpcrfk\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,8 @@ public void testGetEventHubConsumerGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
EventHubConsumerGroupInfo response = manager.iotHubResources()
- .getEventHubConsumerGroupWithResponse("eznoig", "rnjwmw", "pn", "saz", com.azure.core.util.Context.NONE)
+ .getEventHubConsumerGroupWithResponse("ccyajg", "qfhwyg", "lvdnkfx", "semdwzrmu",
+ com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetJobWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetJobWithResponseMockTests.java
index 2c3d9bf13a2f..8f50132be870 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetJobWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetJobWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class IotHubResourcesGetJobWithResponseMockTests {
@Test
public void testGetJobWithResponse() throws Exception {
String responseStr
- = "{\"jobId\":\"gytguslfead\",\"startTimeUtc\":\"Mon, 11 Oct 2021 19:56:34 GMT\",\"endTimeUtc\":\"Mon, 01 Mar 2021 03:16:18 GMT\",\"type\":\"import\",\"status\":\"enqueued\",\"failureReason\":\"h\",\"statusMessage\":\"sx\",\"parentJobId\":\"pelol\"}";
+ = "{\"jobId\":\"maequiahxicslfa\",\"startTimeUtc\":\"Sun, 28 Nov 2021 10:16:40 GMT\",\"endTimeUtc\":\"Mon, 04 Jan 2021 13:19:25 GMT\",\"type\":\"updateDeviceConfiguration\",\"status\":\"completed\",\"failureReason\":\"lnswhcc\",\"statusMessage\":\"hka\",\"parentJobId\":\"witqscywuggwoluh\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,7 @@ public void testGetJobWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
JobResponse response = manager.iotHubResources()
- .getJobWithResponse("ktt", "stvlzywemhzrnc", "dtclusiypb", com.azure.core.util.Context.NONE)
+ .getJobWithResponse("hziuiefozbhdms", "l", "zqhof", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetQuotaMetricsMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetQuotaMetricsMockTests.java
index 34cdb28e7232..012955b7ef10 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetQuotaMetricsMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetQuotaMetricsMockTests.java
@@ -21,7 +21,7 @@ public final class IotHubResourcesGetQuotaMetricsMockTests {
@Test
public void testGetQuotaMetrics() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"ujzra\",\"currentValue\":3753719893956804179,\"maxValue\":4264870871253259613}]}";
+ = "{\"value\":[{\"name\":\"brgz\",\"currentValue\":7817013656792013173,\"maxValue\":6841623833142002976}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,7 @@ public void testGetQuotaMetrics() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.iotHubResources().getQuotaMetrics("pv", "srp", com.azure.core.util.Context.NONE);
+ = manager.iotHubResources().getQuotaMetrics("zbwemh", "i", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetStatsWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetStatsWithResponseMockTests.java
index 4ad6d0f5be79..e5cceb0ea9fc 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetStatsWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetStatsWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class IotHubResourcesGetStatsWithResponseMockTests {
@Test
public void testGetStatsWithResponse() throws Exception {
String responseStr
- = "{\"totalDeviceCount\":6676778811742741962,\"enabledDeviceCount\":2392132997122108619,\"disabledDeviceCount\":7780888687647281738}";
+ = "{\"totalDeviceCount\":3495870097843726971,\"enabledDeviceCount\":5044236127047100720,\"disabledDeviceCount\":734781401127468947}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,7 @@ public void testGetStatsWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
RegistryStatistics response = manager.iotHubResources()
- .getStatsWithResponse("pvuzlmv", "elfk", com.azure.core.util.Context.NONE)
+ .getStatsWithResponse("mtnvyq", "atkzwpcnpw", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetValidSkusMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetValidSkusMockTests.java
index 72a6d0c798f7..de60fd1aec45 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetValidSkusMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesGetValidSkusMockTests.java
@@ -23,7 +23,7 @@ public final class IotHubResourcesGetValidSkusMockTests {
@Test
public void testGetValidSkus() throws Exception {
String responseStr
- = "{\"value\":[{\"resourceType\":\"qhoftrmaequiah\",\"sku\":{\"name\":\"S3\",\"tier\":\"Basic\",\"capacity\":5718593450165440906},\"capacity\":{\"minimum\":6940065807913814544,\"maximum\":7697781764042454025,\"default\":8868873963072900799,\"scaleType\":\"Automatic\"}}]}";
+ = "{\"value\":[{\"resourceType\":\"znkbykutwpfhpagm\",\"sku\":{\"name\":\"F1\",\"tier\":\"Standard\",\"capacity\":5038627427973777976},\"capacity\":{\"minimum\":5556617074832466147,\"maximum\":4892088910814028509,\"default\":6150452320822609369,\"scaleType\":\"Manual\"}}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,9 +33,9 @@ public void testGetValidSkus() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.iotHubResources()
- .getValidSkus("bminrfdwoyuhhzi", "iefozbhdmsml", com.azure.core.util.Context.NONE);
+ .getValidSkus("zkoowtlmnguxawqa", "dsyuuximerqfob", com.azure.core.util.Context.NONE);
- Assertions.assertEquals(IotHubSku.S3, response.iterator().next().sku().name());
- Assertions.assertEquals(5718593450165440906L, response.iterator().next().sku().capacity());
+ Assertions.assertEquals(IotHubSku.F1, response.iterator().next().sku().name());
+ Assertions.assertEquals(5038627427973777976L, response.iterator().next().sku().capacity());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesImportDevicesWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesImportDevicesWithResponseMockTests.java
index 56e38877df9d..b35574df5601 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesImportDevicesWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesImportDevicesWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class IotHubResourcesImportDevicesWithResponseMockTests {
@Test
public void testImportDevicesWithResponse() throws Exception {
String responseStr
- = "{\"jobId\":\"gjqppy\",\"startTimeUtc\":\"Mon, 10 May 2021 01:51:42 GMT\",\"endTimeUtc\":\"Tue, 06 Jul 2021 23:25:37 GMT\",\"type\":\"writeDeviceProperties\",\"status\":\"unknown\",\"failureReason\":\"gfipnsxk\",\"statusMessage\":\"waekrrjreafxtsgu\",\"parentJobId\":\"jglikkxwslolb\"}";
+ = "{\"jobId\":\"kndxdigrjgu\",\"startTimeUtc\":\"Tue, 16 Feb 2021 11:30:47 GMT\",\"endTimeUtc\":\"Tue, 16 Nov 2021 06:23:27 GMT\",\"type\":\"factoryResetDevice\",\"status\":\"unknown\",\"failureReason\":\"ihwhbotzingamvpp\",\"statusMessage\":\"szqzudphqamv\",\"parentJobId\":\"fwynwcvtbvkay\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,15 +33,15 @@ public void testImportDevicesWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
JobResponse response = manager.iotHubResources()
- .importDevicesWithResponse("nhlmctlpdng", "tvgbmhrixkwmy",
- new ImportDevicesRequest().withInputBlobContainerUri("jejveg")
- .withOutputBlobContainerUri("hbpnaixexccbd")
- .withInputBlobName("ax")
- .withOutputBlobName("exdrrvqahqkg")
- .withAuthenticationType(AuthenticationType.KEY_BASED)
- .withIdentity(new ManagedIdentity().withUserAssignedIdentity("jnhyjsvf"))
+ .importDevicesWithResponse("gofel", "a",
+ new ImportDevicesRequest().withInputBlobContainerUri("rqmq")
+ .withOutputBlobContainerUri("ldvriiiojnalghfk")
+ .withInputBlobName("vsexsowuelu")
+ .withOutputBlobName("hahhxvrhmzkwpj")
+ .withAuthenticationType(AuthenticationType.IDENTITY_BASED)
+ .withIdentity(new ManagedIdentity().withUserAssignedIdentity("ughftqsx"))
.withIncludeConfigurations(false)
- .withConfigurationsBlobName("bfvoowvrv"),
+ .withConfigurationsBlobName("j"),
com.azure.core.util.Context.NONE)
.getValue();
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListEventHubConsumerGroupsMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListEventHubConsumerGroupsMockTests.java
index 5e04f99e49fd..8d9a1664b8c5 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListEventHubConsumerGroupsMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListEventHubConsumerGroupsMockTests.java
@@ -21,7 +21,7 @@ public final class IotHubResourcesListEventHubConsumerGroupsMockTests {
@Test
public void testListEventHubConsumerGroups() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"wiithtywub\":\"\\\"databfpncurdo\\\"\",\"fdntwjchrdgoih\":\"\\\"datacbihwqk\\\"\",\"luudfdlwggytsb\":\"\\\"dataumwctondz\\\"\"},\"etag\":\"ovvtgseinqfiu\",\"id\":\"qknp\",\"name\":\"rgnepttwqmsniffc\",\"type\":\"mqnrojlpijnkr\"}]}";
+ = "{\"value\":[{\"properties\":{\"atjinrvgoupmfiib\":\"\\\"dataqrvqq\\\"\",\"x\":\"\\\"dataggjioolvr\\\"\",\"kkgll\":\"\\\"datav\\\"\"},\"etag\":\"jygvjayvbl\",\"id\":\"vkzuhbxvvyhgso\",\"name\":\"byrqufeg\",\"type\":\"uvwzfbnh\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,8 +31,7 @@ public void testListEventHubConsumerGroups() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.iotHubResources()
- .listEventHubConsumerGroups("lmcuvhixb", "xyfwnylrcool", "ttpkiwkkbnujrywv",
- com.azure.core.util.Context.NONE);
+ .listEventHubConsumerGroups("tmtdhtmdvypgik", "gszywk", "irryuzhlh", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListJobsMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListJobsMockTests.java
index c16eddf32a2d..60cec7e40679 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListJobsMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesListJobsMockTests.java
@@ -21,7 +21,7 @@ public final class IotHubResourcesListJobsMockTests {
@Test
public void testListJobs() throws Exception {
String responseStr
- = "{\"value\":[{\"jobId\":\"ivwitqscywugg\",\"startTimeUtc\":\"Sun, 03 Jan 2021 10:04:48 GMT\",\"endTimeUtc\":\"Mon, 28 Jun 2021 10:10:54 GMT\",\"type\":\"import\",\"status\":\"cancelled\",\"failureReason\":\"mhairsbrgzdwmsw\",\"statusMessage\":\"pqwd\",\"parentJobId\":\"gicccnxqhuex\"}]}";
+ = "{\"value\":[{\"jobId\":\"ogvbbejdcngq\",\"startTimeUtc\":\"Tue, 14 Sep 2021 19:30:38 GMT\",\"endTimeUtc\":\"Mon, 20 Sep 2021 13:12:10 GMT\",\"type\":\"factoryResetDevice\",\"status\":\"failed\",\"failureReason\":\"zr\",\"statusMessage\":\"dgrtwaenuuzkopbm\",\"parentJobId\":\"rfdwoyu\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,7 @@ public void testListJobs() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.iotHubResources().listJobs("nswhcc", "ph", com.azure.core.util.Context.NONE);
+ = manager.iotHubResources().listJobs("mkkzevdlhe", "pusdstt", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestAllRoutesWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestAllRoutesWithResponseMockTests.java
index 78646f316465..265486c111cb 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestAllRoutesWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestAllRoutesWithResponseMockTests.java
@@ -28,7 +28,7 @@ public final class IotHubResourcesTestAllRoutesWithResponseMockTests {
@Test
public void testTestAllRoutesWithResponse() throws Exception {
String responseStr
- = "{\"routes\":[{\"properties\":{\"name\":\"p\",\"source\":\"DeviceJobLifecycleEvents\",\"condition\":\"stwit\",\"endpointNames\":[\"hevxcced\",\"pnmdyodnwzxltjcv\",\"hlt\"],\"isEnabled\":true}},{\"properties\":{\"name\":\"cxnavv\",\"source\":\"DeviceMessages\",\"condition\":\"ibyqunyowxwlmdj\",\"endpointNames\":[\"vfgbvfvpdboda\"],\"isEnabled\":true}},{\"properties\":{\"name\":\"sjq\",\"source\":\"DeviceMessages\",\"condition\":\"rribd\",\"endpointNames\":[\"b\",\"ipqkghvxndzwm\"],\"isEnabled\":true}}]}";
+ = "{\"routes\":[{\"properties\":{\"name\":\"byqunyow\",\"source\":\"DeviceLifecycleEvents\",\"condition\":\"mdjrkvfgbvfvp\",\"endpointNames\":[\"odacizs\",\"q\",\"hkr\"],\"isEnabled\":false}}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -38,26 +38,22 @@ public void testTestAllRoutesWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
TestAllRoutesResult response = manager.iotHubResources()
- .testAllRoutesWithResponse("dcngqqmoakufgmj", "rwr",
- new TestAllRoutesInput().withRoutingSource(RoutingSource.DIGITAL_TWIN_CHANGE_EVENTS)
- .withMessage(new RoutingMessage().withBody("aenuuz")
- .withAppProperties(mapOf("iefozbhdmsml", "bminrfdwoyuhhzi", "rmaequ", "zqhof"))
- .withSystemProperties(
- mapOf("z", "xicslfao", "kaivwit", "iyylhalnswhccsp", "bwemhairs", "scywuggwoluhc")))
- .withTwin(new RoutingTwin().withTags(mapOf("ggicccnxqhue", "\"datadwmsweypqwd\""))
- .withProperties(new RoutingTwinProperties()
- .withDesired(mapOf("zrncsdt", "\"datatlstvlzywem\"", "bsfgytguslfea", "\"datalusiy\"",
- "qukyhejhzi", "\"datacy\"", "srp", "\"dataxgfpelolppv\""))
- .withReported(mapOf("swibyr", "\"datajzraehtwdwrf\"", "h", "\"datadl\"")))),
+ .testAllRoutesWithResponse("fgytguslfeadcyg", "ukyhejhzis",
+ new TestAllRoutesInput().withRoutingSource(RoutingSource.DEVICE_MESSAGES)
+ .withMessage(new RoutingMessage().withBody("lolp")
+ .withAppProperties(mapOf("vu", "srp", "r", "zraehtwd"))
+ .withSystemProperties(mapOf("rcdlbhshfwpr", "wib", "hevxcced", "cstwity")))
+ .withTwin(new RoutingTwin().withTags("\"datamd\"")
+ .withProperties(new RoutingTwinProperties().withDesired("\"datanwzxltjcv\"")
+ .withReported("\"dataltiugcxnavv\""))),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("p", response.routes().get(0).properties().name());
- Assertions.assertEquals(RoutingSource.DEVICE_JOB_LIFECYCLE_EVENTS,
- response.routes().get(0).properties().source());
- Assertions.assertEquals("stwit", response.routes().get(0).properties().condition());
- Assertions.assertEquals("hevxcced", response.routes().get(0).properties().endpointNames().get(0));
- Assertions.assertTrue(response.routes().get(0).properties().isEnabled());
+ Assertions.assertEquals("byqunyow", response.routes().get(0).properties().name());
+ Assertions.assertEquals(RoutingSource.DEVICE_LIFECYCLE_EVENTS, response.routes().get(0).properties().source());
+ Assertions.assertEquals("mdjrkvfgbvfvp", response.routes().get(0).properties().condition());
+ Assertions.assertEquals("odacizs", response.routes().get(0).properties().endpointNames().get(0));
+ Assertions.assertFalse(response.routes().get(0).properties().isEnabled());
}
// Use "Map.of" if available
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestRouteWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestRouteWithResponseMockTests.java
index 81f4570afaf3..080db4e3dc77 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestRouteWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubResourcesTestRouteWithResponseMockTests.java
@@ -32,7 +32,7 @@ public final class IotHubResourcesTestRouteWithResponseMockTests {
@Test
public void testTestRouteWithResponse() throws Exception {
String responseStr
- = "{\"result\":\"false\",\"details\":{\"compilationErrors\":[{\"message\":\"vriiio\",\"severity\":\"error\",\"location\":{\"start\":{},\"end\":{}}},{\"message\":\"kvtvsexso\",\"severity\":\"error\",\"location\":{\"start\":{},\"end\":{}}},{\"message\":\"hahhxvrhmzkwpj\",\"severity\":\"warning\",\"location\":{\"start\":{},\"end\":{}}},{\"message\":\"hftqsxhqxujxukn\",\"severity\":\"warning\",\"location\":{\"start\":{},\"end\":{}}}]}}";
+ = "{\"result\":\"undefined\",\"details\":{\"compilationErrors\":[{\"message\":\"gpikpzimejza\",\"severity\":\"warning\",\"location\":{\"start\":{},\"end\":{}}}]}}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -43,27 +43,26 @@ public void testTestRouteWithResponse() throws Exception {
TestRouteResult response
= manager.iotHubResources()
- .testRouteWithResponse("efajpj", "rwkq", new TestRouteInput()
- .withMessage(new RoutingMessage().withBody("gbijtjivfx")
- .withAppProperties(
- mapOf("bsystawfsdjpvk", "ab", "jxbkzbzkdvn", "p", "zhjjklffhmouwq", "jabudurgkakmo"))
- .withSystemProperties(mapOf("bizikayuhq", "rfzeey", "wrv", "bjbsybb")))
- .withRoute(new RouteProperties().withName("ldgmfpgvmpip")
- .withSource(RoutingSource.TWIN_CHANGE_EVENTS)
- .withCondition("thaqfxssmwu")
- .withEndpointNames(Arrays.asList("bdsrez", "drhneuyow"))
- .withIsEnabled(false))
- .withTwin(new RoutingTwin()
- .withTags(mapOf("sibircgpi", "\"datat\"", "vrmbzono", "\"datapzimejzanlfzxi\""))
- .withProperties(new RoutingTwinProperties().withDesired(mapOf("irgzp", "\"datajq\""))
- .withReported(
- mapOf("jylwbtlhflsj", "\"dataazszrnwoiindfpw\"", "bgofeljag", "\"datadhszfjv\"")))),
+ .testRouteWithResponse("bdeibqipqk", "hvxndzwmkrefajpj",
+ new TestRouteInput()
+ .withMessage(new RoutingMessage().withBody("kqnyh")
+ .withAppProperties(mapOf("jivfxzsjabib", "j"))
+ .withSystemProperties(mapOf("jxbkzbzkdvn", "tawfsdjpvkvp", "zhjjklffhmouwq",
+ "jabudurgkakmo", "eeyebi", "gzrf")))
+ .withRoute(new RouteProperties().withName("ikayuhqlbjbsybb")
+ .withSource(RoutingSource.DEVICE_MESSAGES)
+ .withCondition("vtldgmfpgvmpip")
+ .withEndpointNames(Arrays.asList("ltha", "fxssm"))
+ .withIsEnabled(false))
+ .withTwin(new RoutingTwin().withTags("\"databdsrez\"")
+ .withProperties(new RoutingTwinProperties().withDesired("\"datahneuyowqkd\"")
+ .withReported("\"datat\""))),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(TestResultStatus.FALSE, response.result());
- Assertions.assertEquals("vriiio", response.details().compilationErrors().get(0).message());
- Assertions.assertEquals(RouteErrorSeverity.ERROR, response.details().compilationErrors().get(0).severity());
+ Assertions.assertEquals(TestResultStatus.UNDEFINED, response.result());
+ Assertions.assertEquals("gpikpzimejza", response.details().compilationErrors().get(0).message());
+ Assertions.assertEquals(RouteErrorSeverity.WARNING, response.details().compilationErrors().get(0).severity());
}
// Use "Map.of" if available
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionInnerTests.java
index e7292abf9c99..b8cc29e083df 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionInnerTests.java
@@ -13,9 +13,9 @@ public final class IotHubSkuDescriptionInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubSkuDescriptionInner model = BinaryData.fromString(
- "{\"resourceType\":\"kn\",\"sku\":{\"name\":\"F1\",\"tier\":\"Basic\",\"capacity\":4951290031331541829},\"capacity\":{\"minimum\":6916381767364983163,\"maximum\":6070678532052073652,\"default\":8759230338879353208,\"scaleType\":\"Automatic\"}}")
+ "{\"resourceType\":\"notyfjfcnjbkcn\",\"sku\":{\"name\":\"B2\",\"tier\":\"Standard\",\"capacity\":6091905272407979167},\"capacity\":{\"minimum\":255176425560484267,\"maximum\":6450730438848589350,\"default\":5798583815536033606,\"scaleType\":\"Automatic\"}}")
.toObject(IotHubSkuDescriptionInner.class);
- Assertions.assertEquals(IotHubSku.F1, model.sku().name());
- Assertions.assertEquals(4951290031331541829L, model.sku().capacity());
+ Assertions.assertEquals(IotHubSku.B2, model.sku().name());
+ Assertions.assertEquals(6091905272407979167L, model.sku().capacity());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionListResultTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionListResultTests.java
index ae0f56855b63..7754a5853031 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionListResultTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuDescriptionListResultTests.java
@@ -13,10 +13,10 @@ public final class IotHubSkuDescriptionListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubSkuDescriptionListResult model = BinaryData.fromString(
- "{\"value\":[{\"resourceType\":\"plgmgsxnk\",\"sku\":{\"name\":\"S1\",\"tier\":\"Standard\",\"capacity\":7741996277190264341},\"capacity\":{\"minimum\":2456470958890412171,\"maximum\":6216827827800062431,\"default\":7152845958063232892,\"scaleType\":\"None\"}},{\"resourceType\":\"pkdwzbai\",\"sku\":{\"name\":\"S1\",\"tier\":\"Generation2\",\"capacity\":5886117061287023849},\"capacity\":{\"minimum\":7484019295322681584,\"maximum\":2681761157876331154,\"default\":7248167592869869161,\"scaleType\":\"Manual\"}},{\"resourceType\":\"bckhsmtxpsi\",\"sku\":{\"name\":\"B2\",\"tier\":\"Basic\",\"capacity\":8275840171295511395},\"capacity\":{\"minimum\":6164423870158921069,\"maximum\":465204548122910973,\"default\":3931920039433301426,\"scaleType\":\"Manual\"}}],\"nextLink\":\"jdhtldwkyzxu\"}")
+ "{\"value\":[{\"resourceType\":\"pskrdqmh\",\"sku\":{\"name\":\"B1\",\"tier\":\"Basic\",\"capacity\":4538179811311563630},\"capacity\":{\"minimum\":9056885702416460224,\"maximum\":5303445195272830471,\"default\":7203686124674464131,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"scwsv\",\"sku\":{\"name\":\"S1\",\"tier\":\"Free\",\"capacity\":616356203864725904},\"capacity\":{\"minimum\":3943589185235660851,\"maximum\":3102599931599102077,\"default\":3295305884788247631,\"scaleType\":\"Manual\"}}],\"nextLink\":\"ykvceoveil\"}")
.toObject(IotHubSkuDescriptionListResult.class);
- Assertions.assertEquals(IotHubSku.S1, model.value().get(0).sku().name());
- Assertions.assertEquals(7741996277190264341L, model.value().get(0).sku().capacity());
- Assertions.assertEquals("jdhtldwkyzxu", model.nextLink());
+ Assertions.assertEquals(IotHubSku.B1, model.value().get(0).sku().name());
+ Assertions.assertEquals(4538179811311563630L, model.value().get(0).sku().capacity());
+ Assertions.assertEquals("ykvceoveil", model.nextLink());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuInfoTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuInfoTests.java
index d612d861ad56..84a49268f575 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuInfoTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubSkuInfoTests.java
@@ -13,17 +13,17 @@ public final class IotHubSkuInfoTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IotHubSkuInfo model
- = BinaryData.fromString("{\"name\":\"B2\",\"tier\":\"Generation2\",\"capacity\":1322573122193945613}")
+ = BinaryData.fromString("{\"name\":\"S1\",\"tier\":\"Free\",\"capacity\":7876922791898544073}")
.toObject(IotHubSkuInfo.class);
- Assertions.assertEquals(IotHubSku.B2, model.name());
- Assertions.assertEquals(1322573122193945613L, model.capacity());
+ Assertions.assertEquals(IotHubSku.S1, model.name());
+ Assertions.assertEquals(7876922791898544073L, model.capacity());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- IotHubSkuInfo model = new IotHubSkuInfo().withName(IotHubSku.B2).withCapacity(1322573122193945613L);
+ IotHubSkuInfo model = new IotHubSkuInfo().withName(IotHubSku.S1).withCapacity(7876922791898544073L);
model = BinaryData.fromObject(model).toObject(IotHubSkuInfo.class);
- Assertions.assertEquals(IotHubSku.B2, model.name());
- Assertions.assertEquals(1322573122193945613L, model.capacity());
+ Assertions.assertEquals(IotHubSku.S1, model.name());
+ Assertions.assertEquals(7876922791898544073L, model.capacity());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubsManualFailoverMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubsManualFailoverMockTests.java
index f0773f208f7e..3779298cc4dd 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubsManualFailoverMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubsManualFailoverMockTests.java
@@ -29,7 +29,7 @@ public void testManualFailover() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.iotHubs()
- .manualFailover("tbghhavgrvkf", "ovjzhpjbibgjmfx", new FailoverInput().withFailoverRegion("mv"),
+ .manualFailover("xeznoi", "brnjwmw", new FailoverInput().withFailoverRegion("pn"),
com.azure.core.util.Context.NONE);
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseInnerTests.java
index 37ccfb8b5263..bf94165fb61a 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseInnerTests.java
@@ -11,7 +11,7 @@ public final class JobResponseInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
JobResponseInner model = BinaryData.fromString(
- "{\"jobId\":\"z\",\"startTimeUtc\":\"Sat, 23 Oct 2021 07:29:15 GMT\",\"endTimeUtc\":\"Thu, 09 Dec 2021 18:21:24 GMT\",\"type\":\"rebootDevice\",\"status\":\"running\",\"failureReason\":\"crnwbmeh\",\"statusMessage\":\"eyvjusrtslhspkde\",\"parentJobId\":\"aofmxagkvtme\"}")
+ "{\"jobId\":\"zbaliourqha\",\"startTimeUtc\":\"Thu, 13 May 2021 06:10:16 GMT\",\"endTimeUtc\":\"Fri, 28 May 2021 21:15:07 GMT\",\"type\":\"updateDeviceConfiguration\",\"status\":\"running\",\"failureReason\":\"xosow\",\"statusMessage\":\"cugicjoox\",\"parentJobId\":\"ebwpucwwfvo\"}")
.toObject(JobResponseInner.class);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseListResultTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseListResultTests.java
index b57b9a572a8b..26d922796160 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseListResultTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/JobResponseListResultTests.java
@@ -12,8 +12,8 @@ public final class JobResponseListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
JobResponseListResult model = BinaryData.fromString(
- "{\"value\":[{\"jobId\":\"o\",\"startTimeUtc\":\"Tue, 30 Mar 2021 09:51:22 GMT\",\"endTimeUtc\":\"Wed, 12 May 2021 18:53:43 GMT\",\"type\":\"writeDeviceProperties\",\"status\":\"failed\",\"failureReason\":\"fj\",\"statusMessage\":\"njbkcnxdhbttkph\",\"parentJobId\":\"pnvjtoqnermclf\"},{\"jobId\":\"phoxus\",\"startTimeUtc\":\"Fri, 26 Feb 2021 20:34:01 GMT\",\"endTimeUtc\":\"Mon, 01 Feb 2021 08:33:04 GMT\",\"type\":\"updateDeviceConfiguration\",\"status\":\"unknown\",\"failureReason\":\"bjtazqugxywpmu\",\"statusMessage\":\"fjz\",\"parentJobId\":\"qkqujidsu\"},{\"jobId\":\"nobglaocq\",\"startTimeUtc\":\"Tue, 07 Dec 2021 11:44:31 GMT\",\"endTimeUtc\":\"Mon, 28 Dec 2020 11:59:00 GMT\",\"type\":\"readDeviceProperties\",\"status\":\"running\",\"failureReason\":\"ytlmoyrxvwfud\",\"statusMessage\":\"zntxhdz\",\"parentJobId\":\"rqjbhckfrl\"}],\"nextLink\":\"xsbkyvpyca\"}")
+ "{\"value\":[{\"jobId\":\"uscrpabgyepsb\",\"startTimeUtc\":\"Tue, 26 Jan 2021 13:24:27 GMT\",\"endTimeUtc\":\"Tue, 16 Feb 2021 09:59:01 GMT\",\"type\":\"factoryResetDevice\",\"status\":\"enqueued\",\"failureReason\":\"pmueefjzwfqk\",\"statusMessage\":\"jidsuyonobglaoc\",\"parentJobId\":\"tcc\"},{\"jobId\":\"yudxytlmoy\",\"startTimeUtc\":\"Sun, 06 Jun 2021 16:13:27 GMT\",\"endTimeUtc\":\"Wed, 04 Aug 2021 10:24:08 GMT\",\"type\":\"readDeviceProperties\",\"status\":\"failed\",\"failureReason\":\"ntxhdzhlrqjbhck\",\"statusMessage\":\"lhrxsbkyvpyc\",\"parentJobId\":\"uzbpzkafku\"},{\"jobId\":\"crnwbmeh\",\"startTimeUtc\":\"Sun, 04 Jul 2021 17:06:56 GMT\",\"endTimeUtc\":\"Fri, 03 Sep 2021 17:59:20 GMT\",\"type\":\"firmwareUpdate\",\"status\":\"failed\",\"failureReason\":\"slhs\",\"statusMessage\":\"deemao\",\"parentJobId\":\"xagkvtmelmqkrh\"},{\"jobId\":\"vljua\",\"startTimeUtc\":\"Wed, 16 Jun 2021 01:16:38 GMT\",\"endTimeUtc\":\"Thu, 11 Feb 2021 00:39:32 GMT\",\"type\":\"readDeviceProperties\",\"status\":\"cancelled\",\"failureReason\":\"ualaexqpvfadmw\",\"statusMessage\":\"crgvxpvgom\",\"parentJobId\":\"fmisg\"}],\"nextLink\":\"nbbelda\"}")
.toObject(JobResponseListResult.class);
- Assertions.assertEquals("xsbkyvpyca", model.nextLink());
+ Assertions.assertEquals("nbbelda", model.nextLink());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MatchedRouteTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MatchedRouteTests.java
index cdb1e7a3283b..f3e570fbffd9 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MatchedRouteTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MatchedRouteTests.java
@@ -13,12 +13,12 @@ public final class MatchedRouteTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
MatchedRoute model = BinaryData.fromString(
- "{\"properties\":{\"name\":\"lnjixisxya\",\"source\":\"DeviceMessages\",\"condition\":\"yaqcslyjpkiidz\",\"endpointNames\":[\"xznelixhnrztf\",\"lhbnxkna\",\"aulppggd\"],\"isEnabled\":true}}")
+ "{\"properties\":{\"name\":\"dahzxctobg\",\"source\":\"TwinChangeEvents\",\"condition\":\"moizpos\",\"endpointNames\":[\"grcfb\",\"nrmfqjhhk\"],\"isEnabled\":true}}")
.toObject(MatchedRoute.class);
- Assertions.assertEquals("lnjixisxya", model.properties().name());
- Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, model.properties().source());
- Assertions.assertEquals("yaqcslyjpkiidz", model.properties().condition());
- Assertions.assertEquals("xznelixhnrztf", model.properties().endpointNames().get(0));
+ Assertions.assertEquals("dahzxctobg", model.properties().name());
+ Assertions.assertEquals(RoutingSource.TWIN_CHANGE_EVENTS, model.properties().source());
+ Assertions.assertEquals("moizpos", model.properties().condition());
+ Assertions.assertEquals("grcfb", model.properties().endpointNames().get(0));
Assertions.assertTrue(model.properties().isEnabled());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MessagingEndpointPropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MessagingEndpointPropertiesTests.java
index 032ae9604b2b..70c0089207b2 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MessagingEndpointPropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MessagingEndpointPropertiesTests.java
@@ -13,22 +13,22 @@ public final class MessagingEndpointPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
MessagingEndpointProperties model = BinaryData.fromString(
- "{\"lockDurationAsIso8601\":\"PT95H37M59S\",\"ttlAsIso8601\":\"PT202H57M10S\",\"maxDeliveryCount\":455021190}")
+ "{\"lockDurationAsIso8601\":\"PT118H45M41S\",\"ttlAsIso8601\":\"PT50H7M53S\",\"maxDeliveryCount\":1333512274}")
.toObject(MessagingEndpointProperties.class);
- Assertions.assertEquals(Duration.parse("PT95H37M59S"), model.lockDurationAsIso8601());
- Assertions.assertEquals(Duration.parse("PT202H57M10S"), model.ttlAsIso8601());
- Assertions.assertEquals(455021190, model.maxDeliveryCount());
+ Assertions.assertEquals(Duration.parse("PT118H45M41S"), model.lockDurationAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT50H7M53S"), model.ttlAsIso8601());
+ Assertions.assertEquals(1333512274, model.maxDeliveryCount());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
MessagingEndpointProperties model
- = new MessagingEndpointProperties().withLockDurationAsIso8601(Duration.parse("PT95H37M59S"))
- .withTtlAsIso8601(Duration.parse("PT202H57M10S"))
- .withMaxDeliveryCount(455021190);
+ = new MessagingEndpointProperties().withLockDurationAsIso8601(Duration.parse("PT118H45M41S"))
+ .withTtlAsIso8601(Duration.parse("PT50H7M53S"))
+ .withMaxDeliveryCount(1333512274);
model = BinaryData.fromObject(model).toObject(MessagingEndpointProperties.class);
- Assertions.assertEquals(Duration.parse("PT95H37M59S"), model.lockDurationAsIso8601());
- Assertions.assertEquals(Duration.parse("PT202H57M10S"), model.ttlAsIso8601());
- Assertions.assertEquals(455021190, model.maxDeliveryCount());
+ Assertions.assertEquals(Duration.parse("PT118H45M41S"), model.lockDurationAsIso8601());
+ Assertions.assertEquals(Duration.parse("PT50H7M53S"), model.ttlAsIso8601());
+ Assertions.assertEquals(1333512274, model.maxDeliveryCount());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/NameTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/NameTests.java
index b77082237498..ef2194e44daf 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/NameTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/NameTests.java
@@ -12,8 +12,8 @@ public final class NameTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
Name model
- = BinaryData.fromString("{\"value\":\"dooaojkniodko\",\"localizedValue\":\"bw\"}").toObject(Name.class);
- Assertions.assertEquals("dooaojkniodko", model.value());
- Assertions.assertEquals("bw", model.localizedValue());
+ = BinaryData.fromString("{\"value\":\"rxxle\",\"localizedValue\":\"ramxjezwlwnw\"}").toObject(Name.class);
+ Assertions.assertEquals("rxxle", model.value());
+ Assertions.assertEquals("ramxjezwlwnw", model.localizedValue());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationInputsTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationInputsTests.java
index 9ddf4490785a..2cfda12e3d5c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationInputsTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationInputsTests.java
@@ -11,14 +11,14 @@
public final class OperationInputsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- OperationInputs model = BinaryData.fromString("{\"name\":\"zoymibmrqyibahw\"}").toObject(OperationInputs.class);
- Assertions.assertEquals("zoymibmrqyibahw", model.name());
+ OperationInputs model = BinaryData.fromString("{\"name\":\"vhqcrail\"}").toObject(OperationInputs.class);
+ Assertions.assertEquals("vhqcrail", model.name());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- OperationInputs model = new OperationInputs().withName("zoymibmrqyibahw");
+ OperationInputs model = new OperationInputs().withName("vhqcrail");
model = BinaryData.fromObject(model).toObject(OperationInputs.class);
- Assertions.assertEquals("zoymibmrqyibahw", model.name());
+ Assertions.assertEquals("vhqcrail", model.name());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationsListMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationsListMockTests.java
index 8b1e3f408eb6..3aecabceb0dc 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationsListMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/OperationsListMockTests.java
@@ -21,7 +21,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"jhemms\",\"display\":{\"provider\":\"kcrodtjinfw\",\"resource\":\"fltkacjv\",\"operation\":\"kdlfoa\",\"description\":\"gkfpaga\"}}]}";
+ = "{\"value\":[{\"name\":\"qlcvydy\",\"display\":{\"provider\":\"dooaojkniodko\",\"resource\":\"bw\",\"operation\":\"jhemms\",\"description\":\"dkcrodt\"}}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteMockTests.java
index 4cf0be77fa5c..e33aaa5525a2 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsDeleteMockTests.java
@@ -27,7 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.privateEndpointConnections().delete("l", "wabm", "oefki", com.azure.core.util.Context.NONE);
+ manager.privateEndpointConnections().delete("mr", "xqtvcofu", "f", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java
index 22d1982083cb..2b775ce6f8bb 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class PrivateEndpointConnectionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"privateEndpoint\":{\"id\":\"agxsdszuemps\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"kfzbeyvpnqicvi\",\"actionsRequired\":\"kjj\"}},\"id\":\"xrbuukzclew\",\"name\":\"hmlwpaztzpo\",\"type\":\"ncckw\"}";
+ = "{\"properties\":{\"privateEndpoint\":{\"id\":\"lyls\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"k\",\"actionsRequired\":\"nsj\"}},\"id\":\"vti\",\"name\":\"gxsds\",\"type\":\"uem\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,13 +32,12 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateEndpointConnection response = manager.privateEndpointConnections()
- .getWithResponse("wpu", "pqblylsyxkqjnsj", "r", com.azure.core.util.Context.NONE)
+ .getWithResponse("infwjlfltkacjve", "kdlfoa", "ggkfpagaowpul", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(PrivateLinkServiceConnectionStatus.APPROVED,
+ Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED,
response.properties().privateLinkServiceConnectionState().status());
- Assertions.assertEquals("kfzbeyvpnqicvi",
- response.properties().privateLinkServiceConnectionState().description());
- Assertions.assertEquals("kjj", response.properties().privateLinkServiceConnectionState().actionsRequired());
+ Assertions.assertEquals("k", response.properties().privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("nsj", response.properties().privateLinkServiceConnectionState().actionsRequired());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListWithResponseMockTests.java
index 994126486713..5c8efc610f17 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsListWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class PrivateEndpointConnectionsListWithResponseMockTests {
@Test
public void testListWithResponse() throws Exception {
String responseStr
- = "[{\"properties\":{\"privateEndpoint\":{\"id\":\"oaongbjc\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"ujitcjedftww\",\"actionsRequired\":\"zkoj\"}},\"id\":\"c\",\"name\":\"zfoqouicybxar\",\"type\":\"gszufoxciqopid\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"ciodhkhaz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"hnzbonl\",\"actionsRequired\":\"toego\"}},\"id\":\"wbw\",\"name\":\"kszzcmrvexztv\",\"type\":\"t\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"frao\"},\"privateLinkServiceConnectionState\":{\"status\":\"Disconnected\",\"description\":\"koowtl\",\"actionsRequired\":\"guxawqaldsyuuxi\"}},\"id\":\"rqf\",\"name\":\"bw\",\"type\":\"znkbykutwpfhpagm\"}]";
+ = "[{\"properties\":{\"privateEndpoint\":{\"id\":\"nnqvsa\"},\"privateLinkServiceConnectionState\":{\"status\":\"Disconnected\",\"description\":\"qntorudsgsahmkyc\",\"actionsRequired\":\"auwjuetaebu\"}},\"id\":\"vdmovsmzlxwabm\",\"name\":\"oefki\",\"type\":\"rvtp\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"jmqlgkfb\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"doaon\",\"actionsRequired\":\"jcntuj\"}},\"id\":\"c\",\"name\":\"ed\",\"type\":\"twwaezkojvdcpzf\"}]";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,14 +33,14 @@ public void testListWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
List response = manager.privateEndpointConnections()
- .listWithResponse("rvtp", "qujmqlgkf", com.azure.core.util.Context.NONE)
+ .listWithResponse("vkg", "u", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED,
+ Assertions.assertEquals(PrivateLinkServiceConnectionStatus.DISCONNECTED,
response.get(0).properties().privateLinkServiceConnectionState().status());
- Assertions.assertEquals("ujitcjedftww",
+ Assertions.assertEquals("qntorudsgsahmkyc",
response.get(0).properties().privateLinkServiceConnectionState().description());
- Assertions.assertEquals("zkoj",
+ Assertions.assertEquals("auwjuetaebu",
response.get(0).properties().privateLinkServiceConnectionState().actionsRequired());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateMockTests.java
index 8c78eea43530..4e295ea2445e 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateEndpointConnectionsUpdateMockTests.java
@@ -26,7 +26,7 @@ public final class PrivateEndpointConnectionsUpdateMockTests {
@Test
public void testUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"privateEndpoint\":{\"id\":\"gdknnqv\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"znqntoru\",\"actionsRequired\":\"gsahmkycgrauw\"}},\"id\":\"etaebu\",\"name\":\"u\",\"type\":\"dmovsm\"}";
+ = "{\"properties\":{\"privateEndpoint\":{\"id\":\"wsobqwcsdbn\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"cf\",\"actionsRequired\":\"cqdpfuv\"}},\"id\":\"sbjjc\",\"name\":\"nvxbvt\",\"type\":\"udutnco\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -36,19 +36,18 @@ public void testUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateEndpointConnection response = manager.privateEndpointConnections()
- .update("fz", "whxxbuyqax", "feqztppriol",
+ .update("sbzkf", "beyvpnqicvinvkjj", "dxrbuukzcle",
new PrivateEndpointConnectionInner()
.withProperties(new PrivateEndpointConnectionProperties().withPrivateEndpoint(new PrivateEndpoint())
.withPrivateLinkServiceConnectionState(new PrivateLinkServiceConnectionState()
.withStatus(PrivateLinkServiceConnectionStatus.APPROVED)
- .withDescription("obqwcsdbnwdcfh")
- .withActionsRequired("qdpfuvglsbjjca"))),
+ .withDescription("ofncckwyfzqwhxxb")
+ .withActionsRequired("qa"))),
com.azure.core.util.Context.NONE);
Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED,
response.properties().privateLinkServiceConnectionState().status());
- Assertions.assertEquals("znqntoru", response.properties().privateLinkServiceConnectionState().description());
- Assertions.assertEquals("gsahmkycgrauw",
- response.properties().privateLinkServiceConnectionState().actionsRequired());
+ Assertions.assertEquals("cf", response.properties().privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("cqdpfuv", response.properties().privateLinkServiceConnectionState().actionsRequired());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesInnerTests.java
index 14391227fa5a..da2f374d780c 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesInnerTests.java
@@ -12,10 +12,10 @@ public final class PrivateLinkResourcesInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PrivateLinkResourcesInner model = BinaryData.fromString(
- "{\"value\":[{\"id\":\"c\",\"name\":\"elsfeaen\",\"type\":\"bfatklddxbjhwu\",\"properties\":{\"groupId\":\"nozj\",\"requiredMembers\":[\"hyoulpjr\"],\"requiredZoneNames\":[\"glrvimjwosytxi\"]}},{\"id\":\"skfc\",\"name\":\"qumiek\",\"type\":\"zzikhlyfjhdg\",\"properties\":{\"groupId\":\"gebdunygaeq\",\"requiredMembers\":[\"qfatpxllrxcyjm\",\"a\",\"su\",\"arm\"],\"requiredZoneNames\":[\"mjsjqb\",\"hhyxxrw\"]}},{\"id\":\"co\",\"name\":\"hp\",\"type\":\"kgymareqnajxqug\",\"properties\":{\"groupId\":\"ky\",\"requiredMembers\":[\"eddgssofw\",\"mzqa\",\"krmnjijpxacqqud\"],\"requiredZoneNames\":[\"yxbaaabjyvayf\",\"imrzrtuzqog\",\"exn\"]}}]}")
+ "{\"value\":[{\"id\":\"kvpuvksgplsaknyn\",\"name\":\"ynl\",\"type\":\"huopxodlqiynto\",\"properties\":{\"groupId\":\"ihleos\",\"requiredMembers\":[\"srmslyzr\"],\"requiredZoneNames\":[\"c\",\"ckqqzqioxiysui\",\"zynkedya\"]}},{\"id\":\"wyhqmibzyhwits\",\"name\":\"pyy\",\"type\":\"cdpu\",\"properties\":{\"groupId\":\"zgmwznmabikns\",\"requiredMembers\":[\"jhxbld\"],\"requiredZoneNames\":[\"wrlkdmtn\",\"vokotllxdyh\",\"syocogjltdtbnnha\"]}},{\"id\":\"ocrkvcikh\",\"name\":\"p\",\"type\":\"qgxqquezikyw\",\"properties\":{\"groupId\":\"xkalla\",\"requiredMembers\":[\"lwuip\",\"ccjzkzivgvv\"],\"requiredZoneNames\":[\"y\",\"hyrnxxmu\"]}},{\"id\":\"dndrdvstkwqqtche\",\"name\":\"mfmtdaaygdvw\",\"type\":\"piohgwxrtfu\",\"properties\":{\"groupId\":\"epxgyqagvr\",\"requiredMembers\":[\"pkukghi\",\"dblx\",\"wi\",\"fnjhfjxwmszkkfo\"],\"requiredZoneNames\":[\"yfkzik\",\"jawneaiv\",\"wczelpci\"]}}]}")
.toObject(PrivateLinkResourcesInner.class);
- Assertions.assertEquals("nozj", model.value().get(0).properties().groupId());
- Assertions.assertEquals("hyoulpjr", model.value().get(0).properties().requiredMembers().get(0));
- Assertions.assertEquals("glrvimjwosytxi", model.value().get(0).properties().requiredZoneNames().get(0));
+ Assertions.assertEquals("ihleos", model.value().get(0).properties().groupId());
+ Assertions.assertEquals("srmslyzr", model.value().get(0).properties().requiredMembers().get(0));
+ Assertions.assertEquals("c", model.value().get(0).properties().requiredZoneNames().get(0));
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsGetWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsGetWithResponseMockTests.java
index c40731a9142b..0c70b79534db 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsGetWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class PrivateLinkResourcesOperationsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"id\":\"tujbazpju\",\"name\":\"minyflnorwm\",\"type\":\"vwpklvxwmygdxp\",\"properties\":{\"groupId\":\"qchiszep\",\"requiredMembers\":[\"jcrxgibbdaxcon\",\"ozauorsukokwb\",\"plhlvnuuepzlrp\",\"wzsoldweyuqdunv\"],\"requiredZoneNames\":[\"rwrbi\",\"rk\",\"alywjhhgdn\"]}}";
+ = "{\"id\":\"gx\",\"name\":\"rc\",\"type\":\"yklyhpluodpvruud\",\"properties\":{\"groupId\":\"zibt\",\"requiredMembers\":[\"tgk\",\"stvdxeclz\"],\"requiredZoneNames\":[\"bcvhzlhpl\",\"dqkdlwwqfbu\",\"lkxt\"]}}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,11 +31,11 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
GroupIdInformation response = manager.privateLinkResourcesOperations()
- .getWithResponse("kulfg", "lqubkwdlen", "d", com.azure.core.util.Context.NONE)
+ .getWithResponse("ydbsd", "hmkxmaehvbb", "uripltfnhtba", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("qchiszep", response.properties().groupId());
- Assertions.assertEquals("jcrxgibbdaxcon", response.properties().requiredMembers().get(0));
- Assertions.assertEquals("rwrbi", response.properties().requiredZoneNames().get(0));
+ Assertions.assertEquals("zibt", response.properties().groupId());
+ Assertions.assertEquals("tgk", response.properties().requiredMembers().get(0));
+ Assertions.assertEquals("bcvhzlhpl", response.properties().requiredZoneNames().get(0));
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsListWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsListWithResponseMockTests.java
index 779fcd89ef3c..bcf68e052df5 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsListWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/PrivateLinkResourcesOperationsListWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class PrivateLinkResourcesOperationsListWithResponseMockTests {
@Test
public void testListWithResponse() throws Exception {
String responseStr
- = "{\"value\":[{\"id\":\"yyysfgdotcubi\",\"name\":\"uipwoqonmacje\",\"type\":\"izsh\",\"properties\":{\"groupId\":\"cimpevfg\",\"requiredMembers\":[\"rrilbywdxsmic\"],\"requiredZoneNames\":[\"wfscjfn\",\"nszqujiz\",\"voqyt\",\"byowbblgyavutp\"]}}]}";
+ = "{\"value\":[{\"id\":\"udygooo\",\"name\":\"qfqjbvleorfm\",\"type\":\"iqtqzfavyvnq\",\"properties\":{\"groupId\":\"bar\",\"requiredMembers\":[\"ayjkqa\",\"qgzsles\"],\"requiredZoneNames\":[\"hernntiewdjc\",\"bquwrbehw\",\"gohbuffkmrq\"]}}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,11 +31,11 @@ public void testListWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateLinkResources response = manager.privateLinkResourcesOperations()
- .listWithResponse("xmsivfomiloxggdu", "iqndieuzaofj", com.azure.core.util.Context.NONE)
+ .listWithResponse("qjfsmlmbtxhw", "fwsrtawcoezbrhu", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("cimpevfg", response.value().get(0).properties().groupId());
- Assertions.assertEquals("rrilbywdxsmic", response.value().get(0).properties().requiredMembers().get(0));
- Assertions.assertEquals("wfscjfn", response.value().get(0).properties().requiredZoneNames().get(0));
+ Assertions.assertEquals("bar", response.value().get(0).properties().groupId());
+ Assertions.assertEquals("ayjkqa", response.value().get(0).properties().requiredMembers().get(0));
+ Assertions.assertEquals("hernntiewdjc", response.value().get(0).properties().requiredZoneNames().get(0));
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RegistryStatisticsInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RegistryStatisticsInnerTests.java
index b66fe916b3c8..f25d0033bc07 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RegistryStatisticsInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RegistryStatisticsInnerTests.java
@@ -11,7 +11,7 @@ public final class RegistryStatisticsInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RegistryStatisticsInner model = BinaryData.fromString(
- "{\"totalDeviceCount\":5116891970547577634,\"enabledDeviceCount\":1189606992396926172,\"disabledDeviceCount\":4604879226339647444}")
+ "{\"totalDeviceCount\":7011756283032975989,\"enabledDeviceCount\":1050926206308737519,\"disabledDeviceCount\":7045736863404189107}")
.toObject(RegistryStatisticsInner.class);
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonsGetSubscriptionQuotaWithResponseMockTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonsGetSubscriptionQuotaWithResponseMockTests.java
index 55b4e6fb1c37..8cc2d4be4bd0 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonsGetSubscriptionQuotaWithResponseMockTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/ResourceProviderCommonsGetSubscriptionQuotaWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class ResourceProviderCommonsGetSubscriptionQuotaWithResponseMockTe
@Test
public void testGetSubscriptionQuotaWithResponse() throws Exception {
String responseStr
- = "{\"value\":[{\"id\":\"xoi\",\"type\":\"sks\",\"unit\":\"iml\",\"currentValue\":313242233,\"limit\":1639942247,\"name\":{\"value\":\"gxxlxsffgcvizq\",\"localizedValue\":\"wlvwlyoupf\"}},{\"id\":\"bkjubdyhgkfmins\",\"type\":\"wzf\",\"unit\":\"sttktlahbqa\",\"currentValue\":2006118206,\"limit\":118535522,\"name\":{\"value\":\"kxitmmqtgqqqxhr\",\"localizedValue\":\"rxcpjuisavo\"}}],\"nextLink\":\"dzf\"}";
+ = "{\"value\":[{\"id\":\"hmxtdr\",\"type\":\"utacoe\",\"unit\":\"vewzcj\",\"currentValue\":96469803,\"limit\":1754338424,\"name\":{\"value\":\"guaadraufactkahz\",\"localizedValue\":\"ajjziuxxpshne\"}},{\"id\":\"ulfgslqu\",\"type\":\"wdlenrdsut\",\"unit\":\"bazpjuohmi\",\"currentValue\":853013745,\"limit\":1572022243,\"name\":{\"value\":\"wmd\",\"localizedValue\":\"wpklvxw\"}},{\"id\":\"gdxpg\",\"type\":\"chisze\",\"unit\":\"nb\",\"currentValue\":1746749164,\"limit\":1933702310,\"name\":{\"value\":\"bdaxconfozauorsu\",\"localizedValue\":\"kwbqplhlvnuu\"}}],\"nextLink\":\"zlrphwzs\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,12 +34,12 @@ public void testGetSubscriptionQuotaWithResponse() throws Exception {
.getSubscriptionQuotaWithResponse(com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("xoi", response.value().get(0).id());
- Assertions.assertEquals("sks", response.value().get(0).type());
- Assertions.assertEquals("iml", response.value().get(0).unit());
- Assertions.assertEquals(313242233, response.value().get(0).currentValue());
- Assertions.assertEquals(1639942247, response.value().get(0).limit());
- Assertions.assertEquals("gxxlxsffgcvizq", response.value().get(0).name().value());
- Assertions.assertEquals("wlvwlyoupf", response.value().get(0).name().localizedValue());
+ Assertions.assertEquals("hmxtdr", response.value().get(0).id());
+ Assertions.assertEquals("utacoe", response.value().get(0).type());
+ Assertions.assertEquals("vewzcj", response.value().get(0).unit());
+ Assertions.assertEquals(96469803, response.value().get(0).currentValue());
+ Assertions.assertEquals(1754338424, response.value().get(0).limit());
+ Assertions.assertEquals("guaadraufactkahz", response.value().get(0).name().value());
+ Assertions.assertEquals("ajjziuxxpshne", response.value().get(0).name().localizedValue());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RootCertificatePropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RootCertificatePropertiesTests.java
index 72fbaac0bf50..3e9eaa93d9b7 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RootCertificatePropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RootCertificatePropertiesTests.java
@@ -12,15 +12,15 @@ public final class RootCertificatePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RootCertificateProperties model = BinaryData
- .fromString("{\"enableRootCertificateV2\":true,\"lastUpdatedTimeUtc\":\"2021-02-21T10:02:12Z\"}")
+ .fromString("{\"enableRootCertificateV2\":false,\"lastUpdatedTimeUtc\":\"2021-07-01T11:34:52Z\"}")
.toObject(RootCertificateProperties.class);
- Assertions.assertTrue(model.enableRootCertificateV2());
+ Assertions.assertFalse(model.enableRootCertificateV2());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- RootCertificateProperties model = new RootCertificateProperties().withEnableRootCertificateV2(true);
+ RootCertificateProperties model = new RootCertificateProperties().withEnableRootCertificateV2(false);
model = BinaryData.fromObject(model).toObject(RootCertificateProperties.class);
- Assertions.assertTrue(model.enableRootCertificateV2());
+ Assertions.assertFalse(model.enableRootCertificateV2());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteCompilationErrorTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteCompilationErrorTests.java
index f51b2e115b21..8ecae02312b6 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteCompilationErrorTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteCompilationErrorTests.java
@@ -13,13 +13,13 @@ public final class RouteCompilationErrorTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RouteCompilationError model = BinaryData.fromString(
- "{\"message\":\"l\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":1611377785,\"column\":1427716289},\"end\":{\"line\":2047683473,\"column\":924939472}}}")
+ "{\"message\":\"dbzm\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":307071571,\"column\":451636387},\"end\":{\"line\":1616602527,\"column\":722282959}}}")
.toObject(RouteCompilationError.class);
- Assertions.assertEquals("l", model.message());
+ Assertions.assertEquals("dbzm", model.message());
Assertions.assertEquals(RouteErrorSeverity.WARNING, model.severity());
- Assertions.assertEquals(1611377785, model.location().start().line());
- Assertions.assertEquals(1427716289, model.location().start().column());
- Assertions.assertEquals(2047683473, model.location().end().line());
- Assertions.assertEquals(924939472, model.location().end().column());
+ Assertions.assertEquals(307071571, model.location().start().line());
+ Assertions.assertEquals(451636387, model.location().start().column());
+ Assertions.assertEquals(1616602527, model.location().end().line());
+ Assertions.assertEquals(722282959, model.location().end().column());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorPositionTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorPositionTests.java
index 42e41f7ddd5d..801543cbfc74 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorPositionTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorPositionTests.java
@@ -12,8 +12,8 @@ public final class RouteErrorPositionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RouteErrorPosition model
- = BinaryData.fromString("{\"line\":709486053,\"column\":1315398087}").toObject(RouteErrorPosition.class);
- Assertions.assertEquals(709486053, model.line());
- Assertions.assertEquals(1315398087, model.column());
+ = BinaryData.fromString("{\"line\":712184183,\"column\":1259752874}").toObject(RouteErrorPosition.class);
+ Assertions.assertEquals(712184183, model.line());
+ Assertions.assertEquals(1259752874, model.column());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorRangeTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorRangeTests.java
index af6967d9006c..bc5dca7c286e 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorRangeTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteErrorRangeTests.java
@@ -12,11 +12,11 @@ public final class RouteErrorRangeTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RouteErrorRange model = BinaryData.fromString(
- "{\"start\":{\"line\":1238517729,\"column\":1323029416},\"end\":{\"line\":1117250592,\"column\":1712324120}}")
+ "{\"start\":{\"line\":1832906038,\"column\":2109510262},\"end\":{\"line\":857733914,\"column\":967262152}}")
.toObject(RouteErrorRange.class);
- Assertions.assertEquals(1238517729, model.start().line());
- Assertions.assertEquals(1323029416, model.start().column());
- Assertions.assertEquals(1117250592, model.end().line());
- Assertions.assertEquals(1712324120, model.end().column());
+ Assertions.assertEquals(1832906038, model.start().line());
+ Assertions.assertEquals(2109510262, model.start().column());
+ Assertions.assertEquals(857733914, model.end().line());
+ Assertions.assertEquals(967262152, model.end().column());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutePropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutePropertiesTests.java
index 0e131dd96062..b6d39d35f013 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutePropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutePropertiesTests.java
@@ -14,27 +14,27 @@ public final class RoutePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RouteProperties model = BinaryData.fromString(
- "{\"name\":\"frzpwvlqdqgb\",\"source\":\"DigitalTwinChangeEvents\",\"condition\":\"lihkaetcktvfc\",\"endpointNames\":[\"fsnkymuctq\"],\"isEnabled\":false}")
+ "{\"name\":\"uujqgidokgjljyo\",\"source\":\"DeviceMessages\",\"condition\":\"cltbgsncghkjesz\",\"endpointNames\":[\"bijhtxfvgxbf\",\"mxnehmp\",\"ec\"],\"isEnabled\":true}")
.toObject(RouteProperties.class);
- Assertions.assertEquals("frzpwvlqdqgb", model.name());
- Assertions.assertEquals(RoutingSource.DIGITAL_TWIN_CHANGE_EVENTS, model.source());
- Assertions.assertEquals("lihkaetcktvfc", model.condition());
- Assertions.assertEquals("fsnkymuctq", model.endpointNames().get(0));
- Assertions.assertFalse(model.isEnabled());
+ Assertions.assertEquals("uujqgidokgjljyo", model.name());
+ Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, model.source());
+ Assertions.assertEquals("cltbgsncghkjesz", model.condition());
+ Assertions.assertEquals("bijhtxfvgxbf", model.endpointNames().get(0));
+ Assertions.assertTrue(model.isEnabled());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- RouteProperties model = new RouteProperties().withName("frzpwvlqdqgb")
- .withSource(RoutingSource.DIGITAL_TWIN_CHANGE_EVENTS)
- .withCondition("lihkaetcktvfc")
- .withEndpointNames(Arrays.asList("fsnkymuctq"))
- .withIsEnabled(false);
+ RouteProperties model = new RouteProperties().withName("uujqgidokgjljyo")
+ .withSource(RoutingSource.DEVICE_MESSAGES)
+ .withCondition("cltbgsncghkjesz")
+ .withEndpointNames(Arrays.asList("bijhtxfvgxbf", "mxnehmp", "ec"))
+ .withIsEnabled(true);
model = BinaryData.fromObject(model).toObject(RouteProperties.class);
- Assertions.assertEquals("frzpwvlqdqgb", model.name());
- Assertions.assertEquals(RoutingSource.DIGITAL_TWIN_CHANGE_EVENTS, model.source());
- Assertions.assertEquals("lihkaetcktvfc", model.condition());
- Assertions.assertEquals("fsnkymuctq", model.endpointNames().get(0));
- Assertions.assertFalse(model.isEnabled());
+ Assertions.assertEquals("uujqgidokgjljyo", model.name());
+ Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, model.source());
+ Assertions.assertEquals("cltbgsncghkjesz", model.condition());
+ Assertions.assertEquals("bijhtxfvgxbf", model.endpointNames().get(0));
+ Assertions.assertTrue(model.isEnabled());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingEventStreamPropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingEventStreamPropertiesTests.java
new file mode 100644
index 000000000000..d1a5b71496e9
--- /dev/null
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingEventStreamPropertiesTests.java
@@ -0,0 +1,49 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iothub.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iothub.models.EventStreamAuthenticationType;
+import com.azure.resourcemanager.iothub.models.ManagedIdentity;
+import com.azure.resourcemanager.iothub.models.RoutingEventStreamProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class RoutingEventStreamPropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ RoutingEventStreamProperties model = BinaryData.fromString(
+ "{\"name\":\"frzpwvlqdqgb\",\"id\":\"ylihkaetckt\",\"endpointUri\":\"fcivfsnkym\",\"entityPath\":\"ctq\",\"authenticationType\":\"identityBased\",\"identity\":{\"userAssignedIdentity\":\"brjcxe\"},\"workspaceId\":\"uwutttxfvjrbi\",\"eventStreamId\":\"hxepcyvahfnlj\",\"sourceId\":\"qxj\"}")
+ .toObject(RoutingEventStreamProperties.class);
+ Assertions.assertEquals("frzpwvlqdqgb", model.name());
+ Assertions.assertEquals("fcivfsnkym", model.endpointUri());
+ Assertions.assertEquals("ctq", model.entityPath());
+ Assertions.assertEquals(EventStreamAuthenticationType.IDENTITY_BASED, model.authenticationType());
+ Assertions.assertEquals("brjcxe", model.identity().userAssignedIdentity());
+ Assertions.assertEquals("uwutttxfvjrbi", model.workspaceId());
+ Assertions.assertEquals("hxepcyvahfnlj", model.eventStreamId());
+ Assertions.assertEquals("qxj", model.sourceId());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ RoutingEventStreamProperties model = new RoutingEventStreamProperties().withName("frzpwvlqdqgb")
+ .withEndpointUri("fcivfsnkym")
+ .withEntityPath("ctq")
+ .withAuthenticationType(EventStreamAuthenticationType.IDENTITY_BASED)
+ .withIdentity(new ManagedIdentity().withUserAssignedIdentity("brjcxe"))
+ .withWorkspaceId("uwutttxfvjrbi")
+ .withEventStreamId("hxepcyvahfnlj")
+ .withSourceId("qxj");
+ model = BinaryData.fromObject(model).toObject(RoutingEventStreamProperties.class);
+ Assertions.assertEquals("frzpwvlqdqgb", model.name());
+ Assertions.assertEquals("fcivfsnkym", model.endpointUri());
+ Assertions.assertEquals("ctq", model.entityPath());
+ Assertions.assertEquals(EventStreamAuthenticationType.IDENTITY_BASED, model.authenticationType());
+ Assertions.assertEquals("brjcxe", model.identity().userAssignedIdentity());
+ Assertions.assertEquals("uwutttxfvjrbi", model.workspaceId());
+ Assertions.assertEquals("hxepcyvahfnlj", model.eventStreamId());
+ Assertions.assertEquals("qxj", model.sourceId());
+ }
+}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingMessageTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingMessageTests.java
index 435b66bb5bba..b5b7bd9c8b6e 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingMessageTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingMessageTests.java
@@ -14,23 +14,23 @@ public final class RoutingMessageTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RoutingMessage model = BinaryData.fromString(
- "{\"body\":\"wyzmhtxon\",\"appProperties\":{\"knftguvriuh\":\"savjcbpwxqps\"},\"systemProperties\":{\"ro\":\"mdyvxqtayriw\",\"mcqibycnojv\":\"qbex\",\"zhpvgqzcjrvxd\":\"nmefqsgzvahapj\"}}")
+ "{\"body\":\"sgzvahapjyzhpv\",\"appProperties\":{\"gfhzovawjvzunlut\":\"cjrvxdjzlmwlxkv\",\"i\":\"nnprn\",\"tskzbbtdzumveek\":\"eilpjzuaejxdu\",\"uh\":\"pwo\"},\"systemProperties\":{\"uusdttouwa\":\"bsjyofdx\"}}")
.toObject(RoutingMessage.class);
- Assertions.assertEquals("wyzmhtxon", model.body());
- Assertions.assertEquals("savjcbpwxqps", model.appProperties().get("knftguvriuh"));
- Assertions.assertEquals("mdyvxqtayriw", model.systemProperties().get("ro"));
+ Assertions.assertEquals("sgzvahapjyzhpv", model.body());
+ Assertions.assertEquals("cjrvxdjzlmwlxkv", model.appProperties().get("gfhzovawjvzunlut"));
+ Assertions.assertEquals("bsjyofdx", model.systemProperties().get("uusdttouwa"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- RoutingMessage model = new RoutingMessage().withBody("wyzmhtxon")
- .withAppProperties(mapOf("knftguvriuh", "savjcbpwxqps"))
- .withSystemProperties(
- mapOf("ro", "mdyvxqtayriw", "mcqibycnojv", "qbex", "zhpvgqzcjrvxd", "nmefqsgzvahapj"));
+ RoutingMessage model = new RoutingMessage().withBody("sgzvahapjyzhpv")
+ .withAppProperties(mapOf("gfhzovawjvzunlut", "cjrvxdjzlmwlxkv", "i", "nnprn", "tskzbbtdzumveek",
+ "eilpjzuaejxdu", "uh", "pwo"))
+ .withSystemProperties(mapOf("uusdttouwa", "bsjyofdx"));
model = BinaryData.fromObject(model).toObject(RoutingMessage.class);
- Assertions.assertEquals("wyzmhtxon", model.body());
- Assertions.assertEquals("savjcbpwxqps", model.appProperties().get("knftguvriuh"));
- Assertions.assertEquals("mdyvxqtayriw", model.systemProperties().get("ro"));
+ Assertions.assertEquals("sgzvahapjyzhpv", model.body());
+ Assertions.assertEquals("cjrvxdjzlmwlxkv", model.appProperties().get("gfhzovawjvzunlut"));
+ Assertions.assertEquals("bsjyofdx", model.systemProperties().get("uusdttouwa"));
}
// Use "Map.of" if available
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinPropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinPropertiesTests.java
index e15525f6aa81..be16bb715457 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinPropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinPropertiesTests.java
@@ -6,35 +6,19 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iothub.models.RoutingTwinProperties;
-import java.util.HashMap;
-import java.util.Map;
public final class RoutingTwinPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- RoutingTwinProperties model = BinaryData.fromString(
- "{\"desired\":{\"dtpnapnyiropuhp\":\"\\\"dataxknalaulppg\\\"\",\"gqgitxmedjvcsl\":\"\\\"datagvpgy\\\"\",\"wwncwzzhxgk\":\"\\\"datan\\\"\"},\"reported\":{\"ellwptfdy\":\"\\\"datagucnapkte\\\"\",\"rhhuaopppcqeqx\":\"\\\"datapfqbuaceopzf\\\"\"}}")
- .toObject(RoutingTwinProperties.class);
+ RoutingTwinProperties model
+ = BinaryData.fromString("{\"desired\":\"\\\"datajpkiidzyexznelix\\\"\",\"reported\":\"\\\"datarzt\\\"\"}")
+ .toObject(RoutingTwinProperties.class);
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- RoutingTwinProperties model = new RoutingTwinProperties()
- .withDesired(mapOf("dtpnapnyiropuhp", "\"dataxknalaulppg\"", "gqgitxmedjvcsl", "\"datagvpgy\"",
- "wwncwzzhxgk", "\"datan\""))
- .withReported(mapOf("ellwptfdy", "\"datagucnapkte\"", "rhhuaopppcqeqx", "\"datapfqbuaceopzf\""));
+ RoutingTwinProperties model
+ = new RoutingTwinProperties().withDesired("\"datajpkiidzyexznelix\"").withReported("\"datarzt\"");
model = BinaryData.fromObject(model).toObject(RoutingTwinProperties.class);
}
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinTests.java
index 7eaac6c799ed..79e881a6ff12 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingTwinTests.java
@@ -7,38 +7,20 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iothub.models.RoutingTwin;
import com.azure.resourcemanager.iothub.models.RoutingTwinProperties;
-import java.util.HashMap;
-import java.util.Map;
public final class RoutingTwinTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RoutingTwin model = BinaryData.fromString(
- "{\"tags\":{\"ultskzbbtdz\":\"\\\"dataxipeilpjzuaejx\\\"\",\"ekg\":\"\\\"datamv\\\"\"},\"properties\":{\"desired\":{\"fpbsjyofdxl\":\"\\\"datauh\\\"\",\"ttouwaboekqvkel\":\"\\\"dataus\\\"\",\"xwyjsflhhc\":\"\\\"datasmv\\\"\"},\"reported\":{\"ixisxyawjoy\":\"\\\"datan\\\"\",\"yexz\":\"\\\"dataqcslyjpkiid\\\"\",\"hnrztfol\":\"\\\"dataeli\\\"\"}}}")
+ "{\"tags\":\"\\\"dataekqvkeln\\\"\",\"properties\":{\"desired\":\"\\\"databxwyjsflhhcaa\\\"\",\"reported\":\"\\\"datajixisxyawjoyaqcs\\\"\"}}")
.toObject(RoutingTwin.class);
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- RoutingTwin model = new RoutingTwin()
- .withTags(mapOf("ultskzbbtdz", "\"dataxipeilpjzuaejx\"", "ekg", "\"datamv\""))
- .withProperties(new RoutingTwinProperties()
- .withDesired(
- mapOf("fpbsjyofdxl", "\"datauh\"", "ttouwaboekqvkel", "\"dataus\"", "xwyjsflhhc", "\"datasmv\""))
- .withReported(
- mapOf("ixisxyawjoy", "\"datan\"", "yexz", "\"dataqcslyjpkiid\"", "hnrztfol", "\"dataeli\"")));
+ RoutingTwin model = new RoutingTwin().withTags("\"dataekqvkeln\"")
+ .withProperties(new RoutingTwinProperties().withDesired("\"databxwyjsflhhcaa\"")
+ .withReported("\"datajixisxyawjoyaqcs\""));
model = BinaryData.fromObject(model).toObject(RoutingTwin.class);
}
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/StorageEndpointPropertiesTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/StorageEndpointPropertiesTests.java
index ec0621cfd053..03552d463e17 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/StorageEndpointPropertiesTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/StorageEndpointPropertiesTests.java
@@ -15,28 +15,28 @@ public final class StorageEndpointPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
StorageEndpointProperties model = BinaryData.fromString(
- "{\"sasTtlAsIso8601\":\"PT178H12M30S\",\"connectionString\":\"ncghkje\",\"containerName\":\"zz\",\"authenticationType\":\"keyBased\",\"identity\":{\"userAssignedIdentity\":\"txfvgx\"}}")
+ "{\"sasTtlAsIso8601\":\"PT7H27M17S\",\"connectionString\":\"gmebfsiarbutrcv\",\"containerName\":\"na\",\"authenticationType\":\"identityBased\",\"identity\":{\"userAssignedIdentity\":\"runmp\"}}")
.toObject(StorageEndpointProperties.class);
- Assertions.assertEquals(Duration.parse("PT178H12M30S"), model.sasTtlAsIso8601());
- Assertions.assertEquals("ncghkje", model.connectionString());
- Assertions.assertEquals("zz", model.containerName());
- Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType());
- Assertions.assertEquals("txfvgx", model.identity().userAssignedIdentity());
+ Assertions.assertEquals(Duration.parse("PT7H27M17S"), model.sasTtlAsIso8601());
+ Assertions.assertEquals("gmebfsiarbutrcv", model.connectionString());
+ Assertions.assertEquals("na", model.containerName());
+ Assertions.assertEquals(AuthenticationType.IDENTITY_BASED, model.authenticationType());
+ Assertions.assertEquals("runmp", model.identity().userAssignedIdentity());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
StorageEndpointProperties model
- = new StorageEndpointProperties().withSasTtlAsIso8601(Duration.parse("PT178H12M30S"))
- .withConnectionString("ncghkje")
- .withContainerName("zz")
- .withAuthenticationType(AuthenticationType.KEY_BASED)
- .withIdentity(new ManagedIdentity().withUserAssignedIdentity("txfvgx"));
+ = new StorageEndpointProperties().withSasTtlAsIso8601(Duration.parse("PT7H27M17S"))
+ .withConnectionString("gmebfsiarbutrcv")
+ .withContainerName("na")
+ .withAuthenticationType(AuthenticationType.IDENTITY_BASED)
+ .withIdentity(new ManagedIdentity().withUserAssignedIdentity("runmp"));
model = BinaryData.fromObject(model).toObject(StorageEndpointProperties.class);
- Assertions.assertEquals(Duration.parse("PT178H12M30S"), model.sasTtlAsIso8601());
- Assertions.assertEquals("ncghkje", model.connectionString());
- Assertions.assertEquals("zz", model.containerName());
- Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType());
- Assertions.assertEquals("txfvgx", model.identity().userAssignedIdentity());
+ Assertions.assertEquals(Duration.parse("PT7H27M17S"), model.sasTtlAsIso8601());
+ Assertions.assertEquals("gmebfsiarbutrcv", model.connectionString());
+ Assertions.assertEquals("na", model.containerName());
+ Assertions.assertEquals(AuthenticationType.IDENTITY_BASED, model.authenticationType());
+ Assertions.assertEquals("runmp", model.identity().userAssignedIdentity());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TagsResourceTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TagsResourceTests.java
index b6a687339769..f67a428cfe3e 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TagsResourceTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TagsResourceTests.java
@@ -13,16 +13,18 @@
public final class TagsResourceTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- TagsResource model = BinaryData.fromString("{\"tags\":{\"lcuhxwtctyqiklb\":\"bzpfzab\",\"bhvgy\":\"ovplw\"}}")
+ TagsResource model = BinaryData.fromString(
+ "{\"tags\":{\"ss\":\"osvmk\",\"gmgsxnkjzkde\":\"qukkfp\",\"yighxpk\":\"lpvlopw\",\"baumnyqupedeoj\":\"wzbaiue\"}}")
.toObject(TagsResource.class);
- Assertions.assertEquals("bzpfzab", model.tags().get("lcuhxwtctyqiklb"));
+ Assertions.assertEquals("osvmk", model.tags().get("ss"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- TagsResource model = new TagsResource().withTags(mapOf("lcuhxwtctyqiklb", "bzpfzab", "bhvgy", "ovplw"));
+ TagsResource model = new TagsResource().withTags(
+ mapOf("ss", "osvmk", "gmgsxnkjzkde", "qukkfp", "yighxpk", "lpvlopw", "baumnyqupedeoj", "wzbaiue"));
model = BinaryData.fromObject(model).toObject(TagsResource.class);
- Assertions.assertEquals("bzpfzab", model.tags().get("lcuhxwtctyqiklb"));
+ Assertions.assertEquals("osvmk", model.tags().get("ss"));
}
// Use "Map.of" if available
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesInputTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesInputTests.java
index 45f2015dbb11..94b16f0bad41 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesInputTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesInputTests.java
@@ -18,32 +18,28 @@ public final class TestAllRoutesInputTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TestAllRoutesInput model = BinaryData.fromString(
- "{\"routingSource\":\"MqttBrokerMessages\",\"message\":{\"body\":\"io\",\"appProperties\":{\"xosow\":\"hakauhashsf\",\"cjooxdjebwpucwwf\":\"xcug\",\"hzceuojgjrwjue\":\"ovbvmeueciv\"},\"systemProperties\":{\"xnrj\":\"wmcdytdxwi\"}},\"twin\":{\"tags\":{\"skxfbk\":\"\\\"datawgxhn\\\"\",\"gklwn\":\"\\\"datay\\\"\",\"vylwzbtdhxuj\":\"\\\"datanhjdauw\\\"\"},\"properties\":{\"desired\":{\"wpr\":\"\\\"datapow\\\"\",\"xobbcswsrt\":\"\\\"dataqlveualupjmkh\\\"\"},\"reported\":{\"blcg\":\"\\\"dataplrbpbewtghf\\\"\",\"nmxiebwwaloayqc\":\"\\\"dataxzvlvqhjkbegib\\\"\",\"uzgwyzmhtx\":\"\\\"datawrtz\\\"\",\"wxqpsrknftguvri\":\"\\\"datangmtsavjcb\\\"\"}}}}")
+ "{\"routingSource\":\"TwinChangeEvents\",\"message\":{\"body\":\"qcgw\",\"appProperties\":{\"zg\":\"j\",\"txon\":\"yzm\"},\"systemProperties\":{\"knftguvriuh\":\"savjcbpwxqps\"}},\"twin\":{\"tags\":\"\\\"datamdyvxqtayriw\\\"\",\"properties\":{\"desired\":\"\\\"datayqbexrmcqibycno\\\"\",\"reported\":\"\\\"dataknme\\\"\"}}}")
.toObject(TestAllRoutesInput.class);
- Assertions.assertEquals(RoutingSource.MQTT_BROKER_MESSAGES, model.routingSource());
- Assertions.assertEquals("io", model.message().body());
- Assertions.assertEquals("hakauhashsf", model.message().appProperties().get("xosow"));
- Assertions.assertEquals("wmcdytdxwi", model.message().systemProperties().get("xnrj"));
+ Assertions.assertEquals(RoutingSource.TWIN_CHANGE_EVENTS, model.routingSource());
+ Assertions.assertEquals("qcgw", model.message().body());
+ Assertions.assertEquals("j", model.message().appProperties().get("zg"));
+ Assertions.assertEquals("savjcbpwxqps", model.message().systemProperties().get("knftguvriuh"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- TestAllRoutesInput model = new TestAllRoutesInput().withRoutingSource(RoutingSource.MQTT_BROKER_MESSAGES)
- .withMessage(new RoutingMessage().withBody("io")
- .withAppProperties(
- mapOf("xosow", "hakauhashsf", "cjooxdjebwpucwwf", "xcug", "hzceuojgjrwjue", "ovbvmeueciv"))
- .withSystemProperties(mapOf("xnrj", "wmcdytdxwi")))
- .withTwin(new RoutingTwin()
- .withTags(mapOf("skxfbk", "\"datawgxhn\"", "gklwn", "\"datay\"", "vylwzbtdhxuj", "\"datanhjdauw\""))
- .withProperties(new RoutingTwinProperties()
- .withDesired(mapOf("wpr", "\"datapow\"", "xobbcswsrt", "\"dataqlveualupjmkh\""))
- .withReported(mapOf("blcg", "\"dataplrbpbewtghf\"", "nmxiebwwaloayqc", "\"dataxzvlvqhjkbegib\"",
- "uzgwyzmhtx", "\"datawrtz\"", "wxqpsrknftguvri", "\"datangmtsavjcb\""))));
+ TestAllRoutesInput model = new TestAllRoutesInput().withRoutingSource(RoutingSource.TWIN_CHANGE_EVENTS)
+ .withMessage(new RoutingMessage().withBody("qcgw")
+ .withAppProperties(mapOf("zg", "j", "txon", "yzm"))
+ .withSystemProperties(mapOf("knftguvriuh", "savjcbpwxqps")))
+ .withTwin(new RoutingTwin().withTags("\"datamdyvxqtayriw\"")
+ .withProperties(
+ new RoutingTwinProperties().withDesired("\"datayqbexrmcqibycno\"").withReported("\"dataknme\"")));
model = BinaryData.fromObject(model).toObject(TestAllRoutesInput.class);
- Assertions.assertEquals(RoutingSource.MQTT_BROKER_MESSAGES, model.routingSource());
- Assertions.assertEquals("io", model.message().body());
- Assertions.assertEquals("hakauhashsf", model.message().appProperties().get("xosow"));
- Assertions.assertEquals("wmcdytdxwi", model.message().systemProperties().get("xnrj"));
+ Assertions.assertEquals(RoutingSource.TWIN_CHANGE_EVENTS, model.routingSource());
+ Assertions.assertEquals("qcgw", model.message().body());
+ Assertions.assertEquals("j", model.message().appProperties().get("zg"));
+ Assertions.assertEquals("savjcbpwxqps", model.message().systemProperties().get("knftguvriuh"));
}
// Use "Map.of" if available
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesResultInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesResultInnerTests.java
index f90d26deae45..5941506806d0 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesResultInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesResultInnerTests.java
@@ -13,12 +13,12 @@ public final class TestAllRoutesResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TestAllRoutesResultInner model = BinaryData.fromString(
- "{\"routes\":[{\"properties\":{\"name\":\"pwo\",\"source\":\"Invalid\",\"condition\":\"kfpbs\",\"endpointNames\":[\"ofd\"],\"isEnabled\":false}},{\"properties\":{\"name\":\"us\",\"source\":\"MqttBrokerMessages\",\"condition\":\"ouwaboekqvkeln\",\"endpointNames\":[\"vbxwyjsflhh\"],\"isEnabled\":false}}]}")
+ "{\"routes\":[{\"properties\":{\"name\":\"bnxknalaulppg\",\"source\":\"MqttBrokerMessages\",\"condition\":\"pnapnyiropuh\",\"endpointNames\":[\"gvpgy\",\"gqgitxmedjvcsl\"],\"isEnabled\":false}},{\"properties\":{\"name\":\"wwncwzzhxgk\",\"source\":\"DeviceLifecycleEvents\",\"condition\":\"gucnapkte\",\"endpointNames\":[\"llwptfdy\",\"pfqbuaceopzf\",\"rhhuaopppcqeqx\"],\"isEnabled\":true}}]}")
.toObject(TestAllRoutesResultInner.class);
- Assertions.assertEquals("pwo", model.routes().get(0).properties().name());
- Assertions.assertEquals(RoutingSource.INVALID, model.routes().get(0).properties().source());
- Assertions.assertEquals("kfpbs", model.routes().get(0).properties().condition());
- Assertions.assertEquals("ofd", model.routes().get(0).properties().endpointNames().get(0));
+ Assertions.assertEquals("bnxknalaulppg", model.routes().get(0).properties().name());
+ Assertions.assertEquals(RoutingSource.MQTT_BROKER_MESSAGES, model.routes().get(0).properties().source());
+ Assertions.assertEquals("pnapnyiropuh", model.routes().get(0).properties().condition());
+ Assertions.assertEquals("gvpgy", model.routes().get(0).properties().endpointNames().get(0));
Assertions.assertFalse(model.routes().get(0).properties().isEnabled());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteInputTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteInputTests.java
index f0d885991b16..3cfed551f6d9 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteInputTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteInputTests.java
@@ -20,46 +20,40 @@ public final class TestRouteInputTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TestRouteInput model = BinaryData.fromString(
- "{\"message\":{\"body\":\"xv\",\"appProperties\":{\"blytk\":\"yslqbhsfx\",\"rn\":\"lmpewwwfbkr\"},\"systemProperties\":{\"rruvwbhsq\":\"hqjohxcrsbfova\",\"gjb\":\"sub\",\"rfbjf\":\"rxbpyb\"}},\"route\":{\"name\":\"twss\",\"source\":\"Invalid\",\"condition\":\"tpvjzbexilzznfqq\",\"endpointNames\":[\"wpmqt\"],\"isEnabled\":false},\"twin\":{\"tags\":{\"ybn\":\"\\\"datajmkcjhwqytj\\\"\",\"aen\":\"\\\"datajewgdrjerv\\\"\",\"fthnzdn\":\"\\\"datapehindoygm\\\"\"},\"properties\":{\"desired\":{\"ynduha\":\"\\\"datanayqi\\\"\",\"bgycduiertgccym\":\"\\\"datahqlkthumaqo\\\"\",\"lqlfm\":\"\\\"dataaolps\\\"\"},\"reported\":{\"yhz\":\"\\\"databbglzpswiydmc\\\"\"}}}}")
+ "{\"message\":{\"body\":\"jy\",\"appProperties\":{\"xqzvszjfa\":\"xxjyngudivkrtsw\"},\"systemProperties\":{\"qmcbxvwvxyslqbhs\":\"fdxxivetvtcqaqtd\"}},\"route\":{\"name\":\"xoblytkbl\",\"source\":\"Invalid\",\"condition\":\"wwwfbkr\",\"endpointNames\":[\"nsvs\"],\"isEnabled\":false},\"twin\":{\"tags\":\"\\\"datahxcr\\\"\",\"properties\":{\"desired\":\"\\\"dataovasrruvwbhsqfsu\\\"\",\"reported\":\"\\\"datagjb\\\"\"}}}")
.toObject(TestRouteInput.class);
- Assertions.assertEquals("xv", model.message().body());
- Assertions.assertEquals("yslqbhsfx", model.message().appProperties().get("blytk"));
- Assertions.assertEquals("hqjohxcrsbfova", model.message().systemProperties().get("rruvwbhsq"));
- Assertions.assertEquals("twss", model.route().name());
+ Assertions.assertEquals("jy", model.message().body());
+ Assertions.assertEquals("xxjyngudivkrtsw", model.message().appProperties().get("xqzvszjfa"));
+ Assertions.assertEquals("fdxxivetvtcqaqtd", model.message().systemProperties().get("qmcbxvwvxyslqbhs"));
+ Assertions.assertEquals("xoblytkbl", model.route().name());
Assertions.assertEquals(RoutingSource.INVALID, model.route().source());
- Assertions.assertEquals("tpvjzbexilzznfqq", model.route().condition());
- Assertions.assertEquals("wpmqt", model.route().endpointNames().get(0));
+ Assertions.assertEquals("wwwfbkr", model.route().condition());
+ Assertions.assertEquals("nsvs", model.route().endpointNames().get(0));
Assertions.assertFalse(model.route().isEnabled());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- TestRouteInput model
- = new TestRouteInput()
- .withMessage(new RoutingMessage().withBody("xv")
- .withAppProperties(mapOf("blytk", "yslqbhsfx", "rn", "lmpewwwfbkr"))
- .withSystemProperties(mapOf("rruvwbhsq", "hqjohxcrsbfova", "gjb", "sub", "rfbjf", "rxbpyb")))
- .withRoute(new RouteProperties().withName("twss")
- .withSource(RoutingSource.INVALID)
- .withCondition("tpvjzbexilzznfqq")
- .withEndpointNames(Arrays.asList("wpmqt"))
- .withIsEnabled(false))
- .withTwin(
- new RoutingTwin()
- .withTags(mapOf("ybn", "\"datajmkcjhwqytj\"", "aen", "\"datajewgdrjerv\"", "fthnzdn",
- "\"datapehindoygm\""))
- .withProperties(new RoutingTwinProperties()
- .withDesired(mapOf("ynduha", "\"datanayqi\"", "bgycduiertgccym", "\"datahqlkthumaqo\"",
- "lqlfm", "\"dataaolps\""))
- .withReported(mapOf("yhz", "\"databbglzpswiydmc\""))));
+ TestRouteInput model = new TestRouteInput()
+ .withMessage(new RoutingMessage().withBody("jy")
+ .withAppProperties(mapOf("xqzvszjfa", "xxjyngudivkrtsw"))
+ .withSystemProperties(mapOf("qmcbxvwvxyslqbhs", "fdxxivetvtcqaqtd")))
+ .withRoute(new RouteProperties().withName("xoblytkbl")
+ .withSource(RoutingSource.INVALID)
+ .withCondition("wwwfbkr")
+ .withEndpointNames(Arrays.asList("nsvs"))
+ .withIsEnabled(false))
+ .withTwin(new RoutingTwin().withTags("\"datahxcr\"")
+ .withProperties(
+ new RoutingTwinProperties().withDesired("\"dataovasrruvwbhsqfsu\"").withReported("\"datagjb\"")));
model = BinaryData.fromObject(model).toObject(TestRouteInput.class);
- Assertions.assertEquals("xv", model.message().body());
- Assertions.assertEquals("yslqbhsfx", model.message().appProperties().get("blytk"));
- Assertions.assertEquals("hqjohxcrsbfova", model.message().systemProperties().get("rruvwbhsq"));
- Assertions.assertEquals("twss", model.route().name());
+ Assertions.assertEquals("jy", model.message().body());
+ Assertions.assertEquals("xxjyngudivkrtsw", model.message().appProperties().get("xqzvszjfa"));
+ Assertions.assertEquals("fdxxivetvtcqaqtd", model.message().systemProperties().get("qmcbxvwvxyslqbhs"));
+ Assertions.assertEquals("xoblytkbl", model.route().name());
Assertions.assertEquals(RoutingSource.INVALID, model.route().source());
- Assertions.assertEquals("tpvjzbexilzznfqq", model.route().condition());
- Assertions.assertEquals("wpmqt", model.route().endpointNames().get(0));
+ Assertions.assertEquals("wwwfbkr", model.route().condition());
+ Assertions.assertEquals("nsvs", model.route().endpointNames().get(0));
Assertions.assertFalse(model.route().isEnabled());
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultDetailsTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultDetailsTests.java
index 16a0dfe94645..d98f036fba3b 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultDetailsTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultDetailsTests.java
@@ -13,13 +13,13 @@ public final class TestRouteResultDetailsTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TestRouteResultDetails model = BinaryData.fromString(
- "{\"compilationErrors\":[{\"message\":\"pvjzbe\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":1551412306,\"column\":267122524},\"end\":{\"line\":1331345486,\"column\":1473271495}}},{\"message\":\"taruoujmkcj\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":75465955,\"column\":778428037},\"end\":{\"line\":395045632,\"column\":1463995661}}},{\"message\":\"drjervnaenqpehin\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":1627840881,\"column\":1448466618},\"end\":{\"line\":132200951,\"column\":1800612686}}}]}")
+ "{\"compilationErrors\":[{\"message\":\"qig\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":924939472,\"column\":1204451627},\"end\":{\"line\":1323029416,\"column\":918393543}}},{\"message\":\"aqolbgycduiertg\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":50940581,\"column\":76010479},\"end\":{\"line\":1282949861,\"column\":1696619816}}},{\"message\":\"mmdnbbglzps\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":1596263349,\"column\":695462376},\"end\":{\"line\":900770190,\"column\":1311226680}}}]}")
.toObject(TestRouteResultDetails.class);
- Assertions.assertEquals("pvjzbe", model.compilationErrors().get(0).message());
- Assertions.assertEquals(RouteErrorSeverity.ERROR, model.compilationErrors().get(0).severity());
- Assertions.assertEquals(1551412306, model.compilationErrors().get(0).location().start().line());
- Assertions.assertEquals(267122524, model.compilationErrors().get(0).location().start().column());
- Assertions.assertEquals(1331345486, model.compilationErrors().get(0).location().end().line());
- Assertions.assertEquals(1473271495, model.compilationErrors().get(0).location().end().column());
+ Assertions.assertEquals("qig", model.compilationErrors().get(0).message());
+ Assertions.assertEquals(RouteErrorSeverity.WARNING, model.compilationErrors().get(0).severity());
+ Assertions.assertEquals(924939472, model.compilationErrors().get(0).location().start().line());
+ Assertions.assertEquals(1204451627, model.compilationErrors().get(0).location().start().column());
+ Assertions.assertEquals(1323029416, model.compilationErrors().get(0).location().end().line());
+ Assertions.assertEquals(918393543, model.compilationErrors().get(0).location().end().column());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultInnerTests.java
index cd6d1a2c27be..9a5a5d098b99 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestRouteResultInnerTests.java
@@ -14,14 +14,14 @@ public final class TestRouteResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TestRouteResultInner model = BinaryData.fromString(
- "{\"result\":\"false\",\"details\":{\"compilationErrors\":[{\"message\":\"blytk\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":1562521656,\"column\":520113589},\"end\":{\"line\":1359376561,\"column\":455035351}}},{\"message\":\"svshqjohx\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":249445305,\"column\":1966093769},\"end\":{\"line\":206574326,\"column\":94266347}}},{\"message\":\"hsqfsubcgjbirxbp\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":1488551511,\"column\":891212878},\"end\":{\"line\":1972509388,\"column\":1365200524}}}]}}")
+ "{\"result\":\"false\",\"details\":{\"compilationErrors\":[{\"message\":\"srfbjfdtwss\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":874148827,\"column\":1235013026},\"end\":{\"line\":1057432086,\"column\":1579331831}}},{\"message\":\"nfqqnvwp\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":1284168772,\"column\":623539244},\"end\":{\"line\":1203309297,\"column\":1426920839}}},{\"message\":\"qytjrybnwjewgd\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":604177419,\"column\":1214178064},\"end\":{\"line\":305613807,\"column\":1479768723}}},{\"message\":\"doy\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":372150678,\"column\":132200951},\"end\":{\"line\":294736838,\"column\":962281735}}}]}}")
.toObject(TestRouteResultInner.class);
Assertions.assertEquals(TestResultStatus.FALSE, model.result());
- Assertions.assertEquals("blytk", model.details().compilationErrors().get(0).message());
- Assertions.assertEquals(RouteErrorSeverity.ERROR, model.details().compilationErrors().get(0).severity());
- Assertions.assertEquals(1562521656, model.details().compilationErrors().get(0).location().start().line());
- Assertions.assertEquals(520113589, model.details().compilationErrors().get(0).location().start().column());
- Assertions.assertEquals(1359376561, model.details().compilationErrors().get(0).location().end().line());
- Assertions.assertEquals(455035351, model.details().compilationErrors().get(0).location().end().column());
+ Assertions.assertEquals("srfbjfdtwss", model.details().compilationErrors().get(0).message());
+ Assertions.assertEquals(RouteErrorSeverity.WARNING, model.details().compilationErrors().get(0).severity());
+ Assertions.assertEquals(874148827, model.details().compilationErrors().get(0).location().start().line());
+ Assertions.assertEquals(1235013026, model.details().compilationErrors().get(0).location().start().column());
+ Assertions.assertEquals(1057432086, model.details().compilationErrors().get(0).location().end().line());
+ Assertions.assertEquals(1579331831, model.details().compilationErrors().get(0).location().end().column());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaListResultInnerTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaListResultInnerTests.java
index efba98d9a080..e4a88b8a4872 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaListResultInnerTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaListResultInnerTests.java
@@ -12,14 +12,14 @@ public final class UserSubscriptionQuotaListResultInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
UserSubscriptionQuotaListResultInner model = BinaryData.fromString(
- "{\"value\":[{\"id\":\"nwnwme\",\"type\":\"syyceuzsoibjud\",\"unit\":\"rx\",\"currentValue\":1839855586,\"limit\":747190122,\"name\":{\"value\":\"ytdw\",\"localizedValue\":\"brqubp\"}}],\"nextLink\":\"h\"}")
+ "{\"value\":[{\"id\":\"feaenwab\",\"type\":\"tkl\",\"unit\":\"xbjhwuaanozjosph\",\"currentValue\":1172987793,\"limit\":2134334822,\"name\":{\"value\":\"v\",\"localizedValue\":\"glrvimjwosytxi\"}},{\"id\":\"skfc\",\"type\":\"qumiek\",\"unit\":\"zzikhlyfjhdg\",\"currentValue\":757390701,\"limit\":558583308,\"name\":{\"value\":\"nyga\",\"localizedValue\":\"idb\"}},{\"id\":\"atpxl\",\"type\":\"xcyjmoadsuvarmy\",\"unit\":\"mjsjqb\",\"currentValue\":1682275079,\"limit\":249171205,\"name\":{\"value\":\"wlycoduhpkxkg\",\"localizedValue\":\"areqna\"}},{\"id\":\"qugjhkycube\",\"type\":\"gssofwq\",\"unit\":\"qal\",\"currentValue\":1473869810,\"limit\":1723578922,\"name\":{\"value\":\"pxacqqudfn\",\"localizedValue\":\"xbaaabjyv\"}}],\"nextLink\":\"ffimrzrtuzqogsex\"}")
.toObject(UserSubscriptionQuotaListResultInner.class);
- Assertions.assertEquals("nwnwme", model.value().get(0).id());
- Assertions.assertEquals("syyceuzsoibjud", model.value().get(0).type());
- Assertions.assertEquals("rx", model.value().get(0).unit());
- Assertions.assertEquals(1839855586, model.value().get(0).currentValue());
- Assertions.assertEquals(747190122, model.value().get(0).limit());
- Assertions.assertEquals("ytdw", model.value().get(0).name().value());
- Assertions.assertEquals("brqubp", model.value().get(0).name().localizedValue());
+ Assertions.assertEquals("feaenwab", model.value().get(0).id());
+ Assertions.assertEquals("tkl", model.value().get(0).type());
+ Assertions.assertEquals("xbjhwuaanozjosph", model.value().get(0).unit());
+ Assertions.assertEquals(1172987793, model.value().get(0).currentValue());
+ Assertions.assertEquals(2134334822, model.value().get(0).limit());
+ Assertions.assertEquals("v", model.value().get(0).name().value());
+ Assertions.assertEquals("glrvimjwosytxi", model.value().get(0).name().localizedValue());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaTests.java
index ddd42900e5e9..48de57628708 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaTests.java
+++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/UserSubscriptionQuotaTests.java
@@ -12,14 +12,14 @@ public final class UserSubscriptionQuotaTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
UserSubscriptionQuota model = BinaryData.fromString(
- "{\"id\":\"iilivpdtiirqtd\",\"type\":\"axoruzfgsquy\",\"unit\":\"rxxle\",\"currentValue\":971666711,\"limit\":1899778245,\"name\":{\"value\":\"ezw\",\"localizedValue\":\"nwxuqlcvydyp\"}}")
+ "{\"id\":\"vfdnwnwmewzsyyce\",\"type\":\"soibjudpfrx\",\"unit\":\"thzvaytdwkqbrqu\",\"currentValue\":749295202,\"limit\":31333478,\"name\":{\"value\":\"iilivpdtiirqtd\",\"localizedValue\":\"axoruzfgsquy\"}}")
.toObject(UserSubscriptionQuota.class);
- Assertions.assertEquals("iilivpdtiirqtd", model.id());
- Assertions.assertEquals("axoruzfgsquy", model.type());
- Assertions.assertEquals("rxxle", model.unit());
- Assertions.assertEquals(971666711, model.currentValue());
- Assertions.assertEquals(1899778245, model.limit());
- Assertions.assertEquals("ezw", model.name().value());
- Assertions.assertEquals("nwxuqlcvydyp", model.name().localizedValue());
+ Assertions.assertEquals("vfdnwnwmewzsyyce", model.id());
+ Assertions.assertEquals("soibjudpfrx", model.type());
+ Assertions.assertEquals("thzvaytdwkqbrqu", model.unit());
+ Assertions.assertEquals(749295202, model.currentValue());
+ Assertions.assertEquals(31333478, model.limit());
+ Assertions.assertEquals("iilivpdtiirqtd", model.name().value());
+ Assertions.assertEquals("axoruzfgsquy", model.name().localizedValue());
}
}
diff --git a/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml b/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml
index ce14d5eb4b42..bd1eafb45d82 100644
--- a/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml
+++ b/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml
@@ -1,4 +1,4 @@
directory: specification/iothub/resource-manager/Microsoft.Devices/IoTHub
-commit: 39bf1b80fd8bc55b091192d51d67433c84930639
+commit: e242531106b574c3f98fb7306dbceedd82b05f69
repo: Azure/azure-rest-api-specs
additionalDirectories: