From 958c23c8fc9aa9988071da8fb366ee2499726232 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Mon, 20 Jul 2026 20:05:22 +0000 Subject: [PATCH 1/5] Configurations: 'specification/iothub/resource-manager/Microsoft.Devices/IoTHub/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '87b246496a1e5347f8527e1e01a45b4cd7632036' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6589428 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../azure-resourcemanager-iothub/CHANGELOG.md | 54 ++- .../azure-resourcemanager-iothub/README.md | 4 +- .../azure-resourcemanager-iothub/SAMPLE.md | 107 +++--- .../azure-resourcemanager-iothub/pom.xml | 2 +- .../implementation/IotHubClientImpl.java | 2 +- .../iothub/models/DeviceRegistry.java | 8 +- .../models/EventStreamAuthenticationType.java | 46 +++ .../iothub/models/GatewayVersion.java | 51 +++ .../iothub/models/IotHubDetails.java | 75 +++++ .../iothub/models/IotHubProperties.java | 48 +++ .../iothub/models/IotHubSku.java | 5 - .../iothub/models/IotHubSkuTier.java | 7 +- .../iothub/models/RoutingEndpoints.java | 32 ++ .../models/RoutingEventStreamProperties.java | 310 ++++++++++++++++++ .../iothub/models/RoutingTwin.java | 14 +- .../iothub/models/RoutingTwinProperties.java | 33 +- ...azure-resourcemanager-iothub_metadata.json | 2 +- .../CertificatesCreateOrUpdateSamples.java | 4 +- .../generated/CertificatesDeleteSamples.java | 2 +- ...icatesGenerateVerificationCodeSamples.java | 2 +- .../generated/CertificatesGetSamples.java | 2 +- .../CertificatesListByIotHubSamples.java | 2 +- .../generated/CertificatesVerifySamples.java | 2 +- .../IotHubManualFailoverSamples.java | 2 +- ...bResourceCheckNameAvailabilitySamples.java | 2 +- ...rceCreateEventHubConsumerGroupSamples.java | 2 +- .../IotHubResourceCreateOrUpdateSamples.java | 31 +- ...rceDeleteEventHubConsumerGroupSamples.java | 2 +- .../IotHubResourceDeleteSamples.java | 2 +- .../IotHubResourceExportDevicesSamples.java | 2 +- ...tHubResourceGetByResourceGroupSamples.java | 2 +- ...otHubResourceGetEndpointHealthSamples.java | 2 +- ...sourceGetEventHubConsumerGroupSamples.java | 2 +- .../IotHubResourceGetJobSamples.java | 2 +- ...otHubResourceGetKeysForKeyNameSamples.java | 2 +- .../IotHubResourceGetQuotaMetricsSamples.java | 2 +- .../IotHubResourceGetStatsSamples.java | 2 +- .../IotHubResourceGetValidSkusSamples.java | 2 +- .../IotHubResourceImportDevicesSamples.java | 2 +- ...HubResourceListByResourceGroupSamples.java | 2 +- ...urceListEventHubConsumerGroupsSamples.java | 2 +- .../IotHubResourceListJobsSamples.java | 2 +- .../IotHubResourceListKeysSamples.java | 2 +- .../generated/IotHubResourceListSamples.java | 2 +- .../IotHubResourceTestAllRoutesSamples.java | 2 +- .../IotHubResourceTestRouteSamples.java | 2 +- .../IotHubResourceUpdateSamples.java | 2 +- .../generated/OperationsListSamples.java | 2 +- ...ivateEndpointConnectionsDeleteSamples.java | 2 +- .../PrivateEndpointConnectionsGetSamples.java | 2 +- ...PrivateEndpointConnectionsListSamples.java | 2 +- ...ivateEndpointConnectionsUpdateSamples.java | 2 +- ...ivateLinkResourcesOperationGetSamples.java | 2 +- ...vateLinkResourcesOperationListSamples.java | 2 +- ...iderCommonGetSubscriptionQuotaSamples.java | 2 +- .../iothub/generated/ArmIdentityTests.java | 11 +- .../generated/ArmUserIdentityTests.java | 2 +- .../CertificateDescriptionInnerTests.java | 20 +- .../CertificateListDescriptionInnerTests.java | 6 +- .../generated/CertificatePropertiesTests.java | 12 +- ...rtificateVerificationDescriptionTests.java | 8 +- ...esCreateOrUpdateWithResponseMockTests.java | 20 +- ...rtificatesDeleteWithResponseMockTests.java | 3 +- .../CertificatesGetWithResponseMockTests.java | 8 +- ...atesListByIotHubWithResponseMockTests.java | 10 +- ...rtificatesVerifyWithResponseMockTests.java | 12 +- .../CloudToDevicePropertiesTests.java | 32 +- .../iothub/generated/DeviceRegistryTests.java | 12 +- .../EndpointHealthDataInnerTests.java | 14 +- .../EndpointHealthDataListResultTests.java | 16 +- ...tHubConsumerGroupBodyDescriptionTests.java | 11 +- .../EventHubConsumerGroupInfoInnerTests.java | 2 +- .../EventHubConsumerGroupNameTests.java | 8 +- ...EventHubConsumerGroupsListResultTests.java | 4 +- .../iothub/generated/FailoverInputTests.java | 8 +- .../FallbackRoutePropertiesTests.java | 32 +- .../generated/FeedbackPropertiesTests.java | 20 +- .../GroupIdInformationInnerTests.java | 8 +- .../GroupIdInformationPropertiesTests.java | 8 +- .../generated/ImportDevicesRequestTests.java | 38 +-- .../iothub/generated/IotHubCapacityTests.java | 2 +- .../iothub/generated/IotHubDetailsTests.java | 18 + .../IotHubLocationDescriptionTests.java | 6 +- .../IotHubNameAvailabilityInfoInnerTests.java | 8 +- .../IotHubPropertiesDeviceStreamsTests.java | 11 +- .../IotHubQuotaMetricInfoInnerTests.java | 2 +- .../IotHubQuotaMetricInfoListResultTests.java | 4 +- ...NameAvailabilityWithResponseMockTests.java | 6 +- ...HubConsumerGroupWithResponseMockTests.java | 8 +- ...HubConsumerGroupWithResponseMockTests.java | 2 +- .../IotHubResourcesDeleteMockTests.java | 2 +- ...ubResourcesGetEndpointHealthMockTests.java | 16 +- ...HubConsumerGroupWithResponseMockTests.java | 5 +- ...bResourcesGetJobWithResponseMockTests.java | 4 +- ...tHubResourcesGetQuotaMetricsMockTests.java | 4 +- ...esourcesGetStatsWithResponseMockTests.java | 4 +- .../IotHubResourcesGetValidSkusMockTests.java | 10 +- ...cesImportDevicesWithResponseMockTests.java | 20 +- ...esListEventHubConsumerGroupsMockTests.java | 5 +- .../IotHubResourcesListJobsMockTests.java | 4 +- ...cesTestAllRoutesWithResponseMockTests.java | 32 +- ...sourcesTestRouteWithResponseMockTests.java | 39 ++- .../IotHubSkuDescriptionInnerTests.java | 6 +- .../IotHubSkuDescriptionListResultTests.java | 8 +- .../iothub/generated/IotHubSkuInfoTests.java | 12 +- .../IotHubsManualFailoverMockTests.java | 2 +- .../generated/JobResponseInnerTests.java | 2 +- .../generated/JobResponseListResultTests.java | 4 +- .../iothub/generated/MatchedRouteTests.java | 10 +- .../MessagingEndpointPropertiesTests.java | 20 +- .../iothub/generated/NameTests.java | 7 +- .../generated/OperationInputsTests.java | 8 +- .../generated/OperationsListMockTests.java | 2 +- ...ateEndpointConnectionsDeleteMockTests.java | 3 +- ...ntConnectionsGetWithResponseMockTests.java | 10 +- ...tConnectionsListWithResponseMockTests.java | 8 +- ...ateEndpointConnectionsUpdateMockTests.java | 18 +- .../PrivateLinkResourcesInnerTests.java | 8 +- ...cesOperationsGetWithResponseMockTests.java | 10 +- ...esOperationsListWithResponseMockTests.java | 10 +- .../RegistryStatisticsInnerTests.java | 2 +- ...ubscriptionQuotaWithResponseMockTests.java | 16 +- .../RootCertificatePropertiesTests.java | 8 +- .../generated/RouteCompilationErrorTests.java | 14 +- .../generated/RouteErrorPositionTests.java | 6 +- .../generated/RouteErrorRangeTests.java | 10 +- .../generated/RoutePropertiesTests.java | 32 +- .../RoutingEventStreamPropertiesTests.java | 49 +++ .../iothub/generated/RoutingMessageTests.java | 23 +- .../generated/RoutingTwinPropertiesTests.java | 25 +- .../iothub/generated/RoutingTwinTests.java | 23 +- .../StorageEndpointPropertiesTests.java | 32 +- .../iothub/generated/TagsResourceTests.java | 10 +- .../generated/TestAllRoutesInputTests.java | 37 ++- .../TestAllRoutesResultInnerTests.java | 10 +- .../iothub/generated/TestRouteInputTests.java | 55 ++-- .../TestRouteResultDetailsTests.java | 14 +- .../generated/TestRouteResultInnerTests.java | 14 +- ...SubscriptionQuotaListResultInnerTests.java | 16 +- .../generated/UserSubscriptionQuotaTests.java | 16 +- .../tsp-location.yaml | 2 +- 141 files changed, 1367 insertions(+), 639 deletions(-) create mode 100644 sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/EventStreamAuthenticationType.java create mode 100644 sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/GatewayVersion.java create mode 100644 sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubDetails.java create mode 100644 sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/RoutingEventStreamProperties.java create mode 100644 sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubDetailsTests.java create mode 100644 sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingEventStreamPropertiesTests.java diff --git a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md index 85a3bc310719..779205dfa707 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md +++ b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md @@ -1,14 +1,60 @@ # Release History -## 1.4.0-beta.3 (Unreleased) +## 1.4.0-beta.3 (2026-07-20) -### 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.RoutingTwinProperties` was modified + +* `withReported(java.lang.Object)` was removed +* `java.lang.Object reported()` -> `java.util.Map reported()` +* `java.lang.Object desired()` -> `java.util.Map desired()` +* `withDesired(java.lang.Object)` was removed + +#### `models.IotHubSkuTier` was modified + +* `GENERATION2` was removed + +#### `models.IotHubSku` was modified + +* `GEN2` was removed + +#### `models.RoutingTwin` was modified + +* `withTags(java.lang.Object)` was removed +* `java.lang.Object tags()` -> `java.util.Map tags()` + +### Features Added + +* `models.EventStreamAuthenticationType` was added + +* `models.GatewayVersion` was added + +* `models.RoutingEventStreamProperties` was added + +* `models.IotHubDetails` was added + +#### `models.IotHubProperties` was modified + +* `deviceHostName()` was added +* `serviceHostName()` was added +* `iotHubDetails()` was added + +#### `models.RoutingTwinProperties` was modified + +* `withDesired(java.util.Map)` was added +* `withReported(java.util.Map)` was added + +#### `models.RoutingEndpoints` was modified + +* `withEventStreams(java.util.List)` was added +* `eventStreams()` was added + +#### `models.RoutingTwin` was modified -### Other Changes +* `withTags(java.util.Map)` 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 0536556f3185..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 = "2025-08-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/GatewayVersion.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/GatewayVersion.java new file mode 100644 index 000000000000..5636c1fd5130 --- /dev/null +++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/GatewayVersion.java @@ -0,0 +1,51 @@ +// 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; + +/** + * The IoT hub Gateway version. + */ +public final class GatewayVersion extends ExpandableStringEnum { + /** + * V1. + */ + public static final GatewayVersion V1 = fromString("V1"); + + /** + * V2. + */ + public static final GatewayVersion V2 = fromString("V2"); + + /** + * Creates a new instance of GatewayVersion value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public GatewayVersion() { + } + + /** + * Creates or finds a GatewayVersion from its string representation. + * + * @param name a name to look for. + * @return the corresponding GatewayVersion. + */ + public static GatewayVersion fromString(String name) { + return fromString(name, GatewayVersion.class); + } + + /** + * Gets known GatewayVersion values. + * + * @return known GatewayVersion values. + */ + public static Collection values() { + return values(GatewayVersion.class); + } +} diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubDetails.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubDetails.java new file mode 100644 index 000000000000..fa5140efbfb3 --- /dev/null +++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubDetails.java @@ -0,0 +1,75 @@ +// 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.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Set of additional read-only properties for the IoT hub. + */ +@Immutable +public final class IotHubDetails implements JsonSerializable { + /* + * The IoT hub Gateway version. + */ + private GatewayVersion gatewayVersion; + + /** + * Creates an instance of IotHubDetails class. + */ + private IotHubDetails() { + } + + /** + * Get the gatewayVersion property: The IoT hub Gateway version. + * + * @return the gatewayVersion value. + */ + public GatewayVersion gatewayVersion() { + return this.gatewayVersion; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("gatewayVersion", + this.gatewayVersion == null ? null : this.gatewayVersion.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of IotHubDetails from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of IotHubDetails if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the IotHubDetails. + */ + public static IotHubDetails fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + IotHubDetails deserializedIotHubDetails = new IotHubDetails(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("gatewayVersion".equals(fieldName)) { + deserializedIotHubDetails.gatewayVersion = GatewayVersion.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedIotHubDetails; + }); + } +} diff --git a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubProperties.java b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubProperties.java index 3b744a35072d..650b9b465b35 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubProperties.java +++ b/sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubProperties.java @@ -92,6 +92,16 @@ public final class IotHubProperties implements JsonSerializable eventHubEndpoints = reader.readMap(reader1 -> EventHubProperties.fromJson(reader1)); @@ -871,6 +917,8 @@ public static IotHubProperties fromJson(JsonReader jsonReader) throws IOExceptio deserializedIotHubProperties.ipVersion = IpVersion.fromString(reader.getString()); } else if ("deviceRegistry".equals(fieldName)) { deserializedIotHubProperties.deviceRegistry = DeviceRegistry.fromJson(reader); + } else if ("iotHubDetails".equals(fieldName)) { + deserializedIotHubProperties.iotHubDetails = IotHubDetails.fromJson(reader); } else { reader.skipChildren(); } 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 610d2796e27a..991c7bb90251 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,6 +10,7 @@ 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. @@ -19,7 +20,7 @@ public final class RoutingTwin implements JsonSerializable { /* * Twin Tags */ - private Object tags; + private Map tags; /* * The properties property. @@ -37,7 +38,7 @@ public RoutingTwin() { * * @return the tags value. */ - public Object tags() { + public Map tags() { return this.tags; } @@ -47,7 +48,7 @@ public Object tags() { * @param tags the tags value to set. * @return the RoutingTwin object itself. */ - public RoutingTwin withTags(Object tags) { + public RoutingTwin withTags(Map tags) { this.tags = tags; return this; } @@ -78,9 +79,7 @@ public RoutingTwin withProperties(RoutingTwinProperties properties) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - if (this.tags != null) { - jsonWriter.writeUntypedField("tags", this.tags); - } + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeUntyped(element)); jsonWriter.writeJsonField("properties", this.properties); return jsonWriter.writeEndObject(); } @@ -101,7 +100,8 @@ public static RoutingTwin fromJson(JsonReader jsonReader) throws IOException { reader.nextToken(); if ("tags".equals(fieldName)) { - deserializedRoutingTwin.tags = reader.readUntyped(); + Map tags = reader.readMap(reader1 -> reader1.readUntyped()); + deserializedRoutingTwin.tags = tags; } 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 3951828034ae..0ea862c77e0d 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,6 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * The RoutingTwinProperties model. @@ -19,12 +20,12 @@ public final class RoutingTwinProperties implements JsonSerializable desired; /* - * Twin desired properties + * Twin reported properties */ - private Object reported; + private Map reported; /** * Creates an instance of RoutingTwinProperties class. @@ -37,7 +38,7 @@ public RoutingTwinProperties() { * * @return the desired value. */ - public Object desired() { + public Map desired() { return this.desired; } @@ -47,27 +48,27 @@ public Object desired() { * @param desired the desired value to set. * @return the RoutingTwinProperties object itself. */ - public RoutingTwinProperties withDesired(Object desired) { + public RoutingTwinProperties withDesired(Map desired) { this.desired = desired; return this; } /** - * Get the reported property: Twin desired properties. + * Get the reported property: Twin reported properties. * * @return the reported value. */ - public Object reported() { + public Map reported() { return this.reported; } /** - * Set the reported property: Twin desired properties. + * Set the reported property: Twin reported properties. * * @param reported the reported value to set. * @return the RoutingTwinProperties object itself. */ - public RoutingTwinProperties withReported(Object reported) { + public RoutingTwinProperties withReported(Map reported) { this.reported = reported; return this; } @@ -78,12 +79,8 @@ public RoutingTwinProperties withReported(Object reported) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - if (this.desired != null) { - jsonWriter.writeUntypedField("desired", this.desired); - } - if (this.reported != null) { - jsonWriter.writeUntypedField("reported", this.reported); - } + jsonWriter.writeMapField("desired", this.desired, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("reported", this.reported, (writer, element) -> writer.writeUntyped(element)); return jsonWriter.writeEndObject(); } @@ -103,9 +100,11 @@ public static RoutingTwinProperties fromJson(JsonReader jsonReader) throws IOExc reader.nextToken(); if ("desired".equals(fieldName)) { - deserializedRoutingTwinProperties.desired = reader.readUntyped(); + Map desired = reader.readMap(reader1 -> reader1.readUntyped()); + deserializedRoutingTwinProperties.desired = desired; } else if ("reported".equals(fieldName)) { - deserializedRoutingTwinProperties.reported = reader.readUntyped(); + Map reported = reader.readMap(reader1 -> reader1.readUntyped()); + deserializedRoutingTwinProperties.reported = reported; } 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..21fbef9181b7 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":"9dea9d992167","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 97a31267d9a9..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: 2025-08-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: 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. 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 bc2dcac623a4..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: 2025-08-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 04ef1d23d0b0..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: 2025-08-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 6e644f11a84b..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: 2025-08-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 c95eeb9076bc..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: 2025-08-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 7b85fb32e48f..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: 2025-08-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 cd7bd75a9999..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: 2025-08-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 f3529fee10a8..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: 2025-08-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 75cb31ebe09b..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: 2025-08-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 c6d2c7517d69..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: 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. @@ -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: 2025-08-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 5c36207bf6b7..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: 2025-08-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 bdc9f83aae98..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: 2025-08-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 d0db3c1c1ff1..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: 2025-08-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 669d4b9af018..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: 2025-08-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 140232e37faa..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: 2025-08-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 ce6c7c1427f2..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: 2025-08-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 7cf30329c4b7..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: 2025-08-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 4be207a3019d..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: 2025-08-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 78a108746cbb..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: 2025-08-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 3eb5d766e92e..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: 2025-08-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 23000016fed7..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: 2025-08-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 5acc0e3a7d24..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: 2025-08-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 c2040062d270..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: 2025-08-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 423b2ce6de11..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: 2025-08-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 5cdfb0edae6e..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: 2025-08-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 2e901ff1be07..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: 2025-08-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 cf9d48d9e88c..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: 2025-08-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 85c2ca10f705..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: 2025-08-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 ada79bc0b5e3..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: 2025-08-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 16ad66281431..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: 2025-08-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 cec45f4615dc..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: 2025-08-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 ee2fb9c2bba3..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: 2025-08-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 9db8945811e8..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: 2025-08-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 8255d998dd52..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: 2025-08-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 57cc3d3207be..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: 2025-08-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 203d09cca160..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: 2025-08-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 a901f4e329f8..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: 2025-08-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 e7d463c343a6..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: 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/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..94148ed46036 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,22 @@ 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\":\"vpa\",\"expiry\":\"Fri, 08 Jan 2021 00:37:46 GMT\",\"thumbprint\":\"qqu\",\"isVerified\":false,\"created\":\"Thu, 24 Dec 2020 02:26:02 GMT\",\"updated\":\"Sat, 18 Sep 2021 11:22:34 GMT\",\"certificate\":\"xkalla\",\"policyResourceId\":\"elwuipi\"},\"etag\":\"jzkzi\",\"id\":\"vvcnayr\",\"name\":\"yrnxxmueedn\",\"type\":\"rdvstkwqqtch\"}") .toObject(CertificateDescriptionInner.class); - Assertions.assertTrue(model.properties().isVerified()); - Assertions.assertEquals("jwaa", model.properties().certificate()); - Assertions.assertEquals("pqiiobyuqe", model.properties().policyResourceId()); + Assertions.assertFalse(model.properties().isVerified()); + Assertions.assertEquals("xkalla", model.properties().certificate()); + Assertions.assertEquals("elwuipi", 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")); + = new CertificateDescriptionInner().withProperties(new CertificateProperties().withIsVerified(false) + .withCertificate("xkalla") + .withPolicyResourceId("elwuipi")); 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.assertFalse(model.properties().isVerified()); + Assertions.assertEquals("xkalla", model.properties().certificate()); + Assertions.assertEquals("elwuipi", 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..d0eefa0c273e 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\":\"mdbl\",\"expiry\":\"Sat, 06 Mar 2021 12:44:58 GMT\",\"thumbprint\":\"mfnjh\",\"isVerified\":false,\"created\":\"Fri, 12 Mar 2021 13:28:14 GMT\",\"updated\":\"Tue, 29 Jun 2021 07:51:14 GMT\",\"certificate\":\"kfoqreyfkzikfj\",\"policyResourceId\":\"n\"},\"etag\":\"ivx\",\"id\":\"zel\",\"name\":\"c\",\"type\":\"r\"},{\"properties\":{\"subject\":\"feaenwab\",\"expiry\":\"Tue, 07 Dec 2021 11:50:32 GMT\",\"thumbprint\":\"lddxbjhwua\",\"isVerified\":false,\"created\":\"Tue, 30 Mar 2021 04:43:35 GMT\",\"updated\":\"Sun, 21 Nov 2021 08:23:20 GMT\",\"certificate\":\"hyoulpjr\",\"policyResourceId\":\"ag\"},\"etag\":\"vimjwos\",\"id\":\"xitc\",\"name\":\"kfcktqum\",\"type\":\"ekkezzikhlyfjh\"}]}") .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("kfoqreyfkzikfj", model.value().get(0).properties().certificate()); + Assertions.assertEquals("n", 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..5718ea964f22 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\":\"lmfmtdaay\",\"expiry\":\"Thu, 18 Mar 2021 16:40:33 GMT\",\"thumbprint\":\"vgpiohgwxrt\",\"isVerified\":false,\"created\":\"Sat, 02 Oct 2021 23:21:47 GMT\",\"updated\":\"Fri, 29 Oct 2021 17:25:59 GMT\",\"certificate\":\"yqagvrvm\",\"policyResourceId\":\"k\"}") .toObject(CertificateProperties.class); Assertions.assertFalse(model.isVerified()); - Assertions.assertEquals("suwsyrsnds", model.certificate()); - Assertions.assertEquals("g", model.policyResourceId()); + Assertions.assertEquals("yqagvrvm", model.certificate()); + Assertions.assertEquals("k", 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("yqagvrvm").withPolicyResourceId("k"); model = BinaryData.fromObject(model).toObject(CertificateProperties.class); Assertions.assertFalse(model.isVerified()); - Assertions.assertEquals("suwsyrsnds", model.certificate()); - Assertions.assertEquals("g", model.policyResourceId()); + Assertions.assertEquals("yqagvrvm", model.certificate()); + Assertions.assertEquals("k", 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..a705d4469443 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 @@ -12,14 +12,14 @@ 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()); + = BinaryData.fromString("{\"certificate\":\"ajxq\"}").toObject(CertificateVerificationDescription.class); + Assertions.assertEquals("ajxq", model.certificate()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - CertificateVerificationDescription model = new CertificateVerificationDescription().withCertificate("jzkzi"); + CertificateVerificationDescription model = new CertificateVerificationDescription().withCertificate("ajxq"); model = BinaryData.fromObject(model).toObject(CertificateVerificationDescription.class); - Assertions.assertEquals("jzkzi", model.certificate()); + Assertions.assertEquals("ajxq", 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..7f1f97f2785b 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\":\"mlqoljx\",\"expiry\":\"Fri, 12 Nov 2021 05:30:54 GMT\",\"thumbprint\":\"xlx\",\"isVerified\":false,\"created\":\"Sun, 24 Jan 2021 07:17:26 GMT\",\"updated\":\"Wed, 08 Dec 2021 16:57:45 GMT\",\"certificate\":\"qzdwlvwlyoup\",\"policyResourceId\":\"fbkjubdyhgkfmi\"},\"etag\":\"g\",\"id\":\"zfttsttktlahb\",\"name\":\"actxtgzukxitm\",\"type\":\"qtgqqqxhrnxr\"}"; 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("cubiipuipw") + .withExistingIotHub("euzaof", "chvcyyysfgdo") + .withProperties(new CertificateProperties().withIsVerified(false) + .withCertificate("gmblrri") + .withPolicyResourceId("ywdxsmic")) + .withIfMatch("smsks") .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("qzdwlvwlyoup", response.properties().certificate()); + Assertions.assertEquals("fbkjubdyhgkfmi", 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..08ade2884482 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("lmbtxhwgfwsrt", "wcoezbrhub", "kh", "dyg", 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..95ec9d6560b3 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\":\"iplt\",\"expiry\":\"Wed, 21 Apr 2021 08:05:23 GMT\",\"thumbprint\":\"baxk\",\"isVerified\":false,\"created\":\"Tue, 15 Jun 2021 04:05:50 GMT\",\"updated\":\"Wed, 27 Jan 2021 09:50:08 GMT\",\"certificate\":\"yklyhpluodpvruud\",\"policyResourceId\":\"zibt\"},\"etag\":\"stgktst\",\"id\":\"xeclzedqbcvhzlhp\",\"name\":\"odqkdlwwqfb\",\"type\":\"mlkxtrqjfs\"}"; 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("yxgtczh", "ydbsd", "hmkxmaehvbb", 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("yklyhpluodpvruud", response.properties().certificate()); + Assertions.assertEquals("zibt", 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..f709b9be0d2a 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\":\"iqtqzfavyvnq\",\"expiry\":\"Sun, 23 May 2021 06:21:06 GMT\",\"thumbprint\":\"ryeu\",\"isVerified\":false,\"created\":\"Tue, 25 May 2021 11:37:10 GMT\",\"updated\":\"Mon, 19 Apr 2021 19:49:12 GMT\",\"certificate\":\"gzslesjcbhernnti\",\"policyResourceId\":\"djc\"},\"etag\":\"quwrbehwag\",\"id\":\"buffkmrqemvvhm\",\"name\":\"tdrjfutacoebj\",\"type\":\"ewzcjznmwcp\"}]}"; 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("ookk", "fqjbvleo", 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.assertFalse(response.value().get(0).properties().isVerified()); + Assertions.assertEquals("gzslesjcbhernnti", response.value().get(0).properties().certificate()); + Assertions.assertEquals("djc", 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..c28f21476683 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\":\"kokwbqplhlvnu\",\"expiry\":\"Sun, 29 Aug 2021 14:02:44 GMT\",\"thumbprint\":\"lrphwzsoldw\",\"isVerified\":true,\"created\":\"Mon, 15 Mar 2021 18:22:51 GMT\",\"updated\":\"Wed, 19 May 2021 00:01:37 GMT\",\"certificate\":\"nnrwrbiork\",\"policyResourceId\":\"lywjhh\"},\"etag\":\"nhxmsi\",\"id\":\"omi\",\"name\":\"ox\",\"type\":\"gdufiqnd\"}"; 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("rwm", "uvwpklvxwmyg", "xpgpq", "hiszepnnbjcrxgib", + new CertificateVerificationDescription().withCertificate("axconfozauo"), 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("nnrwrbiork", response.properties().certificate()); + Assertions.assertEquals("lywjhh", 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..c715024357dc 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\":\"tddckcb\"}}") + .toObject(EventHubConsumerGroupBodyDescription.class); + Assertions.assertEquals("tddckcb", model.properties().name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { EventHubConsumerGroupBodyDescription model = new EventHubConsumerGroupBodyDescription() - .withProperties(new EventHubConsumerGroupName().withName("gureodkwobdag")); + .withProperties(new EventHubConsumerGroupName().withName("tddckcb")); model = BinaryData.fromObject(model).toObject(EventHubConsumerGroupBodyDescription.class); - Assertions.assertEquals("gureodkwobdag", model.properties().name()); + Assertions.assertEquals("tddckcb", 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..60faaac66761 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\":{\"rfouyftaakcpw\":\"\\\"datauefywsbpfvmwy\\\"\",\"nubexk\":\"\\\"datayzvqt\\\"\",\"quxvypomgkop\":\"\\\"datazksmondj\\\"\",\"jqg\":\"\\\"datawhojvp\\\"\"},\"etag\":\"smocmbq\",\"id\":\"vmkcx\",\"name\":\"zapvhelx\",\"type\":\"rgly\"}") .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..8e279e3a676e 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\":\"uejrjxgc\"}").toObject(EventHubConsumerGroupName.class); + Assertions.assertEquals("uejrjxgc", model.name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - EventHubConsumerGroupName model = new EventHubConsumerGroupName().withName("tibqdxbxwakb"); + EventHubConsumerGroupName model = new EventHubConsumerGroupName().withName("uejrjxgc"); model = BinaryData.fromObject(model).toObject(EventHubConsumerGroupName.class); - Assertions.assertEquals("tibqdxbxwakb", model.name()); + Assertions.assertEquals("uejrjxgc", 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..0b526b4a646a 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\":{\"sdqrhzoymibmrq\":\"\\\"datarhos\\\"\"},\"etag\":\"bahwfl\",\"id\":\"zdtmhrkwofy\",\"name\":\"voqacpiexpbt\",\"type\":\"iwbwoenwashrtdtk\"},{\"properties\":{\"aasipqi\":\"\\\"dataxwbpokulpiuj\\\"\",\"erpqlpqwcciuqg\":\"\\\"dataobyu\\\"\",\"hykojoxafnndlpic\":\"\\\"datadbutauvfbtkuwhh\\\"\"},\"etag\":\"o\",\"id\":\"kcdyhbpk\",\"name\":\"pwdreqnovvqf\",\"type\":\"vljxywsu\"},{\"properties\":{\"aeneqnzarrwl\":\"\\\"datarsndsytgadgvra\\\"\"},\"etag\":\"uijfqk\",\"id\":\"e\",\"name\":\"iipfpubj\",\"type\":\"bwwift\"},{\"properties\":{\"synljphuopxodl\":\"\\\"datakvpuvksgplsaknyn\\\"\",\"sjswsrms\":\"\\\"dataiyntorzihle\\\"\",\"ox\":\"\\\"datayzrpzbchckqqzq\\\"\",\"rwyhqmibzyhwitsm\":\"\\\"dataysuiizynkedya\\\"\"},\"etag\":\"yynpcdpumnzgmwz\",\"id\":\"abikns\",\"name\":\"rgjhxb\",\"type\":\"dtlwwrlkd\"}],\"nextLink\":\"ncvokotllxdyhg\"}") .toObject(EventHubConsumerGroupsListResult.class); - Assertions.assertEquals("ibrhosxsdqr", model.nextLink()); + Assertions.assertEquals("ncvokotllxdyhg", 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..8e530ed21cd9 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,14 @@ 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\":\"kvci\"}").toObject(FailoverInput.class); + Assertions.assertEquals("kvci", model.failoverRegion()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - FailoverInput model = new FailoverInput().withFailoverRegion("expbtg"); + FailoverInput model = new FailoverInput().withFailoverRegion("kvci"); model = BinaryData.fromObject(model).toObject(FailoverInput.class); - Assertions.assertEquals("expbtg", model.failoverRegion()); + Assertions.assertEquals("kvci", 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..8073afeac01c 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\":\"jhkycub\",\"name\":\"dgssofwqmzqal\",\"type\":\"mnjijpxacqqudf\",\"properties\":{\"groupId\":\"yxbaaabjyvayf\",\"requiredMembers\":[\"rzrtuzqogsex\"],\"requiredZoneNames\":[\"fdnw\",\"wmewzsyy\",\"euzsoi\",\"judpfrxt\"]}}") .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("yxbaaabjyvayf", model.properties().groupId()); + Assertions.assertEquals("rzrtuzqogsex", model.properties().requiredMembers().get(0)); + Assertions.assertEquals("fdnw", 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..8894f539c209 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\":\"hzv\",\"requiredMembers\":[\"dwkqbrq\",\"bpaxhexiilivpdt\"],\"requiredZoneNames\":[\"q\"]}") .toObject(GroupIdInformationProperties.class); - Assertions.assertEquals("blxgwimf", model.groupId()); - Assertions.assertEquals("fjxwmsz", model.requiredMembers().get(0)); - Assertions.assertEquals("oqreyfkzikfjawn", model.requiredZoneNames().get(0)); + Assertions.assertEquals("hzv", model.groupId()); + Assertions.assertEquals("dwkqbrq", model.requiredMembers().get(0)); + Assertions.assertEquals("q", 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..9164eba665ff 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\":\"bobzdopcjwvnhd\",\"outputBlobContainerUri\":\"d\",\"inputBlobName\":\"gx\",\"outputBlobName\":\"rslpmutwuoeg\",\"authenticationType\":\"keyBased\",\"identity\":{\"userAssignedIdentity\":\"wniyqsluicpd\"},\"includeConfigurations\":true,\"configurationsBlobName\":\"zl\"}") .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("bobzdopcjwvnhd", model.inputBlobContainerUri()); + Assertions.assertEquals("d", model.outputBlobContainerUri()); + Assertions.assertEquals("gx", model.inputBlobName()); + Assertions.assertEquals("rslpmutwuoeg", model.outputBlobName()); Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType()); - Assertions.assertEquals("cblylpstdbhhxsr", model.identity().userAssignedIdentity()); + Assertions.assertEquals("wniyqsluicpd", model.identity().userAssignedIdentity()); Assertions.assertTrue(model.includeConfigurations()); - Assertions.assertEquals("cers", model.configurationsBlobName()); + Assertions.assertEquals("zl", model.configurationsBlobName()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportDevicesRequest model = new ImportDevicesRequest().withInputBlobContainerUri("ccymvaolpsslql") - .withOutputBlobContainerUri("mmdnbbglzps") - .withInputBlobName("ydmcwyhzdxssa") - .withOutputBlobName("zmnvdfznudaod") + ImportDevicesRequest model = new ImportDevicesRequest().withInputBlobContainerUri("bobzdopcjwvnhd") + .withOutputBlobContainerUri("d") + .withInputBlobName("gx") + .withOutputBlobName("rslpmutwuoeg") .withAuthenticationType(AuthenticationType.KEY_BASED) - .withIdentity(new ManagedIdentity().withUserAssignedIdentity("cblylpstdbhhxsr")) + .withIdentity(new ManagedIdentity().withUserAssignedIdentity("wniyqsluicpd")) .withIncludeConfigurations(true) - .withConfigurationsBlobName("cers"); + .withConfigurationsBlobName("zl"); 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("bobzdopcjwvnhd", model.inputBlobContainerUri()); + Assertions.assertEquals("d", model.outputBlobContainerUri()); + Assertions.assertEquals("gx", model.inputBlobName()); + Assertions.assertEquals("rslpmutwuoeg", model.outputBlobName()); Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType()); - Assertions.assertEquals("cblylpstdbhhxsr", model.identity().userAssignedIdentity()); + Assertions.assertEquals("wniyqsluicpd", model.identity().userAssignedIdentity()); Assertions.assertTrue(model.includeConfigurations()); - Assertions.assertEquals("cers", model.configurationsBlobName()); + Assertions.assertEquals("zl", 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/IotHubDetailsTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubDetailsTests.java new file mode 100644 index 000000000000..a742fba8c941 --- /dev/null +++ b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/IotHubDetailsTests.java @@ -0,0 +1,18 @@ +// 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.GatewayVersion; +import com.azure.resourcemanager.iothub.models.IotHubDetails; +import org.junit.jupiter.api.Assertions; + +public final class IotHubDetailsTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + IotHubDetails model = BinaryData.fromString("{\"gatewayVersion\":\"V1\"}").toObject(IotHubDetails.class); + Assertions.assertEquals(GatewayVersion.V1, model.gatewayVersion()); + } +} 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..b0d0c9f7c86c 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\":true,\"reason\":\"Invalid\",\"message\":\"tdtbnnhadooc\"}") + .toObject(IotHubNameAvailabilityInfoInner.class); + Assertions.assertEquals("tdtbnnhadooc", 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..ca82101c1afd 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\":\"ypsxjvfoim\"}"; 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("jqgwzp"), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("sxiftozq", response.message()); + Assertions.assertEquals("ypsxjvfoim", 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..36d28b5039bf 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\":{\"lvtno\":\"\\\"datavdsrhnjiv\\\"\",\"ltducea\":\"\\\"dataqfzgemjdftul\\\"\"},\"etag\":\"mczuo\",\"id\":\"jw\",\"name\":\"w\",\"type\":\"qioknssxmojm\"}"; 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("ykqgaifmvik") + .withExistingEventHubEndpoint("ojgcyzt", "fmznba", "qphchqnrnrpxehuw") + .withProperties(new EventHubConsumerGroupName().withName("bydvkhbejdz")) .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..6dd1686bd190 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("rctym", "xoftpipiwyczu", "xacpqjli", "hyus", 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..f986ca30e3a6 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("qipqkghvxndz", "mkrefajpjorwkq", 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..b57cfb80e3a8 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\":\"wspughftqsxhqx\",\"healthStatus\":\"degraded\",\"lastKnownError\":\"kndxdigrjgu\",\"lastKnownErrorTime\":\"Tue, 16 Feb 2021 11:30:47 GMT\",\"lastSuccessfulSendAttemptTime\":\"Tue, 16 Nov 2021 06:23:27 GMT\",\"lastSendAttemptTime\":\"Thu, 01 Apr 2021 21:46:18 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("el", "qhhahhxvrhmzkwpj", com.azure.core.util.Context.NONE); - Assertions.assertEquals("cedcpnmdy", response.iterator().next().endpointId()); + Assertions.assertEquals("wspughftqsxhqx", 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("kndxdigrjgu", response.iterator().next().lastKnownError()); + Assertions.assertEquals(OffsetDateTime.parse("2021-02-16T11:30:47Z"), response.iterator().next().lastKnownErrorTime()); - Assertions.assertEquals(OffsetDateTime.parse("2021-03-30T18:37:22Z"), + Assertions.assertEquals(OffsetDateTime.parse("2021-11-16T06:23:27Z"), response.iterator().next().lastSuccessfulSendAttemptTime()); - Assertions.assertEquals(OffsetDateTime.parse("2021-04-26T11:17:50Z"), + Assertions.assertEquals(OffsetDateTime.parse("2021-04-01T21:46:18Z"), 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..ef99f1a92b89 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\":{\"jzhpjbibgjmfx\":\"\\\"dataghhavgrvkffo\\\"\",\"cluyovwxnbkf\":\"\\\"datamv\\\"\",\"zbomvzzbtdcqvpni\":\"\\\"datazzxscyhwzdgiruj\\\"\"},\"etag\":\"jviylwdshfs\",\"id\":\"rbgyefry\",\"name\":\"sgaojfmwncot\",\"type\":\"rfh\"}"; 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("yuxzejntpsewgi", "ilqu", "rydxtqm", "eoxorggufhyao", + 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..c44fe407d6e8 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\":\"xrjqcirgzpfrlazs\",\"startTimeUtc\":\"Thu, 29 Jul 2021 01:36:25 GMT\",\"endTimeUtc\":\"Tue, 18 May 2021 14:08:14 GMT\",\"type\":\"updateDeviceConfiguration\",\"status\":\"completed\",\"failureReason\":\"pwp\",\"statusMessage\":\"lwbtlhf\",\"parentJobId\":\"jcdh\"}"; 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("sibircgpi", "pzimejzanlfzxi", "vrmbzono", 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..414585556283 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\":\"iojnalghfkvtv\",\"currentValue\":5507698933851927767,\"maxValue\":5531211754310429800}]}"; 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("zfjvfbgofe", "jagrqmqhldvr", 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..d45dbdccbd5f 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\":2623062511310512908,\"enabledDeviceCount\":3559673454895327460,\"disabledDeviceCount\":1446220970457190394}"; 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("yybyc", "unvjsrtkfawnopq", 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..97aa8601eac4 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\":\"zrfze\",\"sku\":{\"name\":\"B3\",\"tier\":\"Free\",\"capacity\":1842124516680921238},\"capacity\":{\"minimum\":3361403308892839308,\"maximum\":2435029182460342215,\"default\":7312506291053485775,\"scaleType\":\"Manual\"}}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,10 +32,10 @@ public void testGetValidSkus() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.iotHubResources() - .getValidSkus("bminrfdwoyuhhzi", "iefozbhdmsml", com.azure.core.util.Context.NONE); + PagedIterable response + = manager.iotHubResources().getValidSkus("budurgkakmo", "zhjjklffhmouwq", 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.B3, response.iterator().next().sku().name()); + Assertions.assertEquals(1842124516680921238L, 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..c2d6364afc83 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\":\"gh\",\"startTimeUtc\":\"Fri, 09 Apr 2021 19:17:49 GMT\",\"endTimeUtc\":\"Thu, 01 Jul 2021 07:34:11 GMT\",\"type\":\"import\",\"status\":\"completed\",\"failureReason\":\"gf\",\"statusMessage\":\"dsofbshrns\",\"parentJobId\":\"uswdv\"}"; 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")) - .withIncludeConfigurations(false) - .withConfigurationsBlobName("bfvoowvrv"), + .importDevicesWithResponse("cdm", "nrojlpijnkr", + new ImportDevicesRequest().withInputBlobContainerUri("frddhcrati") + .withOutputBlobContainerUri("zronasxift") + .withInputBlobName("qyzhf") + .withOutputBlobName("esgogc") + .withAuthenticationType(AuthenticationType.IDENTITY_BASED) + .withIdentity(new ManagedIdentity().withUserAssignedIdentity("xkr")) + .withIncludeConfigurations(true) + .withConfigurationsBlobName("hmossxkkgth"), 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..7a0d42ad3ec4 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\":{\"txifqj\":\"\\\"datasjnhn\\\"\"},\"etag\":\"xmrhu\",\"id\":\"wp\",\"name\":\"esutrgjupauutpw\",\"type\":\"qhih\"}]}"; 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("skasdvlmfwdgzxu", "ucvpamrs", "euzvx", 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..03000a1cb3ab 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\":\"ltha\",\"startTimeUtc\":\"Mon, 08 Nov 2021 17:52:45 GMT\",\"endTimeUtc\":\"Fri, 03 Sep 2021 05:44:20 GMT\",\"type\":\"unknown\",\"status\":\"unknown\",\"failureReason\":\"bdsrez\",\"statusMessage\":\"rhneuyowq\",\"parentJobId\":\"wyt\"}]}"; 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("ybbqwrv", "ldgmfpgvmpip", 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 71089933f486..2747c20153b1 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\":\"mfpgv\",\"source\":\"DeviceMessages\",\"condition\":\"paslthaqfxssmwu\",\"endpointNames\":[\"bdsrez\",\"drhneuyow\"],\"isEnabled\":false}},{\"properties\":{\"name\":\"wyt\",\"source\":\"DeviceJobLifecycleEvents\",\"condition\":\"bi\",\"endpointNames\":[\"gpikpzimejza\",\"lfzxiavrmbzonoki\"],\"isEnabled\":false}},{\"properties\":{\"name\":\"q\",\"source\":\"TwinChangeEvents\",\"condition\":\"gzpfrla\",\"endpointNames\":[\"zrnw\",\"iin\"],\"isEnabled\":true}},{\"properties\":{\"name\":\"wp\",\"source\":\"MqttBrokerMessages\",\"condition\":\"wbtlhflsjcdh\",\"endpointNames\":[\"fjvfbgofeljagr\",\"mqhldvrii\",\"ojnal\"],\"isEnabled\":true}}]}"; + = "{\"routes\":[{\"properties\":{\"name\":\"goupmfiibfg\",\"source\":\"DeviceJobLifecycleEvents\",\"condition\":\"ool\",\"endpointNames\":[\"wxkvtkkgll\",\"wjygvjayvblmhvk\",\"uhbxvvy\"],\"isEnabled\":true}}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -38,23 +38,25 @@ public void testTestAllRoutesWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); TestAllRoutesResult response = manager.iotHubResources() - .testAllRoutesWithResponse("xnavvwxq", "byqunyow", - new TestAllRoutesInput().withRoutingSource(RoutingSource.MQTT_BROKER_MESSAGES) - .withMessage(new RoutingMessage().withBody("jrkvfgbvfvpdbo") - .withAppProperties(mapOf("bdeibqipqk", "izsjqlhkrr", "rwkq", "hvxndzwmkrefajpj", "sjabibs", - "yhgbijtjivfx", "bjxbkzbzk", "stawfsdjpvkv")) - .withSystemProperties(mapOf("zhjjklffhmouwq", "cjabudurgkakmo"))) - .withTwin(new RoutingTwin().withTags("\"datarfzeey\"") - .withProperties(new RoutingTwinProperties().withDesired("\"datazi\"") - .withReported("\"datayuhqlbjbsybbqwrv\""))), + .testAllRoutesWithResponse("qtfihwhbotzinga", "vppho", new TestAllRoutesInput() + .withRoutingSource(RoutingSource.DEVICE_LIFECYCLE_EVENTS) + .withMessage(new RoutingMessage().withBody("dphqamv") + .withAppProperties(mapOf("nvyq", "wynwcvtbvkayhm", "cjaesgvvs", "atkzwpcnpw", "wygzlvdnkfxusem", + "cyajguqf", "pfcqdp", "wzrmuh")) + .withSystemProperties(mapOf("celve", "qvpsvuoymg"))) + .withTwin(new RoutingTwin().withTags(mapOf("wkyhkobopgxe", "\"dataqlmfeoker\"", "wep", "\"datak\"")) + .withProperties(new RoutingTwinProperties().withDesired(mapOf("qek", "\"datarfkbwccsnjvcdwxl\"")) + .withReported(mapOf("y", "\"datakhtj\"", "dhtmdvypgikd", "\"datangwfqatm\"", "hlhkjoqrvqqaatj", + "\"dataszywkbirryu\"")))), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("mfpgv", response.routes().get(0).properties().name()); - Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, response.routes().get(0).properties().source()); - Assertions.assertEquals("paslthaqfxssmwu", response.routes().get(0).properties().condition()); - Assertions.assertEquals("bdsrez", response.routes().get(0).properties().endpointNames().get(0)); - Assertions.assertFalse(response.routes().get(0).properties().isEnabled()); + Assertions.assertEquals("goupmfiibfg", response.routes().get(0).properties().name()); + Assertions.assertEquals(RoutingSource.DEVICE_JOB_LIFECYCLE_EVENTS, + response.routes().get(0).properties().source()); + Assertions.assertEquals("ool", response.routes().get(0).properties().condition()); + Assertions.assertEquals("wxkvtkkgll", response.routes().get(0).properties().endpointNames().get(0)); + Assertions.assertTrue(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 c41d563f4c0e..f2a9826d39a6 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\":\"true\",\"details\":{\"compilationErrors\":[{\"message\":\"snjvcdwxlpqekftn\",\"severity\":\"error\",\"location\":{\"start\":{},\"end\":{}}},{\"message\":\"ngwfqatm\",\"severity\":\"error\",\"location\":{\"start\":{},\"end\":{}}},{\"message\":\"ypgik\",\"severity\":\"warning\",\"location\":{\"start\":{},\"end\":{}}},{\"message\":\"birryuzhl\",\"severity\":\"warning\",\"location\":{\"start\":{},\"end\":{}}}]}}"; + = "{\"result\":\"undefined\",\"details\":{\"compilationErrors\":[{\"message\":\"tpkiwkkbnujry\",\"severity\":\"warning\",\"location\":{\"start\":{},\"end\":{}}}]}}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -43,28 +43,31 @@ public void testTestRouteWithResponse() throws Exception { TestRouteResult response = manager.iotHubResources() - .testRouteWithResponse("fk", "tvsexsowuel", + .testRouteWithResponse("s", "pbyrqufegxu", new TestRouteInput() - .withMessage(new RoutingMessage().withBody("hahhxvrhmzkwpj") - .withAppProperties(mapOf("ujxukndxd", "spughftqsxhq", "syqtfi", "grjguufzd", "phoszqz", - "whbotzingamv", "kfwynw", "dphqamv")) - .withSystemProperties(mapOf("tnvyqiatkzwp", "bvkayh", "vvsccyajguq", "npwzcjaes", "lvdnkfx", - "hwyg", "apfcqdpsq", "semdwzrmu"))) - .withRoute(new RouteProperties().withName("qvpsvuoymg") - .withSource(RoutingSource.TWIN_CHANGE_EVENTS) - .withCondition("lvez") - .withEndpointNames(Arrays.asList("pqlmfe")) + .withMessage(new RoutingMessage().withBody("fbn") + .withAppProperties(mapOf("hrixkwmy", "ctlpdngitvgb", "hbpnaixexccbd", "jejveg", "htpwij", + "eaxhcexdrrvqahqk")) + .withSystemProperties(mapOf("vmtgjqppy", "jsvfycxzbfvoowv", "ronzmyhgfip", "s"))) + .withRoute(new RouteProperties().withName("sxkm") + .withSource(RoutingSource.MQTT_BROKER_MESSAGES) + .withCondition("ekrrjr") + .withEndpointNames(Arrays.asList("fxtsgum", "jglikkxwslolb")) .withIsEnabled(false)) - .withTwin( - new RoutingTwin().withTags("\"dataqwkyhkobop\"") - .withProperties(new RoutingTwinProperties().withDesired("\"datadkow\"") - .withReported("\"databqpc\""))), + .withTwin(new RoutingTwin() + .withTags(mapOf("elfk", "\"datalmv\"", "njwmwkpnbsazejj", "\"datagplcrpwjxeznoigb\"", + "augzxnfaazpxdtn", "\"dataqkagfhsxt\"")) + .withProperties(new RoutingTwinProperties() + .withDesired(mapOf("rkpyouaibrebqaay", "\"dataqjjlwuen\"", "ixqtn", "\"dataj\"", + "ffiakp", "\"datattezlw\"", "tmmjihyeozph", "\"datapqqmted\"")) + .withReported(mapOf("cwxqu", "\"datauyqncygupkvipmd\"", "xhojuj", "\"dataevzhfsto\"", + "hixbjxyfwnyl", "\"dataypelmcu\"")))), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals(TestResultStatus.TRUE, response.result()); - Assertions.assertEquals("snjvcdwxlpqekftn", response.details().compilationErrors().get(0).message()); - Assertions.assertEquals(RouteErrorSeverity.ERROR, response.details().compilationErrors().get(0).severity()); + Assertions.assertEquals(TestResultStatus.UNDEFINED, response.result()); + Assertions.assertEquals("tpkiwkkbnujry", 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..3bef0534801a 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("vpkjpr", "kwcf", new FailoverInput().withFailoverRegion("ql"), 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..e813f0bfd43d 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\":\"tpvjzbexilzznfqq\",\"source\":\"DeviceMessages\",\"condition\":\"pmqtaru\",\"endpointNames\":[\"jmkcjhwqytj\",\"ybn\",\"jewgdrjerv\"],\"isEnabled\":false}}") .toObject(MatchedRoute.class); - Assertions.assertEquals("lnjixisxya", model.properties().name()); + Assertions.assertEquals("tpvjzbexilzznfqq", 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.assertTrue(model.properties().isEnabled()); + Assertions.assertEquals("pmqtaru", model.properties().condition()); + Assertions.assertEquals("jmkcjhwqytj", model.properties().endpointNames().get(0)); + Assertions.assertFalse(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..c5345fe58219 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 @@ -11,9 +11,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()); + Name model = BinaryData.fromString("{\"value\":\"s\",\"localizedValue\":\"l\"}").toObject(Name.class); + Assertions.assertEquals("s", model.value()); + Assertions.assertEquals("l", 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..89aeaae87498 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\":\"y\"}").toObject(OperationInputs.class); + Assertions.assertEquals("y", model.name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - OperationInputs model = new OperationInputs().withName("zoymibmrqyibahw"); + OperationInputs model = new OperationInputs().withName("y"); model = BinaryData.fromObject(model).toObject(OperationInputs.class); - Assertions.assertEquals("zoymibmrqyibahw", model.name()); + Assertions.assertEquals("y", 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..334e9c7f07e5 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\":\"ab\",\"display\":{\"provider\":\"efkifr\",\"resource\":\"puqujmqlgkfbtn\",\"operation\":\"aongbj\",\"description\":\"tujitcjedft\"}}]}"; 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..152ddc093fd0 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,8 @@ 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("icslfaoq", "piyylhalnswhccsp", "kaivwit", 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..326b08d5977d 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\":\"ciqopidoa\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"iodhkhazxkhnz\",\"actionsRequired\":\"nlwntoe\"}},\"id\":\"kdwbwhkszz\",\"name\":\"mrv\",\"type\":\"xztvbtqgsfraoyzk\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,13 +32,13 @@ 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("waezkojvd", "pzfoqoui", "ybxarzgszu", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals(PrivateLinkServiceConnectionStatus.APPROVED, + Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED, response.properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("kfzbeyvpnqicvi", + Assertions.assertEquals("iodhkhazxkhnz", response.properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("kjj", response.properties().privateLinkServiceConnectionState().actionsRequired()); + Assertions.assertEquals("nlwntoe", 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..daaf9ba5a397 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\":\"dwmsweypqwd\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"gicccnxqhuex\",\"actionsRequired\":\"ttlstvlzywemhz\"}},\"id\":\"csdtclusiypbs\",\"name\":\"gytguslfead\",\"type\":\"ygqukyhejh\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"xgfpelolppv\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"r\",\"actionsRequired\":\"vu\"}},\"id\":\"raehtwdwrft\",\"name\":\"wib\",\"type\":\"rcdlbhshfwpr\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"twitykhev\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"cedcpnmdy\",\"actionsRequired\":\"nwzxltjcv\"}},\"id\":\"ltiugcxnavv\",\"name\":\"xqi\",\"type\":\"y\"}]"; 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("scywuggwoluhc", "bwemhairs", com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED, response.get(0).properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("ujitcjedftww", + Assertions.assertEquals("gicccnxqhuex", response.get(0).properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("zkoj", + Assertions.assertEquals("ttlstvlzywemhz", 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..808070898bd5 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\":\"grtwae\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"uzkopbminrfd\",\"actionsRequired\":\"yuhhziu\"}},\"id\":\"fozbhdmsmlmzqhof\",\"name\":\"rmaequ\",\"type\":\"ah\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,19 +36,19 @@ public void testUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PrivateEndpointConnection response = manager.privateEndpointConnections() - .update("fz", "whxxbuyqax", "feqztppriol", + .update("owtlmnguxawqald", "yuuximerqfobwyzn", "bykutw", new PrivateEndpointConnectionInner() .withProperties(new PrivateEndpointConnectionProperties().withPrivateEndpoint(new PrivateEndpoint()) .withPrivateLinkServiceConnectionState(new PrivateLinkServiceConnectionState() - .withStatus(PrivateLinkServiceConnectionStatus.APPROVED) - .withDescription("obqwcsdbnwdcfh") - .withActionsRequired("qdpfuvglsbjjca"))), + .withStatus(PrivateLinkServiceConnectionStatus.PENDING) + .withDescription("doakgtdlmkkzevdl") + .withActionsRequired("wpusdsttwvogv"))), com.azure.core.util.Context.NONE); - Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED, + Assertions.assertEquals(PrivateLinkServiceConnectionStatus.PENDING, response.properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("znqntoru", response.properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("gsahmkycgrauw", - response.properties().privateLinkServiceConnectionState().actionsRequired()); + Assertions.assertEquals("uzkopbminrfd", + response.properties().privateLinkServiceConnectionState().description()); + Assertions.assertEquals("yuhhziu", 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..aa5f4af15d59 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\":\"axoruzfgsquy\",\"name\":\"rxxle\",\"type\":\"ramxjezwlwnw\",\"properties\":{\"groupId\":\"qlcvydy\",\"requiredMembers\":[\"dooaojkniodko\",\"ebwnujhe\"],\"requiredZoneNames\":[\"bvdkcrodtjin\",\"wj\",\"fltkacjv\",\"f\"]}},{\"id\":\"lfoakg\",\"name\":\"fpagaowpulp\",\"type\":\"lyls\",\"properties\":{\"groupId\":\"k\",\"requiredMembers\":[\"sjervti\"],\"requiredZoneNames\":[\"sdszue\",\"psbzkfzbeyvpn\",\"icvi\"]}},{\"id\":\"kjj\",\"name\":\"xrbuukzclew\",\"type\":\"mlwpazt\",\"properties\":{\"groupId\":\"ofncckwyfzqwhxxb\",\"requiredMembers\":[\"a\"],\"requiredZoneNames\":[\"eqz\",\"ppriol\",\"or\"]}}]}") .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("qlcvydy", model.value().get(0).properties().groupId()); + Assertions.assertEquals("dooaojkniodko", model.value().get(0).properties().requiredMembers().get(0)); + Assertions.assertEquals("bvdkcrodtjin", 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..2b3e0c339ecd 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\":\"jlkatnwxy\",\"name\":\"pidkqqfkuvscxkdm\",\"type\":\"govibrxkpmloazu\",\"properties\":{\"groupId\":\"ocbgoorbteoyb\",\"requiredMembers\":[\"xakvvjgslor\",\"il\"],\"requiredZoneNames\":[\"wt\",\"gkxnyedabg\"]}}"; 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("cpjuisa", "okqdzfvaz", "vjlfrqtt", 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("ocbgoorbteoyb", response.properties().groupId()); + Assertions.assertEquals("xakvvjgslor", response.properties().requiredMembers().get(0)); + Assertions.assertEquals("wt", 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..25daeb918a53 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\":\"kkudzp\",\"name\":\"wjplma\",\"type\":\"tcyohpfkyrk\",\"properties\":{\"groupId\":\"dg\",\"requiredMembers\":[\"sjkmnwqj\"],\"requiredZoneNames\":[\"aiy\",\"ddviacegfnmntfpm\",\"memfnczdwvvbalxl\",\"lchpodbzevwrdn\"]}}]}"; 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("vudtjuewbcihx", "uwhcjyxccybv", 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("dg", response.value().get(0).properties().groupId()); + Assertions.assertEquals("sjkmnwqj", response.value().get(0).properties().requiredMembers().get(0)); + Assertions.assertEquals("aiy", 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..6b7624f618cb 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\":2377355799268639179,\"enabledDeviceCount\":1390680046285193953,\"disabledDeviceCount\":4083337903292731592}") .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..be19a2e2ae87 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\":\"uvsj\",\"type\":\"wsmystuluqypf\",\"unit\":\"lerchpq\",\"currentValue\":131662933,\"limit\":1988339423,\"name\":{\"value\":\"bwidfcxsspuunn\",\"localizedValue\":\"yhkx\"}}],\"nextLink\":\"ddrihpf\"}"; 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("uvsj", response.value().get(0).id()); + Assertions.assertEquals("wsmystuluqypf", response.value().get(0).type()); + Assertions.assertEquals("lerchpq", response.value().get(0).unit()); + Assertions.assertEquals(131662933, response.value().get(0).currentValue()); + Assertions.assertEquals(1988339423, response.value().get(0).limit()); + Assertions.assertEquals("bwidfcxsspuunn", response.value().get(0).name().value()); + Assertions.assertEquals("yhkx", 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..804896b77462 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\":\"uflrwd\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":885184868,\"column\":1095036678},\"end\":{\"line\":1900906621,\"column\":2058639805}}}") .toObject(RouteCompilationError.class); - Assertions.assertEquals("l", 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("uflrwd", model.message()); + Assertions.assertEquals(RouteErrorSeverity.ERROR, model.severity()); + Assertions.assertEquals(885184868, model.location().start().line()); + Assertions.assertEquals(1095036678, model.location().start().column()); + Assertions.assertEquals(1900906621, model.location().end().line()); + Assertions.assertEquals(2058639805, 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..6f0d10d9b3f1 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\":1545768261,\"column\":436968596}").toObject(RouteErrorPosition.class); + Assertions.assertEquals(1545768261, model.line()); + Assertions.assertEquals(436968596, 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..8ec911c95bf4 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\":1665526827,\"column\":781571507},\"end\":{\"line\":808700317,\"column\":1856225206}}") .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(1665526827, model.start().line()); + Assertions.assertEquals(781571507, model.start().column()); + Assertions.assertEquals(808700317, model.end().line()); + Assertions.assertEquals(1856225206, 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..465da1316bfc 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,24 @@ 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\":\"lns\",\"appProperties\":{\"aln\":\"xwyjsflhhc\",\"qcslyjpkiid\":\"ixisxyawjoy\",\"eli\":\"yexz\",\"bnxknalaulppg\":\"hnrztfol\"},\"systemProperties\":{\"igvpgylg\":\"pnapnyiropuh\",\"medjvcslynqwwncw\":\"git\",\"pkteo\":\"zhxgktrmgucn\",\"pfqbuaceopzf\":\"llwptfdy\"}}") .toObject(RoutingMessage.class); - Assertions.assertEquals("wyzmhtxon", model.body()); - Assertions.assertEquals("savjcbpwxqps", model.appProperties().get("knftguvriuh")); - Assertions.assertEquals("mdyvxqtayriw", model.systemProperties().get("ro")); + Assertions.assertEquals("lns", model.body()); + Assertions.assertEquals("xwyjsflhhc", model.appProperties().get("aln")); + Assertions.assertEquals("pnapnyiropuh", model.systemProperties().get("igvpgylg")); } @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("lns") + .withAppProperties( + mapOf("aln", "xwyjsflhhc", "qcslyjpkiid", "ixisxyawjoy", "eli", "yexz", "bnxknalaulppg", "hnrztfol")) + .withSystemProperties(mapOf("igvpgylg", "pnapnyiropuh", "medjvcslynqwwncw", "git", "pkteo", "zhxgktrmgucn", + "pfqbuaceopzf", "llwptfdy")); 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("lns", model.body()); + Assertions.assertEquals("xwyjsflhhc", model.appProperties().get("aln")); + Assertions.assertEquals("pnapnyiropuh", model.systemProperties().get("igvpgylg")); } // 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 a56ab7e876fe..c6f68d7a55eb 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,19 +6,34 @@ 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\":\"\\\"dataltskzbbtd\\\"\",\"reported\":\"\\\"datamv\\\"\"}") - .toObject(RoutingTwinProperties.class); + RoutingTwinProperties model = BinaryData.fromString( + "{\"desired\":{\"mcbxvwvxysl\":\"\\\"datatdo\\\"\"},\"reported\":{\"tkblmpewww\":\"\\\"datasfxobl\\\"\",\"hxcr\":\"\\\"databkrvrnsvshqj\\\"\",\"sub\":\"\\\"databfovasrruvwbhsq\\\"\"}}") + .toObject(RoutingTwinProperties.class); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutingTwinProperties model - = new RoutingTwinProperties().withDesired("\"dataltskzbbtd\"").withReported("\"datamv\""); + RoutingTwinProperties model = new RoutingTwinProperties().withDesired(mapOf("mcbxvwvxysl", "\"datatdo\"")) + .withReported(mapOf("tkblmpewww", "\"datasfxobl\"", "hxcr", "\"databkrvrnsvshqj\"", "sub", + "\"databfovasrruvwbhsq\"")); 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 e2622287d228..55be98160df1 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,20 +7,35 @@ 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\":\"\\\"datalmwlxkvugfhzo\\\"\",\"properties\":{\"desired\":\"\\\"datajvzunluthnnp\\\"\",\"reported\":\"\\\"dataxipeilpjzuaejx\\\"\"}}") + "{\"tags\":{\"qeqxo\":\"\\\"datahuaoppp\\\"\",\"ahzxctobgbk\":\"\\\"dataz\\\"\"},\"properties\":{\"desired\":{\"rmfqjhhkxbpvj\":\"\\\"datazpostmgrcfbu\\\"\",\"xjyngudivk\":\"\\\"datamjh\\\"\"},\"reported\":{\"j\":\"\\\"datawbxqzvszjfau\\\"\",\"tvtc\":\"\\\"datadxxiv\\\"\"}}}") .toObject(RoutingTwin.class); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - RoutingTwin model = new RoutingTwin().withTags("\"datalmwlxkvugfhzo\"") - .withProperties( - new RoutingTwinProperties().withDesired("\"datajvzunluthnnp\"").withReported("\"dataxipeilpjzuaejx\"")); + RoutingTwin model = new RoutingTwin().withTags(mapOf("qeqxo", "\"datahuaoppp\"", "ahzxctobgbk", "\"dataz\"")) + .withProperties(new RoutingTwinProperties() + .withDesired(mapOf("rmfqjhhkxbpvj", "\"datazpostmgrcfbu\"", "xjyngudivk", "\"datamjh\"")) + .withReported(mapOf("j", "\"datawbxqzvszjfau\"", "tvtc", "\"datadxxiv\""))); 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 36a2cf31b495..e6e98b87cf7b 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,29 +18,32 @@ public final class TestAllRoutesInputTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TestAllRoutesInput model = BinaryData.fromString( - "{\"routingSource\":\"Invalid\",\"message\":{\"body\":\"lwn\",\"appProperties\":{\"wzbtdhxu\":\"jdauwhvy\",\"veual\":\"znbmpowuwprzq\",\"wsrtjriplrbpbe\":\"pjmkhfxobbc\"},\"systemProperties\":{\"wxzvlvqhjkb\":\"hfgblc\"}},\"twin\":{\"tags\":\"\\\"databtn\\\"\",\"properties\":{\"desired\":\"\\\"dataebwwaloayqc\\\"\",\"reported\":\"\\\"datartzju\\\"\"}}}") + "{\"routingSource\":\"TwinChangeEvents\",\"message\":{\"body\":\"qcgw\",\"appProperties\":{\"zg\":\"j\",\"txon\":\"yzm\"},\"systemProperties\":{\"knftguvriuh\":\"savjcbpwxqps\"}},\"twin\":{\"tags\":{\"oyq\":\"\\\"datadyvxqtayriww\\\"\",\"mefqsgzvahapjyzh\":\"\\\"dataexrmcqibycnojvk\\\"\",\"zlmwlxkvugfhz\":\"\\\"datavgqzcjrvxd\\\"\"},\"properties\":{\"desired\":{\"nxipeil\":\"\\\"datajvzunluthnnp\\\"\",\"dzumveekg\":\"\\\"datajzuaejxdultskzbb\\\"\",\"bsjyofdx\":\"\\\"datawozuhkf\\\"\"},\"reported\":{\"touwaboekqv\":\"\\\"datasd\\\"\"}}}}") .toObject(TestAllRoutesInput.class); - Assertions.assertEquals(RoutingSource.INVALID, model.routingSource()); - Assertions.assertEquals("lwn", model.message().body()); - Assertions.assertEquals("jdauwhvy", model.message().appProperties().get("wzbtdhxu")); - Assertions.assertEquals("hfgblc", model.message().systemProperties().get("wxzvlvqhjkb")); + 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.INVALID) - .withMessage(new RoutingMessage().withBody("lwn") - .withAppProperties( - mapOf("wzbtdhxu", "jdauwhvy", "veual", "znbmpowuwprzq", "wsrtjriplrbpbe", "pjmkhfxobbc")) - .withSystemProperties(mapOf("wxzvlvqhjkb", "hfgblc"))) - .withTwin(new RoutingTwin().withTags("\"databtn\"") - .withProperties( - new RoutingTwinProperties().withDesired("\"dataebwwaloayqc\"").withReported("\"datartzju\""))); + 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(mapOf("oyq", "\"datadyvxqtayriww\"", "mefqsgzvahapjyzh", "\"dataexrmcqibycnojvk\"", + "zlmwlxkvugfhz", "\"datavgqzcjrvxd\"")) + .withProperties(new RoutingTwinProperties() + .withDesired(mapOf("nxipeil", "\"datajvzunluthnnp\"", "dzumveekg", "\"datajzuaejxdultskzbb\"", + "bsjyofdx", "\"datawozuhkf\"")) + .withReported(mapOf("touwaboekqv", "\"datasd\"")))); model = BinaryData.fromObject(model).toObject(TestAllRoutesInput.class); - Assertions.assertEquals(RoutingSource.INVALID, model.routingSource()); - Assertions.assertEquals("lwn", model.message().body()); - Assertions.assertEquals("jdauwhvy", model.message().appProperties().get("wzbtdhxu")); - Assertions.assertEquals("hfgblc", model.message().systemProperties().get("wxzvlvqhjkb")); + 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..b09044ee8683 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\":\"irx\",\"source\":\"DigitalTwinChangeEvents\",\"condition\":\"bsrfbj\",\"endpointNames\":[\"twss\"],\"isEnabled\":false}}]}") .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("irx", model.routes().get(0).properties().name()); + Assertions.assertEquals(RoutingSource.DIGITAL_TWIN_CHANGE_EVENTS, model.routes().get(0).properties().source()); + Assertions.assertEquals("bsrfbj", model.routes().get(0).properties().condition()); + Assertions.assertEquals("twss", 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 0c78f91a7934..3d2fd4f7b9dc 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,41 +20,44 @@ public final class TestRouteInputTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TestRouteInput model = BinaryData.fromString( - "{\"message\":{\"body\":\"pnyiropuhp\",\"appProperties\":{\"git\":\"pgylg\",\"zhxgktrmgucn\":\"medjvcslynqwwncw\",\"llwptfdy\":\"pkteo\",\"rhhuaopppcqeqx\":\"pfqbuaceopzf\"},\"systemProperties\":{\"kdmoi\":\"dahzxctobg\"}},\"route\":{\"name\":\"postmgrcfbunrm\",\"source\":\"DeviceJobLifecycleEvents\",\"condition\":\"hhkxbp\",\"endpointNames\":[\"ymjhxxjyngudivkr\"],\"isEnabled\":false},\"twin\":{\"tags\":\"\\\"dataxqzvszjfa\\\"\",\"properties\":{\"desired\":\"\\\"datafdxxivetvtcqaqtd\\\"\",\"reported\":\"\\\"datamcbxvwvxysl\\\"\"}}}") + "{\"message\":{\"body\":\"qp\",\"appProperties\":{\"l\":\"ndoygmifthnzdnd\",\"ynduha\":\"nayqi\",\"bgycduiertgccym\":\"hqlkthumaqo\",\"lqlfm\":\"aolps\"},\"systemProperties\":{\"yhz\":\"bbglzpswiydmc\"}},\"route\":{\"name\":\"xssadbzmnvdf\",\"source\":\"Invalid\",\"condition\":\"daodvxzbncblyl\",\"endpointNames\":[\"tdbhhxsrzdzu\",\"erscdntne\",\"fiwjmygtdssls\",\"tmweriofzpyq\"],\"isEnabled\":false},\"twin\":{\"tags\":{\"zhedplvwiw\":\"\\\"databnetshh\\\"\",\"tppjflcx\":\"\\\"databmwmbesldnkw\\\"\"},\"properties\":{\"desired\":{\"mkqzeqqkdltfzxmh\":\"\\\"datakonzmnsik\\\"\",\"gureodkwobdag\":\"\\\"datav\\\"\",\"gqxndlkzgxhuripl\":\"\\\"datatibqdxbxwakb\\\"\",\"bxmubyynt\":\"\\\"datapodxunkb\\\"\"},\"reported\":{\"ltmuwlauwzizx\":\"\\\"databqtkoievseotgqr\\\"\",\"d\":\"\\\"datampgcjefuzmuvpbt\\\"\"}}}}") .toObject(TestRouteInput.class); - Assertions.assertEquals("pnyiropuhp", model.message().body()); - Assertions.assertEquals("pgylg", model.message().appProperties().get("git")); - Assertions.assertEquals("dahzxctobg", model.message().systemProperties().get("kdmoi")); - Assertions.assertEquals("postmgrcfbunrm", model.route().name()); - Assertions.assertEquals(RoutingSource.DEVICE_JOB_LIFECYCLE_EVENTS, model.route().source()); - Assertions.assertEquals("hhkxbp", model.route().condition()); - Assertions.assertEquals("ymjhxxjyngudivkr", model.route().endpointNames().get(0)); + Assertions.assertEquals("qp", model.message().body()); + Assertions.assertEquals("ndoygmifthnzdnd", model.message().appProperties().get("l")); + Assertions.assertEquals("bbglzpswiydmc", model.message().systemProperties().get("yhz")); + Assertions.assertEquals("xssadbzmnvdf", model.route().name()); + Assertions.assertEquals(RoutingSource.INVALID, model.route().source()); + Assertions.assertEquals("daodvxzbncblyl", model.route().condition()); + Assertions.assertEquals("tdbhhxsrzdzu", 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("pnyiropuhp") - .withAppProperties(mapOf("git", "pgylg", "zhxgktrmgucn", "medjvcslynqwwncw", "llwptfdy", "pkteo", - "rhhuaopppcqeqx", "pfqbuaceopzf")) - .withSystemProperties(mapOf("kdmoi", "dahzxctobg"))) - .withRoute(new RouteProperties().withName("postmgrcfbunrm") - .withSource(RoutingSource.DEVICE_JOB_LIFECYCLE_EVENTS) - .withCondition("hhkxbp") - .withEndpointNames(Arrays.asList("ymjhxxjyngudivkr")) + .withMessage(new RoutingMessage().withBody("qp") + .withAppProperties(mapOf("l", "ndoygmifthnzdnd", "ynduha", "nayqi", "bgycduiertgccym", "hqlkthumaqo", + "lqlfm", "aolps")) + .withSystemProperties(mapOf("yhz", "bbglzpswiydmc"))) + .withRoute(new RouteProperties().withName("xssadbzmnvdf") + .withSource(RoutingSource.INVALID) + .withCondition("daodvxzbncblyl") + .withEndpointNames(Arrays.asList("tdbhhxsrzdzu", "erscdntne", "fiwjmygtdssls", "tmweriofzpyq")) .withIsEnabled(false)) - .withTwin(new RoutingTwin().withTags("\"dataxqzvszjfa\"") - .withProperties(new RoutingTwinProperties().withDesired("\"datafdxxivetvtcqaqtd\"") - .withReported("\"datamcbxvwvxysl\""))); + .withTwin(new RoutingTwin() + .withTags(mapOf("zhedplvwiw", "\"databnetshh\"", "tppjflcx", "\"databmwmbesldnkw\"")) + .withProperties(new RoutingTwinProperties() + .withDesired(mapOf("mkqzeqqkdltfzxmh", "\"datakonzmnsik\"", "gureodkwobdag", "\"datav\"", + "gqxndlkzgxhuripl", "\"datatibqdxbxwakb\"", "bxmubyynt", "\"datapodxunkb\"")) + .withReported(mapOf("ltmuwlauwzizx", "\"databqtkoievseotgqr\"", "d", "\"datampgcjefuzmuvpbt\"")))); model = BinaryData.fromObject(model).toObject(TestRouteInput.class); - Assertions.assertEquals("pnyiropuhp", model.message().body()); - Assertions.assertEquals("pgylg", model.message().appProperties().get("git")); - Assertions.assertEquals("dahzxctobg", model.message().systemProperties().get("kdmoi")); - Assertions.assertEquals("postmgrcfbunrm", model.route().name()); - Assertions.assertEquals(RoutingSource.DEVICE_JOB_LIFECYCLE_EVENTS, model.route().source()); - Assertions.assertEquals("hhkxbp", model.route().condition()); - Assertions.assertEquals("ymjhxxjyngudivkr", model.route().endpointNames().get(0)); + Assertions.assertEquals("qp", model.message().body()); + Assertions.assertEquals("ndoygmifthnzdnd", model.message().appProperties().get("l")); + Assertions.assertEquals("bbglzpswiydmc", model.message().systemProperties().get("yhz")); + Assertions.assertEquals("xssadbzmnvdf", model.route().name()); + Assertions.assertEquals(RoutingSource.INVALID, model.route().source()); + Assertions.assertEquals("daodvxzbncblyl", model.route().condition()); + Assertions.assertEquals("tdbhhxsrzdzu", 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..4dbcd965d568 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\":\"cffgdkzzewk\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":262381010,\"column\":1603782196},\"end\":{\"line\":70247298,\"column\":1681889122}}}]}") .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("cffgdkzzewk", model.compilationErrors().get(0).message()); + Assertions.assertEquals(RouteErrorSeverity.WARNING, model.compilationErrors().get(0).severity()); + Assertions.assertEquals(262381010, model.compilationErrors().get(0).location().start().line()); + Assertions.assertEquals(1603782196, model.compilationErrors().get(0).location().start().column()); + Assertions.assertEquals(70247298, model.compilationErrors().get(0).location().end().line()); + Assertions.assertEquals(1681889122, 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..44f629d913b4 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\":\"undefined\",\"details\":{\"compilationErrors\":[{\"message\":\"ebmnzbtbhjpglk\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":834040298,\"column\":458990624},\"end\":{\"line\":1976701075,\"column\":1777092191}}},{\"message\":\"yhtozfikdowwqu\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":1447033048,\"column\":2116821034},\"end\":{\"line\":1591350946,\"column\":1631099320}}},{\"message\":\"nosggbhcoh\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":459931810,\"column\":1077119628},\"end\":{\"line\":391766197,\"column\":1151274297}}}]}}") .toObject(TestRouteResultInner.class); - Assertions.assertEquals(TestResultStatus.FALSE, model.result()); - Assertions.assertEquals("blytk", model.details().compilationErrors().get(0).message()); + Assertions.assertEquals(TestResultStatus.UNDEFINED, model.result()); + Assertions.assertEquals("ebmnzbtbhjpglk", 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(834040298, model.details().compilationErrors().get(0).location().start().line()); + Assertions.assertEquals(458990624, model.details().compilationErrors().get(0).location().start().column()); + Assertions.assertEquals(1976701075, model.details().compilationErrors().get(0).location().end().line()); + Assertions.assertEquals(1777092191, 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..08bbaf3c41b7 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\":\"olmncwsobqwcs\",\"type\":\"nwdcfhu\",\"unit\":\"dpfuvg\",\"currentValue\":793590133,\"limit\":1418717450,\"name\":{\"value\":\"nvxbvt\",\"localizedValue\":\"dut\"}}],\"nextLink\":\"ormrlxqtvcofudfl\"}") .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("olmncwsobqwcs", model.value().get(0).id()); + Assertions.assertEquals("nwdcfhu", model.value().get(0).type()); + Assertions.assertEquals("dpfuvg", model.value().get(0).unit()); + Assertions.assertEquals(793590133, model.value().get(0).currentValue()); + Assertions.assertEquals(1418717450, model.value().get(0).limit()); + Assertions.assertEquals("nvxbvt", model.value().get(0).name().value()); + Assertions.assertEquals("dut", 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..ae79182db163 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\":\"gj\",\"type\":\"gdknnqv\",\"unit\":\"znqntoru\",\"currentValue\":1292575401,\"limit\":63235261,\"name\":{\"value\":\"kycgrauwj\",\"localizedValue\":\"taeburuvdm\"}}") .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("gj", model.id()); + Assertions.assertEquals("gdknnqv", model.type()); + Assertions.assertEquals("znqntoru", model.unit()); + Assertions.assertEquals(1292575401, model.currentValue()); + Assertions.assertEquals(63235261, model.limit()); + Assertions.assertEquals("kycgrauwj", model.name().value()); + Assertions.assertEquals("taeburuvdm", model.name().localizedValue()); } } diff --git a/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml b/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml index 2120e1db53b3..e6cd03a7fd74 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: 0ef19ebba9ab78ef1d53f87d8dfdded6a7755151 +commit: 87b246496a1e5347f8527e1e01a45b4cd7632036 repo: Azure/azure-rest-api-specs additionalDirectories: From c3edc1a20976bc5db8de79d4f65e7180fb828698 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 21 Jul 2026 02:08:22 +0000 Subject: [PATCH 2/5] Configurations: 'specification/iothub/resource-manager/Microsoft.Devices/IoTHub/tspconfig.yaml', and CommitSHA: 'b6c5dbafe5fae7584e95266840371ace84be41dc' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6591264 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../azure-resourcemanager-iothub/CHANGELOG.md | 27 ++--------- .../iothub/models/RoutingTwin.java | 14 +++--- .../iothub/models/RoutingTwinProperties.java | 27 ++++++----- ...azure-resourcemanager-iothub_metadata.json | 2 +- .../CertificateDescriptionInnerTests.java | 20 ++++---- .../CertificateListDescriptionInnerTests.java | 6 +-- .../generated/CertificatePropertiesTests.java | 12 ++--- ...rtificateVerificationDescriptionTests.java | 10 ++-- ...esCreateOrUpdateWithResponseMockTests.java | 16 +++---- ...rtificatesDeleteWithResponseMockTests.java | 2 +- .../CertificatesGetWithResponseMockTests.java | 8 ++-- ...atesListByIotHubWithResponseMockTests.java | 10 ++-- ...rtificatesVerifyWithResponseMockTests.java | 10 ++-- ...tHubConsumerGroupBodyDescriptionTests.java | 10 ++-- .../EventHubConsumerGroupInfoInnerTests.java | 2 +- .../EventHubConsumerGroupNameTests.java | 8 ++-- ...EventHubConsumerGroupsListResultTests.java | 4 +- .../iothub/generated/FailoverInputTests.java | 9 ++-- .../GroupIdInformationInnerTests.java | 8 ++-- .../GroupIdInformationPropertiesTests.java | 8 ++-- .../generated/ImportDevicesRequestTests.java | 44 ++++++++--------- .../IotHubNameAvailabilityInfoInnerTests.java | 4 +- ...NameAvailabilityWithResponseMockTests.java | 6 +-- ...HubConsumerGroupWithResponseMockTests.java | 8 ++-- ...HubConsumerGroupWithResponseMockTests.java | 2 +- .../IotHubResourcesDeleteMockTests.java | 2 +- ...ubResourcesGetEndpointHealthMockTests.java | 16 +++---- ...HubConsumerGroupWithResponseMockTests.java | 4 +- ...bResourcesGetJobWithResponseMockTests.java | 4 +- ...tHubResourcesGetQuotaMetricsMockTests.java | 4 +- ...esourcesGetStatsWithResponseMockTests.java | 4 +- .../IotHubResourcesGetValidSkusMockTests.java | 10 ++-- ...cesImportDevicesWithResponseMockTests.java | 18 +++---- ...esListEventHubConsumerGroupsMockTests.java | 4 +- .../IotHubResourcesListJobsMockTests.java | 4 +- ...cesTestAllRoutesWithResponseMockTests.java | 31 ++++++------ ...sourcesTestRouteWithResponseMockTests.java | 33 ++++++------- .../IotHubsManualFailoverMockTests.java | 2 +- .../iothub/generated/MatchedRouteTests.java | 12 ++--- .../iothub/generated/NameTests.java | 7 +-- .../generated/OperationInputsTests.java | 8 ++-- .../generated/OperationsListMockTests.java | 2 +- ...ateEndpointConnectionsDeleteMockTests.java | 3 +- ...ntConnectionsGetWithResponseMockTests.java | 9 ++-- ...tConnectionsListWithResponseMockTests.java | 10 ++-- ...ateEndpointConnectionsUpdateMockTests.java | 17 ++++--- .../PrivateLinkResourcesInnerTests.java | 8 ++-- ...cesOperationsGetWithResponseMockTests.java | 10 ++-- ...esOperationsListWithResponseMockTests.java | 10 ++-- .../RegistryStatisticsInnerTests.java | 2 +- ...ubscriptionQuotaWithResponseMockTests.java | 16 +++---- .../generated/RouteCompilationErrorTests.java | 14 +++--- .../generated/RouteErrorPositionTests.java | 6 +-- .../generated/RouteErrorRangeTests.java | 10 ++-- .../iothub/generated/RoutingMessageTests.java | 23 +++++---- .../generated/RoutingTwinPropertiesTests.java | 25 ++-------- .../iothub/generated/RoutingTwinTests.java | 23 ++------- .../generated/TestAllRoutesInputTests.java | 12 ++--- .../TestAllRoutesResultInnerTests.java | 10 ++-- .../iothub/generated/TestRouteInputTests.java | 48 +++++++++---------- .../TestRouteResultDetailsTests.java | 12 ++--- .../generated/TestRouteResultInnerTests.java | 16 +++---- ...SubscriptionQuotaListResultInnerTests.java | 16 +++---- .../generated/UserSubscriptionQuotaTests.java | 16 +++---- .../tsp-location.yaml | 2 +- 65 files changed, 345 insertions(+), 415 deletions(-) diff --git a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md index 779205dfa707..75ef29b8cb0a 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md +++ b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md @@ -1,18 +1,11 @@ # Release History -## 1.4.0-beta.3 (2026-07-20) +## 1.4.0-beta.3 (2026-07-21) - 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 -#### `models.RoutingTwinProperties` was modified - -* `withReported(java.lang.Object)` was removed -* `java.lang.Object reported()` -> `java.util.Map reported()` -* `java.lang.Object desired()` -> `java.util.Map desired()` -* `withDesired(java.lang.Object)` was removed - #### `models.IotHubSkuTier` was modified * `GENERATION2` was removed @@ -21,11 +14,6 @@ * `GEN2` was removed -#### `models.RoutingTwin` was modified - -* `withTags(java.lang.Object)` was removed -* `java.lang.Object tags()` -> `java.util.Map tags()` - ### Features Added * `models.EventStreamAuthenticationType` was added @@ -38,23 +26,14 @@ #### `models.IotHubProperties` was modified -* `deviceHostName()` was added * `serviceHostName()` was added * `iotHubDetails()` was added - -#### `models.RoutingTwinProperties` was modified - -* `withDesired(java.util.Map)` was added -* `withReported(java.util.Map)` was added +* `deviceHostName()` was added #### `models.RoutingEndpoints` was modified -* `withEventStreams(java.util.List)` was added * `eventStreams()` was added - -#### `models.RoutingTwin` was modified - -* `withTags(java.util.Map)` was added +* `withEventStreams(java.util.List)` was added ## 1.4.0-beta.2 (2026-05-08) 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 21fbef9181b7..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":"2026-05-01-preview"},"crossLanguagePackageId":"Microsoft.Devices","crossLanguageVersion":"9dea9d992167","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 +{"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/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 94148ed46036..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\":\"vpa\",\"expiry\":\"Fri, 08 Jan 2021 00:37:46 GMT\",\"thumbprint\":\"qqu\",\"isVerified\":false,\"created\":\"Thu, 24 Dec 2020 02:26:02 GMT\",\"updated\":\"Sat, 18 Sep 2021 11:22:34 GMT\",\"certificate\":\"xkalla\",\"policyResourceId\":\"elwuipi\"},\"etag\":\"jzkzi\",\"id\":\"vvcnayr\",\"name\":\"yrnxxmueedn\",\"type\":\"rdvstkwqqtch\"}") + "{\"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.assertFalse(model.properties().isVerified()); - Assertions.assertEquals("xkalla", model.properties().certificate()); - Assertions.assertEquals("elwuipi", model.properties().policyResourceId()); + Assertions.assertTrue(model.properties().isVerified()); + 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(false) - .withCertificate("xkalla") - .withPolicyResourceId("elwuipi")); + CertificateDescriptionInner model = new CertificateDescriptionInner().withProperties( + new CertificateProperties().withIsVerified(true).withCertificate("dopcjwvnh").withPolicyResourceId("d")); model = BinaryData.fromObject(model).toObject(CertificateDescriptionInner.class); - Assertions.assertFalse(model.properties().isVerified()); - Assertions.assertEquals("xkalla", model.properties().certificate()); - Assertions.assertEquals("elwuipi", model.properties().policyResourceId()); + Assertions.assertTrue(model.properties().isVerified()); + 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 d0eefa0c273e..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\":\"mdbl\",\"expiry\":\"Sat, 06 Mar 2021 12:44:58 GMT\",\"thumbprint\":\"mfnjh\",\"isVerified\":false,\"created\":\"Fri, 12 Mar 2021 13:28:14 GMT\",\"updated\":\"Tue, 29 Jun 2021 07:51:14 GMT\",\"certificate\":\"kfoqreyfkzikfj\",\"policyResourceId\":\"n\"},\"etag\":\"ivx\",\"id\":\"zel\",\"name\":\"c\",\"type\":\"r\"},{\"properties\":{\"subject\":\"feaenwab\",\"expiry\":\"Tue, 07 Dec 2021 11:50:32 GMT\",\"thumbprint\":\"lddxbjhwua\",\"isVerified\":false,\"created\":\"Tue, 30 Mar 2021 04:43:35 GMT\",\"updated\":\"Sun, 21 Nov 2021 08:23:20 GMT\",\"certificate\":\"hyoulpjr\",\"policyResourceId\":\"ag\"},\"etag\":\"vimjwos\",\"id\":\"xitc\",\"name\":\"kfcktqum\",\"type\":\"ekkezzikhlyfjh\"}]}") + "{\"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("kfoqreyfkzikfj", model.value().get(0).properties().certificate()); - Assertions.assertEquals("n", 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 5718ea964f22..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\":\"lmfmtdaay\",\"expiry\":\"Thu, 18 Mar 2021 16:40:33 GMT\",\"thumbprint\":\"vgpiohgwxrt\",\"isVerified\":false,\"created\":\"Sat, 02 Oct 2021 23:21:47 GMT\",\"updated\":\"Fri, 29 Oct 2021 17:25:59 GMT\",\"certificate\":\"yqagvrvm\",\"policyResourceId\":\"k\"}") + "{\"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("yqagvrvm", model.certificate()); - Assertions.assertEquals("k", 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("yqagvrvm").withPolicyResourceId("k"); + = new CertificateProperties().withIsVerified(false).withCertificate("vmwy").withPolicyResourceId("fouyf"); model = BinaryData.fromObject(model).toObject(CertificateProperties.class); Assertions.assertFalse(model.isVerified()); - Assertions.assertEquals("yqagvrvm", model.certificate()); - Assertions.assertEquals("k", 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 a705d4469443..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\":\"ajxq\"}").toObject(CertificateVerificationDescription.class); - Assertions.assertEquals("ajxq", 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("ajxq"); + CertificateVerificationDescription model = new CertificateVerificationDescription().withCertificate("tkcnqxwb"); model = BinaryData.fromObject(model).toObject(CertificateVerificationDescription.class); - Assertions.assertEquals("ajxq", 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 7f1f97f2785b..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\":\"mlqoljx\",\"expiry\":\"Fri, 12 Nov 2021 05:30:54 GMT\",\"thumbprint\":\"xlx\",\"isVerified\":false,\"created\":\"Sun, 24 Jan 2021 07:17:26 GMT\",\"updated\":\"Wed, 08 Dec 2021 16:57:45 GMT\",\"certificate\":\"qzdwlvwlyoup\",\"policyResourceId\":\"fbkjubdyhgkfmi\"},\"etag\":\"g\",\"id\":\"zfttsttktlahb\",\"name\":\"actxtgzukxitm\",\"type\":\"qtgqqqxhrnxr\"}"; + = "{\"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("cubiipuipw") - .withExistingIotHub("euzaof", "chvcyyysfgdo") + .define("gdyftumrtwna") + .withExistingIotHub("zjxvydfcea", "vlhv") .withProperties(new CertificateProperties().withIsVerified(false) - .withCertificate("gmblrri") - .withPolicyResourceId("ywdxsmic")) - .withIfMatch("smsks") + .withCertificate("pxehuwrykqga") + .withPolicyResourceId("mvikl")) + .withIfMatch("v") .create(); Assertions.assertFalse(response.properties().isVerified()); - Assertions.assertEquals("qzdwlvwlyoup", response.properties().certificate()); - Assertions.assertEquals("fbkjubdyhgkfmi", response.properties().policyResourceId()); + 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 08ade2884482..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,7 +28,7 @@ public void testDeleteWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.certificates() - .deleteWithResponse("lmbtxhwgfwsrt", "wcoezbrhub", "kh", "dyg", 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 95ec9d6560b3..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\":\"iplt\",\"expiry\":\"Wed, 21 Apr 2021 08:05:23 GMT\",\"thumbprint\":\"baxk\",\"isVerified\":false,\"created\":\"Tue, 15 Jun 2021 04:05:50 GMT\",\"updated\":\"Wed, 27 Jan 2021 09:50:08 GMT\",\"certificate\":\"yklyhpluodpvruud\",\"policyResourceId\":\"zibt\"},\"etag\":\"stgktst\",\"id\":\"xeclzedqbcvhzlhp\",\"name\":\"odqkdlwwqfb\",\"type\":\"mlkxtrqjfs\"}"; + = "{\"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("yxgtczh", "ydbsd", "hmkxmaehvbb", com.azure.core.util.Context.NONE) + .getWithResponse("saz", "jjoqkagf", "sxtta", com.azure.core.util.Context.NONE) .getValue(); Assertions.assertFalse(response.properties().isVerified()); - Assertions.assertEquals("yklyhpluodpvruud", response.properties().certificate()); - Assertions.assertEquals("zibt", 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 f709b9be0d2a..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\":\"iqtqzfavyvnq\",\"expiry\":\"Sun, 23 May 2021 06:21:06 GMT\",\"thumbprint\":\"ryeu\",\"isVerified\":false,\"created\":\"Tue, 25 May 2021 11:37:10 GMT\",\"updated\":\"Mon, 19 Apr 2021 19:49:12 GMT\",\"certificate\":\"gzslesjcbhernnti\",\"policyResourceId\":\"djc\"},\"etag\":\"quwrbehwag\",\"id\":\"buffkmrqemvvhm\",\"name\":\"tdrjfutacoebj\",\"type\":\"ewzcjznmwcp\"}]}"; + = "{\"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("ookk", "fqjbvleo", com.azure.core.util.Context.NONE) + .listByIotHubWithResponse("lrcoolsttpki", "kkbnu", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertFalse(response.value().get(0).properties().isVerified()); - Assertions.assertEquals("gzslesjcbhernnti", response.value().get(0).properties().certificate()); - Assertions.assertEquals("djc", response.value().get(0).properties().policyResourceId()); + Assertions.assertTrue(response.value().get(0).properties().isVerified()); + 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 c28f21476683..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\":\"kokwbqplhlvnu\",\"expiry\":\"Sun, 29 Aug 2021 14:02:44 GMT\",\"thumbprint\":\"lrphwzsoldw\",\"isVerified\":true,\"created\":\"Mon, 15 Mar 2021 18:22:51 GMT\",\"updated\":\"Wed, 19 May 2021 00:01:37 GMT\",\"certificate\":\"nnrwrbiork\",\"policyResourceId\":\"lywjhh\"},\"etag\":\"nhxmsi\",\"id\":\"omi\",\"name\":\"ox\",\"type\":\"gdufiqnd\"}"; + = "{\"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("rwm", "uvwpklvxwmyg", "xpgpq", "hiszepnnbjcrxgib", - new CertificateVerificationDescription().withCertificate("axconfozauo"), + .verifyWithResponse("rymsgaojfmw", "cotmr", "hirctymoxoftpipi", "yczuhxacpq", + new CertificateVerificationDescription().withCertificate("ihhyuspskasd"), com.azure.core.util.Context.NONE) .getValue(); Assertions.assertTrue(response.properties().isVerified()); - Assertions.assertEquals("nnrwrbiork", response.properties().certificate()); - Assertions.assertEquals("lywjhh", response.properties().policyResourceId()); + 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/EventHubConsumerGroupBodyDescriptionTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/EventHubConsumerGroupBodyDescriptionTests.java index c715024357dc..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,16 +12,16 @@ public final class EventHubConsumerGroupBodyDescriptionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - EventHubConsumerGroupBodyDescription model = BinaryData.fromString("{\"properties\":{\"name\":\"tddckcb\"}}") + EventHubConsumerGroupBodyDescription model = BinaryData.fromString("{\"properties\":{\"name\":\"l\"}}") .toObject(EventHubConsumerGroupBodyDescription.class); - Assertions.assertEquals("tddckcb", model.properties().name()); + Assertions.assertEquals("l", model.properties().name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - EventHubConsumerGroupBodyDescription model = new EventHubConsumerGroupBodyDescription() - .withProperties(new EventHubConsumerGroupName().withName("tddckcb")); + EventHubConsumerGroupBodyDescription model + = new EventHubConsumerGroupBodyDescription().withProperties(new EventHubConsumerGroupName().withName("l")); model = BinaryData.fromObject(model).toObject(EventHubConsumerGroupBodyDescription.class); - Assertions.assertEquals("tddckcb", 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 60faaac66761..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\":{\"rfouyftaakcpw\":\"\\\"datauefywsbpfvmwy\\\"\",\"nubexk\":\"\\\"datayzvqt\\\"\",\"quxvypomgkop\":\"\\\"datazksmondj\\\"\",\"jqg\":\"\\\"datawhojvp\\\"\"},\"etag\":\"smocmbq\",\"id\":\"vmkcx\",\"name\":\"zapvhelx\",\"type\":\"rgly\"}") + "{\"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 8e279e3a676e..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\":\"uejrjxgc\"}").toObject(EventHubConsumerGroupName.class); - Assertions.assertEquals("uejrjxgc", 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("uejrjxgc"); + EventHubConsumerGroupName model = new EventHubConsumerGroupName().withName("tmuwlauwzi"); model = BinaryData.fromObject(model).toObject(EventHubConsumerGroupName.class); - Assertions.assertEquals("uejrjxgc", 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 0b526b4a646a..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\":{\"sdqrhzoymibmrq\":\"\\\"datarhos\\\"\"},\"etag\":\"bahwfl\",\"id\":\"zdtmhrkwofy\",\"name\":\"voqacpiexpbt\",\"type\":\"iwbwoenwashrtdtk\"},{\"properties\":{\"aasipqi\":\"\\\"dataxwbpokulpiuj\\\"\",\"erpqlpqwcciuqg\":\"\\\"dataobyu\\\"\",\"hykojoxafnndlpic\":\"\\\"datadbutauvfbtkuwhh\\\"\"},\"etag\":\"o\",\"id\":\"kcdyhbpk\",\"name\":\"pwdreqnovvqf\",\"type\":\"vljxywsu\"},{\"properties\":{\"aeneqnzarrwl\":\"\\\"datarsndsytgadgvra\\\"\"},\"etag\":\"uijfqk\",\"id\":\"e\",\"name\":\"iipfpubj\",\"type\":\"bwwift\"},{\"properties\":{\"synljphuopxodl\":\"\\\"datakvpuvksgplsaknyn\\\"\",\"sjswsrms\":\"\\\"dataiyntorzihle\\\"\",\"ox\":\"\\\"datayzrpzbchckqqzq\\\"\",\"rwyhqmibzyhwitsm\":\"\\\"dataysuiizynkedya\\\"\"},\"etag\":\"yynpcdpumnzgmwz\",\"id\":\"abikns\",\"name\":\"rgjhxb\",\"type\":\"dtlwwrlkd\"}],\"nextLink\":\"ncvokotllxdyhg\"}") + "{\"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("ncvokotllxdyhg", 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 8e530ed21cd9..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\":\"kvci\"}").toObject(FailoverInput.class); - Assertions.assertEquals("kvci", 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("kvci"); + FailoverInput model = new FailoverInput().withFailoverRegion("hdlxyjrxsagafcn"); model = BinaryData.fromObject(model).toObject(FailoverInput.class); - Assertions.assertEquals("kvci", model.failoverRegion()); + Assertions.assertEquals("hdlxyjrxsagafcn", model.failoverRegion()); } } 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 8073afeac01c..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\":\"jhkycub\",\"name\":\"dgssofwqmzqal\",\"type\":\"mnjijpxacqqudf\",\"properties\":{\"groupId\":\"yxbaaabjyvayf\",\"requiredMembers\":[\"rzrtuzqogsex\"],\"requiredZoneNames\":[\"fdnw\",\"wmewzsyy\",\"euzsoi\",\"judpfrxt\"]}}") + "{\"id\":\"kulpiujwaasi\",\"name\":\"i\",\"type\":\"byuqerpqlp\",\"properties\":{\"groupId\":\"cciuqgbdbutau\",\"requiredMembers\":[\"tkuwhhmhykojo\",\"afnn\"],\"requiredZoneNames\":[\"ichkoymkcdyhb\",\"kkpwdreqnovvq\",\"ovljxywsu\"]}}") .toObject(GroupIdInformationInner.class); - Assertions.assertEquals("yxbaaabjyvayf", model.properties().groupId()); - Assertions.assertEquals("rzrtuzqogsex", model.properties().requiredMembers().get(0)); - Assertions.assertEquals("fdnw", 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 8894f539c209..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\":\"hzv\",\"requiredMembers\":[\"dwkqbrq\",\"bpaxhexiilivpdt\"],\"requiredZoneNames\":[\"q\"]}") + "{\"groupId\":\"yrs\",\"requiredMembers\":[\"ytgadgvraeaene\",\"nzar\",\"wlquuijfqkace\"],\"requiredZoneNames\":[\"pfpubjibww\",\"f\"]}") .toObject(GroupIdInformationProperties.class); - Assertions.assertEquals("hzv", model.groupId()); - Assertions.assertEquals("dwkqbrq", model.requiredMembers().get(0)); - Assertions.assertEquals("q", 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 9164eba665ff..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\":\"bobzdopcjwvnhd\",\"outputBlobContainerUri\":\"d\",\"inputBlobName\":\"gx\",\"outputBlobName\":\"rslpmutwuoeg\",\"authenticationType\":\"keyBased\",\"identity\":{\"userAssignedIdentity\":\"wniyqsluicpd\"},\"includeConfigurations\":true,\"configurationsBlobName\":\"zl\"}") + "{\"inputBlobContainerUri\":\"jmygtdsslswtmwer\",\"outputBlobContainerUri\":\"ofz\",\"inputBlobName\":\"qsemwabne\",\"outputBlobName\":\"hhszh\",\"authenticationType\":\"identityBased\",\"identity\":{\"userAssignedIdentity\":\"wiwubm\"},\"includeConfigurations\":true,\"configurationsBlobName\":\"sldnkwwtppjflcxo\"}") .toObject(ImportDevicesRequest.class); - Assertions.assertEquals("bobzdopcjwvnhd", model.inputBlobContainerUri()); - Assertions.assertEquals("d", model.outputBlobContainerUri()); - Assertions.assertEquals("gx", model.inputBlobName()); - Assertions.assertEquals("rslpmutwuoeg", model.outputBlobName()); - Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType()); - Assertions.assertEquals("wniyqsluicpd", 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("zl", model.configurationsBlobName()); + Assertions.assertEquals("sldnkwwtppjflcxo", model.configurationsBlobName()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportDevicesRequest model = new ImportDevicesRequest().withInputBlobContainerUri("bobzdopcjwvnhd") - .withOutputBlobContainerUri("d") - .withInputBlobName("gx") - .withOutputBlobName("rslpmutwuoeg") - .withAuthenticationType(AuthenticationType.KEY_BASED) - .withIdentity(new ManagedIdentity().withUserAssignedIdentity("wniyqsluicpd")) + ImportDevicesRequest model = new ImportDevicesRequest().withInputBlobContainerUri("jmygtdsslswtmwer") + .withOutputBlobContainerUri("ofz") + .withInputBlobName("qsemwabne") + .withOutputBlobName("hhszh") + .withAuthenticationType(AuthenticationType.IDENTITY_BASED) + .withIdentity(new ManagedIdentity().withUserAssignedIdentity("wiwubm")) .withIncludeConfigurations(true) - .withConfigurationsBlobName("zl"); + .withConfigurationsBlobName("sldnkwwtppjflcxo"); model = BinaryData.fromObject(model).toObject(ImportDevicesRequest.class); - Assertions.assertEquals("bobzdopcjwvnhd", model.inputBlobContainerUri()); - Assertions.assertEquals("d", model.outputBlobContainerUri()); - Assertions.assertEquals("gx", model.inputBlobName()); - Assertions.assertEquals("rslpmutwuoeg", model.outputBlobName()); - Assertions.assertEquals(AuthenticationType.KEY_BASED, model.authenticationType()); - Assertions.assertEquals("wniyqsluicpd", 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("zl", model.configurationsBlobName()); + Assertions.assertEquals("sldnkwwtppjflcxo", model.configurationsBlobName()); } } 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 b0d0c9f7c86c..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 @@ -12,8 +12,8 @@ public final class IotHubNameAvailabilityInfoInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { IotHubNameAvailabilityInfoInner model - = BinaryData.fromString("{\"nameAvailable\":true,\"reason\":\"Invalid\",\"message\":\"tdtbnnhadooc\"}") + = BinaryData.fromString("{\"nameAvailable\":false,\"reason\":\"Invalid\",\"message\":\"uflrwd\"}") .toObject(IotHubNameAvailabilityInfoInner.class); - Assertions.assertEquals("tdtbnnhadooc", model.message()); + Assertions.assertEquals("uflrwd", model.message()); } } 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 ca82101c1afd..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\":\"AlreadyExists\",\"message\":\"ypsxjvfoim\"}"; + 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("jqgwzp"), + .checkNameAvailabilityWithResponse(new OperationInputs().withName("mctlpdngitv"), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ypsxjvfoim", 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 36d28b5039bf..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\":{\"lvtno\":\"\\\"datavdsrhnjiv\\\"\",\"ltducea\":\"\\\"dataqfzgemjdftul\\\"\"},\"etag\":\"mczuo\",\"id\":\"jw\",\"name\":\"w\",\"type\":\"qioknssxmojm\"}"; + = "{\"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("ykqgaifmvik") - .withExistingEventHubEndpoint("ojgcyzt", "fmznba", "qphchqnrnrpxehuw") - .withProperties(new EventHubConsumerGroupName().withName("bydvkhbejdz")) + .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 6dd1686bd190..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("rctym", "xoftpipiwyczu", "xacpqjli", "hyus", + .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 f986ca30e3a6..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("qipqkghvxndz", "mkrefajpjorwkq", 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 b57cfb80e3a8..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\":\"wspughftqsxhqx\",\"healthStatus\":\"degraded\",\"lastKnownError\":\"kndxdigrjgu\",\"lastKnownErrorTime\":\"Tue, 16 Feb 2021 11:30:47 GMT\",\"lastSuccessfulSendAttemptTime\":\"Tue, 16 Nov 2021 06:23:27 GMT\",\"lastSendAttemptTime\":\"Thu, 01 Apr 2021 21:46:18 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))); @@ -33,16 +33,16 @@ public void testGetEndpointHealth() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.iotHubResources().getEndpointHealth("el", "qhhahhxvrhmzkwpj", com.azure.core.util.Context.NONE); + = manager.iotHubResources().getEndpointHealth("pqwd", "ggicccnxqhue", com.azure.core.util.Context.NONE); - Assertions.assertEquals("wspughftqsxhqx", response.iterator().next().endpointId()); - Assertions.assertEquals(EndpointHealthStatus.DEGRADED, response.iterator().next().healthStatus()); - Assertions.assertEquals("kndxdigrjgu", response.iterator().next().lastKnownError()); - Assertions.assertEquals(OffsetDateTime.parse("2021-02-16T11:30:47Z"), + 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-11-16T06:23:27Z"), + Assertions.assertEquals(OffsetDateTime.parse("2021-08-31T08:14:30Z"), response.iterator().next().lastSuccessfulSendAttemptTime()); - Assertions.assertEquals(OffsetDateTime.parse("2021-04-01T21:46:18Z"), + 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 ef99f1a92b89..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\":{\"jzhpjbibgjmfx\":\"\\\"dataghhavgrvkffo\\\"\",\"cluyovwxnbkf\":\"\\\"datamv\\\"\",\"zbomvzzbtdcqvpni\":\"\\\"datazzxscyhwzdgiruj\\\"\"},\"etag\":\"jviylwdshfs\",\"id\":\"rbgyefry\",\"name\":\"sgaojfmwncot\",\"type\":\"rfh\"}"; + = "{\"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,7 @@ public void testGetEventHubConsumerGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); EventHubConsumerGroupInfo response = manager.iotHubResources() - .getEventHubConsumerGroupWithResponse("yuxzejntpsewgi", "ilqu", "rydxtqm", "eoxorggufhyao", + .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 c44fe407d6e8..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\":\"xrjqcirgzpfrlazs\",\"startTimeUtc\":\"Thu, 29 Jul 2021 01:36:25 GMT\",\"endTimeUtc\":\"Tue, 18 May 2021 14:08:14 GMT\",\"type\":\"updateDeviceConfiguration\",\"status\":\"completed\",\"failureReason\":\"pwp\",\"statusMessage\":\"lwbtlhf\",\"parentJobId\":\"jcdh\"}"; + = "{\"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("sibircgpi", "pzimejzanlfzxi", "vrmbzono", 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 414585556283..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\":\"iojnalghfkvtv\",\"currentValue\":5507698933851927767,\"maxValue\":5531211754310429800}]}"; + = "{\"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("zfjvfbgofe", "jagrqmqhldvr", 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 d45dbdccbd5f..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\":2623062511310512908,\"enabledDeviceCount\":3559673454895327460,\"disabledDeviceCount\":1446220970457190394}"; + = "{\"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("yybyc", "unvjsrtkfawnopq", 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 97aa8601eac4..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\":\"zrfze\",\"sku\":{\"name\":\"B3\",\"tier\":\"Free\",\"capacity\":1842124516680921238},\"capacity\":{\"minimum\":3361403308892839308,\"maximum\":2435029182460342215,\"default\":7312506291053485775,\"scaleType\":\"Manual\"}}]}"; + = "{\"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))); @@ -32,10 +32,10 @@ public void testGetValidSkus() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response - = manager.iotHubResources().getValidSkus("budurgkakmo", "zhjjklffhmouwq", com.azure.core.util.Context.NONE); + PagedIterable response = manager.iotHubResources() + .getValidSkus("zkoowtlmnguxawqa", "dsyuuximerqfob", com.azure.core.util.Context.NONE); - Assertions.assertEquals(IotHubSku.B3, response.iterator().next().sku().name()); - Assertions.assertEquals(1842124516680921238L, 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 c2d6364afc83..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\":\"gh\",\"startTimeUtc\":\"Fri, 09 Apr 2021 19:17:49 GMT\",\"endTimeUtc\":\"Thu, 01 Jul 2021 07:34:11 GMT\",\"type\":\"import\",\"status\":\"completed\",\"failureReason\":\"gf\",\"statusMessage\":\"dsofbshrns\",\"parentJobId\":\"uswdv\"}"; + = "{\"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("cdm", "nrojlpijnkr", - new ImportDevicesRequest().withInputBlobContainerUri("frddhcrati") - .withOutputBlobContainerUri("zronasxift") - .withInputBlobName("qyzhf") - .withOutputBlobName("esgogc") + .importDevicesWithResponse("gofel", "a", + new ImportDevicesRequest().withInputBlobContainerUri("rqmq") + .withOutputBlobContainerUri("ldvriiiojnalghfk") + .withInputBlobName("vsexsowuelu") + .withOutputBlobName("hahhxvrhmzkwpj") .withAuthenticationType(AuthenticationType.IDENTITY_BASED) - .withIdentity(new ManagedIdentity().withUserAssignedIdentity("xkr")) - .withIncludeConfigurations(true) - .withConfigurationsBlobName("hmossxkkgth"), + .withIdentity(new ManagedIdentity().withUserAssignedIdentity("ughftqsx")) + .withIncludeConfigurations(false) + .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 7a0d42ad3ec4..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\":{\"txifqj\":\"\\\"datasjnhn\\\"\"},\"etag\":\"xmrhu\",\"id\":\"wp\",\"name\":\"esutrgjupauutpw\",\"type\":\"qhih\"}]}"; + = "{\"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,7 +31,7 @@ public void testListEventHubConsumerGroups() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.iotHubResources() - .listEventHubConsumerGroups("skasdvlmfwdgzxu", "ucvpamrs", "euzvx", 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 03000a1cb3ab..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\":\"ltha\",\"startTimeUtc\":\"Mon, 08 Nov 2021 17:52:45 GMT\",\"endTimeUtc\":\"Fri, 03 Sep 2021 05:44:20 GMT\",\"type\":\"unknown\",\"status\":\"unknown\",\"failureReason\":\"bdsrez\",\"statusMessage\":\"rhneuyowq\",\"parentJobId\":\"wyt\"}]}"; + = "{\"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("ybbqwrv", "ldgmfpgvmpip", 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 2747c20153b1..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\":\"goupmfiibfg\",\"source\":\"DeviceJobLifecycleEvents\",\"condition\":\"ool\",\"endpointNames\":[\"wxkvtkkgll\",\"wjygvjayvblmhvk\",\"uhbxvvy\"],\"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,25 +38,22 @@ public void testTestAllRoutesWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); TestAllRoutesResult response = manager.iotHubResources() - .testAllRoutesWithResponse("qtfihwhbotzinga", "vppho", new TestAllRoutesInput() - .withRoutingSource(RoutingSource.DEVICE_LIFECYCLE_EVENTS) - .withMessage(new RoutingMessage().withBody("dphqamv") - .withAppProperties(mapOf("nvyq", "wynwcvtbvkayhm", "cjaesgvvs", "atkzwpcnpw", "wygzlvdnkfxusem", - "cyajguqf", "pfcqdp", "wzrmuh")) - .withSystemProperties(mapOf("celve", "qvpsvuoymg"))) - .withTwin(new RoutingTwin().withTags(mapOf("wkyhkobopgxe", "\"dataqlmfeoker\"", "wep", "\"datak\"")) - .withProperties(new RoutingTwinProperties().withDesired(mapOf("qek", "\"datarfkbwccsnjvcdwxl\"")) - .withReported(mapOf("y", "\"datakhtj\"", "dhtmdvypgikd", "\"datangwfqatm\"", "hlhkjoqrvqqaatj", - "\"dataszywkbirryu\"")))), + .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("goupmfiibfg", response.routes().get(0).properties().name()); - Assertions.assertEquals(RoutingSource.DEVICE_JOB_LIFECYCLE_EVENTS, - response.routes().get(0).properties().source()); - Assertions.assertEquals("ool", response.routes().get(0).properties().condition()); - Assertions.assertEquals("wxkvtkkgll", 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 f2a9826d39a6..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\":\"undefined\",\"details\":{\"compilationErrors\":[{\"message\":\"tpkiwkkbnujry\",\"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,30 +43,25 @@ public void testTestRouteWithResponse() throws Exception { TestRouteResult response = manager.iotHubResources() - .testRouteWithResponse("s", "pbyrqufegxu", + .testRouteWithResponse("bdeibqipqk", "hvxndzwmkrefajpj", new TestRouteInput() - .withMessage(new RoutingMessage().withBody("fbn") - .withAppProperties(mapOf("hrixkwmy", "ctlpdngitvgb", "hbpnaixexccbd", "jejveg", "htpwij", - "eaxhcexdrrvqahqk")) - .withSystemProperties(mapOf("vmtgjqppy", "jsvfycxzbfvoowv", "ronzmyhgfip", "s"))) - .withRoute(new RouteProperties().withName("sxkm") - .withSource(RoutingSource.MQTT_BROKER_MESSAGES) - .withCondition("ekrrjr") - .withEndpointNames(Arrays.asList("fxtsgum", "jglikkxwslolb")) + .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(mapOf("elfk", "\"datalmv\"", "njwmwkpnbsazejj", "\"datagplcrpwjxeznoigb\"", - "augzxnfaazpxdtn", "\"dataqkagfhsxt\"")) - .withProperties(new RoutingTwinProperties() - .withDesired(mapOf("rkpyouaibrebqaay", "\"dataqjjlwuen\"", "ixqtn", "\"dataj\"", - "ffiakp", "\"datattezlw\"", "tmmjihyeozph", "\"datapqqmted\"")) - .withReported(mapOf("cwxqu", "\"datauyqncygupkvipmd\"", "xhojuj", "\"dataevzhfsto\"", - "hixbjxyfwnyl", "\"dataypelmcu\"")))), + .withTwin(new RoutingTwin().withTags("\"databdsrez\"") + .withProperties(new RoutingTwinProperties().withDesired("\"datahneuyowqkd\"") + .withReported("\"datat\""))), com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals(TestResultStatus.UNDEFINED, response.result()); - Assertions.assertEquals("tpkiwkkbnujry", response.details().compilationErrors().get(0).message()); + Assertions.assertEquals("gpikpzimejza", response.details().compilationErrors().get(0).message()); Assertions.assertEquals(RouteErrorSeverity.WARNING, response.details().compilationErrors().get(0).severity()); } 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 3bef0534801a..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("vpkjpr", "kwcf", new FailoverInput().withFailoverRegion("ql"), + .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/MatchedRouteTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/MatchedRouteTests.java index e813f0bfd43d..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\":\"tpvjzbexilzznfqq\",\"source\":\"DeviceMessages\",\"condition\":\"pmqtaru\",\"endpointNames\":[\"jmkcjhwqytj\",\"ybn\",\"jewgdrjerv\"],\"isEnabled\":false}}") + "{\"properties\":{\"name\":\"dahzxctobg\",\"source\":\"TwinChangeEvents\",\"condition\":\"moizpos\",\"endpointNames\":[\"grcfb\",\"nrmfqjhhk\"],\"isEnabled\":true}}") .toObject(MatchedRoute.class); - Assertions.assertEquals("tpvjzbexilzznfqq", model.properties().name()); - Assertions.assertEquals(RoutingSource.DEVICE_MESSAGES, model.properties().source()); - Assertions.assertEquals("pmqtaru", model.properties().condition()); - Assertions.assertEquals("jmkcjhwqytj", model.properties().endpointNames().get(0)); - Assertions.assertFalse(model.properties().isEnabled()); + 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/NameTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/NameTests.java index c5345fe58219..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 @@ -11,8 +11,9 @@ public final class NameTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - Name model = BinaryData.fromString("{\"value\":\"s\",\"localizedValue\":\"l\"}").toObject(Name.class); - Assertions.assertEquals("s", model.value()); - Assertions.assertEquals("l", model.localizedValue()); + Name model + = 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 89aeaae87498..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\":\"y\"}").toObject(OperationInputs.class); - Assertions.assertEquals("y", 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("y"); + OperationInputs model = new OperationInputs().withName("vhqcrail"); model = BinaryData.fromObject(model).toObject(OperationInputs.class); - Assertions.assertEquals("y", 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 334e9c7f07e5..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\":\"ab\",\"display\":{\"provider\":\"efkifr\",\"resource\":\"puqujmqlgkfbtn\",\"operation\":\"aongbj\",\"description\":\"tujitcjedft\"}}]}"; + = "{\"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 152ddc093fd0..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,8 +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("icslfaoq", "piyylhalnswhccsp", "kaivwit", 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 326b08d5977d..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\":\"ciqopidoa\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"iodhkhazxkhnz\",\"actionsRequired\":\"nlwntoe\"}},\"id\":\"kdwbwhkszz\",\"name\":\"mrv\",\"type\":\"xztvbtqgsfraoyzk\"}"; + = "{\"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("waezkojvd", "pzfoqoui", "ybxarzgszu", com.azure.core.util.Context.NONE) + .getWithResponse("infwjlfltkacjve", "kdlfoa", "ggkfpagaowpul", com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED, response.properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("iodhkhazxkhnz", - response.properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("nlwntoe", 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 daaf9ba5a397..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\":\"dwmsweypqwd\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"gicccnxqhuex\",\"actionsRequired\":\"ttlstvlzywemhz\"}},\"id\":\"csdtclusiypbs\",\"name\":\"gytguslfead\",\"type\":\"ygqukyhejh\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"xgfpelolppv\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"r\",\"actionsRequired\":\"vu\"}},\"id\":\"raehtwdwrft\",\"name\":\"wib\",\"type\":\"rcdlbhshfwpr\"},{\"properties\":{\"privateEndpoint\":{\"id\":\"twitykhev\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"cedcpnmdy\",\"actionsRequired\":\"nwzxltjcv\"}},\"id\":\"ltiugcxnavv\",\"name\":\"xqi\",\"type\":\"y\"}]"; + = "[{\"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("scywuggwoluhc", "bwemhairs", 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("gicccnxqhuex", + Assertions.assertEquals("qntorudsgsahmkyc", response.get(0).properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("ttlstvlzywemhz", + 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 808070898bd5..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\":\"grtwae\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"uzkopbminrfd\",\"actionsRequired\":\"yuhhziu\"}},\"id\":\"fozbhdmsmlmzqhof\",\"name\":\"rmaequ\",\"type\":\"ah\"}"; + = "{\"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("owtlmnguxawqald", "yuuximerqfobwyzn", "bykutw", + .update("sbzkf", "beyvpnqicvinvkjj", "dxrbuukzcle", new PrivateEndpointConnectionInner() .withProperties(new PrivateEndpointConnectionProperties().withPrivateEndpoint(new PrivateEndpoint()) .withPrivateLinkServiceConnectionState(new PrivateLinkServiceConnectionState() - .withStatus(PrivateLinkServiceConnectionStatus.PENDING) - .withDescription("doakgtdlmkkzevdl") - .withActionsRequired("wpusdsttwvogv"))), + .withStatus(PrivateLinkServiceConnectionStatus.APPROVED) + .withDescription("ofncckwyfzqwhxxb") + .withActionsRequired("qa"))), com.azure.core.util.Context.NONE); - Assertions.assertEquals(PrivateLinkServiceConnectionStatus.PENDING, + Assertions.assertEquals(PrivateLinkServiceConnectionStatus.REJECTED, response.properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("uzkopbminrfd", - response.properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("yuhhziu", 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 aa5f4af15d59..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\":\"axoruzfgsquy\",\"name\":\"rxxle\",\"type\":\"ramxjezwlwnw\",\"properties\":{\"groupId\":\"qlcvydy\",\"requiredMembers\":[\"dooaojkniodko\",\"ebwnujhe\"],\"requiredZoneNames\":[\"bvdkcrodtjin\",\"wj\",\"fltkacjv\",\"f\"]}},{\"id\":\"lfoakg\",\"name\":\"fpagaowpulp\",\"type\":\"lyls\",\"properties\":{\"groupId\":\"k\",\"requiredMembers\":[\"sjervti\"],\"requiredZoneNames\":[\"sdszue\",\"psbzkfzbeyvpn\",\"icvi\"]}},{\"id\":\"kjj\",\"name\":\"xrbuukzclew\",\"type\":\"mlwpazt\",\"properties\":{\"groupId\":\"ofncckwyfzqwhxxb\",\"requiredMembers\":[\"a\"],\"requiredZoneNames\":[\"eqz\",\"ppriol\",\"or\"]}}]}") + "{\"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("qlcvydy", model.value().get(0).properties().groupId()); - Assertions.assertEquals("dooaojkniodko", model.value().get(0).properties().requiredMembers().get(0)); - Assertions.assertEquals("bvdkcrodtjin", 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 2b3e0c339ecd..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\":\"jlkatnwxy\",\"name\":\"pidkqqfkuvscxkdm\",\"type\":\"govibrxkpmloazu\",\"properties\":{\"groupId\":\"ocbgoorbteoyb\",\"requiredMembers\":[\"xakvvjgslor\",\"il\"],\"requiredZoneNames\":[\"wt\",\"gkxnyedabg\"]}}"; + = "{\"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("cpjuisa", "okqdzfvaz", "vjlfrqtt", com.azure.core.util.Context.NONE) + .getWithResponse("ydbsd", "hmkxmaehvbb", "uripltfnhtba", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ocbgoorbteoyb", response.properties().groupId()); - Assertions.assertEquals("xakvvjgslor", response.properties().requiredMembers().get(0)); - Assertions.assertEquals("wt", 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 25daeb918a53..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\":\"kkudzp\",\"name\":\"wjplma\",\"type\":\"tcyohpfkyrk\",\"properties\":{\"groupId\":\"dg\",\"requiredMembers\":[\"sjkmnwqj\"],\"requiredZoneNames\":[\"aiy\",\"ddviacegfnmntfpm\",\"memfnczdwvvbalxl\",\"lchpodbzevwrdn\"]}}]}"; + = "{\"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("vudtjuewbcihx", "uwhcjyxccybv", com.azure.core.util.Context.NONE) + .listWithResponse("qjfsmlmbtxhw", "fwsrtawcoezbrhu", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("dg", response.value().get(0).properties().groupId()); - Assertions.assertEquals("sjkmnwqj", response.value().get(0).properties().requiredMembers().get(0)); - Assertions.assertEquals("aiy", 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 6b7624f618cb..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\":2377355799268639179,\"enabledDeviceCount\":1390680046285193953,\"disabledDeviceCount\":4083337903292731592}") + "{\"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 be19a2e2ae87..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\":\"uvsj\",\"type\":\"wsmystuluqypf\",\"unit\":\"lerchpq\",\"currentValue\":131662933,\"limit\":1988339423,\"name\":{\"value\":\"bwidfcxsspuunn\",\"localizedValue\":\"yhkx\"}}],\"nextLink\":\"ddrihpf\"}"; + = "{\"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("uvsj", response.value().get(0).id()); - Assertions.assertEquals("wsmystuluqypf", response.value().get(0).type()); - Assertions.assertEquals("lerchpq", response.value().get(0).unit()); - Assertions.assertEquals(131662933, response.value().get(0).currentValue()); - Assertions.assertEquals(1988339423, response.value().get(0).limit()); - Assertions.assertEquals("bwidfcxsspuunn", response.value().get(0).name().value()); - Assertions.assertEquals("yhkx", 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/RouteCompilationErrorTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RouteCompilationErrorTests.java index 804896b77462..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\":\"uflrwd\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":885184868,\"column\":1095036678},\"end\":{\"line\":1900906621,\"column\":2058639805}}}") + "{\"message\":\"dbzm\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":307071571,\"column\":451636387},\"end\":{\"line\":1616602527,\"column\":722282959}}}") .toObject(RouteCompilationError.class); - Assertions.assertEquals("uflrwd", model.message()); - Assertions.assertEquals(RouteErrorSeverity.ERROR, model.severity()); - Assertions.assertEquals(885184868, model.location().start().line()); - Assertions.assertEquals(1095036678, model.location().start().column()); - Assertions.assertEquals(1900906621, model.location().end().line()); - Assertions.assertEquals(2058639805, model.location().end().column()); + Assertions.assertEquals("dbzm", model.message()); + Assertions.assertEquals(RouteErrorSeverity.WARNING, model.severity()); + 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 6f0d10d9b3f1..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\":1545768261,\"column\":436968596}").toObject(RouteErrorPosition.class); - Assertions.assertEquals(1545768261, model.line()); - Assertions.assertEquals(436968596, 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 8ec911c95bf4..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\":1665526827,\"column\":781571507},\"end\":{\"line\":808700317,\"column\":1856225206}}") + "{\"start\":{\"line\":1832906038,\"column\":2109510262},\"end\":{\"line\":857733914,\"column\":967262152}}") .toObject(RouteErrorRange.class); - Assertions.assertEquals(1665526827, model.start().line()); - Assertions.assertEquals(781571507, model.start().column()); - Assertions.assertEquals(808700317, model.end().line()); - Assertions.assertEquals(1856225206, 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/RoutingMessageTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/RoutingMessageTests.java index 465da1316bfc..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,24 +14,23 @@ public final class RoutingMessageTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { RoutingMessage model = BinaryData.fromString( - "{\"body\":\"lns\",\"appProperties\":{\"aln\":\"xwyjsflhhc\",\"qcslyjpkiid\":\"ixisxyawjoy\",\"eli\":\"yexz\",\"bnxknalaulppg\":\"hnrztfol\"},\"systemProperties\":{\"igvpgylg\":\"pnapnyiropuh\",\"medjvcslynqwwncw\":\"git\",\"pkteo\":\"zhxgktrmgucn\",\"pfqbuaceopzf\":\"llwptfdy\"}}") + "{\"body\":\"sgzvahapjyzhpv\",\"appProperties\":{\"gfhzovawjvzunlut\":\"cjrvxdjzlmwlxkv\",\"i\":\"nnprn\",\"tskzbbtdzumveek\":\"eilpjzuaejxdu\",\"uh\":\"pwo\"},\"systemProperties\":{\"uusdttouwa\":\"bsjyofdx\"}}") .toObject(RoutingMessage.class); - Assertions.assertEquals("lns", model.body()); - Assertions.assertEquals("xwyjsflhhc", model.appProperties().get("aln")); - Assertions.assertEquals("pnapnyiropuh", model.systemProperties().get("igvpgylg")); + 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("lns") - .withAppProperties( - mapOf("aln", "xwyjsflhhc", "qcslyjpkiid", "ixisxyawjoy", "eli", "yexz", "bnxknalaulppg", "hnrztfol")) - .withSystemProperties(mapOf("igvpgylg", "pnapnyiropuh", "medjvcslynqwwncw", "git", "pkteo", "zhxgktrmgucn", - "pfqbuaceopzf", "llwptfdy")); + 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("lns", model.body()); - Assertions.assertEquals("xwyjsflhhc", model.appProperties().get("aln")); - Assertions.assertEquals("pnapnyiropuh", model.systemProperties().get("igvpgylg")); + 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 c6f68d7a55eb..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,34 +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\":{\"mcbxvwvxysl\":\"\\\"datatdo\\\"\"},\"reported\":{\"tkblmpewww\":\"\\\"datasfxobl\\\"\",\"hxcr\":\"\\\"databkrvrnsvshqj\\\"\",\"sub\":\"\\\"databfovasrruvwbhsq\\\"\"}}") - .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("mcbxvwvxysl", "\"datatdo\"")) - .withReported(mapOf("tkblmpewww", "\"datasfxobl\"", "hxcr", "\"databkrvrnsvshqj\"", "sub", - "\"databfovasrruvwbhsq\"")); + 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 55be98160df1..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,35 +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\":{\"qeqxo\":\"\\\"datahuaoppp\\\"\",\"ahzxctobgbk\":\"\\\"dataz\\\"\"},\"properties\":{\"desired\":{\"rmfqjhhkxbpvj\":\"\\\"datazpostmgrcfbu\\\"\",\"xjyngudivk\":\"\\\"datamjh\\\"\"},\"reported\":{\"j\":\"\\\"datawbxqzvszjfau\\\"\",\"tvtc\":\"\\\"datadxxiv\\\"\"}}}") + "{\"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("qeqxo", "\"datahuaoppp\"", "ahzxctobgbk", "\"dataz\"")) - .withProperties(new RoutingTwinProperties() - .withDesired(mapOf("rmfqjhhkxbpvj", "\"datazpostmgrcfbu\"", "xjyngudivk", "\"datamjh\"")) - .withReported(mapOf("j", "\"datawbxqzvszjfau\"", "tvtc", "\"datadxxiv\""))); + 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/TestAllRoutesInputTests.java b/sdk/iothub/azure-resourcemanager-iothub/src/test/java/com/azure/resourcemanager/iothub/generated/TestAllRoutesInputTests.java index e6e98b87cf7b..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,7 +18,7 @@ public final class TestAllRoutesInputTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TestAllRoutesInput model = BinaryData.fromString( - "{\"routingSource\":\"TwinChangeEvents\",\"message\":{\"body\":\"qcgw\",\"appProperties\":{\"zg\":\"j\",\"txon\":\"yzm\"},\"systemProperties\":{\"knftguvriuh\":\"savjcbpwxqps\"}},\"twin\":{\"tags\":{\"oyq\":\"\\\"datadyvxqtayriww\\\"\",\"mefqsgzvahapjyzh\":\"\\\"dataexrmcqibycnojvk\\\"\",\"zlmwlxkvugfhz\":\"\\\"datavgqzcjrvxd\\\"\"},\"properties\":{\"desired\":{\"nxipeil\":\"\\\"datajvzunluthnnp\\\"\",\"dzumveekg\":\"\\\"datajzuaejxdultskzbb\\\"\",\"bsjyofdx\":\"\\\"datawozuhkf\\\"\"},\"reported\":{\"touwaboekqv\":\"\\\"datasd\\\"\"}}}}") + "{\"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.TWIN_CHANGE_EVENTS, model.routingSource()); Assertions.assertEquals("qcgw", model.message().body()); @@ -32,13 +32,9 @@ public void testSerialize() throws Exception { .withMessage(new RoutingMessage().withBody("qcgw") .withAppProperties(mapOf("zg", "j", "txon", "yzm")) .withSystemProperties(mapOf("knftguvriuh", "savjcbpwxqps"))) - .withTwin(new RoutingTwin() - .withTags(mapOf("oyq", "\"datadyvxqtayriww\"", "mefqsgzvahapjyzh", "\"dataexrmcqibycnojvk\"", - "zlmwlxkvugfhz", "\"datavgqzcjrvxd\"")) - .withProperties(new RoutingTwinProperties() - .withDesired(mapOf("nxipeil", "\"datajvzunluthnnp\"", "dzumveekg", "\"datajzuaejxdultskzbb\"", - "bsjyofdx", "\"datawozuhkf\"")) - .withReported(mapOf("touwaboekqv", "\"datasd\"")))); + .withTwin(new RoutingTwin().withTags("\"datamdyvxqtayriw\"") + .withProperties( + new RoutingTwinProperties().withDesired("\"datayqbexrmcqibycno\"").withReported("\"dataknme\""))); model = BinaryData.fromObject(model).toObject(TestAllRoutesInput.class); Assertions.assertEquals(RoutingSource.TWIN_CHANGE_EVENTS, model.routingSource()); Assertions.assertEquals("qcgw", model.message().body()); 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 b09044ee8683..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\":\"irx\",\"source\":\"DigitalTwinChangeEvents\",\"condition\":\"bsrfbj\",\"endpointNames\":[\"twss\"],\"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("irx", model.routes().get(0).properties().name()); - Assertions.assertEquals(RoutingSource.DIGITAL_TWIN_CHANGE_EVENTS, model.routes().get(0).properties().source()); - Assertions.assertEquals("bsrfbj", model.routes().get(0).properties().condition()); - Assertions.assertEquals("twss", 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 3d2fd4f7b9dc..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,44 +20,40 @@ public final class TestRouteInputTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TestRouteInput model = BinaryData.fromString( - "{\"message\":{\"body\":\"qp\",\"appProperties\":{\"l\":\"ndoygmifthnzdnd\",\"ynduha\":\"nayqi\",\"bgycduiertgccym\":\"hqlkthumaqo\",\"lqlfm\":\"aolps\"},\"systemProperties\":{\"yhz\":\"bbglzpswiydmc\"}},\"route\":{\"name\":\"xssadbzmnvdf\",\"source\":\"Invalid\",\"condition\":\"daodvxzbncblyl\",\"endpointNames\":[\"tdbhhxsrzdzu\",\"erscdntne\",\"fiwjmygtdssls\",\"tmweriofzpyq\"],\"isEnabled\":false},\"twin\":{\"tags\":{\"zhedplvwiw\":\"\\\"databnetshh\\\"\",\"tppjflcx\":\"\\\"databmwmbesldnkw\\\"\"},\"properties\":{\"desired\":{\"mkqzeqqkdltfzxmh\":\"\\\"datakonzmnsik\\\"\",\"gureodkwobdag\":\"\\\"datav\\\"\",\"gqxndlkzgxhuripl\":\"\\\"datatibqdxbxwakb\\\"\",\"bxmubyynt\":\"\\\"datapodxunkb\\\"\"},\"reported\":{\"ltmuwlauwzizx\":\"\\\"databqtkoievseotgqr\\\"\",\"d\":\"\\\"datampgcjefuzmuvpbt\\\"\"}}}}") + "{\"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("qp", model.message().body()); - Assertions.assertEquals("ndoygmifthnzdnd", model.message().appProperties().get("l")); - Assertions.assertEquals("bbglzpswiydmc", model.message().systemProperties().get("yhz")); - Assertions.assertEquals("xssadbzmnvdf", 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("daodvxzbncblyl", model.route().condition()); - Assertions.assertEquals("tdbhhxsrzdzu", 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("qp") - .withAppProperties(mapOf("l", "ndoygmifthnzdnd", "ynduha", "nayqi", "bgycduiertgccym", "hqlkthumaqo", - "lqlfm", "aolps")) - .withSystemProperties(mapOf("yhz", "bbglzpswiydmc"))) - .withRoute(new RouteProperties().withName("xssadbzmnvdf") + .withMessage(new RoutingMessage().withBody("jy") + .withAppProperties(mapOf("xqzvszjfa", "xxjyngudivkrtsw")) + .withSystemProperties(mapOf("qmcbxvwvxyslqbhs", "fdxxivetvtcqaqtd"))) + .withRoute(new RouteProperties().withName("xoblytkbl") .withSource(RoutingSource.INVALID) - .withCondition("daodvxzbncblyl") - .withEndpointNames(Arrays.asList("tdbhhxsrzdzu", "erscdntne", "fiwjmygtdssls", "tmweriofzpyq")) + .withCondition("wwwfbkr") + .withEndpointNames(Arrays.asList("nsvs")) .withIsEnabled(false)) - .withTwin(new RoutingTwin() - .withTags(mapOf("zhedplvwiw", "\"databnetshh\"", "tppjflcx", "\"databmwmbesldnkw\"")) - .withProperties(new RoutingTwinProperties() - .withDesired(mapOf("mkqzeqqkdltfzxmh", "\"datakonzmnsik\"", "gureodkwobdag", "\"datav\"", - "gqxndlkzgxhuripl", "\"datatibqdxbxwakb\"", "bxmubyynt", "\"datapodxunkb\"")) - .withReported(mapOf("ltmuwlauwzizx", "\"databqtkoievseotgqr\"", "d", "\"datampgcjefuzmuvpbt\"")))); + .withTwin(new RoutingTwin().withTags("\"datahxcr\"") + .withProperties( + new RoutingTwinProperties().withDesired("\"dataovasrruvwbhsqfsu\"").withReported("\"datagjb\""))); model = BinaryData.fromObject(model).toObject(TestRouteInput.class); - Assertions.assertEquals("qp", model.message().body()); - Assertions.assertEquals("ndoygmifthnzdnd", model.message().appProperties().get("l")); - Assertions.assertEquals("bbglzpswiydmc", model.message().systemProperties().get("yhz")); - Assertions.assertEquals("xssadbzmnvdf", 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("daodvxzbncblyl", model.route().condition()); - Assertions.assertEquals("tdbhhxsrzdzu", 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 4dbcd965d568..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\":\"cffgdkzzewk\",\"severity\":\"warning\",\"location\":{\"start\":{\"line\":262381010,\"column\":1603782196},\"end\":{\"line\":70247298,\"column\":1681889122}}}]}") + "{\"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("cffgdkzzewk", model.compilationErrors().get(0).message()); + Assertions.assertEquals("qig", model.compilationErrors().get(0).message()); Assertions.assertEquals(RouteErrorSeverity.WARNING, model.compilationErrors().get(0).severity()); - Assertions.assertEquals(262381010, model.compilationErrors().get(0).location().start().line()); - Assertions.assertEquals(1603782196, model.compilationErrors().get(0).location().start().column()); - Assertions.assertEquals(70247298, model.compilationErrors().get(0).location().end().line()); - Assertions.assertEquals(1681889122, model.compilationErrors().get(0).location().end().column()); + 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 44f629d913b4..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\":\"undefined\",\"details\":{\"compilationErrors\":[{\"message\":\"ebmnzbtbhjpglk\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":834040298,\"column\":458990624},\"end\":{\"line\":1976701075,\"column\":1777092191}}},{\"message\":\"yhtozfikdowwqu\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":1447033048,\"column\":2116821034},\"end\":{\"line\":1591350946,\"column\":1631099320}}},{\"message\":\"nosggbhcoh\",\"severity\":\"error\",\"location\":{\"start\":{\"line\":459931810,\"column\":1077119628},\"end\":{\"line\":391766197,\"column\":1151274297}}}]}}") + "{\"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.UNDEFINED, model.result()); - Assertions.assertEquals("ebmnzbtbhjpglk", model.details().compilationErrors().get(0).message()); - Assertions.assertEquals(RouteErrorSeverity.ERROR, model.details().compilationErrors().get(0).severity()); - Assertions.assertEquals(834040298, model.details().compilationErrors().get(0).location().start().line()); - Assertions.assertEquals(458990624, model.details().compilationErrors().get(0).location().start().column()); - Assertions.assertEquals(1976701075, model.details().compilationErrors().get(0).location().end().line()); - Assertions.assertEquals(1777092191, model.details().compilationErrors().get(0).location().end().column()); + Assertions.assertEquals(TestResultStatus.FALSE, model.result()); + 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 08bbaf3c41b7..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\":\"olmncwsobqwcs\",\"type\":\"nwdcfhu\",\"unit\":\"dpfuvg\",\"currentValue\":793590133,\"limit\":1418717450,\"name\":{\"value\":\"nvxbvt\",\"localizedValue\":\"dut\"}}],\"nextLink\":\"ormrlxqtvcofudfl\"}") + "{\"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("olmncwsobqwcs", model.value().get(0).id()); - Assertions.assertEquals("nwdcfhu", model.value().get(0).type()); - Assertions.assertEquals("dpfuvg", model.value().get(0).unit()); - Assertions.assertEquals(793590133, model.value().get(0).currentValue()); - Assertions.assertEquals(1418717450, model.value().get(0).limit()); - Assertions.assertEquals("nvxbvt", model.value().get(0).name().value()); - Assertions.assertEquals("dut", 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 ae79182db163..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\":\"gj\",\"type\":\"gdknnqv\",\"unit\":\"znqntoru\",\"currentValue\":1292575401,\"limit\":63235261,\"name\":{\"value\":\"kycgrauwj\",\"localizedValue\":\"taeburuvdm\"}}") + "{\"id\":\"vfdnwnwmewzsyyce\",\"type\":\"soibjudpfrx\",\"unit\":\"thzvaytdwkqbrqu\",\"currentValue\":749295202,\"limit\":31333478,\"name\":{\"value\":\"iilivpdtiirqtd\",\"localizedValue\":\"axoruzfgsquy\"}}") .toObject(UserSubscriptionQuota.class); - Assertions.assertEquals("gj", model.id()); - Assertions.assertEquals("gdknnqv", model.type()); - Assertions.assertEquals("znqntoru", model.unit()); - Assertions.assertEquals(1292575401, model.currentValue()); - Assertions.assertEquals(63235261, model.limit()); - Assertions.assertEquals("kycgrauwj", model.name().value()); - Assertions.assertEquals("taeburuvdm", 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 e6cd03a7fd74..56ccc32c9cde 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: 87b246496a1e5347f8527e1e01a45b4cd7632036 +commit: b6c5dbafe5fae7584e95266840371ace84be41dc repo: Azure/azure-rest-api-specs additionalDirectories: From 54de8564263dc00f6061c26e4ca84e4e9c479e8a Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 21 Jul 2026 02:29:01 +0000 Subject: [PATCH 3/5] Configurations: 'specification/iothub/resource-manager/Microsoft.Devices/IoTHub/tspconfig.yaml', and CommitSHA: '81261972e09ae6977caf311750928c7a42876ad8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6591356 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md | 2 +- sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md index 75ef29b8cb0a..5f1d04472cc6 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md +++ b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md @@ -26,9 +26,9 @@ #### `models.IotHubProperties` was modified -* `serviceHostName()` was added * `iotHubDetails()` was added * `deviceHostName()` was added +* `serviceHostName()` was added #### `models.RoutingEndpoints` was modified diff --git a/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml b/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml index 56ccc32c9cde..e60545291e39 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: b6c5dbafe5fae7584e95266840371ace84be41dc +commit: 81261972e09ae6977caf311750928c7a42876ad8 repo: Azure/azure-rest-api-specs additionalDirectories: From ef48bf18fa073e63ca87fe927c420cb5676d38a8 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 21 Jul 2026 02:36:19 +0000 Subject: [PATCH 4/5] Configurations: 'specification/iothub/resource-manager/Microsoft.Devices/IoTHub/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '81261972e09ae6977caf311750928c7a42876ad8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6591390 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md index 5f1d04472cc6..fc7fb630e9cd 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md +++ b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md @@ -32,8 +32,8 @@ #### `models.RoutingEndpoints` was modified -* `eventStreams()` was added * `withEventStreams(java.util.List)` was added +* `eventStreams()` was added ## 1.4.0-beta.2 (2026-05-08) From 61ab22203abcef7ce3674daa498dcc2d6a500a4f Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 21 Jul 2026 08:12:42 +0000 Subject: [PATCH 5/5] Configurations: 'specification/iothub/resource-manager/Microsoft.Devices/IoTHub/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'e242531106b574c3f98fb7306dbceedd82b05f69' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6593184 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../azure-resourcemanager-iothub/CHANGELOG.md | 2 +- .../iothub/models/RoutingTwin.java | 14 +++++----- .../iothub/models/RoutingTwinProperties.java | 27 ++++++++++--------- .../tsp-location.yaml | 2 +- 4 files changed, 23 insertions(+), 22 deletions(-) diff --git a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md index fc7fb630e9cd..b11b14ae9907 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md +++ b/sdk/iothub/azure-resourcemanager-iothub/CHANGELOG.md @@ -27,8 +27,8 @@ #### `models.IotHubProperties` was modified * `iotHubDetails()` was added -* `deviceHostName()` was added * `serviceHostName()` was added +* `deviceHostName()` was added #### `models.RoutingEndpoints` was modified 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/tsp-location.yaml b/sdk/iothub/azure-resourcemanager-iothub/tsp-location.yaml index e60545291e39..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: 81261972e09ae6977caf311750928c7a42876ad8 +commit: e242531106b574c3f98fb7306dbceedd82b05f69 repo: Azure/azure-rest-api-specs additionalDirectories: